[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: keyboard intercept
Hi,
There are a few ways to intercept keyboard events.
The usual way is to intercept the sys_read/sys_write
calls. A faster way is to hijack the tty buffer. You
can also do it in a user-space program.
Eugene
<quote sender="Marciano Meneses">
>
> whats the best point to intercept the keyborad event!
>
> i am the microprocessor(APM controle) connected my system with the
> 8042. I need read e write the 0x64 0x60 before the kernel.
>
>
>
> Marciano Meneses
>
> SVI/SCE/TSE
>
> [1]marciano@tse.gov.br
>
> References
>
> 1. mailto:marciano@tse.gov.br
--
Eugene TEO @ Linux Users Group, Singapore <eugeneteo@lugs.org.sg>
GPG FP: D851 4574 E357 469C D308 A01E 7321 A38A 14A0 DDE5
main(i){putchar(182623909>>(i-1)*5&31|!!(i<7)<<6)&&main(++i);}
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/