This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Keyboard input (i386)
- From: Leandro <leandro at hasar dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 01 Mar 2004 16:53:14 -0300
- Subject: [ECOS] Keyboard input (i386)
Hello, I'm trying to get input from the keyboard in a POS context, i386
platform. The only thing I could find in eCos is to open /dev/ttydiag
and read from there, but for some reason I still can't understand,
everytime I read a byte from there that same byte is written on the
screen. If I do not open ttydiag, no echo is shown, and I couldn't find
where this behaviour takes place inside the code of the kernel. Is there
any other way to read from the PS/2 keyboard preventing the echo, id
est, in a raw fashion?
Thank you,
Leandro.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss