evdev stopped remapping events
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xserver-xorg-input-evdev |
In Progress
|
Wishlist
|
|||
xserver-xorg-input-evdev (Ubuntu) |
Invalid
|
Medium
|
Chase Douglas |
Bug Description
Since part of the lirc code made it into the kernel most Remote Controls show up as /dev/input/ devices. The remote controls have some strange buttons and evdev has a remap function that allows us to remap those events to events that X understands. This use to work prior to the load bug (Bug 931397) with the following config:
Section "InputDevice"
Identifier "RF remote"
Driver "evdev"
Option "Device" "/dev/input/dvb-ir"
Option "event_key_remap" "28=36 398=27 401=25 352=36 167=27 174=9 139=58 119=33"
EndSection
In my case /dev/input/dvb-ir is a symlink to /dev/input/event5. The symlink is managed by udev.
This method is also suggested by people with multi-multi button mice.
Thanks !
Changed in xserver-xorg-input-evdev (Ubuntu): | |
assignee: | nobody → Chase Douglas (chasedouglas) |
importance: | Undecided → Medium |
Changed in evdev: | |
importance: | Unknown → Wishlist |
status: | Unknown → Confirmed |
Changed in evdev: | |
status: | Confirmed → In Progress |
Running evtest /dev/input/dvb-ir:
Testing ... (interrupt to exit)
Event: time 1333134333.488193, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1e1f
Event: time 1333134333.488199, type 1 (EV_KEY), code 174 (KEY_EXIT), value 1
Event: time 1333134333.488200, -------------- SYN_REPORT ------------
Event: time 1333134333.738249, type 1 (EV_KEY), code 174 (KEY_EXIT), value 0
Event: time 1333134333.738251, -------------- SYN_REPORT ------------
Same result when not using the symlink :)