Oak Trail, PICs, APICs, etc
Posted: Wed Mar 21, 2012 10:08 am
Hello all,
I'm currently working with a couple of different touchscreen computers from HP and Motion that use Intel's "Oak Trail" (SM35) chipset and a BIOS from Insyde. We have a very simple USB stack specifically for dealing with the USB digitizer device and smart cards - stuff the BIOS doesn't do for us - in our real mode pre-OS code, which does user authentication and disk decryption.
With this chipset, we hook the real mode interrupt vector, and we see the first USB interrupt packet arrive from the touchscreen, but inside our interrupt handler, the 8259 PIC doesn't seem to know there's an active interrupt.
So, I tried looking at the local APIC, which also isn't showing anything in its In-service or request registers. Even though I service the USB controller, I never get another interrupt after that. Sending EOI to both the PIC and APIC doesn't seem to help matters.
I'm an APIC rookie, though, so I might be missing something important.
Basically all I want to be able to do is (preferably) query for the active interrupt, and send an EOI to the correct place.
Anyone have any tips, or suggestions about what to investigate?
Thanks in advance,
Andy
I'm currently working with a couple of different touchscreen computers from HP and Motion that use Intel's "Oak Trail" (SM35) chipset and a BIOS from Insyde. We have a very simple USB stack specifically for dealing with the USB digitizer device and smart cards - stuff the BIOS doesn't do for us - in our real mode pre-OS code, which does user authentication and disk decryption.
With this chipset, we hook the real mode interrupt vector, and we see the first USB interrupt packet arrive from the touchscreen, but inside our interrupt handler, the 8259 PIC doesn't seem to know there's an active interrupt.
So, I tried looking at the local APIC, which also isn't showing anything in its In-service or request registers. Even though I service the USB controller, I never get another interrupt after that. Sending EOI to both the PIC and APIC doesn't seem to help matters.
I'm an APIC rookie, though, so I might be missing something important.
Basically all I want to be able to do is (preferably) query for the active interrupt, and send an EOI to the correct place.
Anyone have any tips, or suggestions about what to investigate?
Thanks in advance,
Andy