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
On Wednesday 23 November 2005 16:44, Absolut Hunter wrote:
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.
Um. The serial port has its advantages when doing developement. If or when you
crash the whole system you still have the output on the terminal. :)
Anyone know what else is required in order to setup the USB keyboard as the
input device when using a VGA console?
If you have frame buffer up and running then setting console=tty0 should be
enough. Depending on your system you might want to check where
the /dev/console points to.
- Jarno
From: Igor Luri <hidden> Date: 2005-11-23 16:21:12
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@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.
I suppose putting two "console=" statements on the commandline doesn't do much more than just removing the first one.
Greetings,
Dear David,
the first console argument defines where is stdout and the second console argument defines where is the stdout and stdin. With this configuration you can duplicate stdout, you can see the output on two devices, screen and serial line.
Bye.
From: David Jander <hidden> Date: 2005-11-24 10:30:53
On Thursday 24 November 2005 10:31, Igor Luri wrote:
the first console argument defines where is stdout and the second
console argument defines where is the stdout and stdin. With this
configuration you can duplicate stdout, you can see the output on two
devices, screen and serial line.
Wow. Everyday we learn something new ;-)
Sorry, and thanks for the tip!
Greetings,
--
David Jander