Initialising keyboard
Posted: Mon Oct 29, 2001 12:00 am
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
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