Thanks for the replies guys.<br>I updated to NUT 2.4.1, and tried the megatec driver (with the rts and dtr sub options) but no combination of 1 and 0 seemed to work. I made sendpace 10,20,500 and 1000, but none worked. The blazer drivers gave me:<br>
<div style="margin-left: 40px;">/lib/nut/blazer_ser -DDD -a UPS1<br>Network UPS Tools - Megatec/Q1 protocol serial driver 1.51 (2.4.1)<br>debug level is '3'<br>Trying megatec protocol...<br>send: Q1<br>read: timeout<br>
blazer_status: short reply<br>Status read 1 failed<br>send: Q1<br>read: timeout<br>blazer_status: short reply<br>Status read 2 failed<br>send: Q1<br>read: timeout<br>blazer_status: short reply<br>Status read 3 failed<br>Trying mustek protocol...<br>
send: QS<br>read: timeout<br>blazer_status: short reply<br>Status read 1 failed<br>send: QS<br>read: timeout<br>blazer_status: short reply<br>Status read 2 failed<br>send: QS<br>read: timeout<br>blazer_status: short reply<br>
Status read 3 failed<br>Trying megatec/old protocol...<br>send: D<br>read: timeout<br>blazer_status: short reply<br>Status read 1 failed<br>send: D<br>read: timeout<br>blazer_status: short reply<br>Status read 2 failed<br>
send: D<br>read: timeout<br>blazer_status: short reply<br>Status read 3 failed<br>No supported UPS detected<br></div><br>blaser_usb gave me<br><div style="margin-left: 40px;">/lib/nut/blazer_usb -DDD -a UPS1<br>Network UPS Tools - Megatec/Q1 protocol USB driver 0.03 (2.4.1)<br>
debug level is '3'<br>Checking device (1D6B/0002) (001/001)<br>- VendorID: 1d6b<br>- ProductID: 0002<br>- Manufacturer: unknown<br>- Product: unknown<br>- Serial Number: unknown<br>- Bus: 001<br>Trying to match device<br>
Device does not match - skipping<br>Checking device (12CF/0308) (002/003)<br>- VendorID: 12cf<br>- ProductID: 0308<br>- Manufacturer: unknown<br>- Product: unknown<br>- Serial Number: unknown<br>- Bus: 002<br>Trying to match device<br>
Device does not match - skipping<br>Checking device (1A86/7523) (002/002)<br>- VendorID: 1a86<br>- ProductID: 7523<br>- Manufacturer: unknown<br>- Product: unknown<br>- Serial Number: unknown<br>- Bus: 002<br>Trying to match device<br>
Device does not match - skipping<br>Checking device (1D6B/0001) (002/001)<br>- VendorID: 1d6b<br>- ProductID: 0001<br>- Manufacturer: unknown<br>- Product: unknown<br>- Serial Number: unknown<br>- Bus: 002<br></div><div style="margin-left: 40px;">
Trying to match device<br>Device does not match - skipping<br>No appropriate HID device found<br>No supported devices found. Please check your device availability with 'lsusb'<br>and make sure you have an up-to-date version of NUT. If this does not help,<br>
try running the driver with at least 'subdriver', 'vendorid' and 'productid'<br>options specified. Please refer to the man page for details about these options<br>(man 8 blazer).<br></div><br>I took some more photos of the inside of the UPS. Would it help to post them? I will also try and get another serial USB converter, to just check if that might be the problem.<br>
Thanks.<br><br><br><div class="gmail_quote">On Wed, May 6, 2009 at 2:26 PM, Arnaud Quette <span dir="ltr"><<a href="mailto:aquette.dev@gmail.com">aquette.dev@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br><div class="gmail_quote">2009/5/5 Diederik Hattingh <span dir="ltr"><<a href="mailto:diederikjhattingh@gmail.com" target="_blank">diederikjhattingh@gmail.com</a>></span><div><div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi there.<br>I bought a generic UPS from a local (South African) hardware company, Sahara. They call it an "Electra 1000 Plus". From what I am told it is a 1000 VA line interactive UPS. It comes with "WinPower" Java based software that I couldn't get to work. (Crashes on start-up, without any explanation.)<br>
<br>I would like to know if any one on this mailing list could help me to figure out what NUT driver I am supposed to use. I tried megatec, without success. (/lib/nut/megatec -DDDD -a UPS1 returns with "Q1 => FAILED [timeout]" 5 times ) A potential gotcha is that I am using a USB to serial device to talk to the UPS. It looks like it has installed correctly (dmesg tells me: "usb 2-1: ch341-uart converter now attached to ttyUSB0"). The USB-Serial adapter is connected to the serial cable that came with the UPS.<br>
<br>Some pictures of the UPS and parts of its manual can be found <a href="http://picasaweb.google.com/diederikjhattingh/Public?feat=email#" target="_blank">here</a> (The circuit board is just the switch. I couldn't yet get to the serial interface part of the UPS. Will still upload a picture of that when I get to it.)<br>
<br>I am using Gentoo with NUT version 2.2.2<br><br>Any help would be appreciated.<br>Thanks<br></blockquote></div></div><div><br>just to complete Daniel's answer: whenever you see WinPower, try the megatec drivers (serial or USB), or better, the new blazer ones. These are Centralion rebranded units.<br>
<br>please report back the results of your testing. <br></div></div><br clear="all">cheers,<br>Arnaud<br><font color="#888888">-- <br>Linux / Unix Expert R&D - Eaton - <a href="http://www.eaton.com/mgeops" target="_blank">http://www.eaton.com/mgeops</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>
Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br>
</font></blockquote></div><br>