<div dir="ltr">Hello All, <br><br>This is my first post to the list &amp; I have tried to do as much searching and debugging on my own as I can bear. Please HELP!<br><br>I am currently using up to date Centos 5.2 32-bit - kernel version:
2.6.18-92.1.10.el5PAE #1 SMP. I am using a Tripplite OMNIVS1500 via usb
connection. I am using the tripplite_usb driver. I have tried to user versions 2.2.0 from an rpm, 2.2.2 &amp; and the latest SVN version from source<br><br>I have had all sorts of strange &amp; aggravating results during the setup and testing of this device.<br>
<br>Here I go:<br><br>- The 3 main ups tools are all working very well back and forth with one an another. Udev rules are set, I am operating under user=nut. I can start all 3 services and query the UPS with &#39;upsc hub_ups&#39; - which gives me data that looks fine. Everything looks good.<br>
<br>- When I simulate the power failure - by pulling the plug to the UPS - I get the wall alerts that I am OB - GOOD! <br><br>- BUT! 9 out of 10 times When I restore power to the UPS, the driver throws one of several errors and dissconnects. The other two services then assume since the UPS was least reachable in an OB situation that they must power down the system! And that they do! The other few times I repeat this exercise, it actually works! This is my dilemma!<br>
<br>Here is the most persistant error type I get when running the Driver in Debug mode (I am using the latest trunk SVN):<br><br>-----<br><br>UPS hub_ups@localhost on battery<br><br>***I PLUG IT BACK IN***<br><br>Error reading L value: Device detached? (error 0: could not claim interface 0: Device or resource busy)<br>
Reconnect attempt #1<br>==================================================<br>= device has been disconnected, try to reconnect =<br>==================================================<br>Checking device (09AE/0001) (003/010)<br>
- VendorID: 09ae<br>- ProductID: 0001<br>- Manufacturer: TRIPP LITE<br>- Product: TRIPP LITE UPS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>- Serial Number: unknown<br>- Bus: 003<br>Trying to match device<br>Device matches<br>failed to claim USB device, trying 2 more time(s)...<br>
detaching kernel driver from USB device...<br>trying again to claim USB device...<br>Successfully reconnected<br>Using OMNIVS 2001 protocol (2001)<br>Unit ID not retrieved (not available on all models)<br>Attached to Tripp Lite UPS<br>
Error reading S value: Device detached? (error 0: could not claim interface 0: Device or resource busy)<br>Reconnect attempt #1<br>==================================================<br>= device has been disconnected, try to reconnect =<br>
==================================================<br>Checking device (09AE/0001) (003/010)<br>- VendorID: 09ae<br>- ProductID: 0001<br>- Manufacturer: TRIPP LITE<br>- Product: TRIPP LITE UPS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>- Serial Number: unknown<br>
- Bus: 003<br>Trying to match device<br>Device matches<br>failed to claim USB device, trying 2 more time(s)...<br>detaching kernel driver from USB device...<br>trying again to claim USB device...<br>Successfully reconnected<br>
<u><b>Error reading protocol</b></u><br><br>-------<br><br>Output from &#39;upsc hub_ups&#39;:<br><br><br>battery.charge:&nbsp; 95<br>battery.voltage: 13.19<br>battery.voltage.nominal: 24<br><a href="http://driver.name">driver.name</a>: tripplite_usb<br>
driver.parameter.pollinterval: 2<br>driver.parameter.port: auto<br>driver.version: 2.3.0-1519<br>driver.version.internal: 0.18<br>input.voltage: 0.00<br>input.voltage.nominal: 120<br>output.voltage: 118.0<br>ups.debug.load_banks: 0<br>
ups.debug.V: 31 30 34 30 58 58 0d &#39;1040XX.&#39;<br>ups.delay.shutdown: 64<br>ups.firmware: F2211.A<br>ups.firmware.aux: protocol 2001<br>ups.mfr: Tripp Lite<br>ups.model: UPS<br>ups.power.nominal: 1500<br>ups.status: OB<br>
[root@cssgate2 bin]# ./upsc hub_ups<br>battery.charge: 100<br>battery.voltage: 14.69<br>battery.voltage.nominal: 24<br><a href="http://driver.name">driver.name</a>: tripplite_usb<br>driver.parameter.pollinterval: 2<br>driver.parameter.port: auto<br>
driver.version: 2.3.0-1519<br>driver.version.internal: 0.18<br>input.voltage: 114.40<br>input.voltage.nominal: 120<br>output.voltage: 118.5<br>ups.debug.load_banks: 0<br>ups.debug.V: 31 30 34 30 58 58 0d &#39;1040XX.&#39;<br>
ups.delay.shutdown: 64<br>ups.firmware: F2211.A<br>ups.firmware.aux: protocol 2001<br>ups.mfr: Tripp Lite<br>ups.model: UPS<br>ups.power.nominal: 1500<br>ups.status: OL<br><br>-----------<br><br>Please direct me in what I should do from here. This is my first net-admin type job and I want to make a great impression. Please guide me through this, Any other output or info you need, please just ask.<br>
<br>Thank you,<br><br>Jonathan<br><br><br><br><br><br><br><br></div>