Sorry, I've got to copy the thread, maybe posted in wrong section. Really need assistance.
Ok, short story is - I want to assign key/scan-code to a non-functional for this moment button(s). The keyboard works trough 485 translating bytes to rs232 by "inputattach". Doing:
setkeycodes e046 121
for example, checked dumpkeys and 121 is still free. Then check "dmesg" again, and it recommends me to reassign once more. Are the changes I make not applied, how do I accomplish that? Yes, im pretty sure the scan is right, checked several times with different buttons logged to "dmesg", for working ones - both with "xev" and "showkey -s". Probably "setkeycodes" is not an utility for my situation, haven't seen source. But, considering system gives me the scan-codes to assign, how do I solve it then?
inputattach --daemon --always --noinit --baud 4800 -ps2ser /dev/ttyS№
EDIT: ok, I even wrote letter to Vojtech, considering he's author of both evdev and inputattach. don't really expect answer tho, kind of cba writing new driver for that.
EDIT2: just thinking, what exactly does log this "Use 'setkeycodes bla-bla" to the dmesg(because it actually reads my scan-code), as I have found nothing similar in driver. Ok I'm blind, its atkbd.c, also written by Vojtech of course