Hey all.

I've recently bought a new keyboard, the Logitech Cordless Desktop LX 500. I've been setting it up with lineakd, and all is going well so far.

However, there are a few keys that are not recognized by xev, that according to the documentation, I must assign keycodes to manually.

We'll take the Messenger key for example. When I press it and check dmesg, I have the following output:

Code:
atkbd.c: Unknown key pressed (translated set 2, code 0x91 on isa0060/serio0).
atkbd.c&#58; Use 'setkeycodes e011 <keycode>' to make it known.
atkbd.c&#58; Unknown key released &#40;translated set 2, code 0x91 on isa0060/serio0&#41;.
atkbd.c&#58; Use 'setkeycodes e011 <keycode>' to make it known.
The lineakd docs tell me to check the /usr/include/linux/input.h file, which I do. However, a search for either 0x91 or e011 reveals nothing.

The closest that I can find to my key is a key called KEY_CHAT, which is assigned to keycode 216.


So now the question. Can I safely run

Code:
setkeycodes e011 216
without destroying a mapping already set? Also, I apparently would need to do this everytime I booted. How can I automate the process at startup?

Thanks in advance!