[Bug 1152377] Re: [keymap] Logitech iTouch keyboard: broken scan codes

Götz Christ 1152377 at bugs.launchpad.net
Thu May 23 17:20:02 UTC 2013


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
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1152377

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

Status in “systemd” package in Ubuntu:
  Incomplete

Bug description:
  Summary: The hot key buttons, Finance, My Sites, Community, Shopping
  and iTouch performs no actions.

  This is a Logitech keyboard (with 5 broken scan codes) named "iTouch
  Internet Navigator".

  from dmesg:
  [30348.486903] atkbd serio0: Use 'setkeycodes e013 <keycode>' to make it known.
  [30348.643289] atkbd serio0: Unknown key released (translated set 2, code 0x93 on isa0060/serio0).
  [30348.643297] atkbd serio0: Use 'setkeycodes e013 <keycode>' to make it known.
  [30348.940755] atkbd serio0: Unknown key pressed (translated set 2, code 0x94 on isa0060/serio0).
  [30348.940763] atkbd serio0: Use 'setkeycodes e014 <keycode>' to make it known.
  [30349.123219] atkbd serio0: Unknown key released (translated set 2, code 0x94 on isa0060/serio0).
  [30349.123227] atkbd serio0: Use 'setkeycodes e014 <keycode>' to make it known.
  [30349.387002] atkbd serio0: Unknown key pressed (translated set 2, code 0x95 on isa0060/serio0).
  [30349.387010] atkbd serio0: Use 'setkeycodes e015 <keycode>' to make it known.
  [30349.577190] atkbd serio0: Unknown key released (translated set 2, code 0x95 on isa0060/serio0).
  [30349.577198] atkbd serio0: Use 'setkeycodes e015 <keycode>' to make it known.
  [30353.702014] atkbd serio0: Unknown key pressed (translated set 2, code 0x91 on isa0060/serio0).
  [30353.702023] atkbd serio0: Use 'setkeycodes e011 <keycode>' to make it known.
  [30353.852167] atkbd serio0: Unknown key released (translated set 2, code 0x91 on isa0060/serio0).
  [30353.852173] atkbd serio0: Use 'setkeycodes e011 <keycode>' to make it known.
  [30354.381783] atkbd serio0: Unknown key pressed (translated set 2, code 0x92 on isa0060/serio0).
  [30354.381791] atkbd serio0: Use 'setkeycodes e012 <keycode>' to make it known.
  [30354.538307] atkbd serio0: Unknown key released (translated set 2, code 0x92 on isa0060/serio0).
  [30354.538315] atkbd serio0: Use 'setkeycodes e012 <keycode>' to make it known.

  After running the following commands, I found out the corresponding
  functionalities:

  $ /usr/lib/udev/findkeyboards
  AT keyboard: input/event2

  $ sudo /usr/lib/udev/keymap -i input/event2
  0x91 shop    # Shopping
  0x92 config  # iTouch
  0x93 finance # Finance
  0x94 prog1   # My Sites
  0x95 prog2   # Community

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




More information about the foundations-bugs mailing list