[LinuxBIOS] PS2 keyboard not working on ASUS A8N5X ( K8/CK804/IT8712F)

Robert Millan rmh at aybabtu.com
Fri Aug 17 13:49:10 CEST 2007

On Thu, Aug 16, 2007 at 05:32:07PM -0600, Marc Jones wrote:
> I assume you have a good reason, but why are you changing the it8712f 
> pnp device numbers? I am not positive how this works, but I think 
> changing 2e.0 to 2e.7 means that you are trying to program the it8712f 
> logical device 7 with floppy settings.
> http://www.tranzistoare.ro/datasheets/1150/495234_DS.pdf

The changes were mostly part of the patch Uwe sent me (for his slightly
different board).  I also changed keyboard (s/2e.5/2e.a/), midi (s/2e.8/2e.b/)
and game port (s/2e.9/2e.c/) while trying to match with lspnp output:

  00:0a PNP0303 IBM enhanced keyboard (101/102-key, PS/2 mouse support)
  00:0b PNPb006 MPU401 compatible
  00:0c PNPb02f Joystick/Game port

Is this correct?

> IRQ routing/polarity/mask issues? Check mptable.c and irq_tables.c.

I see that they print these debug messages:

  Writing IRQ routing tables to 0xf0000...done.
  Wrote the mp table end at: 00000020 - 00000140

I'm not sure if I can make sense of this.  Should I poke at the contents
in these addresses?

> You can check the keyboard controller input buffer to see if a keystroke 
> is in there. Then you would know that interrupt isn't getting through.

How would I do that, with a userspace program using inb()/outb() ?

> Do you have serial console working and does keyboard work there? That 
> would tell you if interrupts are making it from the SIO.

Yes, that works.

Thank you

Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)

More information about the coreboot mailing list