[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#572692: Please provide udev rule instead of hal fdi



On Fri, Mar  5, 2010 at 20:57:31 +0100, Martin Pitt wrote:

> Julien Cristau [2010-03-05 20:13 +0100]:
> > Currently the configuration can match devices by name, vendor,
> > device path, the ID_INPUT_foo attributes, and an ID_INPUT.tags
> > attribute.  I'm not sure which would be more appropriate here, maybe
> > setting a vmware tag on some device...
> 
> Right, the rule might do ENV{ID_INPUT.vmmouse}="1" instead of setting
> x11_driver?
> 
Should be ENV{ID_INPUT.tags}="vmmouse" as far as I can tell
(http://cgit.freedesktop.org/xorg/xserver/tree/config/udev.c#n87).

And then in xorg.conf.d/vmmouse.conf or so:
Section "InputClass"
        Identifier "vmmouse"
        MatchTag "vmmouse"
        Driver "vmmouse"
EndSection
should do the trick (identifier doesn't matter).

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: