Date: Mon, 5 Jan 2009 15:28:03 -0600 From: "Chris Ruiz" <yr.retarded@gmail.com> To: freebsd-current@freebsd.org Subject: Re: apcupsd & usb2 Message-ID: <58c737d70901051328t38b99a14g52a0d85bbbc1daa2@mail.gmail.com> In-Reply-To: <200901051059.39566.hselasky@c2i.net> References: <58c737d70901041734u590ce80am7e86ad50077fd97@mail.gmail.com> <200901051059.39566.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 5, 2009 at 3:59 AM, Hans Petter Selasky <hselasky@c2i.net> wrote: > 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: <American Power Conversion Back-UPS XS 900 FW:830.E6 .D USB >> FW:E6, class 0/0, rev 1.10/1.06, addr 2> on uhub5 >> >> [usb2] >> uhid0: <American Power Conversion Back-UPS XS 900 FW:830.E6 .D USB >> 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 <http://www.apcupsd.com/support.html>. >> 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 > I dont have a libusb0.1.* anywhere on my system. Here's what apcupsd is linked to: # ldd /usr/local/sbin/apcupsd /usr/local/sbin/apcupsd: libwrap.so.5 => /usr/lib/libwrap.so.5 (0x800660000) libthr.so.3 => /lib/libthr.so.3 (0x800769000) libc.so.7 => /lib/libc.so.7 (0x800880000) Thanks, Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58c737d70901051328t38b99a14g52a0d85bbbc1daa2>