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

Bug#572692: marked as done (Please provide udev rule instead of hal fdi)



Your message dated Tue, 11 May 2010 15:10:40 +0200
with message-id <20100511131040.GA5947@radis.liafa.jussieu.fr>
and subject line Re: Bug#572692: Please provide udev rule instead of hal fdi
has caused the Debian Bug report #572692,
regarding Please provide udev rule instead of hal fdi
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
572692: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572692
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xserver-xorg-input-vmmouse
Version: 1:12.6.5-2
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu lucid ubuntu-patch

Hello!

vmmouse currently does not work out of the box any more, since X.org
does not use hal any more for detecting input devices.

I created an udev rule and tested it in both kvm (with vmmouse driver)
as well as real iron (confirmed that it doesn't apply there), works
well.

debdiff attached, which also cares about removing the hal bits and
triggering udev.

I also sent the rule upstream:
https://bugs.freedesktop.org/show_bug.cgi?id=26910

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -u xserver-xorg-input-vmmouse-12.6.5/debian/xserver-xorg-input-vmmouse.install xserver-xorg-input-vmmouse-12.6.5/debian/xserver-xorg-input-vmmouse.install
--- xserver-xorg-input-vmmouse-12.6.5/debian/xserver-xorg-input-vmmouse.install
+++ xserver-xorg-input-vmmouse-12.6.5/debian/xserver-xorg-input-vmmouse.install
@@ -3,3 +3,2 @@
-usr/lib/hal/hal-probe-vmmouse
 usr/share/man
-usr/share/hal/fdi/policy/20thirdparty/*
+../69-xorg-vmmouse.rules /lib/udev/rules.d
diff -u xserver-xorg-input-vmmouse-12.6.5/debian/changelog xserver-xorg-input-vmmouse-12.6.5/debian/changelog
--- xserver-xorg-input-vmmouse-12.6.5/debian/changelog
+++ xserver-xorg-input-vmmouse-12.6.5/debian/changelog
@@ -1,3 +1,14 @@
+xserver-xorg-input-vmmouse (1:12.6.5-2ubuntu4) lucid; urgency=low
+
+  * Add debian/69-xorg-vmmouse.rules to automatically use vmmouse on
+    appropriate devices, for udevified X servers. (LP: #430532)
+  * debian/xserver-xorg-input-vmmouse.install: Do not install the hal fdi and
+    callout any more; install the udev rule.
+  * debian/xserver-xorg-input-vmmouse.postinst.in: Trigger a change event on
+    mouse input devices, to get the new/updated rules applied.
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 05 Mar 2010 18:29:00 +0100
+
 xserver-xorg-input-vmmouse (1:12.6.5-2ubuntu3) lucid; urgency=low
 
   * debian/patches/enable-detect-in-kvm.patch: add iopl() back so
only in patch2:
unchanged:
--- xserver-xorg-input-vmmouse-12.6.5.orig/debian/xserver-xorg-input-vmmouse.postinst.in
+++ xserver-xorg-input-vmmouse-12.6.5/debian/xserver-xorg-input-vmmouse.postinst.in
@@ -0,0 +1,17 @@
+#!/bin/sh
+set -e
+
+THIS_PACKAGE=xserver-xorg-input-evdev
+THIS_SCRIPT=postinst
+
+#INCLUDE_SHELL_LIB#
+
+
+if [ "$1" = "configure" ]; then
+    # update udev for our new/changed rules
+    udevadm trigger --property-match=ID_INPUT_MOUSE=1 --action=change || true
+fi
+
+#DEBHELPER#
+
+exit 0
only in patch2:
unchanged:
--- 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"

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Version: 1:12.6.5-4

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

> vmmouse currently does not work out of the box any more, since X.org
> does not use hal any more for detecting input devices.
> 
> I created an udev rule and tested it in both kvm (with vmmouse driver)
> as well as real iron (confirmed that it doesn't apply there), works
> well.
> 
Fixed a while ago.  Thanks for your report.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: