Found a handy page at the Ubuntu Wiki called HotkeyResearch, I followed
the instructions and here are the results (as requested). It turns out
Fn + F3 does not seem to generate keycodes, at least showkey doesn't
catch them. However, when looking in /var/log/acpid for ACPI events it
shows the following:

received event "ibm/hotkey HKEY 00000080 00001003"

Interestingly enough it also shows the following error (it's generated
by /etc/acpi/screenblank.sh, which is sourced by thinkpad-
lockorbattery.sh):

Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
xset:  unable to open display ":0"

What's interesting is that the lid button "button/lid LID 00000080
00000005" calls /etc/acpi/lid.sh but calls CheckPolicy from /usr/share
/acpi-support/policy-funcs and quits (because it shows gnome-power-
manager running). Does it let gnome-power-manager handle the event? That
would make sense since that's where the action for lid close is defined.

Since lid.sh does basically the same as screenblank.sh, if the call to
CheckPolicy failed the same error would be generated. I couldn't find
any information describing the cookie error, so I haven't got a clue
what to try next. Hopefully someone with more experience will be able to
give some insight into the problem, it doesn't actually seem to be
related to this bug report.

I attached the relevant parts from the acpid log.

** Attachment added: "/var/log/acpid"
   http://launchpadlibrarian.net/10303530/acpid-log.txt

-- 
FN + F3 shited to FN + F2 after system update on IBM
https://bugs.launchpad.net/bugs/67968
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to