From: Rogelio M. S. Jr. <ro...@vi...> - 2001-12-23 13:42:07
|
On Sat, 22 Dec 2001, James Simmons wrote: > > > How should i fix the keyboard map? The keys are all mapped wrong. I cant > > use ruby on my home pc which is an ibm ps2. My keyboard keeps on being > > identified as a set 22 keyboad. I tried defining the debug macro in > > atkbd.c but still i dont get the message that tells me what the raw scan > > codes are. > > Hm. This is a older machine? Tried the XT keyboard driver and let me know > if that works. There is a ioctl in the input layer that allows you to > change the mapping between raw codes to event codes but it has never been > implemented. Sounds like it time to implement it. > > . --- > |o_o | > |:_/ | Give Micro$oft the Bird!!!! > // \ \ Use Linux!!!! > (| | ) > /'_ _/`\ > ___)=(___/ > > Yes. It is an IBM PS/2 77s. My old olivetti keyboard only works with set 1 scancodes. I bought an IBM PS/2 keyboard that works on mode 2 but its still the same. I am hacking at the keyboard code right now. Im beginning to look at the i8042 code too. I will try to see if there is something wrong with translation. I will try setting i8042_direct to 1 so i could verify if there is a bug in the i8042 driver. Im beginning to think this is a motherboard hardware issue. I wonder if this keyboard works in mode 3. I will test that too. |