Skip to contentSkip to conversation

sonypc with Sony Vaio VGN-SZ1VP

DISCUSSION Andrea Gelmini 7 participants 10 messages Sep 26, 2006 – Sep 28, 2006 ACPI

lore
Share & tools
lore
#0 lore raw

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- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 0
Capabilities: [e0] #09 [5109]

0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03) (prog-if 00 [VGA])
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- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 169
Region 0: Memory at dc200000 (32-bit, non-prefetchable) [size=512K]
Region 1: I/O ports at 1800 [size=8]
Region 2: Memory at c0000000 (32-bit, prefetchable) [size=256M]
Region 3: Memory at dc300000 (32-bit, non-prefetchable) [size=256K]
Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Address: 00000000 Data: 0000
Capabilities: [d0] 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:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (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- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Region 0: Memory at dc280000 (32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] 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:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (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=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size: 0x10 (64 bytes)
Interrupt: pin A routed to IRQ 225
Region 0: Memory at dc340000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [70] #10 [0091]

0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (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- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0, Cache Line Size: 0x10 (64 bytes)
	Bus: primary=00, secondary=02, subordinate=05, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: d6000000-d7ffffff
	Prefetchable memory behind bridge: 00000000d0000000-00000000d1f00000
	BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >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- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size: 0x10 (64 bytes)
Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
Memory behind bridge: dc100000-dc1fffff
BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >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- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0, Cache Line Size: 0x10 (64 bytes)
	Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
	I/O behind bridge: 00003000-00003fff
	Memory behind bridge: d8000000-d9ffffff
	Prefetchable memory behind bridge: 00000000d2000000-00000000d3f00000
	BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >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- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0, Cache Line Size: 0x10 (64 bytes)
	Bus: primary=00, secondary=08, subordinate=08, sec-latency=0
	I/O behind bridge: 00004000-00004fff
	Memory behind bridge: da000000-dbffffff
	Prefetchable memory behind bridge: 00000000d4000000-00000000d5f00000
	BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >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- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 193
Region 4: I/O ports at 1820 [size=32]

0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (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- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 193
Region 4: I/O ports at 1840 [size=32]

0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (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- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin C routed to IRQ 193
Region 4: I/O ports at 1860 [size=32]

0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (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- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 193
Region 4: I/O ports at 1880 [size=32]

0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
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- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin D routed to IRQ 217
Region 0: Memory at dc544000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] #0a [20a0]

0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) (prog-if 01 [Subtractive decode])

	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Bus: primary=00, secondary=09, subordinate=0a, sec-latency=56
	I/O behind bridge: 00005000-00005fff
	Memory behind bridge: dc000000-dc0fffff
	Prefetchable memory behind bridge: 0000000050000000-0000000051f00000
	BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >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- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Capabilities: [e0] #09 [100c]

0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
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- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 255
Region 0: I/O ports at <unassigned>
Region 1: I/O ports at <unassigned>
Region 2: I/O ports at <unassigned>
Region 3: I/O ports at <unassigned>
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- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin B routed to IRQ 209
	Region 0: I/O ports at 18d0 [size=8]
	Region 1: I/O ports at 18c4 [size=4]
	Region 2: I/O ports at 18c8 [size=8]
	Region 3: I/O ports at 18c0 [size=4]
	Region 4: I/O ports at 18b0 [size=16]
	Region 5: Memory at dc544400 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [70] 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:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (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- <TAbort- <MAbort- >SERR- <PERR- Region 4: I/O ports at 18e0 [size=32]

0000:06:00.0 Network controller: Intel Corporation: Unknown device 4222 (rev 02)
Subsystem: Intel Corporation: Unknown device 1051
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size: 0x10 (64 bytes)
Interrupt: pin A routed to IRQ 10
Region 0: Memory at dc100000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [c8] 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-
Capabilities: [d0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [e0] #10 [0011]

0000:07:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 Fast Ethernet Controller (rev 15)
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- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size: 0x10 (64 bytes)
Interrupt: pin A routed to IRQ 50
Region 0: Memory at d8000000 (64-bit, non-prefetchable) [size=16K]
Region 2: I/O ports at 3000 [size=256]
Capabilities: [48] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [50] Vital Product Data
Capabilities: [5c] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable+
Address: 00000000fee00000 Data: 4032
Capabilities: [e0] #10 [0011]

0000:09:04.0 CardBus bridge: Texas Instruments: Unknown device 8039

	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- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64, Cache Line Size: 0x10 (64 bytes)
	Interrupt: pin A routed to IRQ 201
	Region 0: Memory at dc006000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=09, secondary=0a, subordinate=0d, sec-latency=176
	Memory window 0: 50000000-51fff000 (prefetchable)
	Memory window 1: 52000000-53fff000 (prefetchable)
	I/O window 0: 00005000-000050ff
	I/O window 1: 00005400-000054ff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >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- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (750ns min, 1000ns max), Cache Line Size: 0x10 (64 bytes)
Interrupt: pin B routed to IRQ 10
Region 0: Memory at dc005000 (32-bit, non-prefetchable) [size=2K]
Region 1: Memory at dc000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] 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:09:04.2 Mass storage controller: Texas Instruments: Unknown device 803b
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- <TAbort- <MAbort- >SERR- <PERR-
Latency: 57 (1750ns min, 1000ns max), Cache Line Size: 0x10 (64 bytes)
Interrupt: pin C routed to IRQ 10
Region 0: Memory at dc004000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] 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-

[3]

[4294697.418000] input: Sony Vaio Jogdial as /class/input/input4
[4294697.418000] input: Sony Vaio Keys as /class/input/input5
[4294697.419000] sonypi: Sony Programmable I/O Controller Driverv1.26.
[4294697.419000] sonypi: detected type3 model, verbose = 0, fnkeyinit = off, camera = off, compat = off, mask = 0xffffffff, useinput = on, acpi = on
[4294697.419000] sonypi: enabled at irq=11, port1=0x1080, port2=0x1084
[4294697.419000] sonypi: device allocated minor is 61
#1 lore raw
Quoted 4 lines · Andrea Gelmini

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

Quoted 8 lines

(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).

/proc/acpi/sony comes from the sony_acpi driver, not sonypi.

You should get the latest sony_acpi driver, preferably from the -mm tree which hosts the most up to date version.

Stelian.

Signature · 1 line
Stelian Pop <[email protected]>
#2 lore raw

26 Eyl 2006 Sal 19:29 tarihinde şunları yazmıştınız:

Quoted 14 lines
Quoted 4 lines · Andrea Gelmini

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

Quoted 8 lines

(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).

Quoted 4 lines

/proc/acpi/sony comes from the sony_acpi driver, not sonypi.

You should get the latest sony_acpi driver, preferably from the -mm tree which hosts the most up to date version.

Will sony_acpi ever make it to the mainline? Its very useful for new Vaio models.

Signature · 3 lines
They that can give up essential liberty to obtain a little temporary safety 
deserve neither liberty nor safety.
-- Benjamin Franklin
#3 lore raw
Quoted 15 lines · On Tue, 26 Sep 2006 20:56:31 +0300 Ismail Donmez <[email protected]> wrote:

26 Eyl 2006 Sal 19:29 tarihinde şunları yazmıştınız:

Quoted 14 lines
Quoted 12 lines · Andrea Gelmini

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).

Quoted 8 lines
Quoted 4 lines

/proc/acpi/sony comes from the sony_acpi driver, not sonypi.

You should get the latest sony_acpi driver, preferably from the -mm tree which hosts the most up to date version.

Will sony_acpi ever make it to the mainline? Its very useful for new Vaio models.

I'm inclined to slip it in, but Len has good-sounding reasons for not merging this sort of driver, and I always forget what they are?

-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 18 lines · Andrew Morton
Quoted 15 lines · On Tue, 26 Sep 2006 20:56:31 +0300 Ismail Donmez <[email protected]> wrote:

26 Eyl 2006 Sal 19:29 tarihinde şunları yazmıştınız:

Quoted 14 lines
Quoted 12 lines · Andrea Gelmini

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).

Quoted 7 lines
Quoted 7 lines
Quoted 4 lines

/proc/acpi/sony comes from the sony_acpi driver, not sonypi.

You should get the latest sony_acpi driver, preferably from the -mm tree which hosts the most up to date version.

Will sony_acpi ever make it to the mainline? Its very useful for new Vaio models.

Nope, not as it is. Useful != supportable.

1. It must not create any files under /proc/acpi This is creating a machine-specific API, which is exactly what we don't want Nobody can maintain 50 machine specific APIs.

These objects must appear generic and under sysfs as if acpi were not involved in providing them.

2. its source code shall not live in drivers/acpi it is not part of the ACPI implementation after all -- it is a platform specific driver.

thanks,
-Len
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw

Hi,
27 Eyl 2006 Çar 09:04 tarihinde, Len Brown şunları yazmıştı:
[...]

Quoted 10 lines
Quoted 2 lines
Quoted 2 lines

Will sony_acpi ever make it to the mainline? Its very useful for new Vaio models.

Nope, not as it is. Useful != supportable.

1. It must not create any files under /proc/acpi This is creating a machine-specific API, which is exactly what we don't want Nobody can maintain 50 machine specific APIs.

Quoted 6 lines

These objects must appear generic and under sysfs as if acpi were not involved in providing them.

2. its source code shall not live in drivers/acpi it is not part of the ACPI implementation after all -- it is a platform specific driver.

Is there a such example code under kernel now, so one could look at it and fix sony_acpi driver.

Regards,
ismail

Signature · 7 lines
They that can give up essential liberty to obtain a little temporary safety 
deserve neither liberty nor safety.
-- Benjamin Franklin
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#6 lore raw
Quoted 16 lines · Ismail Donmez

Hi,
27 Eyl 2006 Çar 09:04 tarihinde, Len Brown şunları yazmıştı:
[...]

Quoted 12 lines
Quoted 2 lines
Quoted 2 lines

Will sony_acpi ever make it to the mainline? Its very useful for new Vaio models.

Nope, not as it is. Useful != supportable.

1. It must not create any files under /proc/acpi This is creating a machine-specific API, which is exactly what we don't want Nobody can maintain 50 machine specific APIs.

These objects must appear generic and under sysfs as if acpi were not involved in providing them.

Yes, the idea of generic code and sysfs things can remove the supportable issues as to complete different user interface exposed in /proc/acpi/ by different platform specific drivers such as ibm_acpi.c, asus_acpi.c, and toshiba_acpi.c,....

Quoted 7 lines
Quoted 4 lines

2. its source code shall not live in drivers/acpi it is not part of the ACPI implementation after all -- it is a platform specific driver.

Is there a such example code under kernel now, so one could look at it and fix sony_acpi driver.

Please take a look at drivers/video/backlight..
And here is a example to use backlight class for acpi video driver:
http://marc.theaimsgroup.com/?l=linux-acpi&m=115574087203605&w=2

Please let me know if you have any other ideas to consolidate the platform specific drivers such as ibm_acpi.c ,asus_acpi.c, toshiba_acpi.c panasonic_acpi.c, sony_acpi.c , msi s270.c .....

Thanks,
Luming

-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#8 lore raw
In reply to Andrew Morton
Quoted 2 lines · Andrew Morton

I'm inclined to slip it in, but Len has good-sounding reasons for not merging this sort of driver, and I always forget what they are?

well, for us, users/owners of newest vaio, there's no choice. with default brightness it's impossibile, really impossibile, to read even the characters of the console, in daylight.

carrie would say: "is it better to have sex with so-so partner, or not having sex at all?".

Thanks a lot for your time,
Andrea

#9 lore raw
In reply to Stelian Pop
Quoted 2 lines · Stelian Pop

You should get the latest sony_acpi driver, preferably from the -mm tree which hosts the most up to date version.

Thanks a lot for your quick answer.
With 2.6.18-mm1 it works fine.

Thanks again,
Andrea Gelmini