LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Paolo Scaffardi" <arsenio@tin.it>
To: "linuxppc-embedded" <linuxppc-embedded@lists.linuxppc.org>
Subject: keyboard+trackball on the SMCx?
Date: Fri, 8 Sep 2000 18:05:37 +0200	[thread overview]
Message-ID: <002201c019ae$a1d57a20$0a00010a@paoloweb> (raw)


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/

                 reply	other threads:[~2000-09-08 16:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='002201c019ae$a1d57a20$0a00010a@paoloweb' \
    --to=arsenio@tin.it \
    --cc=linuxppc-embedded@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