From owner-freebsd-gnome@FreeBSD.ORG Sat Jun 25 18:56:19 2011 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A640106564A; Sat, 25 Jun 2011 18:56:19 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.c2i.net [212.247.154.2]) by mx1.freebsd.org (Postfix) with ESMTP id DE1118FC0C; Sat, 25 Jun 2011 18:56:18 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=XM0LJnl701gGyB1AIbeRSXiuYCvnwU3SCBtcNm9jzvs= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=_7x1bjhUSeMA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=TeTzA72gRcEWsaax-uMA:9 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 145635577; Sat, 25 Jun 2011 20:56:16 +0200 From: Hans Petter Selasky To: Greg Rivers Date: Sat, 25 Jun 2011 20:54:38 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <201106241531.19375.hselasky@c2i.net> In-Reply-To: X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201106252054.38056.hselasky@c2i.net> Cc: gnome@freebsd.org, freebsd-current@freebsd.org Subject: Re: [Testing wanted] USB patch for HAL X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jun 2011 18:56:19 -0000 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