[Nut-upsuser] trouble with Cyber Power System CPS RS232 USB BRIDGE for UPS

Jon Bendtsen jon.bendtsen at laerdal.dk
Thu Nov 22 12:42:58 UTC 2007


Hi

Recently i bought a MicroDoWell BP50, and with it followed a USB 2  
serial
converter. When i plug it into my 2.6.19 kernel, dmesg shows

hiddev96: USB HID v1.10 Device [Cyber Power System CPS RS232 USB  
BRIDGE for UPS] on usb-0000:00:04.2-2
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver


So, i figured i should use usbhid-ups, /etc/nut/ups.conf
[switch]
   driver = usbhid-ups
   port = auto

and then i ran the command
	 /lib/nut/usbhid-ups -DDDDDDDDDDDDDDDD -a switch


root at dksrv003:/etc/nut# /lib/nut/usbhid-ups -DDDDDDDDDDDDDDDD -a switch
Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30  
(2.2.0-)

debug level is '16'
Checking device (0764/0005) (001/002)
- VendorID: 0764
- ProductID: 0005
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 001
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)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 001
Trying to match device
Device does not match - skipping
No appropriate HID device found
No matching HID UPS found
root at dksrv003:/etc/nut#


The MicroDoWell BP50 only has a serial out, but i am using the serial  
cable that came
with the UPS. Unfortunately it is not very long, so having a USB  
extender cable i connected
the serial cable to the UPS and the USB2serial converter and then the  
extender cable and
into my server.



More information about the Nut-upsuser mailing list