[Nut-upsuser] OMNIVS1500XL and FreeBSD

Charles Sprickman spork at bway.net
Sun Mar 4 05:44:22 CET 2007


I'm running FreeBSD 6.2 with Nut 2.0.5 installed from ports...

I have a TrippLite OmniVS1500XL plugged in, but I'm having little luck with the 
tripplite_usb module.  I have already built and booted a new kernel with UHID 
disabled so that libusb can grab /dev/ugen0.

At first I was able to get the following out of the driver:

# USB_DEBUG=5 /usr/local/libexec/nut/tripplite_usb -u root -DDDDD auto

Network UPS Tools - Tripp Lite OMNIVS and SMARTPRO driver 0.7 (2.0.5)
Warning: This is an experimental driver.
Some features may not function correctly.

debug level is '5'
usb_set_debug: Setting debugging level to 5 (on)
usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_busses: Found /dev/usb3
usb_os_find_devices: Found /dev/ugen0 on /dev/usb1
usb_control_msg: 128 6 512 0 0xbfbfd8f8 8 1000
usb_control_msg: 128 6 512 0 0x8059380 34 1000
skipped 1 class/vendor specific interface descriptors
Checking device (09AE/0001) (/dev/usb1//dev/ugen0)
usb_control_msg: 128 6 768 0 0xbfbfd850 255 1000
usb_control_msg: 128 6 769 1033 0xbfbfd850 255 1000
usb_control_msg: 128 6 768 0 0xbfbfd850 255 1000
usb_control_msg: 128 6 770 1033 0xbfbfd850 255 1000
- VendorID: 09ae
- ProductID: 0001
- Manufacturer: TRIPP LITE
- Product: TRIPP LITE OMNIVS1500XL
- Serial Number: unknown
- Bus: /dev/usb1
Trying to match device
Device matches
USB error: could not set alt intf 0/0: Invalid argument
usb_control_msg: 129 6 8448 0 0xbfbfdaa0 9 4000
HID descriptor, method 1: (9 bytes) => 09 21 00 01 00 01 22 34 00
i=0, extra[i]=09, extra[i+1]=21
HID descriptor, method 2: (9 bytes) => 09 21 00 01 00 01 22 34 00
HID descriptor retrieved (Reportlen = 52)
usb_control_msg: 129 6 8704 0 0xbfbfdb00 52 4000
Report descriptor retrieved (Reportlen = 52)
Found HID device
Report Descriptor size = 52
Report Descriptor: (52 bytes) => 06 a0 ff 09 01 a1 01 09 02 a1 00 06 a1 ff
09 03 09 04 15 80 25 7f 35 00 45 ff 75 08 95 08 81 02 09 05 09 06 15 80 25
7f 35 00 45 ff 75 08 95 08 91 02 c0 c0
Detected a UPS: TRIPP LITE/TRIPP LITE OMNIVS1500XL
send_cmd(msg_len=3, type='W')
send_cmd: sending  3a 57 00 a8 0d 00 00 00 '.W......'
usb_control_msg: 33 9 768 0 0xbfbfe960 8 4000
send_cmd: received 57 00 0d 00 00 00 00 00 'W.......' (OK)
send_cmd(msg_len=2, type='
send_cmd: sending  3a 00 ff 0d 00 00 00 00 '........'
usb_control_msg: 33 9 768 0 0xbfbfe960 8 4000
usb_control_msg: 33 9 768 0 0xbfbfe960 8 4000
usb_control_msg: 33 9 768 0 0xbfbfe960 8 4000
send_cmd: received 00 20 01 58 58 58 58 0d '...XXXX.' (OK)
send_cmd: send_try = 3, recv_try = 1

Using OMNIVS 2001 protocol (2001)
send_cmd(msg_len=2, type='S')
send_cmd: sending  3a 53 ac 0d 00 00 00 00 '.S......'
usb_control_msg: 33 9 768 0 0xbfbfe960 8 4000
usb_control_msg: 33 9 768 0 0xbfbfe960 8 4000
usb_control_msg: 33 9 768 0 0xbfbfe960 8 4000
send_cmd: received 00 20 01 58 58 58 58 0d '...XXXX.' (bad)
send_cmd: send_try = 3, recv_try = 3

Could not retrieve status ... is this an OMNIVS model?
[root at miko /home/spork]#

Any ideas?

Thanks,

Charles



More information about the Nut-upsuser mailing list