|
|
|
PS/2 Mouse | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
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
[Kernel Newbies] [Security] [Linux C Programming] [Linux for Hams] [DCCP] [Netfilter] [Bugtraq] [Photo] [Yosemite] [Yosemite News] [MIPS Linux] [ARM Linux] [Linux RAID] [Linux Admin] [Samba] [Video 4 Linux]
![]() |