← Back to team overview

ubuntu-x-swat team mailing list archive

Re: [Bug 430532] Re: needs an udev rule

 

Timo Aaltonen [2010-03-02 20:55 -0000]:
> someone should create an udev rule for vmmouse.

Unfortunately I can't test this, since vmmouse_detect fails in kvm as well, but
something like this should work:

  ACTION=="add", ENV{ID_INPUT_MOUSE}=="?*",
PROGRAM="/usr/bin/vmmouse_detect", ENV{x11_driver}="vmmouse"

If anyone could send me udevadm info --attribute-walk --name=/dev/input/eventXX
from the vmmouse device, I can help with making that rule a little tighter to
avoid running vmmouse_detect for obvious non-vmmouse devices.

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
needs an udev rule
https://bugs.launchpad.net/bugs/430532
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-vmmouse in ubuntu.



References