Re: Bug#736765: USB mouse attach event not processed
On 14/02/14 01:53, Robert Millan wrote:
>> 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
>
> Are you sure the person who wrote this is using devd?
I don't know which. Potentially either, devd was being used so your
fixes may help (I don't know what PC-BSD is using); or otherwise HAL
was being used so switching to devd might help. But I suppose X should
still detect a USB mouse even without HAL or devd.
>> I hadn't any problems with HAL yet on kfreebsd-10, though I'm not
>> hot-plugging anything.
>
> One could say this is not a great achievement on HAL's part, considering its only
> purpose when it comes to X is hot-plugging ;-)
Oh. Didn't know it would work without HAL, unless I manually configured
it in xorg.conf (which I haven't).
> Can you reproduce #736765 ?
I'll try when I get a chance to reboot. (Probably tomorrow).
>> BTW what's up with the defines here?
>
> It's just that X needs to know it's using a backend for device autoconfig. If it's not HAL,
> then whatever else.
But the first one doesn't make sense, like a typo:
+--- a/hw/xfree86/common/xf86Config.c
++++ b/hw/xfree86/common/xf86Config.c
+@@ -1376,15 +1376,17 @@
+-#if defined(CONFIG_HAL) || defined(CONFIG_UDEV) || defined(CONFIG_WSCONS)
++#if defined(CONFIG_HAL) || defined(CONFIG_UDEV) ||
defined(CONFIG_WSCONS) || defined(CONFIG_HAL)
whereas this one is different:
++++ b/hw/xfree86/common/xf86Globals.c
+@@ -123,7 +123,7 @@
+-#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: