let it be known this problem is only present in KDE.

 /var/log/acpid when sleep and hibernate is pushed respectively:

[Sun Dec  3 17:20:51 2006] received event "ibm/hotkey HKEY 00000080 00001004"
[Sun Dec  3 17:20:51 2006] notifying client 4496[106:110]
[Sun Dec  3 17:20:51 2006] notifying client 14218[0:0]
[Sun Dec  3 17:20:51 2006] executing action "/etc/acpi/sleepbtn.sh"
[Sun Dec  3 17:20:51 2006] BEGIN HANDLER MESSAGES
[Sun Dec  3 17:20:51 2006] END HANDLER MESSAGES
[Sun Dec  3 17:20:51 2006] action exited with status 0
[Sun Dec  3 17:20:51 2006] completed event "ibm/hotkey HKEY 00000080 00001004"

/etc/acpi/sleepbtn.sh:

#!/bin/bash
. /usr/share/acpi-support/key-constants
acpi_fakekey $KEY_SLEEP

/proc/acpi/ibm/hotkey:

status:         enabled
mask:           0xff9f
commands:       enable, disable, reset, <mask>


When these three buttons are pressed, the appropriate action does not take 
place, and KDE does not react.

Fn+F2 = Lock Button 
    this button should call the same operation such as K Menu -> Lock Session

 Fn+F3 = Battery Button
    this button should cause a popup similar to mouse-over action on the 
kubuntu power manager in the system tray, showing battery status.

 Fn+F4 = Sleep Button
   this button should call the same operation such as K Menu -> Log Out.. -> 
Suspend Comptuer

 Fn+F12 = Hibernate Button
   this button should call the same operation such as K Menu -> Log Out.. -> 
Hibernate Comptuer

Fn + F5 = Wireless disable/enable  - this is a system call that causes
the device to go into suspend.

[17189308.060000] eth1: Going into suspend...
[17189308.172000] ACPI: PCI interrupt for device 0000:03:00.0 disabled

The other buttons are for VGA connection, Trackpad vs Thinkstick, Dock
Eject.   These have no effect and are not attached to any action in
'acpid'.

-- 
Lenovo T60 Keyboard buttons for suspend/battery/lock do not function in KDE
https://launchpad.net/bugs/74191

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to