Re: Thanks for the ACPI suspend+resume work!
On 2010-07-09, Antoine Jacoutot ajacou...@bsdfrog.org wrote: On Fri, 9 Jul 2010, Josh Rickmar wrote: A big thank you to everyone who has been working on the ACPI code! Suspend and resume now work nearly flawlessly on my Thinkpad T500 (dmesg below) on the July 8 current snapshot. The only thing I've noticed is that my iwn(4) wifi connection doesn't automaticaly reconnet, but that's minor. Also, wsdisplay seems unhappy. After resume on my T60, X11 comes back but I don't see any output in the console, even though commands I type get executed. I'd also like to thank you all for this work! Best regards, Jona -- Worse is better Richard P. Gabriel
Re: Thanks for the ACPI suspend+resume work!
hello joshua, misc@, sorry for faking your message, I am on digest... joshua_rick...@eumx.net (Josh Rickmar), 2010.07.09 (Fri) 15:31 (CEST): A big thank you to everyone who has been working on the ACPI code! +1 Suspend and resume now work nearly flawlessly on my Thinkpad T500 (dmesg Unfortunately not on my IBM ThinkPad T30 (dmesg below), but getting closer: Until today's snapshot zzz caused display to go partly (!) off and console reporting devices (the way they are reported when inserted, blue lines, white text). I would have to revert to an old snapshot to get the exact details. After that nothing would happen unless I hit the on/off button (yes, I've tried every fn+F[1-12] combination) which made the half moon led (suspend indicator) start blinking (what it did in the good old non-acpi days for some seconds) and the hdd led was constantly on. Only a four second push of on/off remedied that. Now with OpenBSD 4.7-current (GENERIC) #108: Fri Jul 9 01:09:34 MDT 2010 zzz turns the notebook off darn fast (faster then in pre-acpi times) but the display still shows remains of the last image and the backlight does not go off if I close the lid. No console messages shown anymore. No suspend indicator blinking. Once I press on/off, things return, I can write for a couple of seconds, then the hdd led goes constantly on and everything's dead. Remedy as above. One of the five tries gave me the following: wd0(pciide0:0.0): timeout type: ata c_bcount: 16384 c_skip: 0 pciide0:0.0: bus-master dma error: missing interrupt, status 0x1 I got a spare T30 if need be. Until now I never noticed the mem address conflict line. Bye, Marcus OpenBSD 4.7-current (GENERIC) #108: Fri Jul 9 01:09:34 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (GenuineIntel 686-class) 1.20 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT, PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR real mem = 1072721920 (1023MB) avail mem = 1045188608 (996MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/12/03, BIOS32 rev. 0 @ 0xfd7e0, SMBIOS rev. 2.31 @ 0xe0010 (48 entries) bios0: vendor IBM version 1IET66WW (2.05 ) date 06/12/2003 bios0: IBM 2366EG9 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SSDT ECDT TCPA BOOT acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) PCI0(S4) PCI1(S4) DOCK(S4) USB0(S3) USB1(S3) USB2(S3) AC97(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits \\_SB_.PCI0 post-crs: 0 \\_SB_.PCI0 post-bbn: 0, 0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (PCI1) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, FVS, 2000, 1200 MHz acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature 94 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model IBM-COMPATIBLE serial 20884 type LION oem GW acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit offline acpithinkpad0 at acpi0 acpidock0 at acpi0: DOCK not docked (0) bios0: ROM list: 0xc/0x1 0xe/0x1 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82845 Host rev 0x04 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xe000, size 0x400 ppb0 at pci0 dev 1 function 0 Intel 82845 AGP rev 0x04 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M7 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 uhci0 at pci0 dev 29 function 0 Intel 82801CA/CAM USB rev 0x02: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801CA/CAM USB rev 0x02: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801CA/CAM USB rev 0x02: irq 11 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x42 pci2 at ppb1 bus 2 mem address conflict 0x5000/0x1000 mem address conflict 0x5100/0x1000 cbb0 at pci2 dev 0 function 0 TI PCI1520 CardBus rev 0x01: irq 11 cbb1 at pci2 dev 0 function 1 TI PCI1520 CardBus rev 0x01: irq 5 fxp0 at pci2 dev 8 function 0 Intel PRO/100 VE rev 0x42, i82562: irq 11, address 00:09:6b:3f:67:a8 inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 ichpcib0 at pci0 dev 31 function 0 Intel 82801CAM LPC rev 0x02 pciide0 at pci0 dev 31 function 1 Intel 82801CAM IDE rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: WDC WD3200BEVE-00A0HT0 wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2
Thanks for the ACPI suspend+resume work!
A big thank you to everyone who has been working on the ACPI code! Suspend and resume now work nearly flawlessly on my Thinkpad T500 (dmesg below) on the July 8 current snapshot. The only thing I've noticed is that my iwn(4) wifi connection doesn't automaticaly reconnet, but that's minor. OpenBSD 4.7-current (GENERIC.MP) #97: Thu Jul 8 16:21:40 MDT 2010 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2070614016 (1974MB) avail mem = 2001653760 (1908MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (74 entries) bios0: vendor LENOVO version 6FET66WW (2.16 ) date 04/22/2009 bios0: LENOVO 2081CTO acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) EHC1(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.41 MHz cpu0: FPU,VME,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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG cpu0: 3MB 64b/line 8-way L2 cache cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.00 MHz cpu1: FPU,VME,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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG cpu1: 3MB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz \\_SB_.PCI0 post-crs: 0 \\_SB_.PCI0 post-bbn: 0, 0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus -1 (EXP2) acpiprt5 at acpi0: bus -1 (EXP3) acpiprt6 at acpi0: bus -1 (EXP4) acpiprt7 at acpi0: bus 21 (PCI1) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature 127 degC acpitz1 at acpi0: critical temperature 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 not present acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2401, 2400, 1600, 800 MHz pci0 at mainbus0 bus 0 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 1 int 16 (irq 11) drm0 at inteldrm0 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured Intel GM45 HECI rev 0x07 at pci0 dev 3 function 0 not configured pciide0 at pci0 dev 3 function 2 Intel GM45 PT IDER rev 0x07: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide0: using apic 1 int 18 (irq 11) for native-PCI interrupt pciide0: channel 0 ignored (not responding; disabled or no drives?) pciide0: channel 1 ignored (not responding; disabled or no drives?) Intel GM45 AMT SOL rev 0x07 at pci0 dev 3 function 3 not configured em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: apic 1 int 20 (irq 11), address 00:24:7e:6c:df:df uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 1 int 20 (irq 11) uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 1 int 21 (irq 11) uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 1 int 22 (irq 11) ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 1 int 23 (irq 11) 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 1 int 17 (irq 11) azalia0: RIRB time out azalia0: codecs: Conexant CX20561, 0x/0x, using Conexant CX20561 azalia0: RIRB time out audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 1 int 20 (irq 11) pci1 at ppb0 bus 2 ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 1 int 21 (irq 11) pci2 at ppb1 bus 3 iwn0 at pci2 dev 0 function 0 Intel WiFi Link 5300 rev 0x00: apic 1 int 17 (irq 11), MIMO 3T3R, MoW, address 00:21:6a:34:37:56 uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 1 int 16 (irq 11) uhci4 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 1 int 17 (irq 11) uhci5 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 1 int 18 (irq 11) ehci1 at pci0 dev 29 function 7
Re: Thanks for the ACPI suspend+resume work!
On Fri, 9 Jul 2010, Josh Rickmar wrote: A big thank you to everyone who has been working on the ACPI code! Suspend and resume now work nearly flawlessly on my Thinkpad T500 (dmesg below) on the July 8 current snapshot. The only thing I've noticed is that my iwn(4) wifi connection doesn't automaticaly reconnet, but that's minor. Make sure you run apmd(8). Then create /etc/apm/resume with executable bit: 8- #!/bin/sh # ifconfig iwn0 down ifconfig iwn0 up 8- This makes my iwn(4) comes back on resume. -- Antoine
Re: Thanks for the ACPI suspend+resume work!
A big thank you to everyone who has been working on the ACPI code! Suspend and resume now work nearly flawlessly on my Thinkpad T500 (dmesg below) on the July 8 current snapshot. The only thing I've noticed is that my iwn(4) wifi connection doesn't automaticaly reconnet, but that's minor. Make sure you run apmd(8). Then create /etc/apm/resume with executable bit: 8- #!/bin/sh # ifconfig iwn0 down ifconfig iwn0 up 8- This makes my iwn(4) comes back on resume. That is a workaround. Please don't discourage people from pushing to get it fixed properly, in the driver. (Yes, I know... this is a more difficult driver to fix...)