2003-02-28 01:47:19

by npguy

[permalink] [raw]
Subject:

subscribe


2003-02-28 19:56:54

by Kendall Bennett

[permalink] [raw]
Subject: Kernel 2.5 input layer info?

Hi Guys,

I have heard about the new 2.5 input layer work that is being done in the
kernel, and I am interested in using this for a userland mouse/keyboard
daemon I am looking at building. The intention of the daemon is to
provide a common interface for event driven mouse and keyboard
applications (ie: XFree86, Qt/E, SDL, MGL, SVGALib etc) on Linux. Since
it appears that a lot of work is already being done on a new set of event
driven input layers in the kernel, what I would like to do is build this
daemon such that it will use the new 2.5 kernel interfaces when they are
available, but fall back on the old compatible methods when not.
Essentially I am planning on taking the existing XFree86 code and using
it to make a common user land input daemon.

Anyway, let me know if you think this is a good idea, bad idea or if
there is a better way to do it. The new input interfaces sound like a
great idea, but we are looking for something that will work on as many
versions of Linux as possible.

Finally where can I find more information on the new input interfaces in
the 2.5 kernel? I just downloaded the latest 2.5.63 release and will take
a look at it, but if there are any external docs on this I would like to
peruse them first.

Thanks!

---
Kendall Bennett
Chief Executive Officer
SciTech Software, Inc.
Phone: (530) 894 8400
http://www.scitechsoft.com

~ SciTech SNAP - The future of device driver technology! ~

2003-02-28 20:36:10

by Randy.Dunlap

[permalink] [raw]
Subject: Re: Kernel 2.5 input layer info?

On Fri, 28 Feb 2003 12:07:06 -0800
"Kendall Bennett" <[email protected]> wrote:

| I have heard about the new 2.5 input layer work that is being done in the
| kernel, and I am interested in using this for a userland mouse/keyboard
| daemon I am looking at building. The intention of the daemon is to
| provide a common interface for event driven mouse and keyboard
| applications (ie: XFree86, Qt/E, SDL, MGL, SVGALib etc) on Linux. Since
| it appears that a lot of work is already being done on a new set of event
| driven input layers in the kernel, what I would like to do is build this
| daemon such that it will use the new 2.5 kernel interfaces when they are
| available, but fall back on the old compatible methods when not.
| Essentially I am planning on taking the existing XFree86 code and using
| it to make a common user land input daemon.
|
| Anyway, let me know if you think this is a good idea, bad idea or if
| there is a better way to do it. The new input interfaces sound like a
| great idea, but we are looking for something that will work on as many
| versions of Linux as possible.
|
| Finally where can I find more information on the new input interfaces in
| the 2.5 kernel? I just downloaded the latest 2.5.63 release and will take
| a look at it, but if there are any external docs on this I would like to
| peruse them first.

linux/Documentation/input/*
linux/drivers/input/*
Linux Console project: http://linuxconsole.sourceforge.net/
Linux Input drivers: http://www.suse.cz/development/input/ (not recent)
http://www.codemonkey.org.uk/post-halloween-2.5.txt
Possibly these:
http://www.frogmouth.net/hid-doco/examples/hiddev-misc/write-events.c
http://www.frogmouth.net/hid-doco/examples/hiddev-misc/dump-events.c

HTH.
--
~Randy