Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030918AbWI0Vxj (ORCPT ); Wed, 27 Sep 2006 17:53:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030909AbWI0VxL (ORCPT ); Wed, 27 Sep 2006 17:53:11 -0400 Received: from aa011msg.fastweb.it ([213.140.2.78]:27358 "EHLO aa011msg.fastweb.it") by vger.kernel.org with ESMTP id S1030910AbWI0VxC (ORCPT ); Wed, 27 Sep 2006 17:53:02 -0400 Date: Tue, 26 Sep 2006 15:56:59 +0200 From: Andrea Gelmini To: stelian@popies.net Cc: linux-kernel@vger.kernel.org Subject: sonypc with Sony Vaio VGN-SZ1VP Message-ID: <20060926135659.GA3685@jnb.gelma.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 22929 Lines: 550 Hi, I've got a Sony Vaio VGN-SZ1VP (dmidecode[1] and lspci[2]). Using default kernel (linux-image-2.6.15-27-686) of Ubuntu Dapper I've got /proc/acpi/sony/brightness and it works well (yes, Ubuntu drivers/char/sonypi.c is patched). With any other newer vanilla kernel, 2.6.15/16/17/18, /proc/acpi/sony doesn't appear, and it's impossibile to set brigthness, of course. Same thing with Ubuntu kernel package (linux-image-2.6.17-9-386). I tried to port Ubuntu sonypi.c patches to 2.6.18, but it doesn't work (I mean, it compiles clean, it "modprobes"[3] clean, but no /proc/acpi/sony/ directory). Thanks a lot for your time and work, Andrea Gelmini ------------------ [1] # dmidecode 2.7 SMBIOS 2.31 present. 19 structures occupying 910 bytes. Table at 0x000DC010. Handle 0x0000, DMI type 0, 20 bytes. BIOS Information Vendor: Phoenix Technologies LTD Version: R0073N0 Release Date: 04/14/2006 Address: 0xE4590 Runtime Size: 113264 bytes ROM Size: 1024 kB Characteristics: PCI is supported PC Card (PCMCIA) is supported PNP is supported BIOS is upgradeable BIOS shadowing is allowed ESCD support is available Boot from CD is supported Selectable boot is supported EDD is supported 8042 keyboard services are supported (int 9h) CGA/mono video services are supported (int 10h) ACPI is supported USB legacy is supported AGP is supported Smart battery is supported BIOS boot specification is supported Function key-initiated network boot is supported Handle 0x0001, DMI type 1, 25 bytes. System Information Manufacturer: Sony Corporation Product Name: VGN-SZ1VP_C Version: J001JSJU Serial Number: XXXXXXXX-XXXXXXX UUID: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX Wake-up Type: Power Switch Handle 0x0002, DMI type 2, 10 bytes. Base Board Information Manufacturer: Sony Corporation Product Name: VAIO Version: N/A Serial Number: N/A Handle 0x0003, DMI type 3, 17 bytes. Chassis Information Manufacturer: Sony Corporation Type: Notebook Lock: Not Present Version: N/A Serial Number: J001JSJU Asset Tag: Boot-up State: Safe Power Supply State: Safe Thermal State: Safe Security Status: None OEM Information: 0x00000009 Handle 0x0004, DMI type 4, 35 bytes. Processor Information Socket Designation: N/A Type: Central Processor Family: Other Manufacturer: GenuineIntel ID: E8 06 00 00 FF FB E9 BF Version: Genuine Intel(R) CPU T2500 @ 2.00GHz Voltage: 1.4 V External Clock: 166 MHz Max Speed: 2000 MHz Current Speed: 2000 MHz Status: Populated, Enabled Upgrade: None L1 Cache Handle: 0x0005 L2 Cache Handle: 0x0006 L3 Cache Handle: 0x0007 Serial Number: N/A Asset Tag: N/A Part Number: N/A Handle 0x0005, DMI type 7, 19 bytes. Cache Information Socket Designation: L1 Cache Configuration: Enabled, Socketed, Level 1 Operational Mode: Write Back Location: Internal Installed Size: 32 KB Maximum Size: 32 KB Supported SRAM Types: Burst Pipeline Burst Asynchronous Installed SRAM Type: Asynchronous Speed: Unknown Error Correction Type: None System Type: Other Associativity: 8-way Set-associative Handle 0x0006, DMI type 7, 19 bytes. Cache Information Socket Designation: L2 Cache Configuration: Enabled, Socketed, Level 2 Operational Mode: Write Back Location: Internal Installed Size: 2048 KB Maximum Size: 2048 KB Supported SRAM Types: Burst Pipeline Burst Asynchronous Installed SRAM Type: Burst Speed: Unknown Error Correction Type: None System Type: Data Associativity: 8-way Set-associative Handle 0x0007, DMI type 7, 19 bytes. Cache Information Socket Designation: L3 Cache Configuration: Disabled, Not Socketed, Level 3 Operational Mode: Unknown Location: Unknown Installed Size: 0 KB Maximum Size: 0 KB Supported SRAM Types: Burst Pipeline Burst Asynchronous Installed SRAM Type: Burst Speed: Unknown Error Correction Type: None System Type: Data Associativity: 4-way Set-associative Handle 0x0008, DMI type 9, 13 bytes. System Slot Information Designation: PCCARD1 Type: 32-bit PC Card (PCMCIA) Current Usage: Available Length: Other ID: Adapter 0, Socket 1 Characteristics: 5.0 V is provided 3.3 V is provided PC Card-16 is supported Cardbus is supported Modem ring resume is supported PME signal is supported Hot-plug devices are supported Handle 0x0009, DMI type 11, 5 bytes. OEM Strings String 1: JPBL-001958 String 2: FNC-CCIA0oke String 3: 6J1M00000000c54de9515223d902 String 4: Reserved String 5: Reserved Handle 0x000A, DMI type 16, 15 bytes. Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: Unknown Maximum Capacity: 2048 GB Error Information Handle: Not Provided Number Of Devices: 2 Handle 0x000B, DMI type 17, 21 bytes. Memory Device Array Handle: 0x000A Error Information Handle: Not Provided Total Width: 32 bits Data Width: 32 bits Size: 1024 MB Form Factor: SODIMM Set: None Locator: SODIMM1 Bank Locator: Bank 0 Type: DDR Type Detail: Unknown Handle 0x000C, DMI type 17, 21 bytes. Memory Device Array Handle: 0x000A Error Information Handle: Not Provided Total Width: Unknown Data Width: Unknown Size: No Module Installed Form Factor: SODIMM Set: None Locator: SODIMM2 Bank Locator: Bank 1 Type: Unknown Type Detail: Unknown Handle 0x000D, DMI type 19, 15 bytes. Memory Array Mapped Address Starting Address: 0x00000000000 Ending Address: 0x0003FFFFFFF Range Size: 1 GB Physical Array Handle: 0x000A Partition Width: 0 Handle 0x000E, DMI type 20, 19 bytes. Memory Device Mapped Address Starting Address: 0x00000000000 Ending Address: 0x0003FFFFFFF Range Size: 1 GB Physical Device Handle: 0x000B Memory Array Mapped Address Handle: 0x000D Partition Row Position: Unknown Interleave Position: Unknown Interleaved Data Depth: Unknown Handle 0x000F, DMI type 20, 19 bytes. Memory Device Mapped Address Starting Address: 0x0003FFFFC00 Ending Address: 0x0003FFFFFFF Range Size: 1 kB Physical Device Handle: 0x000C Memory Array Mapped Address Handle: 0x000D Partition Row Position: Unknown Interleave Position: Unknown Interleaved Data Depth: Unknown Handle 0x0010, DMI type 32, 11 bytes. System Boot Information Status: No errors detected Handle 0x0011, DMI type 136, 6 bytes. OEM-specific Type Header and Data: 88 06 11 00 5A 5A Handle 0x0012, DMI type 127, 4 bytes. End Of Table [2] 0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03) Subsystem: Sony Corporation: Unknown device 81e6 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Reset- FastB2B- Capabilities: [40] #10 [0141] Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable- Address: 00000000 Data: 0000 Capabilities: [90] #0d [0000] Capabilities: [a0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Reset- FastB2B- Capabilities: [40] #10 [0141] Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable- Address: 00000000 Data: 0000 Capabilities: [90] #0d [0000] Capabilities: [a0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Reset- FastB2B- Capabilities: [40] #10 [0141] Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable- Address: 00000000 Data: 0000 Capabilities: [90] #0d [0000] Capabilities: [a0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Reset- FastB2B- Capabilities: [40] #10 [0141] Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable- Address: 00000000 Data: 0000 Capabilities: [90] #0d [0000] Capabilities: [a0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02) (prog-if 00 [UHCI]) Subsystem: Sony Corporation: Unknown device 81e6 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Reset- FastB2B- Capabilities: [50] #0d [0000] 0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02) Subsystem: Sony Corporation: Unknown device 81e6 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- Region 1: I/O ports at Region 2: I/O ports at Region 3: I/O ports at Region 4: I/O ports at 1810 [size=16] 0000:00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=IDE (rev 02) (prog-if 8f [Master SecP SecO PriP PriO]) Subsystem: Sony Corporation: Unknown device 81e6 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Reset+ 16bInt- PostWrite- 16-bit legacy interface ports at 0001 0000:09:04.1 FireWire (IEEE 1394): Texas Instruments: Unknown device 803a (prog-if 10 [OHCI]) Subsystem: Sony Corporation: Unknown device 81e6 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR-