mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
To: "Dmitry Torokhov" <dtor@insightbb.com>,
	"Magnus Vigerlöf" <wigge@bigfoot.com>,
	linux-input@atrey.karlin.mff.cuni.cz,
	linux-kernel@vger.kernel.org, "Vojtech Pavlik" <vojtech@suse.cz>
Subject: Re: input: evdev.c EVIOCGRAB semantics question
Date: Mon, 14 Aug 2006 11:00:55 -0400	[thread overview]
Message-ID: <d120d5000608140800u329b9e9t1984ba19b6464bf1@mail.gmail.com> (raw)
In-Reply-To: <20060814142826.GD5251@aehallh.com>

On 8/14/06, Zephaniah E. Hull <warp@aehallh.com> wrote:
> On Mon, Aug 14, 2006 at 10:20:09AM -0400, Dmitry Torokhov wrote:
> >
> > I've been thinking about all of this and all of it is very fragile and
> > unwieldy and I am not sure that we really need another ioctl after
> > all. The only issue we have right now is that mousedev delivers
> > undesirable events through /dev/input/mice while there is better
> > driver listening to /dev/input/eventX and they clash with each other.
> > Still, /dev/input/mice is nice for dealing with hotplugging of simple
> > USB mice. So can't we make mousedev only multiplex devices that are
> > not opened directly (where directly is one of mouseX, jsX, tsX, or
> > evdevX)? We could even control this behavior through a module
> > parameter. Then noone (normally) would need to use EVIOCGRAB.
>
> Sadly, the case of using EVIOCGRAB for mice to stop the use of
> /dev/input/mice is actually not the primary usage.
>
> xf86-input-evdev will more or less happily continue talking to a mouse
> that it can't grab, however things become somewhat more problematic when
> it comes to keyboards.
>
> X needs to keep the keyboard driver from receiving events while it has
> it open

Keyboard... can't X just ignore data from old keyboard driver while
evdev-based keyboard driver is used?

-- 
Dmitry

  reply	other threads:[~2006-08-14 15:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-12 15:24 Magnus Vigerlöf
2006-08-12 16:52 ` Zephaniah E. Hull
2006-08-12 21:06   ` Magnus Vigerlöf
2006-08-13  0:00   ` Dmitry Torokhov
2006-08-13  3:28     ` Zephaniah E. Hull
2006-08-14 14:20       ` Dmitry Torokhov
2006-08-14 14:28         ` Zephaniah E. Hull
2006-08-14 15:00           ` Dmitry Torokhov [this message]
2006-08-14 16:04             ` Ian Stirling
2006-08-14 16:09             ` Zephaniah E. Hull
2006-08-14 16:22               ` Dmitry Torokhov
2006-08-14 14:58         ` Mattia Dongili
2006-08-14 15:15           ` Dmitry Torokhov
2006-08-14 22:49             ` Magnus Vigerlöf
2006-08-15 11:51               ` Magnus Vigerlöf
2006-08-15 23:20               ` Magnus Vigerlöf

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=d120d5000608140800u329b9e9t1984ba19b6464bf1@mail.gmail.com \
    --to=dmitry.torokhov@gmail.com \
    --cc=dtor@insightbb.com \
    --cc=linux-input@atrey.karlin.mff.cuni.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vojtech@suse.cz \
    --cc=wigge@bigfoot.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®