From: "Paolo Scaffardi" <arsenio@tin.it>
To: <linuxppc-dev@lists.linuxppc.org>
Subject: Custom serial keyboard: playing dirty with the serial console
Date: Thu, 21 Sep 2000 08:44:31 +0200 [thread overview]
Message-ID: <003601c02397$670ccd60$0a00010a@paoloweb> (raw)
We have a custom IR keyboard & mouse, that i have attached to the serial
port of my board (i have an embedded powerpc). Its protocol is called 4PPM,
and i had to write a driver that intercepts these serial characters, decodes
and convert them to standard XT scancodes.
Serial routines were implemented, yet, and i decided to 'insert' my 4PPM
layer inside of the serial console driver.
Everything is now ok: i receive correct packets, convert them to XT
scancodes and call 'handle_scancode' to process them.
But 'handle_scancode' only prints characters to the console, without
apparently processing them. I see everything i write, but when i press enter
(scancode 0x1c), i only see a new line in the console, not any new bash
prompt.
Why this? Is it correct to intercept the serial console and not returning
single characters from inside it but from 'handle_scancode' mode?
Who know that?
THANX!
- may the pinguin b with u -
Have a nice day,
Paolo Scaffardi.
AIRVENT SAM s.p.a. - RIMINI - ITALY
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next reply other threads:[~2000-09-21 6:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-21 6:44 Paolo Scaffardi [this message]
2000-09-21 14:08 ` Custom serial keyboard: playing dirty with the serial console Geert Uytterhoeven
2000-09-21 14:18 ` Michael Schmitz
[not found] <002801c02314$eb3c75a0$0a00010a@paoloweb>
2000-09-21 23:52 ` James Simmons
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='003601c02397$670ccd60$0a00010a@paoloweb' \
--to=arsenio@tin.it \
--cc=linuxppc-dev@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).