<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Ok I&#39;ve moved to megatec_usb<div>but i get this error:</div><div><div class="im" style="color: rgb(80, 0, 80); ">

<div>Network UPS Tools - UPS driver controller 2.4.1</div></div><div>Network UPS Tools - Megatec protocol driver 1.6 (2.4.1)</div><div>Serial-over-USB transport layer 0.10</div><div>Can&#39;t claim USB device [0665:5161]: could not detach kernel driver from interface 0: Operation not permitted</div>

<div>Driver failed to start (exit status=1)</div><div><br></div><div>i looked around for it and found that it could be related to udev script so i used the proposed solution:</div><div><div>sudo cp /lib/udev/rules.d/52-nut-usbups.rules /etc/udev/rules.d/</div>

<div><br></div><div>but nothing changed</div><div><br></div><div>can someone help me?</div></div></div></span><br><div class="gmail_quote">On 1 April 2010 18:14, Kjell Claesson <span dir="ltr">&lt;<a href="mailto:kjell.claesson@epost.tidanet.se">kjell.claesson@epost.tidanet.se</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">&gt; Ok guys I get this errors:<br>
</div>Hi,<br>
<div class="im">&gt;<br>
&gt; Network UPS Tools – UPS driver controller 2.4.1<br>
&gt; Network UPS Tools – Generic HID driver 0.34 (2.4.1)<br>
&gt; USB communication driver 0.31<br>
&gt; No matching HID UPS found<br>
&gt;<br>
&gt; my ups.conf is:<br>
&gt;<br>
&gt; [ap1000]<br>
&gt; driver = usbhid-ups<br>
&gt; port = auto<br>
&gt;<br>
&gt; I’ve also tried to set a specific usb port and change driver.<br>
&gt;<br>
&gt; My ups is a AMACROX 1000<br>
&gt; <a href="http://www.amacrox.com//english/01_product/02_01detail.aspx?pdid=46" target="_blank">http://www.amacrox.com//english/01_product/02_01detail.aspx?pdid=46</a><br>
&gt;<br>
&gt; and it should be the following usb device<br>
&gt; lsusb -D /dev/bus/usb/008/003<br>
&gt; Device: ID 0665:5161<br>
&gt; Device Descriptor:<br>
&gt; bLength 18<br>
&gt; bDescriptorType 1<br>
&gt; bcdUSB 1.10<br>
&gt; bDeviceClass 0 (Defined at Interface level)<br>
<br>
</div>This line tell us that it&#39;s not a HID device.<br>
<div class="im"><br>
&gt; bDeviceSubClass 0<br>
&gt; bDeviceProtocol 0<br>
&gt; bMaxPacketSize0 8<br>
&gt; idVendor 0×0665<br>
&gt; idProduct 0×5161<br>
&gt; bcdDevice 0.02<br>
&gt; iManufacturer 1 Cypress Semiconductor<br>
&gt; iProduct 2 USB to Serial<br>
&gt; iSerial 0<br>
<br>
</div>And this that it have a serial to usb converter.<br>
<div class="im"><br>
&gt; bNumConfigurations 1<br>
&gt; Configuration Descriptor:<br>
&gt; bLength 9<br>
&gt; bDescriptorType 2<br>
&gt; wTotalLength 34<br>
&gt; bNumInterfaces 1<br>
&gt; bConfigurationValue 1<br>
&gt; iConfiguration 3<br>
&gt; bmAttributes 0×80<br>
&gt; (Bus Powered)<br>
&gt; MaxPower 100mA<br>
&gt; Interface Descriptor:<br>
&gt; bLength 9<br>
&gt; bDescriptorType 4<br>
&gt; bInterfaceNumber 0<br>
&gt; bAlternateSetting 0<br>
&gt; bNumEndpoints 1<br>
&gt; bInterfaceClass 3 Human Interface Device<br>
<br>
</div>This is not true. Almost all say this but is it there proprietary protocol.<br>
It does not follow the hid protocol.<br>
<div class="im"><br>
&gt; bInterfaceSubClass 0 No Subclass<br>
&gt; bInterfaceProtocol 0 None<br>
&gt; iInterface 4 Sample HID<br>
&gt; ** UNRECOGNIZED: 09 21 00 01 00 01 22 1b 00<br>
&gt; Endpoint Descriptor:<br>
&gt; bLength 7<br>
&gt; bDescriptorType 5<br>
&gt; bEndpointAddress 0×81 EP 1 IN<br>
&gt; bmAttributes 3<br>
&gt; Transfer Type Interrupt<br>
&gt; Synch Type None<br>
&gt; Usage Type Data<br>
&gt; wMaxPacketSize 0×0008 1x 8 bytes<br>
&gt; bInterval 32<br>
&gt; Device Status: 0×0000<br>
&gt; (Bus Powered)<br>
<br>
</div>I would go for megatec_usb driver<br>
<br>
Regards<br>
/Kjell<br>
.<br>
</blockquote></div><br><br clear="all"><br>-- <br> I am a dog chasing cars… I wouldn’t know what to do with one if I caught it.<br>I just do things. (Nolan&#39;s Joker)<br><br>The answer is inside you, but it&#39;s wrong (Guzzanti)<br>

<br>If we knew what it was we were doing, it would not be called research, would it? (Einstein)<br><br><a href="http://www.mrwiggleslovesyou.com/rehab333.html">http://www.mrwiggleslovesyou.com/rehab333.html</a><br><br>Dimitri Ognibene <br>

PhD<br>Istituto di Scienze e Tecnologie della Cognizione, <br>Consiglio Nazionale delle Ricerche (ISTC-CNR), <br>via S. Martino della Battaglia, 44 <br>00185 Rome <br><br>Skype: dimitri.ognibene<br>