Re: Thinkpad SL510 woes

2010-08-10 Thread Tomas Vavrys
You can officially call OpenBSD world first UNIX-like OS which fully
support Thinkpad SL510. Everything works fine (suspend/resume, Fn
keys), only external mute sound/microphone keys next to the keyboard
don't work properly.

I'll buy pizza to the whole team one day. :-] Thank you!

OpenBSD 4.8 (GENERIC.MP) #357: Mon Aug  9 12:12:25 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
686-class) 2.10 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
real mem  = 2004135936 (1911MB)
avail mem = 1961361408 (1870MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/24/10, BIOS32 rev. 0 @
0xfdbf0, SMBIOS rev. 2.5 @ 0xe0010 (44 entries)
bios0: vendor LENOVO version 6JET81WW (1.39 ) date 06/24/2010
bios0: LENOVO 28477TG
acpi0 at bios0: rev 4
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET MCFG APIC BOOT SSDT SSDT SSDT
acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S3) USB1(S3) USB2(S3)
USBR(S3) EHC1(S3) USB3(S3) USB4(S3) USB5(S3) EHC2(S3) HDEF(S4)
PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4)
RP04(S4) PXSX(S4) RP05(S4) RP06(S4) BLAN(S4) LID_(S3) SLPB(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
686-class) 2.10 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P2)
acpiprt2 at acpi0: bus 9 (P0P1)
acpiprt3 at acpi0: bus 2 (RP01)
acpiprt4 at acpi0: bus 3 (RP02)
acpiprt5 at acpi0: bus 4 (RP03)
acpiprt6 at acpi0: bus 5 (RP04)
acpiprt7 at acpi0: bus 6 (RP05)
acpiprt8 at acpi0: bus 8 (RP06)
acpiec0 at acpi0
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpitz0 at acpi0: critical temperature 105 degC
acpithinkpad0 at acpi0
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 model 42T4708 serial 40475 type LION oem LGC 11
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
bios0: ROM list: 0xc/0xfc00! 0xe/0x2000! 0xe2000/0x1800!
cpu0: Enhanced SpeedStep 2095 MHz: speeds: 2101, 2100, 1600, 1200 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 2 int 16 (irq 10)
drm0 at inteldrm0
Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2
int 16 (irq 10)
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2
int 21 (irq 10)
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2
int 19 (irq 10)
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2
int 19 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03:
apic 2 int 22 (irq 10)
azalia0: codecs: Realtek ALC269, Intel/0x2802, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2
int 17 (irq 11)
pci1 at ppb0 bus 2
JMicron SD/MMC rev 0x00 at pci1 dev 0 function 0 not configured
sdhc0 at pci1 dev 0 function 2 JMicron SD Host Controller rev 0x00:
apic 2 int 16 (irq 10)
sdmmc0 at sdhc0
JMicron Memory Stick rev 0x00 at pci1 dev 0 function 3 not configured
JMicron xD rev 0x00 at pci1 dev 0 function 4 not configured
ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 2
int 16 (irq 10)
pci2 at ppb1 bus 3
ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: apic 2
int 18 (irq 10)
pci3 at ppb2 bus 4
ppb3 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: apic 2
int 19 (irq 10)
pci4 at ppb3 bus 5
Realtek 8192SE rev 0x10 at pci4 dev 0 function 0 not configured
ppb4 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: apic 2
int 17 (irq 11)
pci5 at ppb4 bus 6
ppb5 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x03: apic 2
int 16 (irq 10)
pci6 at ppb5 bus 8
re0 at pci6 dev 0 function 0 Realtek 8168 rev 0x03: RTL8168D/8111D
(0x2800), apic 2 int 17 (irq 11), address c8:0a:a9:30:00:2c
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 2
int 23 (irq 10)
uhci4 at pci0 dev 29 function 1 

Re: Thinkpad SL510 woes

2010-08-10 Thread Jacob Meuser
On Tue, Aug 10, 2010 at 07:05:55PM +0200, Tomas Vavrys wrote:
 You can officially call OpenBSD world first UNIX-like OS which fully
 support Thinkpad SL510. Everything works fine (suspend/resume, Fn
 keys), only external mute sound/microphone keys next to the keyboard
 don't work properly.

that particular codec supports unsolicited responses from the GPIO
pins, and I'm guessing that's how the key presses are conveyed to
the codec.  mail me off-list if you want to try some experiments
to figure out if that's how it's supposed to work.

 I'll buy pizza to the whole team one day. :-] Thank you!
 
 OpenBSD 4.8 (GENERIC.MP) #357: Mon Aug  9 12:12:25 MDT 2010
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
 cpu0: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
 686-class) 2.10 GHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
 real mem  = 2004135936 (1911MB)
 avail mem = 1961361408 (1870MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 06/24/10, BIOS32 rev. 0 @
 0xfdbf0, SMBIOS rev. 2.5 @ 0xe0010 (44 entries)
 bios0: vendor LENOVO version 6JET81WW (1.39 ) date 06/24/2010
 bios0: LENOVO 28477TG
 acpi0 at bios0: rev 4
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP HPET MCFG APIC BOOT SSDT SSDT SSDT
 acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S3) USB1(S3) USB2(S3)
 USBR(S3) EHC1(S3) USB3(S3) USB4(S3) USB5(S3) EHC2(S3) HDEF(S4)
 PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4)
 RP04(S4) PXSX(S4) RP05(S4) RP06(S4) BLAN(S4) LID_(S3) SLPB(S3)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpihpet0 at acpi0: 14318179 Hz
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 199MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
 686-class) 2.10 GHz
 cpu1: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (P0P2)
 acpiprt2 at acpi0: bus 9 (P0P1)
 acpiprt3 at acpi0: bus 2 (RP01)
 acpiprt4 at acpi0: bus 3 (RP02)
 acpiprt5 at acpi0: bus 4 (RP03)
 acpiprt6 at acpi0: bus 5 (RP04)
 acpiprt7 at acpi0: bus 6 (RP05)
 acpiprt8 at acpi0: bus 8 (RP06)
 acpiec0 at acpi0
 acpicpu0 at acpi0: C2, C1, PSS
 acpicpu1 at acpi0: C2, C1, PSS
 acpitz0 at acpi0: critical temperature 105 degC
 acpithinkpad0 at acpi0
 acpiac0 at acpi0: AC unit online
 acpibat0 at acpi0: BAT1 model 42T4708 serial 40475 type LION oem LGC 11
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: PWRB
 acpibtn2 at acpi0: SLPB
 bios0: ROM list: 0xc/0xfc00! 0xe/0x2000! 0xe2000/0x1800!
 cpu0: Enhanced SpeedStep 2095 MHz: speeds: 2101, 2100, 1600, 1200 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
 vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xd000, size 0x1000
 inteldrm0 at vga1: apic 2 int 16 (irq 10)
 drm0 at inteldrm0
 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
 uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2
 int 16 (irq 10)
 uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2
 int 21 (irq 10)
 uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2
 int 19 (irq 10)
 ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2
 int 19 (irq 10)
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03:
 apic 2 int 22 (irq 10)
 azalia0: codecs: Realtek ALC269, Intel/0x2802, using Realtek ALC269
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2
 int 17 (irq 11)
 pci1 at ppb0 bus 2
 JMicron SD/MMC rev 0x00 at pci1 dev 0 function 0 not configured
 sdhc0 at pci1 dev 0 function 2 JMicron SD Host Controller rev 0x00:
 apic 2 int 16 (irq 10)
 sdmmc0 at sdhc0
 JMicron Memory Stick rev 0x00 at pci1 dev 0 function 3 not configured
 JMicron xD rev 0x00 at pci1 dev 0 function 4 not configured
 ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 2
 int 16 (irq 10)
 pci2 at ppb1 bus 3
 ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: apic 2
 int 18 (irq 10)
 pci3 at ppb2 bus 4
 ppb3 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: apic 2
 int 19 (irq 10)
 pci4 at ppb3 bus 5
 Realtek 8192SE rev 0x10 at pci4 dev 0 function 0 not configured
 ppb4 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: apic 2
 int 17 (irq 

Re: Thinkpad SL510 woes

2010-08-10 Thread Tomas Vavrys
Where will we start? I'll do my best.

2010/8/10 Jacob Meuser jake...@sdf.lonestar.org:
 On Tue, Aug 10, 2010 at 07:05:55PM +0200, Tomas Vavrys wrote:
 You can officially call OpenBSD world first UNIX-like OS which fully
 support Thinkpad SL510. Everything works fine (suspend/resume, Fn
 keys), only external mute sound/microphone keys next to the keyboard
 don't work properly.

 that particular codec supports unsolicited responses from the GPIO
 pins, and I'm guessing that's how the key presses are conveyed to
 the codec. B mail me off-list if you want to try some experiments
 to figure out if that's how it's supposed to work.

 I'll buy pizza to the whole team one day. :-] Thank you!

 OpenBSD 4.8 (GENERIC.MP) #357: Mon Aug B 9 12:12:25 MDT 2010
 B  B  dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
 cpu0: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
 686-class) 2.10 GHz
 cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM,SSE4.1,XSAVE
 real mem B = 2004135936 (1911MB)
 avail mem = 1961361408 (1870MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 06/24/10, BIOS32 rev. 0 @
 0xfdbf0, SMBIOS rev. 2.5 @ 0xe0010 (44 entries)
 bios0: vendor LENOVO version 6JET81WW (1.39 ) date 06/24/2010
 bios0: LENOVO 28477TG
 acpi0 at bios0: rev 4
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP HPET MCFG APIC BOOT SSDT SSDT SSDT
 acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S3) USB1(S3) USB2(S3)
 USBR(S3) EHC1(S3) USB3(S3) USB4(S3) USB5(S3) EHC2(S3) HDEF(S4)
 PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4)
 RP04(S4) PXSX(S4) RP05(S4) RP06(S4) BLAN(S4) LID_(S3) SLPB(S3)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpihpet0 at acpi0: 14318179 Hz
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 199MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
 686-class) 2.10 GHz
 cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM,SSE4.1,XSAVE
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (P0P2)
 acpiprt2 at acpi0: bus 9 (P0P1)
 acpiprt3 at acpi0: bus 2 (RP01)
 acpiprt4 at acpi0: bus 3 (RP02)
 acpiprt5 at acpi0: bus 4 (RP03)
 acpiprt6 at acpi0: bus 5 (RP04)
 acpiprt7 at acpi0: bus 6 (RP05)
 acpiprt8 at acpi0: bus 8 (RP06)
 acpiec0 at acpi0
 acpicpu0 at acpi0: C2, C1, PSS
 acpicpu1 at acpi0: C2, C1, PSS
 acpitz0 at acpi0: critical temperature 105 degC
 acpithinkpad0 at acpi0
 acpiac0 at acpi0: AC unit online
 acpibat0 at acpi0: BAT1 model 42T4708 serial 40475 type LION oem LGC
11
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: PWRB
 acpibtn2 at acpi0: SLPB
 bios0: ROM list: 0xc/0xfc00! 0xe/0x2000! 0xe2000/0x1800!
 cpu0: Enhanced SpeedStep 2095 MHz: speeds: 2101, 2100, 1600, 1200 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
 vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xd000, size 0x1000
 inteldrm0 at vga1: apic 2 int 16 (irq 10)
 drm0 at inteldrm0
 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
 uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2
 int 16 (irq 10)
 uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2
 int 21 (irq 10)
 uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2
 int 19 (irq 10)
 ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2
 int 19 (irq 10)
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03:
 apic 2 int 22 (irq 10)
 azalia0: codecs: Realtek ALC269, Intel/0x2802, using Realtek ALC269
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2
 int 17 (irq 11)
 pci1 at ppb0 bus 2
 JMicron SD/MMC rev 0x00 at pci1 dev 0 function 0 not configured
 sdhc0 at pci1 dev 0 function 2 JMicron SD Host Controller rev 0x00:
 apic 2 int 16 (irq 10)
 sdmmc0 at sdhc0
 JMicron Memory Stick rev 0x00 at pci1 dev 0 function 3 not configured
 JMicron xD rev 0x00 at pci1 dev 0 function 4 not configured
 ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 2
 int 16 (irq 10)
 pci2 at ppb1 bus 3
 ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: apic 2
 int 18 (irq 10)
 pci3 at ppb2 bus 4
 ppb3 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: apic 2
 int 19 (irq 10)
 pci4 at ppb3 bus 5
 Realtek 8192SE rev 0x10 at pci4 dev 0 function 0 

Re: Thinkpad SL510 woes

2010-07-29 Thread Tomáš Vavrys
How bad is that? Where should I start in ACPI documentation to fix this?


$ iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20080701 [Jul 22 2010]
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl  1940: CLID
Error4094 -   syntax error ^

dsdt.dsl  3583: Windows 2009
Error4094 - syntax error ^

dsdt.dsl  3847: Linux
Error4094 -  syntax error ^

dsdt.dsl  3851: Windows 2001
Error4094 - syntax error ^

dsdt.dsl  3855: Windows 2001 SP1
Error4094 - syntax error ^

dsdt.dsl  3859: Windows 2001 SP2
Error4094 - syntax error ^

dsdt.dsl  3863: Windows 2006
Error4094 - syntax error ^

dsdt.dsl  3867: Windows 2009
Error4094 - syntax error ^

dsdt.dsl  4891: If(CondRefOf(\_SB_.PCI0.TMEM.GPEH, Zero)) {
Error4094 -  syntax error ^

dsdt.dsl  4893: }
Error4094 -syntax error ^

dsdt.dsl  6533: [*** iASL: Read error on source code temp file dsdt.src ***]
Error4094 -^ syntax error

ASL Input:  dsdt.dsl - 6534 lines, 190216 bytes, 3828 keywords
Compilation complete. 11 Errors, 0 Warnings, 0 Remarks, 0 Optimizations



Re: Thinkpad SL510 woes

2010-07-29 Thread Marco Peereboom
send jordan and me the tarred output of acpidump -o stinkpadsl510

On Thu, Jul 29, 2010 at 11:59:01PM +0200, Tom Vavrys wrote:
 How bad is that? Where should I start in ACPI documentation to fix this?
 
 
 $ iasl -tc dsdt.dsl
 
 Intel ACPI Component Architecture
 ASL Optimizing Compiler version 20080701 [Jul 22 2010]
 Copyright (C) 2000 - 2008 Intel Corporation
 Supports ACPI Specification Revision 3.0a
 
 dsdt.dsl  1940: CLID
 Error4094 -   syntax error ^
 
 dsdt.dsl  3583: Windows 2009
 Error4094 - syntax error ^
 
 dsdt.dsl  3847: Linux
 Error4094 -  syntax error ^
 
 dsdt.dsl  3851: Windows 2001
 Error4094 - syntax error ^
 
 dsdt.dsl  3855: Windows 2001 SP1
 Error4094 - syntax error ^
 
 dsdt.dsl  3859: Windows 2001 SP2
 Error4094 - syntax error ^
 
 dsdt.dsl  3863: Windows 2006
 Error4094 - syntax error ^
 
 dsdt.dsl  3867: Windows 2009
 Error4094 - syntax error ^
 
 dsdt.dsl  4891: If(CondRefOf(\_SB_.PCI0.TMEM.GPEH, Zero)) {
 Error4094 -  syntax error ^
 
 dsdt.dsl  4893: }
 Error4094 -syntax error ^
 
 dsdt.dsl  6533: [*** iASL: Read error on source code temp file dsdt.src ***]
 Error4094 -^ syntax error
 
 ASL Input:  dsdt.dsl - 6534 lines, 190216 bytes, 3828 keywords
 Compilation complete. 11 Errors, 0 Warnings, 0 Remarks, 0 Optimizations



Re: Thinkpad SL510 woes

2010-07-28 Thread Tomas Vavrys
Small update. Theo has suggested to try i386 without apm support.

@@ -1,4 +1,4 @@
-OpenBSD 4.7-current (RAMDISK_CD) #6: Thu Jul 22 20:21:46 EDT 2010
+OpenBSD 4.8-beta (RAMDISK_CD) #1: Thu Jul 27 20:29:08 EDT 2010
 r...@acer.westerback.sa:/usr/src/sys/arch/i386/compile/RAMDISK_CD
 cpu0: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
686-class) 2.10 Ghz
 cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
@@ -14,18 +14,17 @@
 pcibios0 at bios0: rev 3.0 @ 0xfdbf0/0x410
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/304 (17 entries)
 pcibios0: bad IRQ table checksum
-uvm_fault(0xd07e834c, 0x0, 0, 1) - e
+uvm_fault(0xd07e6210, 0xe000, 0, 1) - e
 kernel: page fault trap, code=0
-Stopped at 0xfde5d: uvm_fault(0xd07e834c, 0xfd000, 0, 1) - e
+Stopped at 0xfde5d: uvm_fault(0xd07e6210, 0xfd000, 0, 1) - e
 kernel: page fault trap, code=0
 Stopped at db_read_bytes+0xf: movb 0x(%ebx),%al
-db_read_bytes(fde5d,1,d0900a8c,d02df9f4,2) at db_read_bytes+0xf
-db_get_value(fde5d, 1, 0, d0900b1b, 78) at db_get_value+0x18
-db_disasm(fde5d, 0, d030404f, 0) at db_disasm+0x16
-db_print_loc_and_inst(fde5d, d0900b60, d0900b60, d048fcc3, d048fcc3)
-at db_print_loc_and_inst+0x2d
-db_trap(6, 0, 58, f0, d0900b94) at db_trap+0xaf
-kdb_trap(6, 0, d0900bf4, d07e8444) at kdb_trap+0xae
+db_read_bytes(fde5d,1,d08fea9c,d02df9fc,2) at db_read_bytes+0xf
+db_get_value(fde5d, 1, 0, d08feb2b, 78) at db_get_value+0x18
+db_disasm(fde5d, 0, d030406f, 0) at db_disasm+0x16
+db_print_loc_and_inst(fde5d, d08feb70, d048fa57, d048fa57) at
db_print_loc_and_inst+0x2d
+db_trap(6, 0, 58, f0, d08feba4) at db_trap+0xaf
+kdb_trap(6, 0, d08fec04, d07e6308) at kdb_trap+0xae
 trap() at trap+0x178
 --- trap (number 14) ---
 0:



Re: Thinkpad SL510 woes

2010-07-23 Thread Tomáš Vavrys
Thanks to krw@ I have ddb-enabled i386 kernel. Note that I used amd64
booloader.

Transcribed output:

OpenBSD 4.7-current (RAMDISK_CD) #6: Thu Jul 22 20:21:46 EDT 2010
r...@acer.westerback.sa:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
686-class) 2.10 Ghz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM,SSE4.1,XSAVE
real mem B = 2004135936 (1911MB)
avail mem = 1964355584 (1873MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/24/10, BIOS32 rev. 0 @
0xfdbf0, SMBIOS rev. 2.5 @ 0xe0010 (44 entries)
bios0: vendor LENOVO version 6JET81WW (1.39 ) date 06/24/2010
bios0: LENOVO 28477TG
acpi at bios0 function 0x0 not configured
mpbios at bios0 function 0x0 not configured
pcibios0 at bios0: rev 3.0 @ 0xfdbf0/0x410
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/304 (17 entries)
pcibios0: bad IRQ table checksum
uvm_fault(0xd07e834c, 0x0, 0, 1) - e
kernel: page fault trap, code=0
Stopped at 0xfde5d: uvm_fault(0xd07e834c, 0xfd000, 0, 1) - e
kernel: page fault trap, code=0
Stopped at db_read_bytes+0xf: movb 0x(%ebx),%al
db_read_bytes(fde5d,1,d0900a8c,d02df9f4,2) at db_read_bytes+0xf
db_get_value(fde5d, 1, 0, d0900b1b, 78) at db_get_value+0x18
db_disasm(fde5d, 0, d030404f, 0) at db_disasm+0x16
db_print_loc_and_inst(fde5d, d0900b60, d0900b60, d048fcc3, d048fcc3)
at db_print_loc_and_inst+0x2d
db_trap(6, 0, 58, f0, d0900b94) at db_trap+0xaf
kdb_trap(6, 0, d0900bf4, d07e8444) at kdb_trap+0xae
trap() at trap+0x178
--- trap (number 14) ---
0:



Re: Thinkpad SL510 woes

2010-07-20 Thread Tomas Vavrys
20/08/10 i386 -current and still no luck. I upgraded BIOS also, Lenovo
releases BIOS updates pretty often.

mainbus0: SMBIOS rev. 2.5 @ 0xe0010 (44 entries)
bios0: vendor LENOVO version 6JET81WW (1.39 ) date 06/24/2010
bios0: LENOVO 28477TG


On 07/08/10 23:00, Toma Vavrys wrote:
 i386 -current transcribed errors - 4/7/2010. amd64 -current still works.
 
 real mem  = 2004135936 (1911MB)
 avail mem = 1964355584 (1873MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 05/14/10, BIOS32 rev. 0 @
 0xfdbf0, SMBIOS rev. 2.5 @ 0xe0010 (44 entries)
 bios0: vendor LENOVO version 6JET79WW (1.37 ) date 05/14/2010
 bios0: LENOVO 28477TG
 acpi at bios0 function 0x0 not configured
 mpbios at bios0 function 0x0 not configured
 pcibios0 at bios0: rev 3.0 @ 0xfdbf0/0x410
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/304 (17 entries)
 pcibios0: bad IRQ table checksum
 uvm_fault(0xd07cdf40, 0xd2915000, 0, 1) - e
 fatal page fault (6) in supervisor mode
 trap type 6 code 0 eip fde5d cs 68 eflags 10046 cr2 d2915cc4 cpl 0
 panic: trap type 6, code=0, pc=fde5d
 
 The operating system has halted.



Re: Thinkpad SL510 woes

2010-07-08 Thread Tomáš Vavrys
i386 -current transcribed errors - 4/7/2010. amd64 -current still works.

real mem  = 2004135936 (1911MB)
avail mem = 1964355584 (1873MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/14/10, BIOS32 rev. 0 @
0xfdbf0, SMBIOS rev. 2.5 @ 0xe0010 (44 entries)
bios0: vendor LENOVO version 6JET79WW (1.37 ) date 05/14/2010
bios0: LENOVO 28477TG
acpi at bios0 function 0x0 not configured
mpbios at bios0 function 0x0 not configured
pcibios0 at bios0: rev 3.0 @ 0xfdbf0/0x410
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/304 (17 entries)
pcibios0: bad IRQ table checksum
uvm_fault(0xd07cdf40, 0xd2915000, 0, 1) - e
fatal page fault (6) in supervisor mode
trap type 6 code 0 eip fde5d cs 68 eflags 10046 cr2 d2915cc4 cpl 0
panic: trap type 6, code=0, pc=fde5d

The operating system has halted.



Re: Thinkpad SL510 woes

2010-07-06 Thread Tomáš Vavrys
I found out that in June of last year, lenovo switched from using
atheros to a realtek card in the non-intel wlan option.

Just for information. Realtek also provides Linux drivers with binary
firmware.

Link: http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1PNid=48
PFid=48Level=5Conn=4DownTypeID=3GetDown=falseDownloads=true#2302

Firmware license quote (Nothing new, still the same old corporate song.):
Copyright (c) 2009, Realtek Semiconductor Corporation
All rights reserved.
Redistribution.  Redistribution and use in binary form, without
modification, are permitted provided that the following conditions are
met:
* Redistributions must reproduce the above copyright notice and the
  following disclaimer in the documentation and/or other materials
  provided with the distribution.
* Neither the name of Realtek Semiconductor Corporation nor the names of its
  suppliers may be used to endorse or promote products derived from this
  software without specific prior written permission.
* No reverse engineering, decompilation, or disassembly of this software
  is permitted.
Limited patent license. Realtek Semiconductor Corporation grants a
world-wide,
royalty-free, non-exclusive license under patents it now or hereafter
owns or controls to make, have made, use, import, offer to sell and
sell (Utilize) this software, but solely to the extent that any
such patent is necessary to Utilize the software alone, or in
combination with an operating system licensed under an approved Open
Source license as listed by the Open Source Initiative at
http://opensource.org/licenses.  The patent license shall not apply to
any other combinations which include this software.  No hardware per
se is licensed hereunder.
DISCLAIMER.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.

2010/6/30 Tomas Vavrys vav...@cleancode.cz

 Hello,

 I bought new Thinkpad SL510 yesterday and I want to share my experiences
 with you.

 First problem was with i386 -current instalation, you can read full
 description here


http://www.pubbs.net/201005/openbsd/54814-may-26-current-on-lenovo-sl410-lapt
op.html

 So I used AMD64 -current. Everything seems to be working correctly
 except ACPI and Wifi (Unfortunately, wrong technical description is
 common thing these days. That's why I have Realtek wifi instead of Intel
 wifi.)

 Great quote from Undeadly comment: ACPI really should die, and everyone
 involved in its creation should be hunted down and tortured for the rest
 of eternity, what a total clusterfuck it is.

 Here is my dmesg, acpidump and lspci -vv from Ubuntu livecd.

 http://devio.us/~cleancode/dmesg.txt

 http://devio.us/~cleancode/acpidump.txt
 http://devio.us/~cleancode/acpidump_SL510.tar

 http://devio.us/~cleancode/ubuntu_lspcivv.txt

 -
 Tomas Vavrys



Thinkpad SL510 woes

2010-06-30 Thread Tomas Vavrys
Hello,

I bought new Thinkpad SL510 yesterday and I want to share my experiences
with you.

First problem was with i386 -current instalation, you can read full
description here

http://www.pubbs.net/201005/openbsd/54814-may-26-current-on-lenovo-sl410-laptop.html

So I used AMD64 -current. Everything seems to be working correctly
except ACPI and Wifi (Unfortunately, wrong technical description is
common thing these days. That's why I have Realtek wifi instead of Intel
wifi.)

Great quote from Undeadly comment: ACPI really should die, and everyone
involved in its creation should be hunted down and tortured for the rest
of eternity, what a total clusterfuck it is.

Here is my dmesg, acpidump and lspci -vv from Ubuntu livecd.

http://devio.us/~cleancode/dmesg.txt

http://devio.us/~cleancode/acpidump.txt
http://devio.us/~cleancode/acpidump_SL510.tar

http://devio.us/~cleancode/ubuntu_lspcivv.txt

-
Tomas Vavrys