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

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



Hi Martin,

On Fri, Mar  5, 2010 at 19:08:28 +0100, Martin Pitt wrote:

> --- xserver-xorg-input-vmmouse-12.6.5.orig/debian/69-xorg-vmmouse.rules
> +++ xserver-xorg-input-vmmouse-12.6.5/debian/69-xorg-vmmouse.rules
> @@ -0,0 +1 @@
> +ACTION=="add|change", ENV{ID_INPUT_MOUSE}=="?*", ATTRS{description}=="i8042 AUX port", PROGRAM="/usr/bin/vmmouse_detect", ENV{x11_driver}="vmmouse"

Thanks for the patch, this should be fine for sid/squeeze.

For upstream, the libudev backend of the server only looks for devices
with ID_INPUT set, the x11_driver property is ignored (the driver is set
from xorg.conf / xorg.conf.d).  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...  It might
be worth checking whether rawhide includes something for this, although
it doesn't seem to be in the xorg-x11-drv-vmmouse rpm.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: