James Northcott / Chief Systems
2006-Jun-27 19:20 UTC
[Nut-upsuser] Tripp Lite OMNIVS1500XL Unknown protocol
Good afternoon, I'm trying without much success to monitor a Tripp Lite OMNIVS1500XL using NUT. I checked the compatibility list and saw that this UPS is supported by tripplite_usb. The system is running Debian Stable, but I've downloaded NUT 2.0.3 and compiled from source since the packaged 2.0.1 doesn't include tripplite_usb. I compiled --with-user=nut. My first attempt at starting the driver with /usr/local/ups/bin/tripplite_usb auto gave "No matching USB/HID UPS found". I searched the list archives and found that -u root might help, and also that the kernel hid driver must not be allowed to claim the device. After doing "rmmod hid", "/usr/local/ups/bin/tripplite_usb -u root auto" gives one of the following, seemingly at random: === Network UPS Tools - Tripp Lite OMNIVS and SMARTPRO driver 0.6 (2.0.3) Warning: This is an experimental driver. Some features may not function correctly. Detected a UPS: TRIPP LITE/TRIPP LITE OMNIVS1500XL Unknown protocol (2001)Attached to Tripp Lite OMNIVS1500XL Unknown value for s[2]: 0x34 Error reading 'D' value: Unknown error 0 Error reading 'M' value: Unknown error 0 Network UPS Tools - Tripp Lite OMNIVS and SMARTPRO driver 0.6 (2.0.3) Warning: This is an experimental driver. Some features may not function correctly. Detected a UPS: TRIPP LITE/TRIPP LITE OMNIVS1500XL Unknown protocol (2001)Attached to Tripp Lite OMNIVS1500XL Unknown value for s[2]: 0x34 libusb_set_report() returned -6 instead of 8 Error reading L value: Unknown error -6 Network UPS Tools - Tripp Lite OMNIVS and SMARTPRO driver 0.6 (2.0.3) Warning: This is an experimental driver. Some features may not function correctly. Detected a UPS: TRIPP LITE/TRIPP LITE OMNIVS1500XL Unknown protocol (2001)Attached to Tripp Lite OMNIVS1500XL Unknown value for s[2]: 0x34 libusb_get_interrupt() returned -19 instead of 8 libusb_get_interrupt() returned -19 instead of 8 libusb_get_interrupt() returned -19 instead of 8 Error reading 'D' value: Unknown error 0 libusb_set_report() returned -19 instead of 8 Error reading 'M' value: Device detached? Reconnect attempt #1 Successfully reconnected libusb_set_report() returned -6 instead of 8 Unknown input voltage: 0x00 Unknown battery voltage: 0x0000 Unknown number of switchable load banks: 0x00 Unknown protocol (2001)Attached to Tripp Lite OMNIVS1500XL libusb_set_report() returned -6 instead of 8 Error reading 'T' value: Unknown error -6 === I've checked the list archives, and it seems that the unknown protocol part means that my UPS is using a protocol that hasn't yet been seen by the developers. The rest of the errors seem to indicate a connection problem? I have two questions. First, am I right? Is this UPS not supported by tripplite_usb? If so, is there anything I can do to help update the compatibility list and/or add support for my UPS? If not, what else can I try to get it working? Second, what permissions should I set so that I don't need -u root? I've tried chgrp nut /dev/usb/hiddev*, but without -u root I still just get "No UPS found". Thanks, James -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20060627/98c672b3/attachment.htm
Charles Lepple
2006-Jun-28 02:57 UTC
[Nut-upsuser] Tripp Lite OMNIVS1500XL Unknown protocol
On 6/27/06, James Northcott / Chief Systems <james@chiefsystems.ca> wrote:> I'm trying without much success to monitor a Tripp Lite OMNIVS1500XL using > NUT. I checked the compatibility list and saw that this UPS is supported by > tripplite_usb.Apparently, they have upgraded the firmware. See below.> Detected a UPS: TRIPP LITE/TRIPP LITE OMNIVS1500XL > Unknown protocol (2001)Attached to Tripp Lite OMNIVS1500XLThis is the problem: I have only worked an OMNIVS1000 that reported protocol 0x1001, and a SMARTPRO that reported 0x3003 (and the SMARTPRO support is sketchy at best).> I've checked the list archives, and it seems that the unknown protocol part > means that my UPS is using a protocol that hasn't yet been seen by the > developers. The rest of the errors seem to indicate a connection problem?Those are odd errors, but then again, there are a bunch of little timing-related differences between the protocols that I don't fully understand.> I have two questions. > > First, am I right? Is this UPS not supported by tripplite_usb? If so, is > there anything I can do to help update the compatibility list and/or add > support for my UPS? If not, what else can I try to get it working?If you have a Windows test machine, you could try to send us a protocol dump. It's a bit involved, and the dump is more useful if you can run the battery all the way down, so if it's a production machine, this isn't the way to go.> Second, what permissions should I set so that I don't need -u root? I've > tried chgrp nut /dev/usb/hiddev*, but without -u root I still just get "No > UPS found".It's /proc/bus/usb/XYZ/ABC where XYZ is the bus number, and ABC is the device number (which will change every time you plug it in, or whenever the Tripp Lite gets hit by cosmic rays). For Debian sarge, you should probably use the scripts/hotplug directory in the nut source tarball. (If sarge uses hotplug-ng, there is another directory for that, too). Email the list if you run into trouble. -- - Charles Lepple