Comment 7 for bug 1152377

Revision history for this message
Götz Christ (g-christ) wrote :

You are right, I was using the wrong event device. The output of findkeyboards gives:
  $ /lib/udev/findkeyboards
  USB keyboard: input/event3

But there are two devices for the keyboard:
  $ sudo /lib/udev/keymap input/event3
  ### evdev 1.0.1., driver 'Logitech Logitech USB Keyboard'

  $ sudo /lib/udev/keymap input/event4
  ### evdev 1.0.1., driver 'Logitech Logitech USB Keyboard'

Anyway, using "/usr/lib/udev/keymap -i input/event4", I get:
scan code: 0x90001 key code: 100
scan code: 0x90002 key code: 101
scan code: 0x90003 key code: 102
scan code: 0x90004 key code: 103
scan code: 0x90005 key code: 104

And the "Media" key is wrongly assigned to config
scan code: 0xC0183 key code: config

So, the correct key codes should be:
0x90001 shop # Shopping
0x90002 config # iTouch
0x90003 finance # Finance
0x90004 prog1 # My Sites
0x90005 prog2 # Community
0xC0183 media # Media