Keyboard & mouse - logitech => USB problem

Theo Schneider theo at schneider-berlin.net
Sat Jan 10 02:05:49 PST 2004


Hi Robert,

Robert Palm wrote:

> Hi fellows,
> 
> I have 2 Problems: First one with my logitech keyboard:
> 
> I have no numbersign and apostrophe working in the console. I use
> latin1-de keymap and tried latin1-de-nodeadkeys and us, too but did not
> help. I think the problem is concerning usb (hid). The keyboard works with
> the USB-PS/2 Adpter shipped with my Logitech keyboard with this map
> perfectly.
> 
> dumpkeys says numbersign and apostrophe is keycode 43, so you know what
> button I am talking about.
> 
> The second problem deals with gpm and my mouse (also working with PS/2).
> 
> Example:

--- snip ---

> Does anybody can give me a hint how to fix this using usb?
> 
> Tnx
> 
> Robert

i found here :
http://keepsake.keepsake.ch/~thunder/noyau/2.6.0-test11-ta1/swiss_dollar_key.xml
this litte patch :

-- patch start --

On a swiss french keyboard, the dollar key, which worked well in
Linux 2.4, now changes the terminal to the last used one. This is
not the purpose of a dollar key. As the "}" character is on the same
key, it's quite a problem for developers to have this bug.

This is a hack and may screw up any other keyboard tables! I'm not
sure how to implement it cleanly.

diff -Nur linux-2.6.0-test9-mm3/drivers/usb/input/hid-input.c
linux-2.6.0-test9-mm3-ta1/drivers/usb/input/hid-input.c
--- linux-2.6.0-test9-mm3/drivers/usb/input/hid-input.c 2003-10-08
21:24:04.000000000 +0200
+++ linux-2.6.0-test9-mm3-ta1/drivers/usb/input/hid-input.c     2003-11-24
13:42:35.000000000 +0100
@@ -40,7 +40,7 @@
          0,  0,  0,  0, 30, 48, 46, 32, 18, 33, 34, 35, 23, 36, 37, 38,
         50, 49, 24, 25, 16, 19, 31, 20, 22, 47, 17, 45, 21, 44,  2,  3,
          4,  5,  6,  7,  8,  9, 10, 11, 28,  1, 14, 15, 57, 12, 13, 26,
-        27, 43, 84, 39, 40, 41, 51, 52, 53, 58, 59, 60, 61, 62, 63, 64,
+        27, 84, 43, 39, 40, 41, 51, 52, 53, 58, 59, 60, 61, 62, 63, 64,
         65, 66, 67, 68, 87, 88, 99, 70,119,110,102,104,111,107,109,106,
        105,108,103, 69, 98, 55, 74, 78, 96, 79, 80, 81, 75, 76, 77, 71,
         72, 73, 82, 83, 86,127,116,117, 85, 89, 90, 91, 92, 93, 94, 95,

-- patch end --

this patch work for me in Kernel
2.6.0
2.6.1
2.6.1-mm1

now i don't need to modify an keymap and/or the Xmodmap.

mfg
Theo



More information about the lfs-dev mailing list