Initialising keyboard

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Guest

Initialising keyboard

Post by Guest »

Hi All,
I've been playing around with booting a PC in pmode and
also paging mode (well virtual address translation, had no
page fault handler). Things have been going fine until now.
Now I'm trying to progress this a little further and I am
now tring to write a simple keyboard driver. However, I'm
not recieving any interupts from the keyboard. I'm pretty
sure my IDT is setup OK. If I unmask IRQ0 I see the timer
interupts (its all going through a common handler at the
moment).

Therefore my question is, is there a initialisation sequence
that I must use before I will receieve interupts from the
keyboard. I have various code snippets for keyboard reset
etc. but none of these sequences seem to really enable the
keyboard. I have even attempted to use BIOS keyboard routines
prior to switching to pmode hoping they would do the
appropriate initialisation with no luck (bios routines work,
but still no interupt in pmode).

Any help greatly appreciated!

Oh yeh, hardware is Compaq Armada 6500 laptop.

Regards,

Ashley Betts
Post Reply