<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Ok I'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'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"><<a href="mailto:kjell.claesson@epost.tidanet.se">kjell.claesson@epost.tidanet.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">> Ok guys I get this errors:<br>
</div>Hi,<br>
<div class="im">><br>
> Network UPS Tools – UPS driver controller 2.4.1<br>
> Network UPS Tools – Generic HID driver 0.34 (2.4.1)<br>
> USB communication driver 0.31<br>
> No matching HID UPS found<br>
><br>
> my ups.conf is:<br>
><br>
> [ap1000]<br>
> driver = usbhid-ups<br>
> port = auto<br>
><br>
> I’ve also tried to set a specific usb port and change driver.<br>
><br>
> My ups is a AMACROX 1000<br>
> <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>
><br>
> and it should be the following usb device<br>
> lsusb -D /dev/bus/usb/008/003<br>
> Device: ID 0665:5161<br>
> Device Descriptor:<br>
> bLength 18<br>
> bDescriptorType 1<br>
> bcdUSB 1.10<br>
> bDeviceClass 0 (Defined at Interface level)<br>
<br>
</div>This line tell us that it's not a HID device.<br>
<div class="im"><br>
> bDeviceSubClass 0<br>
> bDeviceProtocol 0<br>
> bMaxPacketSize0 8<br>
> idVendor 0×0665<br>
> idProduct 0×5161<br>
> bcdDevice 0.02<br>
> iManufacturer 1 Cypress Semiconductor<br>
> iProduct 2 USB to Serial<br>
> iSerial 0<br>
<br>
</div>And this that it have a serial to usb converter.<br>
<div class="im"><br>
> bNumConfigurations 1<br>
> Configuration Descriptor:<br>
> bLength 9<br>
> bDescriptorType 2<br>
> wTotalLength 34<br>
> bNumInterfaces 1<br>
> bConfigurationValue 1<br>
> iConfiguration 3<br>
> bmAttributes 0×80<br>
> (Bus Powered)<br>
> MaxPower 100mA<br>
> Interface Descriptor:<br>
> bLength 9<br>
> bDescriptorType 4<br>
> bInterfaceNumber 0<br>
> bAlternateSetting 0<br>
> bNumEndpoints 1<br>
> 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>
> bInterfaceSubClass 0 No Subclass<br>
> bInterfaceProtocol 0 None<br>
> iInterface 4 Sample HID<br>
> ** UNRECOGNIZED: 09 21 00 01 00 01 22 1b 00<br>
> Endpoint Descriptor:<br>
> bLength 7<br>
> bDescriptorType 5<br>
> bEndpointAddress 0×81 EP 1 IN<br>
> bmAttributes 3<br>
> Transfer Type Interrupt<br>
> Synch Type None<br>
> Usage Type Data<br>
> wMaxPacketSize 0×0008 1x 8 bytes<br>
> bInterval 32<br>
> Device Status: 0×0000<br>
> (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's Joker)<br><br>The answer is inside you, but it'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>