USB Keyboard Support

Igor Luri iluri at fagorautomation.es
Thu Nov 24 03:00:26 EST 2005


Absolut Hunter wrote:

>Everyone,
>
>I recently got the USB device up and working under DENX Linux 2.4.25 with a
>MPC8280.
>
>We are using a Sm501 video chip and also have that working now, I was hoping
>to get the USB Keyboard system and running so I could totally run the system
>without having to use the serial port as the stdin/stdout anymore.
>
>However, I am having trouble getting any USB keyboard input to be recognized
>as the stdin or anything really.
>
>I have verified that the kernel sees the keyboard and associates the correct
>HID driver, and keyboard driver with it.  Also I have added the
>/dev/input/input0-3 files and have verified that they are receiving garbage
>when keys are pressed. i.e. via 'cat input0' and dumping the input to the
>console.
>
>Anyone know what else is required in order to setup the USB keyboard as the
>input device when using a VGA console?
>
>Thanks,
>
>-Russ
>
>_______________________________________________
>Linuxppc-embedded mailing list
>Linuxppc-embedded at ozlabs.org
>https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>  
>
Dear Russ,

We have MPC5200Lite board running DENX Linux 2.4.25 with Fujitsu CoralP 
video card.
To have have the USB keyboard as system stdin, the only thing I have 
done is to remove "console" args from kernel command line. I use the 
following command lines:

1)To have the console output on serial line and screen, and the input on 
serial line:

root=/dev/nfs rw ip=on console=tty console=ttyS0 init=/sbin/init

2) To have the console input on the USB keyboard and the output on the 
screen:

root=/dev/nfs rw ip=on init=/sbin/init

I have atached our kernel configuration.

Hope this helps.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: autoconf.h
Type: text/x-chdr
Size: 21211 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20051123/2dd40db9/attachment.h 


More information about the Linuxppc-embedded mailing list