All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jochen Bern <bern@ti.uni-trier.de>
To: linux-kernel@vger.kernel.org
Subject: Timer-ing ATKBD Communication?
Date: Fri, 20 Aug 2004 15:47:39 +0200	[thread overview]
Message-ID: <412600FB.6000700@ti.uni-trier.de> (raw)

Could someone please give me a hint (function name, pointer to example 
code or docs) how to accomplish the following?

I'm trying to implement additional communication between kernel and a 
PS/2 connected AT keyboard. What I have right now (in 2.6.4-52 so far) is:
-- one additional branch in
    drivers/input/keyboard/atkbd.c::atkbd_interrupt() that recognizes
    the keyboard's (different) responses, processes them, and keeps
    them away from the normal atkbd_interrupt() processing
-- another additional branch that, if a special key was pressed, uses
    atkbd_sendbyte() to initiate the communication. (Note that this
    being hooked into atkbd_interrupt() provides me with direct access
    to struct atkbd *atkbd to fill the first param of atkbd_sendbyte().)
The actual communication seems to work (awaiting kernel upgrade and 
stress testing), but I need part of the communication initiated at 
regular intervals (about every second or so) instead of keying off other 
keyboard activity ...

TIA,
								J. Bern

                 reply	other threads:[~2004-08-20 13:48 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=412600FB.6000700@ti.uni-trier.de \
    --to=bern@ti.uni-trier.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.