From: Jon Smirl <jonsmirl@gmail.com>
To: Joe Peterson <joe@skyrush.com>
Cc: Vojtech Pavlik <vojtech@suse.cz>,
linux-input@atrey.karlin.mff.cuni.cz,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] to drivers/input/evdev.c to add mixer device "/dev/input/events"
Date: Mon, 15 Aug 2005 16:24:40 -0400 [thread overview]
Message-ID: <9e47339105081513245b168d24@mail.gmail.com> (raw)
In-Reply-To: <4300EF7C.9020500@skyrush.com>
On 8/15/05, Joe Peterson <joe@skyrush.com> wrote:
> So, overall, I agree that we should not invent hacks to make up for
> another software package's problems, but perhaps input devices,
> especially ones that sometimes are not there at boot or not there all
> the time, should be treated in a way that lets programs stay ignorant of
> the intermittent nature of the devices. It does not sound right to push
> the handling of the intermittent nature to each user program. If the
> kernel could handle that aspect, it would make all programs more stable.
> And most of those "plug and unplug" events, even if handled by X or
> other programs, would really be unnecessary in most cases. In the case
> of a touchscreen, there is no need for X to know it switched off and
> back on again - it just needs to keep listening for touch events. For X
> to be "hotplug aware" in this sense only adds complication, I would
> think. At least if there were a mode in the device/hotplug/udev stuff
> to make a "permanent" device (from boot, and always), you could spare
> the program all of that.
Vojtech is right. The problem is in X and should not be fixed in the
kernel. You need to complain about this on the Xorg lists.
http://lists.freedesktop.org/mailman/listinfo/xorg
In your example you missed the case of someone having X running and
they plug in a new device that X has never seen before. The Linux
kernel has a hotplug system that tracks all of these plug in/out
events. The problem is that X is not using the hotplug system when it
should. X could even track your display being open/closed if it was
listening to the hotplug events.
The xorg evdev input driver is here:
http://cvs.freedesktop.org/xorg/driver/xf86-input-evdev/
--
Jon Smirl
jonsmirl@gmail.com
next prev parent reply other threads:[~2005-08-15 20:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-15 17:27 Joe Peterson
2005-08-15 17:45 ` Vojtech Pavlik
2005-08-15 18:00 ` Joe Peterson
2005-08-15 18:57 ` Vojtech Pavlik
2005-08-15 19:39 ` Joe Peterson
2005-08-15 20:06 ` Dave Neuer
2005-08-15 20:13 ` Vojtech Pavlik
2005-08-15 20:23 ` Joe Peterson
2005-08-16 8:38 ` Helge Hafting
2005-08-15 20:24 ` Jon Smirl [this message]
2005-08-15 21:05 ` Jon Smirl
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=9e47339105081513245b168d24@mail.gmail.com \
--to=jonsmirl@gmail.com \
--cc=joe@skyrush.com \
--cc=linux-input@atrey.karlin.mff.cuni.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=vojtech@suse.cz \
/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®