From owner-freebsd-current@FreeBSD.ORG Mon Jan 5 09:57:19 2009 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 3088C106564A for ; Mon, 5 Jan 2009 09:57:19 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id BD5D28FC39 for ; Mon, 5 Jan 2009 09:57:18 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=rREUrScshOl7G2h6aTFPgw==:17 a=5gVvIhBEAAAA:8 a=mOvjcLd2HdmKw6BjJY4A:9 a=gjLW8z0CPQc2nHxkVZecRuhqrGAA:4 a=LY0hPdMaydYA:10 Received: from [62.73.248.227] (account mc467741@c2i.net [62.73.248.227] verified) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 124326215; Mon, 05 Jan 2009 10:57:16 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Mon, 5 Jan 2009 10:59:38 +0100 User-Agent: KMail/1.9.7 References: <58c737d70901041734u590ce80am7e86ad50077fd97@mail.gmail.com> In-Reply-To: <58c737d70901041734u590ce80am7e86ad50077fd97@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901051059.39566.hselasky@c2i.net> Cc: Chris Ruiz Subject: Re: apcupsd & usb2 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: Mon, 05 Jan 2009 09:57:19 -0000 On Monday 05 January 2009, Chris Ruiz wrote: > apcupsd no longer works now that i switched to usb2. the > usb2_input_hid module keeps attaching to it. before, with the old usb > stack, my ups would attach as ugen0, my dmesg shows it attaching as > uhid0 now and apcupsd cannot find it. if i unload the usb2_input_hid > module, my ups disappears. because something is mentioned in the post > install text for apcupsd, i believe that the usb2_hid_module should > not be attaching to the ups. any help would be appreciated. > > [old stack] > ugen0: FW:E6, class 0/0, rev 1.10/1.06, addr 2> on uhub5 > > [usb2] > uhid0: FW:E6, class 0/0, rev 1.10/1.06, addr 2> on usbus5 > Symlink: uhid0 -> usb5.2.0.16 > > [error message] > apcupsd[3643]: apcupsd FATAL ERROR in bsd-usb.c at line 735 Cannot > find UPS device -- For a link to detailed USB trouble shooting > information, please see . > apcupsd[3643]: apcupsd error shutdown completed > > thanks for all your hard work on the new usb stack, Hi Chris, You need to replace libusb0.1.xxx with libusb20 in /usr/local/lib or link apcupsd with libusb20. Then it will work again. --HPS