Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296129 - app-misc/hal-info-20090716 changes Fn-F5 behavior on Thinkpad T60 in a bad way
Summary: app-misc/hal-info-20090716 changes Fn-F5 behavior on Thinkpad T60 in a bad way
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-07 21:57 UTC by Christopher Smith
Modified: 2009-12-16 08:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Smith 2009-12-07 21:57:23 UTC
The Fn-F5 key on my Thinkpad T60 used to just toggle bluetooth on and off.  There is a hardware wireless switch so I don't need the Fn-F5 key to toggle wireless also.  The real problem is that it doesn't allow you to toggle them independently even if you wanted to.  It toggles BOTH wireless and bluetooth on and off together.  Downgrading to hal-info-20090414 restores the previous behavior.

Reproducible: Always

Steps to Reproduce:
1. Upgrade to hal-info-20090716 on a Lenovo TP
2. Press Fn-F5

Actual Results:  
Bluetooth and Wireless toggle together

Expected Results:  
Only bluetooth should be toggled
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-12-07 23:24:50 UTC
Please try 20091130, if that doesn't work, please report upstream.
Comment 2 Hypnos 2009-12-16 08:32:15 UTC
FYI, upgrading to hal-info-20091130 doesn't help.

Here is the diff, which occurred in June 2009:

http://cgit.freedesktop.org/hal-info/commit/?id=e0d95232f8f363b7f08f1b21c7ff5ac74621ee5a

It argues that Fn+F5 being mapped to KEY_WLAN is the correct behavior, as well as the behavior consistent with the thinkpad-acpi kernel module.  Before, Fn+F5 was being remapped to KEY_RADIO, which is reserved for tuner cards and the like.  Apparently in Windows Fn+F5 brings up a ThinkVantage menu that lets you choose both the wireless and Bluetooth states; there is no kernel keycode  meant to handle everything (e.g., "KEY_WIRELESS").

My workaround is to use Fn+F6 (also reported as a hotkey) as the Bluetooth toggle via acpid.  This way Fn+F5 toggles wireless, Fn+F6 toggle Bluetooth, and the kill switch on the edge of the case turns off both.  If you insist on having Fn+F5 toggle the wireless, you can revert to the earlier behavior by putting a custom 30-keymap-module-thinkpad-acpi.fdi in /etc/hal/fdi/information ...

I hope this is helpful.