From: Vojtech P. <vo...@su...> - 2001-12-24 09:13:53
|
On Mon, Dec 24, 2001 at 08:17:16AM +0800, Rogelio M. Serrano Jr. wrote: > > > 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. It looks like the 'untranslator' in i8042.c is for some reason failing with your keyboard. It'll be interesting to find out why. > 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. If possible, enable the debug options before you do that. -- Vojtech Pavlik SuSE Labs |