All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Stirling <ian.stirling@mauve.plus.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: "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 17:04:10 +0100	[thread overview]
Message-ID: <44E09EFA.2040308@mauve.plus.com> (raw)
In-Reply-To: <d120d5000608140800u329b9e9t1984ba19b6464bf1@mail.gmail.com>

Dmitry Torokhov wrote:
> On 8/14/06, Zephaniah E. Hull <warp@aehallh.com> wrote:
>> On Mon, Aug 14, 2006 at 10:20:09AM -0400, Dmitry Torokhov wrote:
>> >

>> 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?

Apart from the other issues, it'd be nice to be able to have some way to 
disable 'keyboards'.

For example, I have some CM108 based audio USB cards, which come with 3 
(event generating) keys. These generate events for F13,F14,'help'.
Of course I can do something in my X wm config to get them to do stuff - 
but this is hardly ideal, especially for headless machines, or whatever.
And it utterly breaks if I want to distinguish between 'F13' being 
pressed on the audio device in the kitchen, and the one in the lounge, 
or I want to stop X.
evdev works just fine for this. I'd love to have some way to say 'this 
should never be a core keyboard' - and have it generate no keyboard
events, only output stuff on evdev. As another example - I might like to 
have an unsecured keyboard, to which I can point X - but I never want it 
to allow magic sysrq, or to generate console events if the system isn't 
running X.

The lack of unique per-device IDs is of course really annoying in this case.

  reply	other threads:[~2006-08-14 16:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-12 15:24 input: evdev.c EVIOCGRAB semantics question 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
2006-08-14 16:04             ` Ian Stirling [this message]
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=44E09EFA.2040308@mauve.plus.com \
    --to=ian.stirling@mauve.plus.com \
    --cc=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.