lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 28 Feb 2007 11:34:31 -0500
From:	"Dmitry Torokhov" <dmitry.torokhov@...il.com>
To:	"Fausto Carvalho" <faustocarva@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Fwd: Using serio_register_driver

On 2/27/07, Fausto Carvalho <faustocarva@...il.com> 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)

-- 
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ