[Nut-upsuser] NUT upsdrv Using bcmxcp_usb Won't Connect to UPS

Kjell Claesson kjell.claesson at epost.tidanet.se
Sun Jul 25 08:42:55 UTC 2010


Hi Richard,

(Answer at the bottom)
> On 07/24/2010 08:10 PM, Charles Lepple wrote:
> > On Jul 24, 2010, at 5:36 PM, Richard wrote:
> >> I can't seem to get NUT to connect to my new PowerWare (Eaton) 5115.
> >> (Linux 2.6.34.1  x86_64, Gentoo)
> >> 
> >> # /etc/init.d/upsdrv start
> >> * Caching service dependencies ...
> >> 
> >>                     [ ok ]
> >> 
> >> * Starting UPS drivers ...
> >> Network UPS Tools - UPS driver controller 2.4.3
> >> Network UPS Tools - BCMXCP UPS driver 0.23 (2.4.3)
> >> USB communication subdriver 0.18
> >> Can't claim POWERWARE USB interface: could not claim interface 0: Device
> >> or resource busy
> >> Unable to find POWERWARE UPS device on USB bus (USB)
> >> 
> >> 
> >> What would already 'claim' the UPS?
> > 
> > Possibly an older version of this driver? Try running "ps auxww | grep
> > bcmxcp" to see if an older version of the driver wasn't stopped when
> > you upgraded.
> > 
> > I'm guessing this is the upgrade scenario described in this thread:
> > http://forums.gentoo.org/viewtopic-p-6362412.html ?
> 
> Thanks for the reply.
> 
> Yes the gentoo forum link you provided is mine.
> 
>  ps auxww | grep bcmxcp | grep -v grep
> 109       7894  0.1  0.0  28616  1540 ?        S    09:23   1:06
> /usr/libexec/hald-addon-bcmxcp_usb
> 
> Then
>  equery belongs /usr/libexec/hald-addon-bcmxcp_usb
> [ Searching for file(s) /usr/libexec/hald-addon-bcmxcp_usb in *... ]
> sys-power/nut-2.4.3-r2 (/usr/libexec/hald-addon-bcmxcp_usb)
> 
> Which is what I would expect.
> 
> My current suspect is at the very end of the thread:
>   Should the kernel usb module driver be usbfs? If not how do I change
> this?

You have to enter: 
sys-power/nut -hal
Into the file:
/etc/portage/package.use
(or /etc/portage/package.use/monolithic)

So you stop nut to build the hal driver.
You may also remove the
/usr/libexec/hald-addon-bcmxcp_usb
if you don't want to re emerge the nut package.

/Kjell



More information about the Nut-upsuser mailing list