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

Re: Bug#736765: USB mouse attach event not processed



On 13/02/14 16:06, Robert Millan wrote:
> It is based on a patch from FreeBSD, with some fixes of mine. Their plan is to have
> it merged in X upstream in the near future (I've already submitted my fixes to them
> and I expect they will be included as well).

FreeBSD 10.0 and PC-BSD have had issues for some using a USB mice in X
at all, at least according to:
http://www.phoronix.com/scan.php?page=news_item&px=MTYwMzQ
so I wonder if you fixed this already.

I hadn't any problems with HAL yet on kfreebsd-10, though I'm not
hot-plugging anything.


BTW what's up with the defines here?

+--- a/hw/xfree86/common/xf86Config.c
++++ b/hw/xfree86/common/xf86Config.c
+@@ -1376,15 +1376,17 @@
+     }
+
+     if (!xf86Info.forceInputDevices && !(foundPointer && foundKeyboard)) {
+-#if defined(CONFIG_HAL) || defined(CONFIG_UDEV) || defined(CONFIG_WSCONS)
++#if defined(CONFIG_HAL) || defined(CONFIG_UDEV) ||
defined(CONFIG_WSCONS) || defined(CONFIG_HAL)

++++ b/hw/xfree86/common/xf86Globals.c
+@@ -123,7 +123,7 @@
+     .log = LogNone,
+     .disableRandR = FALSE,
+     .randRFrom = X_DEFAULT,
+-#if defined(CONFIG_HAL) || defined(CONFIG_UDEV) || defined(CONFIG_WSCONS)
++#if defined(CONFIG_HAL) || defined(CONFIG_UDEV) ||
defined(CONFIG_WSCONS) || defined(CONFIG_DEVD)

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org


Reply to: