Damn, I knew there&#39;ll be trouble as soon, as the manufacturer&#39;s program didn&#39;t work.<br>I guess, if I want to make it work, I&#39;ll have to write my own driver, and that&#39;s not very likely to happen in the nearest future also ;)
<br>Thanks for the help so far!<br><br>Dominik Goraczkowski<br><br><div><span class="gmail_quote">2007/1/23, Peter Selinger &lt;<a href="mailto:selinger@mathstat.dal.ca">selinger@mathstat.dal.ca</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
=?windows-1252?Q?Dominik_Gora=3Bczkowski?= wrote:<br>&gt;<br>&gt; Peter Selinger napisa?(a):<br>&gt; &gt; I don&#39;t know if it would be possible to write a driver for your UPS.<br>&gt; &gt; There is currently a project for getting a serial-over-usb megatec
<br>&gt; &gt; protocol to work.<br>&gt; &gt;<br>&gt; &gt; If you send the output of<br>&gt; &gt;<br>&gt; &gt; newhidups -DD -u root -x explore -x vendorid=0d9f auto<br>&gt; &gt;<br>&gt; &gt; , I might be able to tell you whether it resembles other devices that
<br>&gt; &gt; we have seen. -- Peter<br>&gt; &gt;<br>&gt; Here&#39;s the output - the messages are suggesting, that the newhidups<br>&gt; driver recognizes the UPS somehow:<br><br>Yes, the -x explore option forces that. But there is a big difference
<br>between being able to open a device, and understanding the language it<br>speaks. The output from your device, unfortunately, does not resemble<br>anything we have seen before. Very unlikely that there&#39;ll be a driver
<br>for it in NUT anytime soon, unless somebody volunteers to take up the<br>project, which would mean experimenting.<br><br>Since there is only one &quot;Input&quot; and one &quot;Output&quot; field, it is perhaps<br>likely that the device expects serial data to be written and read from
<br>these. However, it is not clear in what format.<br><br>So, sorry for the bad news. -- Peter<br><br>&gt; Checking device (0D9F/0002) (001/005)<br>&gt; - VendorID: 0d9f<br>&gt; - ProductID: 0002<br>&gt; - Manufacturer: POWERCOM CO., LTD.
<br>&gt; - Product: USB to Serial<br>&gt; - Serial Number: unknown<br>&gt; - Bus: 001<br>&gt; Trying to match device<br>&gt; Device matches<br>&gt; HID descriptor retrieved (Reportlen = 37)<br>&gt; Report descriptor retrieved (Reportlen = 37)
<br>&gt; Found HID device<br>&gt; Report Descriptor size = 37<br>&gt; Detected a UPS: POWERCOM CO., LTD./USB to Serial<br>&gt; Using subdriver: EXPLORE HID 0.1<br>&gt; Can&#39;t find object ffa00001.ffa00001<br>&gt; Path: 
ffa00001.ffa00001, Type: Input<br>&gt; Path: ffa00001., Type: Input<br>&gt; Path: ffa00001., Type: Input<br>&gt; Path: ffa00001., Type: Input<br>&gt; Path: ffa00001., Type: Input<br>&gt; Path: ffa00001., Type: Input<br>&gt; Path: ffa00001., Type: Input
<br>&gt; Path: ffa00001., Type: Input<br>&gt; Can&#39;t find object ffa00001.ffa00002<br>&gt; Path: ffa00001.ffa00002, Type: Output<br>&gt; Path: ffa00001., Type: Output<br>&gt; Path: ffa00001., Type: Output<br>&gt; Path: ffa00001., Type: Output
<br>&gt; Path: ffa00001., Type: Output<br>&gt; Path: ffa00001., Type: Output<br>&gt; Path: ffa00001., Type: Output<br>&gt; Path: ffa00001., Type: Output<br>&gt; Path: ffa00001.ffa00003, Type: Feature, Value: 0.000000<br>&gt; Path: ffa00001., Type: Feature
<br>&gt; Path: ffa00001., Type: Feature<br>&gt; Path: ffa00001., Type: Feature<br>&gt; Path: ffa00001., Type: Feature<br>&gt; upsdrv_updateinfo...<br>&gt; dstate_init: sock /var/state/ups/newhidups-auto open on fd 8<br>&gt; upsdrv_updateinfo...
<br>&gt; Waiting for notifications...<br>&gt; upsdrv_updateinfo...<br>&gt; Waiting for notifications...<br>&gt; (repeating)<br>&gt;<br>&gt; Dominik Goraczkowski<br>&gt;<br><br></blockquote></div><br>