Hi,<br>The sub-driver is agiler. The requested output follows:<br><br>---------------<br>Network UPS Tools 2.2.0- - Megatec protocol driver 1.5.4 [megatec_usb]<br>Carlos Rodrigues (c) 2003-2007<br><br>Serial-over-USB transport layer for Megatec protocol driver [megatec_usb]
<br><br>debug level is '5'<br>Checking device (0000/0000) (002/001)<br>- VendorID: 0000<br>- ProductID: 0000<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 (0000/0000) (001/001)<br>- VendorID: 0000<br>- ProductID: 0000<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 (0F03/0001) (001/002)<br>- VendorID: 0f03<br>- ProductID: 0001<br>- Manufacturer: Ver 1.0<br>- Product: USB To RS232 Interface (V1.0) BaudRate 2400bps<br>- Serial Number: unknown
<br>- Bus: 001<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><br>Broadcast message from nut (Sat Jan 5 12:10:56 2008):
<br><br>Communications with UPS unial1200@localhost lost<br>Starting UPS detection process...<br>Attempting to detect the UPS...<br>Sending "Q1" command...<br>"Q1" command successful.<br>Attempting to detect the UPS...
<br>Sending "Q1" command...<br>"Q1" command successful.<br>Attempting to detect the UPS...<br>Sending "Q1" command...<br>"Q1" command successful.<br>Attempting to detect the UPS...<br>
Sending "Q1" command...<br>"Q1" command successful.<br>Attempting to detect the UPS...<br>Sending "Q1" command...<br>"Q1" command successful.<br>0 out of 5 detection attempts failed (minimum failures: 2).
<br>Asking for UPS information ("I" command)...<br>UPS information: #UNITEK Alph1200Sx A1 <br>Megatec protocol UPS detected [UNITEK Alph1200Sx A1].<br>Asking for UPS power ratings ("F" command)...
<br>UPS power ratings: #230.0 4.3 24.00 50.0<br>Asking for UPS status ("Q1" command)...<br>UPS status: (230.0 230.0 2>3.0 016 50.0 29.0 32.0 00001000<br>24.0V battery, present voltage (0.0V) outside of supported intervals.
<br>This UPS has an unsupported combination of battery voltage/number of batteries.<br>Cannot calculate charge percentage for this UPS.<br>Done setting up the UPS.<br>Asking for UPS status ("Q1" command)...<br>UPS status: (
230.0 230.0 353.0 016 50.0 28.8 32.0 00001000<br>dstate_init: sock /var/run/nut/megatec_usb-unial1200 open on fd 5<br>Asking for UPS status ("Q1" command)...<br>UPS status: (230.0 230.0 2>3.0 016 50.0 28.8 32.0
00001000<br>Asking for UPS status ("Q1" command)...<br>UPS status: (230.0 230.0 323.4 016 50.0 29.0 32.0 00001000<br>Asking for UPS status ("Q1" command)...<br>UPS status: (230.0 230.0 302.> 016 50.0
28.8 32.0 00001000<br>Asking for UPS status ("Q1" command)...<br>--------------------<br>As noted in the previous email, the driver doesn't always load sucessfully and I have to switch off the UPs to sort this out. I'm now sure if this is a known/limitation/driver incompatibility/some tweak I have to do. That said, when the driver does load, then everything seems fine.
<br><br>I also suspect that all the other Unitek Alpha YYYYsx models should work since they seem to me to be the same as my 1200sx one; only a different VA.<br><br>Cheers,<br><br>Joe<br><br><br><br><br><div class="gmail_quote">
On Jan 4, 2008 7:46 PM, Alexander I. Gordeev <<a href="mailto:lasaine@lvk.cs.msu.su">lasaine@lvk.cs.msu.su</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thu, 03 Jan 2008 21:33:32 +0300, Joseph Borg <<a href="mailto:juu.borg@gmail.com">juu.borg@gmail.com</a>> wrote:<br><br>> Just a small update; I figured out the udev script so now the processes
<br>> don't run as root and all still works :-). Thanks for all your help. The<br>> only remaining issue is the intermittant failures when the driver is<br>> loading..<br>><br>> Joe<br>><br><br></div>
Could you please provide the output of the actual driver, like this:<br><br>megatec_usb -a myups -DDDDD<br><br>Do you use agiler subdriver? Then I'll add your UPS to the list of<br>supported devices.<br><br>--<br><font color="#888888">
Alexander<br></font></blockquote></div><br>