From owner-freebsd-current@FreeBSD.ORG Thu Nov 6 07:58:57 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C5501065678 for ; Thu, 6 Nov 2008 07:58:57 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id E590C8FC24 for ; Thu, 6 Nov 2008 07:58:56 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=zjhju-OQuAjn1fje_9EA:9 a=g8opclkUWqZa_jhE3H8Nyt8cjggA:4 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1139662013; Thu, 06 Nov 2008 08:58:54 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Thu, 6 Nov 2008 09:00:59 +0100 User-Agent: KMail/1.9.7 References: <83e5fb980811051638n5f9a1a5dr60160ed7e2ed7a1c@mail.gmail.com> In-Reply-To: <83e5fb980811051638n5f9a1a5dr60160ed7e2ed7a1c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811060900.59772.hselasky@c2i.net> Cc: Diego Depaoli Subject: Re: Usb2 and hal issue X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2008 07:58:57 -0000 On Thursday 06 November 2008, 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. Hi, Hald is looping trying to open the wrong USB device. If hald is using libusb-0.1.12, you could try building and installing libusb20, most easily done from my private SVN repository, and then link hald with -lusb20 --HPS