On 10/25/2010 10:00 AM, Fran wrote:
> Hi all,
>
> I want read from an USB keyboard with a C program from the XNAND drive. With
> a standart debian I can read the keyboard loading as input stream
> "/dev/stdin", but in the embedded distribution of debian I don't have the
> "/dev/stdin". How can I load this module?
>
> I'm using a TS 7553, with the version "Linux ts7500 2.6.24.4" of kernel.
> I have plugged the keyboard and executed some commands from the complet
> distribution of debian (from the sd):
>
> - If I execute "lsusb" I can see:
> ts7500:~# lsusb
> Bus 002 Device 002: ID 413c:2106 Dell Computer Corp.
> Bus 002 Device 001: ID 0000:0000
> Bus 001 Device 001: ID 0000:0000
> So device can detect the keyboard.
>
> - If I execute "lsmod", I can see this three modules that they aren't if I
> unplug the keyboard:
> Module Size Used by
> usbhid 13380 0
> hid 27492 1 usbhid
> input_core 14892 3 usbhid,hid
>
> Does anyone know how can I read the keyboard from the embedded linux?
I'd guess different kernel versions :) You have input_core support so
you should find it under /dev/input somewhere
--
Jason Stahls
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|