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

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



On 14/02/2014 02:02, Steven Chamberlain wrote:
>>> 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).

Before HAL existed, we supported USB mice too (via debconf IIRC). Just not hotplugging.

>> Can you reproduce #736765 ?
> 
> I'll try when I get a chance to reboot.  (Probably tomorrow).

You can recover without reboot, simply switch to VT0 and then back to VT7. The keyboard
is ignored by X but not by syscons.

>> 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)

Yes. I had noted this. It's fixed in the latest patch I've sent (earlier versions had a
workaround).

-- 
Robert Millan


Reply to: