Comment 3 for bug 407940

Revision history for this message
Alexander Hartl (alx321) wrote :

alex@alex-note:~$ killall gnome-settings-daemon gnome-power-manager
alex@alex-note:~$ xev | sed -n 's/^.*state \([0-9].*\), keycode *\([0-9]\+\) *\(.*\), .*$/keycode \2 = \3, state = \1/p'
keycode 36 = (keysym 0xff0d, Return), state = 0x0
** Pressing all new keys, €, $ and bluetooth-switch, but nothing happens **
^C
alex@alex-note:~$ /lib/udev/findkeyboards
AT keyboard: input/event5
alex@alex-note:~$ sudo /lib/udev/keymap input/event5 > /tmp/orig-map.txt
alex@alex-note:~$ sudo /lib/udev/keymap -i input/event5
Press ESC to finish
** Pressing new keys but nothing happens **
** Pressing €, $ **
scan code: 0xB3 key code: euro
scan code: 0xB4 key code: dollar
** turning bluetooth on and off **
scan code: 0xD4 key code: bluetooth
scan code: 0xD9 key code: brightnessup
scan code: 0x01 key code: esc
alex@alex-note:~$ cat /sys/class/dmi/id/sys_vendor
Acer
alex@alex-note:~$ cat /sys/class/dmi/id/product_name
Aspire 6920
alex@alex-note:~$ udevadm info --export-db > /tmp/udev-db.txt

I just found out that the mapping for the bluetooth issue is already done in the file acer-travelmate_6292.
The file for Aspire 6920 should look something like that:

0xD9 bluetooth # (toggle) on-to-off
0x92 media # this should start the media player or so
0x9E back
0xCA hold # don't really know what to map this to
0x83 rewind
0x89 fastforward