Hi, I have an X31 ThinkPad on which I've installed OpenBSD. Everything seems to be working fine, with the exception of suspend to RAM.
cat /etc/rc.conf.local apmd_flags="-C" Upon issuing the `zzz` command, the screen turns off, the machine spins down and the little crescent-moon "sleep" indicator lights up. But when woken, the screen comes up frozen with lots of vertical stripes. Blind-typing comands into the console has no effect (e.g. `zzz` from a root console then `halt -p` after the awakening attempt). I've tried `zzz` from X as well as from the console, tried `disable acpithinkpad` & `disable acpi` (independently from each other) after "boot> -c", fiddled various settings in the BIOS...but in all cases there is the same frozen screen with vertical stripes. Because I've also had no luck getting suspend to work under Debian (Stable & Testing), I'm thinking the issue might be an old graphics card that's no longer supported. I realize this machine is over 10 years old and at some point dev effort must focus on more recent hardware... but I just wanted to check & see if there's something else to try that might get suspend working here. Though a pretty meager machine performance-wise by today's standards, from a physicality standpoint the X31 is IMO one of the nicest compact laptops out there. Very nice keyboard (better key action than the X201s I type this) and I like the "tall-screen" format (the low-res is fine for me with the right bitmap font). And it has enough power for my basic needs (running a shell, tmux, mutt, vim, elinks, ncmpcpp etc). Anyhow, just trying to squeeze some more life out of this ThinkPad. If I can't get suspend to work, maybe I'll look into swapping out the mobo with something lightweight like a Pandaboard... BTW -- this is my first experience with OpenBSD, and I have to say the installation was incredibly straightforward and easy to understand. Really liking what I see so far! Thanks for any suggestions, John ---- dmesg: OpenBSD 5.5 (GENERIC) #276: Wed Mar 5 09:57:06 MST 2014 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1600MHz ("GenuineIntel" 686-class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE,EST,TM2,PERF real mem = 1341026304 (1278MB) avail mem = 1306816512 (1246MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 09/22/05, BIOS32 rev. 0 @ 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (57 entries) bios0: vendor IBM version "1QET97WW (3.02 )" date 09/22/2005 bios0: IBM 2885PWU acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA BOOT acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) PCI0(S3) PCI1(S4) DOCK(S4) USB0(S3) USB1(S3) AC9M(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (PCI1) acpiprt3 at acpi0: bus -1 (DOCK) acpicpu0 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS, resource for USB0, USB1, USB7 acpitz0 at acpi0: critical temperature is 91 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model "IBM-08K8040" serial 16 type LION oem "SANYO" acpibat1 at acpi0: BAT1 not present acpibat2 at acpi0: BAT2 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc0000/0x10000 0xd0000/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe0000/0x10000 cpu0 at mainbus0: (uniprocessor) mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: Enhanced SpeedStep 1599 MHz: speeds: 1600, 1400, 1200, 1000, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82855PM Host" rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xd0000000, size 0x10000000 ppb0 at pci0 dev 1 function 0 "Intel 82855PM AGP" rev 0x03 pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 0 function 0 "ATI Radeon Mobility M6" rev 0x00 drm0 at radeondrm0 radeondrm0: irq 3 uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: irq 3 uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01: irq 6 uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x01: irq 5 ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x01: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x81 pci2 at ppb1 bus 2 2:0:0: mem address conflict 0xb0000000/0x1000 2:0:1: mem address conflict 0xb1000000/0x1000 cbb0 at pci2 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xaa: irq 3 cbb1 at pci2 dev 0 function 1 "Ricoh 5C476 CardBus" rev 0xaa: irq 5 "Ricoh 5C552 Firewire" rev 0x02 at pci2 dev 0 function 2 not configured em0 at pci2 dev 1 function 0 "Intel 82540EP" rev 0x03: irq 3, address 00:0d:60:80:8a:0d ipw0 at pci2 dev 2 function 0 "Intel PRO/Wireless 2100" rev 0x04: irq 5, address 00:0c:f1:26:51:a6 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 6 device 0 cacheline 0x0, lattimer 0xb0 pcmcia1 at cardslot1 ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x01 pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <IC25N040ATCS04-0> wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 pciide0: channel 1 disabled (no drives) ichiic0 at pci0 dev 31 function 3 "Intel 82801DB SMBus" rev 0x01: irq 5 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC2700CL2.5 spdmem1 at iic0 addr 0x51: 1GB DDR SDRAM non-parity PC2700CL2.5 auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x01: irq 5, ICH4 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 "Intel 82801DB Modem" rev 0x01 at pci0 dev 31 function 6 not configured usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 vscsi0 at root scsibus0 at vscsi0: 256 targets softraid0 at root scsibus1 at softraid0: 256 targets root on wd0a (b5e7324a89417ecd.a) swap on wd0b dump on wd0b drm: initializing kernel modesetting (RV100 0x1002:0x4C59 0x1014:0x052F). radeondrm0: GTT: 256M 0xD0000000 - 0xDFFFFFFF radeondrm0: VRAM: 128M 0x00000000E0000000 - 0x00000000E7FFFFFF (16M used) drm: Panel ID String: 1024x768 drm: Panel Size 1024x768 radeondrm0: 1024x768 wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (std, vt100 emulation) -- John Magolske http://B79.net/contact