LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Custom serial keyboard: playing dirty with the serial console
@ 2000-09-21  6:44 Paolo Scaffardi
  2000-09-21 14:08 ` Geert Uytterhoeven
  2000-09-21 14:18 ` Michael Schmitz
  0 siblings, 2 replies; 4+ messages in thread
From: Paolo Scaffardi @ 2000-09-21  6:44 UTC (permalink / raw)
  To: linuxppc-dev


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/

^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <002801c02314$eb3c75a0$0a00010a@paoloweb>]

end of thread, other threads:[~2000-09-21 23:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-21  6:44 Custom serial keyboard: playing dirty with the serial console Paolo Scaffardi
2000-09-21 14:08 ` Geert Uytterhoeven
2000-09-21 14:18 ` Michael Schmitz
     [not found] <002801c02314$eb3c75a0$0a00010a@paoloweb>
2000-09-21 23:52 ` James Simmons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox