Re: Usb2 and hal issue (fix to previous)

From: Coleman Kane <cokane_at_cokane.org>
Date: Fri, 14 Nov 2008 13:48:49 -0500
On Fri, 2008-11-14 at 13:32 -0500, Coleman Kane wrote:
> On Thu, 2008-11-06 at 01:38 +0100, Diego Depaoli wrote:
> > Hi all,
> > I don't know how provide further details, but on my system there is
> > something of wrong between new usb2 drivers and hald.
> > Top shows hald's cpu load at 100% while with old drivers it's 2-4%.
> > I tried rebuilding hald, loading/unloading each usb2_* device but
> > nothing changed, so I suspect the problem is located in usb2_core.
> 
> I figured out the problem, and I have a solution. As the other person
> mentioned, the device name has changed from "/dev/usb" into "/dev/usb
> " (the space is important). However, the hald daemon doesn't use libusb
> on FreeBSD. Here's a patch which tells hald to look at the new device,
> apply it to the root of your ports collection.
> 
> Additionally, I think it is a bug that hald busy-loops trying (and
> failing) to open "/dev/usb". Ideally, I think that hald should put a
> sleep in there of some sort, to give up CPU to something else.
> 

Ooops. I made a mistake in that last patch.

Use this attached one instead

-- 
Coleman Kane

Received on Fri Nov 14 2008 - 18:07:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:37 UTC