[Nut-upsdev] FreeBSD, NUT OmniVS1500
Charles Sprickman
spork at bway.net
Sat Sep 5 01:00:03 UTC 2009
Howdy,
I had this working with lots of help for a developer before (Charles Lepple),
but after upgrading to a somewhat more current version of FreeBSD the
patched-up version stopped working. Seeing as this was more than a few years
ago, I thought I'd give a new libusb and NUT a try to see if it might work out
of the box. So far, no luck.
Some info:
FreeBSD 6.3
libusb 0.1.12
NUT 2.4.1
Here's full debugging output. Searching on some of these errors has gotten me
a few hits, but no fixes. If this is not a problem in FreeBSD 7, I'll upgrade.
Two things that stand out:
USB error: could not set alt intf 0/0: Invalid argument
and
USB error: error reading from interrupt endpoint /dev/ugen0.1: Resource
temporarily unavailable
Thanks,
Charles
[root at miko /usr/local/etc]# USB_DEBUG=5 /usr/local/libexec/nut/tripplite_usb
-a colo1 -DDDDD 2>&1 |more
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: can't open /dev/usb2: Permission denied
usb_os_find_busses: can't open /dev/usb3: Permission denied
usb_os_find_busses: can't open /dev/usb4: Permission denied
usb_os_find_devices: Found /dev/ugen0 on /dev/usb1
usb_control_msg: 128 6 512 0 0xbfbfd0f8 8 1000
usb_control_msg: 128 6 512 0 0x80563c0 34 1000
skipped 1 class/vendor specific interface descriptors
Checking device (09AE/0001) (/dev/usb1//dev/ugen0)
usb_control_msg: 128 6 768 0 0xbfbfd050 255 1000
usb_control_msg: 128 6 769 1033 0xbfbfd050 255 1000
usb_control_msg: 128 6 768 0 0xbfbfd050 255 1000
usb_control_msg: 128 6 770 1033 0xbfbfd050 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
Detected a UPS: TRIPP LITE/TRIPP LITE OMNIVS1500XL
send_to_all: SETINFO ups.vendorid "09ae"
send_to_all: SETINFO ups.productid "0001"
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 0xbfbfe9d0 8 4000
USB error: error reading from interrupt endpoint /dev/ugen0.1: Resource
temporarily unavailable
libusb_get_interrupt() returned -35 instead of 8 while sending 3a 57 00 a8 0d
00 00 00 '.W......'
USB error: error reading from interrupt endpoint /dev/ugen0.1: Resource
temporarily unavailable
libusb_get_interrupt() returned -35 instead of 8 while sending 3a 57 00 a8 0d
00 00 00 '.W......'
USB error: error reading from interrupt endpoint /dev/ugen0.1: Resource
temporarily unavailable
libusb_get_interrupt() returned -35 instead of 8 while sending 3a 57 00 a8 0d
00 00 00 '.W......'
USB error: error reading from interrupt endpoint /dev/ugen0.1: Resource
temporarily unavailable
[... repeats ...]
Could not retrieve status ... is this an OMNIVS model?
usb_os_close: closing endpoint 5
Network UPS Tools - Tripp Lite OMNIVS / SMARTPRO driver 0.20 (2.4.1)
Warning: This is an experimental driver.
Some features may not function correctly.
___
Charles Sprickman
NetEng/SysAdmin
Bway.net - New York's Best Internet - www.bway.net
spork at bway.net - 212.655.9344
More information about the Nut-upsdev
mailing list