[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#533348: fix for the first bug in the Debian udev-extras package :-)



tags + patch
thanks

Don't know if adding patches to ITPs is appropriate, but let's try.  

Bug #504643 in hal-info is rather trivial, but has not yet been
resolved, neither upstream nor in Debian.  This has now resulted in the
bug being copied to udev-extras upstream.

Please apply the attached patch to the new udev-extras Debian
package. The effect should be obvious:  Instead of mapping Fn+F5 to a
key that's 

 a) wrong
 b) useless in X (keycode > 255)

it will map to one of the two possible correct values:  KEY_BLUETOOTH
(the other possibly correct value would be KEY_WLAN).

I have sent a patch to devkit-devel but it was rejected due to me not
being subscribed. Please do not repeat the hal-info approach of refusing
to fix trivial bugs in Debian before they are fixed upstream.  If you
manage to make any contact with upstream, forwarding this patch would of
course be appreciated.

Thanks.


Bjorn

diff --git a/keymap/keymaps/module-ibm b/keymap/keymaps/module-ibm
index c330f01..3fabe33 100644
--- a/keymap/keymaps/module-ibm
+++ b/keymap/keymaps/module-ibm
@@ -1,7 +1,7 @@
 0x01 battery # Fn+F2
 0x02 screenlock # Fn+F3
 0x03 sleep # Fn+F4
-0x04 radio # Fn+F5
+0x04 bluetooth # Fn+F5
 0x06 switchvideomode # Fn+F7
 0x07 zoom # Fn+F8 screen expand
 0x08 f24 # Fn+F9 undock
diff --git a/keymap/keymaps/module-lenovo b/keymap/keymaps/module-lenovo
index 53f142b..9445b61 100644
--- a/keymap/keymaps/module-lenovo
+++ b/keymap/keymaps/module-lenovo
@@ -1,7 +1,7 @@
 0x1 screenlock # Fn+F2
 0x2 battery # Fn+F3
 0x3 sleep # Fn+F4
-0x4 radio # Fn+F5
+0x4 bluetooth # Fn+F5
 0x6 switchvideomode # Fn+F7
 0x7 f22 # Fn+F8 touchpadtoggle
 0x8 f24 # Fn+F9 undock

Reply to: