Comment 28 for bug 390959

Revision history for this message
Jero (jbuencuerpo) wrote : Re: Microsoft digital media pro keyboard recognised as joystick - interferes with some games

I solve it following the instructions here http://ryort.wordpress.com/2011/12/04/udev-and-the-microsoft-digital-media-keyboard-3000-wha/

In my case was a microsoft mouse+keyboard 3000 v2.0, at a terminal type:

dsmesg

And search for something like this .

[ 19.205623] generic-usb 0003:045E:0745.0001: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Microsoft® 2.4GHz Transceiver v6.0] on usb-0000:00:1a.0-2/input0

In /etc/udev/rules.d/ folder create an empty file named microsoft-digital-media-keyboard.rules

The add this lines, changing the idVendor and idProduct you see on dsmesg , in my case 045e and 0745

SUBSYSTEM=="input", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="0745", RUN+="/lib/udev/keymap input/event%n /lib/udev/keymaps/microsoft-digital-media-keyboard-3000"
SUBSYSTEM=="input", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="0745", KERNEL=="js0", NAME="not-really-js%n"

at the folder /lib/udev/keymaps/ create another empty file, if you want to remap function keys in future you should edit this file at your purpose as is shown on the blog.

I hope it helps you,
Saludos!