Bug#741464: grub-pc-bin: hangs after displaying boot menu

Marco Gamberoni gamberoni at libero.it
Mon Feb 2 21:05:19 UTC 2015


On Sun, 01 Feb 2015 23:16:59 +0100 I wrote:
...
> I suppose the fact that this one liner IS NOT DOING THE JOB (the keyboard
> controller does not get the XLAT bit set)
>     terminal_input at_keyboard ;  outb 0x64 0x60 ; outb 0x60 0x40 0x40
> should signify something
...

Signifies my face is red...
The right one liner is
    terminal_input at_keyboard ; outb 0x64 0x60 ; outb 0x60 0x64
the last 0x64 is the value to write in the keyboard controller command byte. 
outb with a mask is incompatible with the way the the keyboard controller 
command byte is read and written.

If I understand the intent of USE_SCANCODE_SET, I suppose line 357 in 
at_keyboard.c
    #if !USE_SCANCODE_SET
should be
    #if USE_SCANCODE_SET
without the not.
Still, I do not find the code that matches the changes in the keyboard 
controller command byte I am seeing.

Ciao,

Marco Gamberoni 

_________

PGP Fingerprint: 945C CE09 7D11 E1A0 5D8D  306E DAE1 C4A6 0BB3 7A16



More information about the Pkg-grub-devel mailing list