Re: [Testing wanted] USB patch for HAL

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Sat, 25 Jun 2011 20:54:38 +0200
On Saturday 25 June 2011 20:53:53 Greg Rivers wrote:
> On Fri, 24 Jun 2011, Hans Petter Selasky wrote:
> > It appears there are some bugs in the USB2 HAL implementation. For
> > example the parent USB device is not always correctly set and there are
> > problems with dynamic attach/detach of USB devices in hald.
> > 
> > For users of 9-current and 8-stable:
> > 
> > Copy the attached file to /usr/ports/sysutils/hal/files/
> > 
> > Then rebuild HAL.
> > 
> > Does it fix any USB/HAL related problems? For example related to
> > multimedia/webcamd, lshal, mouse, keyboard etc.
> 
> I tried your patch Hans (on 8.2-STABLE as of June 1), but it did not fix
> the problem I've been having on some machines with hald and umass devices.
> For reference, I first reported this problem[1] ~2 years ago.
> 
> Basically what happens is this: when the first umass device is attached, I
> see the attach message and then a CAM error at ~1 second intervals (I
> assume this is the hald polling period) for the duration.  When I pull the
> device I see the detach message, and it's over; hald is now unkillable,
> and the USB bus will no longer attach any other device, umass or
> otherwise.  The only way out of this is a reboot.
> 

> 
> At this point the USB bus is effectively wedged.  It seems to be the
> detach that triggers the problem.  If I do not detach anything, I can
> continue to add other devices and they attach fine.
> 
> I'd be happy to continue troubleshooting and testing if you'd like to
> pursue this.  Just let me know what you'd like me to do.  Thanks for all
> your great work!

Hi,

Are you on #bsdusb on Efnet tonight or IM/Skype?

--HPS
Received on Sat Jun 25 2011 - 16:56:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:15 UTC