Hi Alexander,<br>Thanks for getting back to me on this. Unfortunately it&#39;s still a no-go. The driver still fails in the same manner - only it takes longer to do so:<br>---snippet---<br>Q1 detail: (0 bytes) =&gt;<br>Asking for UPS status [Q1]...
<br>Q1 =&gt; FAILED [short read]<br>Q1 detail: (0 bytes) =&gt;<br>Asking for UPS status [Q1]...<br>Q1 =&gt; FAILED [short read]<br>Q1 detail: (0 bytes) =&gt;<br>Asking for UPS status [Q1]...<br>Q1 =&gt; FAILED [short read]
<br>---snippet---<br>
<br>Let me know if there&#39;s anything else you want me to try and/or if you want to instrument a debug driver to provide us with further output.<br><br>Thanks,<br><br>Joe<br>P.S. I should still have a USB capture (taken from Windows) some two years when I had originally tried to get this to work with Charles. If that&#39;s of any use, I can dig it up and forward it.
<br><br><div class="gmail_quote">On Jan 16, 2008 3:36 PM, Alexander I. Gordeev &lt;<a href="mailto:lasaine@lvk.cs.msu.su">lasaine@lvk.cs.msu.su</a>&gt; 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><div></div><div class="Wj3C7c">On Tue, 15 Jan 2008 02:05:31 +0300, Joseph Borg &lt;<a href="mailto:juu.borg@gmail.com">juu.borg@gmail.com</a>&gt; wrote:<br><br>&gt; Pls ignore the previous email; I had subdriver=agiler configured in 
ups.conf.<br>&gt; It still fails however as follows:<br>&gt; -------------<br>&gt; Checking device (0F03/0001) (001/002)<br>&gt; - VendorID: 0f03<br>&gt; - ProductID: 0001<br>&gt; - Manufacturer: Ver 1.0<br>&gt; - Product: USB To RS232 Interface (
V1.0) BaudRate 2400bps<br>&gt; - Serial Number: unknown<br>&gt; - Bus: 001<br>&gt; Trying to match device<br>&gt; Device matches<br>&gt; Starting UPS detection process...<br>&gt; Asking for UPS status [Q1]...<br>&gt; Q1 =&gt; FAILED [short read]
<br>&gt; Q1 detail: (0 bytes) =&gt;<br>&gt; Asking for UPS status [Q1]...<br>&gt; Q1 =&gt; FAILED [short read]<br>&gt; Q1 detail: (0 bytes) =&gt;<br>&gt; Asking for UPS status [Q1]...<br>&gt; Q1 =&gt; FAILED [short read]<br>
&gt; Q1 detail: (0 bytes) =&gt;<br>&gt; Asking for UPS status [Q1]...<br>&gt; Q1 =&gt; FAILED [short read]<br>&gt; Q1 detail: (0 bytes) =&gt;<br>&gt; Asking for UPS status [Q1]...<br>&gt; Q1 =&gt; FAILED [short read]<br>&gt; Q1 detail: (0 bytes) =&gt;
<br>&gt; 5 out of 5 detection attempts failed (minimum failures: 2).<br>&gt; Megatec protocol UPS not detected.<br>&gt; -----------------------<br>&gt;<br><br></div></div>[off-topic]<br>I&#39;ve reviewed both an old agiler subdriver from 
2.2.0 and the new phoenix<br>subdriver from the trunk. IMO the old subdriver looks cleaner. Also I don&#39;t<br>like the way some commands are cut out. There is only one model known that<br>doesn&#39;t support them and it has unique VID:PID combination (06da:0003).
<br>This should be fixed. I&#39;m going to add some flag for that.<br>[/off-topic]<br><br>I think this problem is caused by reduced timeout in new phoenix driver.<br>Joseph, please try this patch:<br><br>Index: drivers/megatec_usb.c
<br>===================================================================<br>--- drivers/megatec_usb.c &nbsp; &nbsp; &nbsp; (revision 1225)<br>+++ drivers/megatec_usb.c &nbsp; &nbsp; &nbsp; (working copy)<br>@@ -449,7 +449,7 @@<br> &nbsp; &nbsp; &nbsp; &nbsp; for (count = 8; count &lt;= buffer_size; count += 8) {
<br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /* Read data in 8-byte chunks, break on a timeout */<br>- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (usb-&gt;get_interrupt(udev, (unsigned char *)&amp;buffer[count-8], 8, 1000) &lt; 0) {<br>+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (usb-&gt;get_interrupt(udev, (unsigned char *)&amp;buffer[count-8], 8, 5000) &lt; 0) {
<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return count-8;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br><br><br>--<br><font color="#888888"> &nbsp; Alexander<br></font></blockquote></div><br>