<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-2 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.9600.17107"></HEAD>
<BODY id=MailContainerBody 
style="PADDING-TOP: 15px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px" leftMargin=0 
topMargin=0 CanvasTabStop="true" name="Compose message area">
<DIV><FONT face=Calibri>Hi,</FONT></DIV>
<DIV><FONT face=Calibri>This is my first post ever on a technical forum, so 
please forgive any poor etiquette etc.</FONT></DIV>
<DIV><FONT face=Calibri>Also I'm totally new to Linux all of my experience has 
been trying to get this UPS to work. So please bear this in mind.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>I'm running OpenSuse 13.1 and I have a Lupus 500 USB 
(Fideltronik)</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>After quite a bit of playing around I managed to get the 
status of the UPS using the blazer_usb driver and running NUT 
2.6.5.</FONT></DIV>
<DIV><FONT face=Calibri>But unfortunately none of the Instcmds such as load.off 
etc. worked.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Some of the more pertinent info from the 
status:</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>productid 0000</FONT></DIV>
<DIV><FONT face=Calibri>vendorid 0001</FONT></DIV>
<DIV><FONT face=Calibri>firmware VER40141F1</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>and from lsusb</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>idvendor 0x0001 Fry's Electronics</FONT></DIV>
<DIV><FONT face=Calibri>iManufacturer MEC</FONT></DIV>
<DIV><FONT face=Calibri>iProduct MEC0003</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>The driver is using the Megatec protocol with the 
Krauler subdriver</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>So I connected the USB to my Windows machine and using 
Upsilon2000 it was possible to shutdown the UPS.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>I then installed NUT 2.7.1 and tried the nutusb_qx 
driver to see if this improved matters, unfortunately it didn't 
help.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>So after some sniffing on the USB port I observed that 
there were some differences between Upsilon200 and NUT (on Upsilon only the 
shutdown command and beeper toggle have any effect)</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>So I downloaded NUT 2.7.1 from source and played around 
with the nutdrv_qx driver re-compiled and tested.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Here are some of my observations.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>It appears that the USB to serial conversion fixup that 
the UPS manufacturer is using can't handle any values.</FONT></DIV>
<DIV><FONT face=Calibri>To this end it appears that they use different 
Descriptor Indexes to acieve the desired effects.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>0x18 Performs a shutdown.return with 30s delay and 10s 
delay before restart</FONT></DIV>
<DIV><FONT face=Calibri>0x1a Cancels the shutdown.return request (but not 
shutdown.stayoff)</FONT></DIV>
<DIV><FONT face=Calibri>0x20 = shutdown.stayoff with 30s delay</FONT></DIV>
<DIV><FONT face=Calibri>0x28 = shutdown.return with 40s delay</FONT></DIV>
<DIV><FONT face=Calibri>0x2a = cancel.shutdown.stayoff</FONT></DIV>
<DIV><FONT face=Calibri>0x24 = load.on</FONT></DIV>
<DIV><FONT face=Calibri>0x30 = shutdown.stayoff with 40s delay</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>and so on with different indexes giving different 
delays.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>I'm in the process of mapping all of these commands at 
the moment and up until now I haven't found any battery test 
commands.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>My question is. Is this information of any use to you 
and in what format would it be needed? Is there any other info I should 
give.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>At the moment I have a modified nutdrv_qx driver which 
works for me but perhaps a more refined solution would be better.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Steven Hill<BR></FONT></DIV></BODY></HTML>