[ECOS] Why this ps/2 mouse driver doesn't work

Jonathan Larmour jlarmour@redhat.com
Mon Dec 17 08:00:00 GMT 2001

"Q. jason" wrote:
> Hi,every one.
> Recently I wrote a ps/2 mouse driver for ecos.
> I had learned that Ps/w mouse can only use IRQ12, so i assign 44 as its vector(12+32), but my mouse driver didn't respond to interrupt(my mouse can work correctly under Microsoft Windows).
> I have wrote a little auxiliary program to enable me directly writing characters to scteen. And if I placed it in the serial driver's DSR, whenever there was a interrupt, it could print a character(for example: a 'D').
> But when I placed it in my mouse driver's DSR, it can print nothing.
> Who can tell me, what's happened to my mouse driver and what can I do?

Did you return (CYG_ISR_HANDLED|CYG_ISR_CALL_DSR) from the ISR?

Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

More information about the Ecos-discuss mailing list