[udev] keymap add to database
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev |
New
|
Undecided
|
Unassigned | ||
Gentoo Linux |
New
|
Undecided
|
Unassigned |
Bug Description
Well, after working finding how to do it, I map a keyboard.
Its a Genius Kb-320e. Keyboard reports 2 devices, input4 (normal keyboard) and input5 (multimedia keys)
I can make the keymap to tell udev and make the rule in /etc/udev/rules.d so I can use all MM keys.
I dont know how to make a feature request bug, so I post the question here cause I use gentoo.
Sory for my poor english, I speak spanish...
some relevant data to post:
/////////
udevadm info -a -n /dev/input/event5
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/
KERNEL=="event5"
SUBSYSTEM=="input"
DRIVER==""
looking at parent device '/devices/
KERNELS=="input5"
SUBSYSTEMS=="input"
DRIVERS==""
ATTRS{name}
ATTRS{phys}
ATTRS{uniq}==""
ATTRS{propertie
////////// IT CONTINUES. NO RELEVANT DATA
/////////UDEV RULE
ATTRS{name}
//////////// KEYMAP "/lib/udev/
0x900F5 wordprocessor
0x900F6 spreadsheet
0x900F4 presentation
0x900F7 messenger
0x900F8 close
0x900F9 graphicseditor
0x900FD cyclewindows
0x900FC coffee # dont work as coffe key. its padlock key
0x900F3 previoussong # keypad left --- I asign to music, but realli its a pad
0x900F2 nextsong # keypad right --- same
0x900F0 pageup # keypad UP
0x900F1 pagedown # Keypad down
/////////
RECOGNIZED KEYS ARE NOT REMAPPED. I LEAVE IT IN DEFAULT
I think its the most important data, If something more needed, email me
<email address hidden>
Seems like bugzilla at kernel.org would be a better place for the udev feature request.
Also, related info: forums. logitech. com/t5/ Keyboards- and-Keyboard- Mice/G15- keys-under- xorg-linux/ td-p/198216
http://
ps. Please remove gentoo-linux tag