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


** Attachment added: "udevadm info --attribute-walk /dev/input/event4"
   
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1152377/+attachment/3685084/+files/udevadm-attribute-walk-event4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1152377

Title:
  [keymap] Logitech iTouch keyboard: broken scan codes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1152377/+subscriptions

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

Reply via email to