[Armadillo:00587] Re: Read keyboard characters without echoing
Fumito Morishima
email@hidden
2005年 10月 31日 (月) 21:56:47 JST
Hello,
I'm not so sure what exactly you'd like to do, but how about these steps
below:
1. Configure the kernel to enable input devices layer.
Device Drivers --->
Input device support --->
<*> Event interface
2. Modify /etc/inittab to stop getty on VGA(login from /dev/ttyAM0 or
telnet).
#::respawn:/sbin/getty 38400 tty1 <-- comment out
3. Make /dev/input directory and make /dev/input/event0 device file to
get the event from keyboard, like below.
a9# mknod /dev/input/event0 c 13 64
4. Check whether you can see the keyboard event(USB keyboard must be
connected).
a9# od -x /dev/input/event0
Regards,
Fumito
Yusuf Ahmad, Noida wrote:
> Hi,
>
>
>
> Please give me some hint on how to read characters from keyboard without
> echoing on console screen.
>
>
>
> Thanks for the help.
>
>
>
> Best Regards,
>
> Yusuf
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> armadillo mailing list
> email@hidden
> http://lists.atmark-techno.com/mailman/listinfo/armadillo
armadillo メーリングリストの案内