[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux]
Hi all
i have compiled the program for PS/2 mouse and now in /proc/misc i am getting "1 psaux"
but in my /proc/interrupts i am not getting the interrupt for mouse(ie IRQ 5).
if "1 psaux " is getting registered in misc then why isnt interrupts getting registered.
since mouse works with interrupts i should have got it.
if i give "aux_request_irq(mouse_interrupt,NULL)"
just after psaux_init();( ie similar to the keyboard's)
i get the mouse interrupt 5 in /proc/interrupts
but i thought aux_request_irq should be called in the open_aux function of the mouse, "if(aux_request_irq(mouse_interrupt,NULL ))"
because in ethernet program request_irq is called only inside the open function and the interrupt is getting registered in /proc/interrupts then why isnt mouse's interrupts getting registered.
can any one plz explain me the reasons as why its happening like this.
Thanks & Regards
Hema.K
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/