From: Tuukka Toivonen <tuukkat@ee.oulu.fi>
To: linux-kernel@vger.kernel.org
Cc: danlee@informatik.uni-freiburg.de, b-gruber@gmx.de,
Mikael Hakali <mhakali@telia.com>
Subject: [PATCH] SERIO_USERDEV: direct userspace access to mouse/keyboard psaux serial ports
Date: Fri, 7 May 2004 23:55:17 +0300 (EEST) [thread overview]
Message-ID: <Pine.GSO.4.58.0405072348120.21057@stekt37> (raw)
Download:
wget http://www.ee.oulu.fi/~tuukkat/tmp/linux-2.6.5-userdev.20040507.patch
This is the first public release of the patch, but it has been already
tested by a few people, so it should be stable.
I hope to get some more testers, and if no serious bugs are found, I really
would like this to get included into the mainstream kernel.
Snippet from the documentation:
SERIO_USERDEV - Direct serial input device access for userspace
This driver provides direct access from usespace into PS/2 (or psaux)
serial ports used usually for input devices such as mouses and keyboards.
The code is part of the serio module. It can be enabled or disabled
from kernel configuration
Device Drivers -> Input device support -> User space driver support
if serial i/o support is enabled.
All available devices will be registered as miscellaneous
devices with major 10, minor dynamically allocated. The devices
with their minors will be listed in /proc/misc with isa0060/serio0
for keyboard and the rest for pointing devices. If devfs is enabled,
the device files will be created as /dev/misc/isa0060/serio*.
The created devices which are connected to a mouse can be usually
used in place of /dev/psaux which was used in 2.4.x kernels.
Therefore, you could do (if devfs is enabled):
ln -s /dev/misc/isa0060/serio1 /dev/psaux
(or some other device) and run mouse drivers such as gpm and XFree86
just as with 2.4.x kernel.
Features:
- Both read and write support to all PS/2 ports. With active multiplexing,
there will be five serial ports up to isa0060/serio4.
- Multiple readers supported, each reader will get copy of the complete stream.
Write locking supported via special ioctl calls.
next reply other threads:[~2004-05-07 20:55 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-07 20:55 Tuukka Toivonen [this message]
2004-05-08 2:35 ` Andrew Morton
2004-05-25 20:16 ` keyboard problem with 2.6.6 Chris Osicki
2004-05-26 7:54 ` Sau Dan Lee
2004-05-28 13:33 ` Giuseppe Bilotta
2004-05-28 17:37 ` Sau Dan Lee
2004-05-29 13:12 ` Vojtech Pavlik
2004-05-30 9:45 ` Sau Dan Lee
2004-05-30 10:19 ` Vojtech Pavlik
2004-05-30 11:25 ` Sau Dan Lee
2004-05-30 11:40 ` Brad Campbell
2004-05-30 12:01 ` Oliver Neukum
2004-05-30 12:22 ` Sau Dan Lee
2004-05-30 12:32 ` Oliver Neukum
2004-05-30 12:16 ` Vojtech Pavlik
2004-05-30 12:40 ` Sau Dan Lee
2004-05-30 12:52 ` Vojtech Pavlik
2004-05-30 16:09 ` Stefan Seyfried
2004-05-30 17:26 ` Dmitry Torokhov
2004-06-04 13:58 ` Pavel Machek
2004-06-04 18:17 ` Horst von Brand
2004-06-04 18:37 ` Valdis.Kletnieks
2004-06-04 19:33 ` Denis Vlasenko
2004-06-04 19:50 ` Valdis.Kletnieks
2004-06-04 20:48 ` Denis Vlasenko
2004-06-04 18:39 ` Pavel Machek
2004-06-04 18:46 ` Sau Dan Lee
2004-06-04 19:09 ` Pavel Machek
2004-06-06 9:01 ` Sau Dan Lee
2004-06-06 16:40 ` Pavel Machek
2004-05-28 19:39 ` 2.6.* useland replacements of the atkbd and psmouse modules Sau Dan Lee
2004-05-28 19:57 ` keyboard problem with 2.6.6 Andries Brouwer
2004-06-01 8:21 ` BUG: atkbd.c keyboard driver bug [Was: keyboard problem with 2.6.6] Sau Dan Lee
2004-06-01 9:13 ` BUG FIX: " Sau Dan Lee
[not found] ` <200406010904.i5194pSo010367@fire-2.osdl.org>
2004-06-01 9:44 ` Sau Dan Lee
2004-06-01 9:55 ` Vojtech Pavlik
2004-06-01 10:03 ` Sau Dan Lee
2004-06-01 12:42 ` Giuseppe Bilotta
2004-05-28 19:41 ` keyboard problem with 2.6.6 Andries Brouwer
2004-05-28 20:10 ` Andries Brouwer
[not found] ` <20040528214620.GA2352@gucio>
2004-05-29 13:23 ` Andries Brouwer
2004-05-29 13:46 ` Vojtech Pavlik
2004-05-29 14:30 ` Andries Brouwer
2004-05-29 14:41 ` Vojtech Pavlik
2004-05-29 15:12 ` Giuseppe Bilotta
[not found] <MPG.1b2111558bc2d299896a2@news.gmane.org.suse.lists.linux.kernel>
[not found] ` <20040525201616.GE6512@gucio.suse.lists.linux.kernel>
[not found] ` <xb7hdu3fwsj.fsf@savona.informatik.uni-freiburg.de.suse.lists.linux.kernel>
[not found] ` <xb7aczscv0q.fsf@savona.informatik.uni-freiburg.de.suse.lists.linux.kernel>
[not found] ` <20040529131233.GA6185@ucw.cz.suse.lists.linux.kernel>
[not found] ` <xb7y8nab65d.fsf@savona.informatik.uni-freiburg.de.suse.lists.linux.kernel>
[not found] ` <20040530101914.GA1226@ucw.cz.suse.lists.linux.kernel>
[not found] ` <xb765aeb1i3.fsf@savona.informatik.uni-freiburg.de.suse.lists.linux.kernel>
[not found] ` <20040530121606.GA1496@ucw.cz.suse.lists.linux.kernel>
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=Pine.GSO.4.58.0405072348120.21057@stekt37 \
--to=tuukkat@ee.oulu.fi \
--cc=b-gruber@gmx.de \
--cc=danlee@informatik.uni-freiburg.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mhakali@telia.com \
/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
all inboxes | Powered by JetHome®