Some further data.  slangasek and I got together downtown to look at his
keyboard issue, which is the same thinkpad model as mdz's.  His
particular symptoms are that the sleep key works one time, and then not
after that.  Looking into this, we found that at the kernel level, it
prints the correct keycode once to /proc/acpi/event, and then nothing
after that.  Unloading the thinkpad-acpi kernel module and re-modprobing
it causes the behavior to reset, with the key printed one time again.
The /etc/acpi/sleepbtn.sh script does get called, but the machine does
not sleep.

So at this point, I think we're seeing at least two different unrelated
bugs - one is this thinkpad-acpi issue (which slangasek and I think is a
kernel bug, and I'll file a task against it).  I also think this is a
Thinkpad-specific kernel bug.

Pitti and I (on Dells) are not seeing this particular bug, but are
seeing something different, where the keys are showing up as mapped, but
the functionality (sleep, battery, etc.) are not getting triggered.  I
do not find evidence that /etc/acpi/sleepbtn.sh is getting called.

I'm certain there are also additional bugs beyond this in the acpi
/power-management handling code that we're running into.  I think we
should probably limit the scope of this bug report to the thinkpad-acpi
issue.  I'll file the dell sleep issue as a new bug.


** Changed in: linux (Ubuntu Intrepid)
Sourcepackagename: None => linux

** Summary changed:

- Hotkeys no longer working in Intrepid (evdev?)
+ Hotkeys no longer working in Intrepid on Thinkpads

** Description changed:

  I'm not sure yet about the root cause of this issue, but it's been
  apparently confirmed by two others, so I'm opening this bug report as a
  starting point.
  
  In Intrepid (a regression from Hardy), most of the hotkeys on my laptop
  (ThinkPad T61) no longer work, including:
  
  Fn+F2 (lock screen)
  Fn+F3 (battery)
  Fn+F4 (sleep)
  Fn+F12 (hibernate)
  
  Notably, Fn+F5 (rf kill) does work.
  
  The sleep and hibernate keys generate acpi events, and those are seen by
  hal, but no action is taken:
  
  [5352]: 10:12:24.864 [D] addon-acpi.c:195: event is 'ibm/hotkey HKEY 00000080 
00001004
  [5352]: 10:13:14.257 [D] addon-acpi.c:195: event is 'ibm/hotkey HKEY 00000080 
0000100c
  
  These events *are* acted on by /etc/acpi/sleepbtn.sh, which synthesizes
  a keypress event with acpi_fakekey.  However, the action seems to stop
  there, and nothing hears the key ($KEY_SLEEP=142 in /usr/share/acpi-
  support/key-constants).
+ 
+ [Update]
+ So far, this issue is reproducible only on Thinkpads.  As can be seen in 
/proc/acpi/events, the first hit of the key is seen, but any subsequent hits 
don't generate output in that file.  Unloading and reloading the thinkpad-acpi 
kernel model resets it.

-- 
Hotkeys no longer working in Intrepid on Thinkpads
https://bugs.launchpad.net/bugs/267682
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to