From: Rogelio M. S. Jr. <ro...@vi...> - 2001-12-24 00:17:35
|
On Sun, 23 Dec 2001, Vojtech Pavlik wrote: > On Thu, Dec 20, 2001 at 10:55:29PM +0800, Rogelio M. Serrano Jr. 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. > > Set 22? That's really interesting. You can try using 'i8042_direct=1' > option to i8042.o (if you load it as a module, if not, pass it on the > kernel command line). Also, you can try #define I8042_DEBUG_IO in > i8042.h and #define ATKBD_DEBUG in atkbd.c and send me the logs of the > communication between the computer and the keyboard. > > -- > Vojtech Pavlik > SuSE Labs > I tried i8042_direct=1 and it worked. I will try to rerun my old kerneland send you the logs. The keyboard is being detected correctly now. I will try to go back and reproduce the bug. |