View Single Post
  #4   (View Single Post)  
Old 31st December 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Yeah, some Fn keys combinations are handled internally by the laptop.. others get translated into keyboard scancodes or ACPI events and require special handling, if you read the dmesg you'll see the acpithinkpad(4) driver does attach when you enable ACPI but the man page indicates it only adds support for the brightness/volume/wifi features on some laptops.

Regardless of whether the kernel apm(4)/acpi(4) drivers are being used, apm(8)/apmd(8) can be used to initiate suspend requests.

Once you've enabled apmd(8) in /etc/rc.conf.local, try running zzz or apm -S/apm -z.

As for the machdep.lidsuspend=1 method, Mark Kettenis just fixed a problem that has been effecting suspend/resume on several laptops.. it may or may not be in the latest available snapshot, so try installing one sometime soon, like if one shows up later today or on January 1st.

http://marc.info/?l=openbsd-cvs&m=129367082717314&w=2
http://marc.info/?t=129366437900006&r=1&w=2

If you want to keep using 4.8, and already have the kernel source extracted, you can try setting the pci_dopm variable to 0 in dev/acpi/acpi.c.. it might fix that problem temporarily.

Let us know how it works out..
Reply With Quote