[udev] keymap add to database

Bug #760362 reported by pelo
6
This bug affects 1 person
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/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.1/input/input5/event5':
KERNEL=="event5"
SUBSYSTEM=="input"
DRIVER==""

looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.1/input/input5':
KERNELS=="input5"
SUBSYSTEMS=="input"
DRIVERS==""
ATTRS{name}=="Genius Multimedia Keyboard"
ATTRS{phys}=="usb-0000:00:1d.0-1.6/input1"
ATTRS{uniq}==""
ATTRS{properties}=="0"

////////// IT CONTINUES. NO RELEVANT DATA

/////////UDEV RULE
ATTRS{name}=="Genius Multimedia Keyboard", ATTRS{phys}=="usb-0000:00:1d.0-1.6/input0", RUN+="/lib/udev/keymap input/event5 /lib/udev/keymaps/genius"

//////////// KEYMAP "/lib/udev/keymaps/genius"

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>

Revision history for this message
Anton (anton-bugs) wrote :

Seems like bugzilla at kernel.org would be a better place for the udev feature request.

Also, related info:
http://forums.logitech.com/t5/Keyboards-and-Keyboard-Mice/G15-keys-under-xorg-linux/td-p/198216

ps. Please remove gentoo-linux tag

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.