[Nut-upsuser] Re: RE Powerware 5115 and USB

Arnaud Quette aquette.dev at gmail.com
Wed Apr 12 08:01:45 UTC 2006


[please keep the list cc'ed Georg, and remember that I'm not the
powerware support, so the only info I have about that is the
developer's feedback and my knowledges...]

2006/4/12, Georg Rehm <georg.rehm at uni-tuebingen.de>:
> Hi Arnaud,
>
> > you need nut 2.0.3 (deb available in unstable, simply need to rebuild on
> > sarge) and the bcmxcp_usb driver (use "port = auto" as the automagic device
> > path)
>
> sorry, but 2.0.3 does not work either. I found the 2.0.3 release yesterday
> night but the real problem seems to be that the hiddev subsystem on this
> machine might be broken: cat /proc/bus/usb/devices reports a "Driver=(none)"
> for the Powerware 5115 USB device but I don't have the slightest idea why
> that might be:
>
>     T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
>     D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
>     P:  Vendor=06da ProdID=0002 Rev= 1.00
>     S:  Manufacturer=Powerware
>     S:  Product=Powerware UPS
>     C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 60mA
>     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
>
> My current kernel is a 2.6.15.4 SMP (AMD Opetron). The hiddev subsystem
> should work:
>
>     CONFIG_USB_HID=y
>     CONFIG_USB_HIDINPUT=y
>     CONFIG_USB_HIDDEV=y
>
> After fiddling with /etc/udev I now get the correct (I hope) device:
>
>     botticelli:~# ls -l /dev/usb/hiddev2
>     crw-rw----  1 root root 189, 129 2006-04-12 00:35 /dev/usb/hiddev2
>

all these hiddev thingies are only useful for the old hidups.
all the new usb drivers use libusb...

> I wrote Tore yesterday who suggested to mail Kjell. Kjell in turn
> suggested to do a
>
>     ./bcmxcp_usb -DDD -u root -a upsname
>
> (with "port=auto") but it only reports "Can't open POWERWARE USB
> device, retrying ...". According to Kjell the protocol that's used
> by the 5115 over USB is pure BCMXCP, so the bcmxcp_usb driver should
> work. Do you happen to have any idea as to how to fix a broken hiddev
> subsystem? Is it possible to activate the hid driver for the UPS USB
> device manually? Are there any tools that help with debugging hiddev
> problems? Would a kernel upgrade to a 2.6.16-5 (?) do the trick?
>

I can't tell more than that.
Subscribe to the list, report the above debug (-DDD) output.

Arnaud
--
Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
OpenSource Developer - http://arnaud.quette.free.fr/



More information about the Nut-upsuser mailing list