kbd newbie [Fwd: Re: setkeycodes, sysrq, and USB keyboard]

2005-07-08 Thread federico
>>can you tell me in which source file this happens? >> >> > >drivers/char/keyboard.c > i looked at that source (sincerely, this is the first time i look into the linux sources! :) int setkeycode(unsigned int scancode, unsigned int keycode) { ... list_for_each(node,&kbd_handler.h_list

Re: setkeycodes, sysrq, and USB keyboard

2005-07-05 Thread federico
Vojtech Pavlik ha scritto: >Sorry, you can't use 'setkeycodes' on USB keyboards. They don't use the >PS/2 protocol, and hence it doesn't make sense. > > ouch! cannot push SysRq?!? do I still need my PS/2 keyboard plugged in? (that keyboard is terribly useful because it is a USB hub... but havin

Re: setkeycodes, sysrq, and USB keyboard

2005-07-04 Thread Vojtech Pavlik
On Mon, Jul 04, 2005 at 11:43:03PM +0200, federico wrote: > hi all, > > i have a problem: i got a white Apple usb keyboard, but this keyboard > doesn't have PrintScr nor SysRq. > i read in Documentation/sysrq.txt how to change the SYSRQ scancode. > i launched showkey and acknowledged that R_Alt+F1

setkeycodes, sysrq, and USB keyboard

2005-07-04 Thread federico
hi all, i have a problem: i got a white Apple usb keyboard, but this keyboard doesn't have PrintScr nor SysRq. i read in Documentation/sysrq.txt how to change the SYSRQ scancode. i launched showkey and acknowledged that R_Alt+F13 is 100,183 => 64b7. i ran # setkeycodes 64b7 84 KDSETKEYCODE: No s