From: Kevin Holland <khollan@daktronics.com>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: map keyboard to stdin
Date: Wed, 30 Jul 2008 15:09:46 -0500 [thread overview]
Message-ID: <1217448586.6245.16.camel@kevin-laptop> (raw)
In-Reply-To: <alpine.LNX.1.10.0807230050450.23410@fbirervta.pbzchgretzou.qr>
On Wed, 2008-07-23 at 00:52 +0200, Jan Engelhardt wrote:
> On Tuesday 2008-07-22 22:55, Kevin Holland wrote:
>
> >Hi all,
> >I have an embedded Linux board that uses 2.6.21, the console is output
> >the serial port. How can I set it up so a USB keyboard will be accepted
> >as input as well as anything received from the serial port and it will
> >be echoed to the output of the serial port as well. Basically I want to
> >issue commands either through a terminal program to the embedded board
> >or a USB keyboard that is connected to the board, but I still want to
> >see what was typed on the keyboard out the serial terminal. I have
> >enabled USB HID support in the Kernel as well.
>
> Try booting with console=tty0 console=ttyS0
> I am not sure whether this will accept input from both (that's for you
> to test), though it definitely outputs to both.
This method doesn't seem to work on my setup since I'm only using the
serial port as the console, and have no frame buffer. I can
cat /dev/input/event0 and get what appears to be scan codes when I press
keys on my keyboard. How can I translate this into specific commands
for my serial console?
Thanks
Kevin
prev parent reply other threads:[~2008-07-30 20:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-22 20:55 Kevin Holland
2008-07-22 22:52 ` Jan Engelhardt
2008-07-30 20:09 ` Kevin Holland [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1217448586.6245.16.camel@kevin-laptop \
--to=khollan@daktronics.com \
--cc=jengelh@medozas.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®