[ltp] Ubuntu Dapper hibernate key doesn't works.

Benjamí Villoslada linux-thinkpad@linux-thinkpad.org
Sun, 16 Jul 2006 18:11:25 +0200


The Fn+F12 key doesn't works after the Ubuntu Breezy to Dapper upgrade
(ThinkPad 2681-HSG: R40, P2 @ 2 GHz, 512 RAM)

Hibernate works fine with the system tray KLaptop icon and with

$ sudo /etc/acpi/hibernate.sh

(and now the ThinkPad Moon led blinks, this is new for me :)

but not with Fn+F12 button. Here the /var/log/acpid output when I touch Fn+F12:

----------------------------
[Sun Jul 16 18:00:34 2006] received event "ibm/hotkey HKEY 00000080 0000100c"
[Sun Jul 16 18:00:34 2006] notifying client 4056[119:119]
[Sun Jul 16 18:00:34 2006] executing action "/etc/acpi/hibernatebtn.sh"
[Sun Jul 16 18:00:34 2006] BEGIN HANDLER MESSAGES
[Sun Jul 16 18:00:34 2006] END HANDLER MESSAGES
[Sun Jul 16 18:00:34 2006] action exited with status 0
[Sun Jul 16 18:00:34 2006] completed event "ibm/hotkey HKEY 00000080 0000100c"
----------------------------

hibernatebtn.sh:

----------------------------
$ cat /etc/acpi/hibernatebtn.sh
#!/bin/bash
. /usr/share/acpi-support/key-constants
acpi_fakekey $KEY_SUSPEND
----------------------------

I can't see where is the problem.  Any workaround?  Thanks :)

Another question about sleep. This is historic for me: after 2 SUSE
and 2 Ubuntu seems that this laptop can't suspend :(   Few seconds
after the [apparently good] resume the hard disk goes crazy (a lot of
disk errors in dmesg) and the system fails.  May be is useful
deactivate the write-cache in hdparm configuration?  I've seen this in
https://wiki.ubuntu.com/LaptopTestingTeam/ThinkpadR40-2681

TIA

-- 
Benj,amí
http://blog.bitassa.cat



.