Re: [ES40-developers] 8042 translation is faulty
Status: Alpha
Brought to you by:
iamcamiel
From: Camiel V. <iam...@gm...> - 2008-02-07 20:53:56
|
Hi Brian, I think disabling the translation altogether isn't the right solution. There is indeed a bug in the translation code. Could you try adding the following line around line 619? If this solves the problem, I'll commit it to CVS, with some comments added about how the different scancode sets and translations (should) work. if (scancode[i] == 0xF0) { escaped=0x80; i++; <==== ADD THIS LINE } else On Feb 7, 2008 7:39 PM, Brian Wheeler <bdw...@in...> wrote: > Actually, skip the line 1850 stuff, it doesn't seem to work. However, > > if (state.kbd_controller.scancodes_translate && 0) > > on line 609 (or thereabouts) does fix the problem. > > Brian > > > > On Thu, 2008-02-07 at 13:17 -0500, Brian Wheeler wrote: > > It looks like the 8042 keyboard translation is faulty. SRM turns it off > > during the bootup sequence, and netbsd turns it off (again), and then on > > right before it goes to the debugger. I've forced it to 0 on > > AliM1543C.cpp around line 1850: > > > > state.kbd_controller.scancodes_translate = 0; > > > > and the netbsd debugger is working as expected. > > > > I also commented out the XWarpPointer call in gui/gui_x11.cpp and it > > doesn't keep moving the mouse to the center of the window. > > > > > > Brian > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Es40-developers mailing list > > Es4...@li... > > https://lists.sourceforge.net/lists/listinfo/es40-developers > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Es40-developers mailing list > Es4...@li... > https://lists.sourceforge.net/lists/listinfo/es40-developers > |