[Nut-upsuser] Working UPS report: Geek Squad GS-700U (Cyberpower clone?)

Arjen de Korte nut+users at de-korte.org
Wed Oct 10 14:11:00 UTC 2007


> As for trying the usbhid-ups driver, I am for sure trying to run it as
> root but still having problem, this is the output:
>
> root at pepper:/usr/local/ups/bin# ./usbhid-ups -u root -D -D -D -D -a
> chuma_ups
> Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 (2.2.0-)
>
> debug level is '4'
> Checking device (0764/0005) (001/003)
> - VendorID: 0764
> - ProductID: 0005
> - Manufacturer: unknown
> - Product: unknown
> - Serial Number: unknown
> - Bus: 001

The above is not good, it means that usbhid-ups can't detach the driver
that is holding the port. You'll need to detach it before running
usbhid-ups.

> Trying to match device
> Device matches
> Unable to get HID descriptor (error sending control message: Connection
> timed out)
> i=0, extra[i]=09, extra[i+1]=21
> HID descriptor, method 2: (9 bytes) => 09 21 10 01 21 01 22 5a 00
> HID descriptor retrieved (Reportlen = 90)
> Unable to get Report descriptor (-110): Connection timed out
> Checking device (0000/0000) (001/001)
>
> The USB bus layout here is extremely simple: one root hub with one
> port.  /proc/bus/usb/devices tells me this about the CyberPower USB
> device.  Is there supposed to be a driver loaded for it?

There should not, but I suspect that you'll find that some driver will
have attached to it.

> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=1.5 MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0764 ProdID=0005 Rev= 4.00
> S:  Manufacturer=Cyber Power System
> S:  Product=CPS RS232 USB BRIDGE for UPS

The above two lines should also be displayed by usbhid-ups in the
'Manufacturer' and 'Product' strings upon startup with the -DD option. As
long as that's not happening, it can't attach to the port because of a
permissions problem and/or another driver being attached to it. There is
nothing we can do to fix that if your kernel doesn't allow detaching
drivers.

> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 20mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=03(HID  ) Sub=00 Prot=00 Driver=(none)
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
> E:  Ad=02(O) Atr=03(Int.) MxPS=   8 Ivl=10ms

Best regards, Arjen
-- 
Eindhoven - The Netherlands
Key fingerprint - 66 4E 03 2C 9D B5 CB 9B  7A FE 7E C1 EE 88 BC 57




More information about the Nut-upsuser mailing list