[PATCH XIT] Provide and explain a udev rule and config snippet to ignore devices

Peter Hutterer peter.hutterer at who-t.net
Tue Nov 20 17:09:04 PST 2012


On Wed, Nov 21, 2012 at 11:49:19AM +1100, Daniel Stone wrote:
> Hi,
> 
> On 21 November 2012 10:52, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> 
> > Still a sledgehammer, but should make it easier for those that are just
> > running the tests and don't need to worry about evemu in their normal
> > day-to-day usage.
> >
> 
> It is, a bit - it also makes it impossible to run multiple tests at once in
> parallel.  Do we have anything (beyond adding new axes) we can use from
> uinput to communicate information to userspace? Ideally we could tag each
> test run with a unique ID exposed by all its devices as a udev attribute,
> so we could reliably ignore the devices everywhere else.

Another even smaller sledgehammer is to ask the drivers to use EVIOCGRAB on
the device node. This should work fine for those tests using a specific
device but will turn parallel tests testing hotplugging into a game of dice.

We can tag the device with anything, but this will apply after creation
only - at which point it is already added by the server.

Other than that - no better idea so far.

Cheers,
   Peter



More information about the xorg-devel mailing list