[Nut-upsuser] Powerware 3105 - SuSE 10.0

Kjell Claesson kjell.claesson at telia.com
Thu Apr 20 21:00:11 UTC 2006


Hi Graham,

First of all i would like you to test this.
Comment out the 'user = nut' line in the ups.conf.

#user = nut

Then run the driver this way.

./bcmxcp_usb -DD -u root -a pw3105

If this returns anything you have a problem with the permission
on the '/proc/bus/usb/00x/00x'.

Then you have to fix this with the hotplug scripts.
If you have the latest udev and kernel the 'device'
/proc/bus/usb/00x/00x may be set like this

-rw-rw-r-- 1 root usb 52 20 apr 22.52 /proc/bus/usb/001/002

Then you may add the nut user to the usb group and it would work.
Maybe not the most secure way to do it, but it works until this
udev, hotplug, devices, thing have settled down.

Regards
Kjell

fre 2006-04-21 klockan 04:27 +1000 skrev Graham Smith:
> Hi,
> 
> I'm trying to get a Powerware 3105 UPS working on SuSE 10.0. I have compiled 
> nut from the current Subversion repository. This UPS uses the bcmxcp_usb 
> driver.
> 
> I cannot get the driver to find the ups on the USB bus.  
> The error message I get is:-
> -------------- bcmxcp_usb -u nut -DDDDD -a pw3105 --------------------
> Network UPS Tools - BCMXCP UPS driver 0.10 (2.1.0)
> 
> debug level is '5'
> Can't set POWERWARE USB configuration
> Unable to find POWERWARE UPS device on USB bus
> -------------------------------------------------------------------------------------------------
> 
> My ups.conf file contains
> ----------------- cat ups.conf --------------------
> user = nut
> 
> [pw3105]
> driver = bcmxcp_usb
> port = auto
> ----------------------------------------------
> 
> Other related information
> ----------- cat /proc/bus/usb/devices --------------------
> T:  Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  6 Spd=1.5 MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0592 ProdID=0002 Rev= 0.80
> S:  Manufacturer=Powerware
> S:  Product=Powerware UPS
> C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  2mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=20ms
> -------------------------------------------------------------
> 
> ------------------ ll /etc/hotplug/usb ------------------------
> -rwxr-xr-x  1 root root   583 2006-01-06 08:52 alsasound
> -rw-r--r--  1 root root 24443 2006-01-06 08:52 alsasound.usermap
> -rwxrwxr-x  1 nut  root   524 2006-04-20 17:28 libhidups
> -rw-rw-r--  1 root root  1709 2006-04-20 15:22 libhid.usermap
> -----------------------------------------------------------------------------
> 
> ----------------------- /var/log/messages --------------------
> Apr 20 17:31:04 gq-serv kernel: usb 2-2: USB disconnect, address 4
> Apr 20 17:31:08 gq-serv kernel: usb 2-2: new low speed USB device using 
> uhci_hcd and address 5
> ----------------------------------------------------------------------
> 
> Any help would be greatly appreciated in getting nut working with this UPS.
> 




More information about the Nut-upsuser mailing list