* keyboard+trackball on the SMCx?
@ 2000-09-08 16:05 Paolo Scaffardi
0 siblings, 0 replies; only message in thread
From: Paolo Scaffardi @ 2000-09-08 16:05 UTC (permalink / raw)
To: linuxppc-embedded
We have a keyboard with trackball with a serial out that we want to connect
and use with the MPC823 based board under Linux.
I wrote the driver that polls the serial and converts its protocol to
standard PS/2 protocol (i'd like to emulate the psaux char-device). This
works fine...
Now, i'm working on the keyboard module, but i dont know how how to enable
the SMCx interrupt when a character (or more) are received, to keep always
in the memory the state of the keyboard from single event messages.
I looked at the m8xx_tty.c code, and it seems to work without interrupts,
but i fear polling because i have to make a thread on the background that
always checks and reads the SMC. And if i loss anything?
Then, i'll have to insert my keyboard driver in some place to replace the
standard one for embedded powerpc... where is the right place to do that?
Please, give me an hint...
Bye,
Paolo Scaffardi.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-09-08 16:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-08 16:05 keyboard+trackball on the SMCx? Paolo Scaffardi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox