int EnabledDataReporting() { DiseableKeyBoard(); do { WriteMouse(); asm("outb %%al,$0x60;": :"a"(EnabledDataReport)); }while(!IsCommandAcepted()); /* asm("outb %%al,$0x60;"::"a"(0xf4));//forzar datareporting*/ EnabledKeyBoard(); return TRUE; };as you see i most to demand with the line between /* */, if i dont include this line , my mouse just stop to sending signals(or what ever it sends :D ) EnabledDataReport is 0xf4 but when i include the line 9 everything does fine,so my question is what i making wrong??? why if i put 0xf4 instead ENabledDAtaReport it work.
Take Folks _________________________________________________________________Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
- : send the line "unsubscribe linux-assembly" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
- Follow-Ups:
- Re: PS/2 Mouse
- From: leslie . polzer
- Re: PS/2 Mouse
- Prev by Date: Re: grub thing
- Next by Date: Re: PS/2 Mouse
- Previous by thread: redirection
- Next by thread: Re: PS/2 Mouse
- Index(es):