LKML Archive on
help / color / mirror / Atom feed
From: "Dmitry Torokhov" <>
To: "Fausto Carvalho" <>
Subject: Re: Fwd: Using serio_register_driver
Date: Wed, 28 Feb 2007 11:34:31 -0500	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On 2/27/07, Fausto Carvalho <> wrote:
> Well, i have a 8042 controller "connected" to the keyboard controller
> that send information about battery and others to the keyboard
> interrupt and io ports in the format of keystrokes. I want a way to
> not alter atkbd but to create another driver that lives together with
> atkbd. Is there a way?

Depending on how big and box-specific the code is we could either add
it to i8042
or you need to imaplement a pass-through serio port in your driver.
You would filter out "interesting" bytes and pass the rest to the new
serio port that your driver shoudl register. Tnen atkbd would bind to
that new port and function as usual. The only problem is that you
woudl need to bind you driver to the keyboard port from userspace (via
sysfs - /sys/bus/devices/serioX/drvctl)


      reply	other threads:[~2007-02-28 16:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-26 23:03 Fausto Carvalho
     [not found] ` <>
     [not found]   ` <>
2007-02-27 10:41     ` Fwd: " Fausto Carvalho
2007-02-28 16:34       ` Dmitry Torokhov [this message]

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \
    --subject='Re: Fwd: Using serio_register_driver' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).