Hello DaneZ<br><br>You know, you shouldn't speack french on this list as ups-dev is an internationnal mailing list. I you want to have an answer, please make the effort to translate your request in english. <br><br>Nevertheless, Arnaud already answered you on this subject, and I cannot answer you differently that he did :
<br><br>As I understand, you need to use the 
2.1 version. You can find it, and all the others version on this page : <a href="http://eu1.networkupstools.org/source.html" title="http://eu1.networkupstools.org/source.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://eu1.networkupstools.org/source.html</a><br><br>As Arnaud told you before, please try the following :<br>- read <a href="http://boxster.ghz.cc/projects/nut/browser/trunk/docs/hid-subdrivers.txt">http://boxster.ghz.cc/projects/nut/browser/trunk/docs/hid-subdrivers.txt
</a><br>- try to add your vendorID (0665) to an existant sub-driver, or create a new sub-driver<br>- use &quot;newhidups -DD -x generic&quot; (from the 
2.1 version), and post what it returned.<br><br>After you have done that, we could perhaps start to help you.<br><br>Cheers,<br><br>Jonathan Dion<br><br><div><span class="gmail_quote">On 7/11/06, <b class="gmail_sendername">
DaneZ</b> &lt;<a href="mailto:danez@danez.no-ip.org" title="mailto:danez@danez.no-ip.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">danez@danez.no-ip.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>


 
 

<div>
Bonjour,<br>
<br>
Je souheterais utilisé la version qui permet le '-x generic',mais je ne
sais pas ou la recuperer car ca devrait solutionner mon probleme (cf
mail ci-dessous)<br><br>DaneZ<br><blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;"><hr><b>From:</b> DaneZ [mailto:<a href="mailto:david.guillotte@danez.no-ip.org" title="mailto:david.guillotte@danez.no-ip.org (mailto:david.guillotte@danez.no-ip.org)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

david.guillotte@danez.no-ip.org</a>]<br><b>To:</b> <a href="mailto:arnaud.quette@mgeups.com" title="mailto:arnaud.quette@mgeups.com (mailto:arnaud.quette@mgeups.com)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
arnaud.quette@mgeups.com
</a><br><b>Sent:</b> Sat, 08 Jul 2006 23:24:06 +0200<br><b>Subject:</b> Fw: INFOSEC 500 XP en USB<br><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;"><hr><b></b>
Bonjour Arnaud,<br>
<br>
Je me permet d'envoyer ce mail car j'ai trouvé votre mail dans les sources de nut.<br>
J'ai acheter recemment un UPS IFOSEC 500 XP&nbsp; USB ,mais pas possible de le faire fonctionné avec nut (ou autre).<br>
<br>
apres avoir essayer tous les drivers je pense que c'est celui la..<br>
<br style="font-style: italic;">
<span style="font-style: italic;">danez-debian:/lib/nut# ./newhidups -DDDD -u root -a myups</span><br style="font-style: italic;">
<span style="font-style: italic;">Network UPS Tools: New USB/HID UPS driver 0.23 (2.0.2)</span><br style="font-style: italic;">
<br style="font-style: italic;">
<span style="font-style: italic;">debug level is '4'</span><br style="font-style: italic;">
<span style="font-style: italic;">Opening new device (0665/5161)</span><br style="font-style: italic;">
<span style="font-style: italic;">Opening new device (0000/0000)</span><br style="font-style: italic;">
<span style="font-style: italic;">found 0 (-1)</span><br style="font-style: italic;">
<span style="font-style: italic;">No USB/HID UPS found</span><br>
<br>
mais ca ne fonctionne pas...<br>
<br>

J'ai essayer sur 3 linux differents (tous de debian soit testing soit stable)<br>


mais celle sur laquelle l'onduleur doit tourné est la testing..<br>


<br>
<span style="font-style: italic;">

danez-debian:/usr/local/ups/bin# uname -a</span><br style="font-style: italic;">
<span style="font-style: italic;">

Linux danez-debian 2.6.15 #1 Tue Jul 4 22:55:24 CEST 2006 i686 GNU/Linux</span><br>
<br>
lsusb donne....<br>
<br>
<span style="font-style: italic;">danez-debian:/lib/nut# lsusb&nbsp; -v</span><br style="font-style: italic;">
<br style="font-style: italic;">
<span style="font-style: italic;">Bus 001 Device 004: ID 0665:5161&nbsp; </span><br style="font-style: italic;">
<span style="font-style: italic;">Device Descriptor:</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bLength&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 18</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bDescriptorType&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bcdUSB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.10</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bDeviceClass&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 (Defined at Interface level)</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bDeviceSubClass&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 </span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bDeviceProtocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 </span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bMaxPacketSize0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; idVendor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x0665 </span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; idProduct&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x5161 </span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bcdDevice&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.02</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; iManufacturer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 Cypress Semiconductor</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; iProduct&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 USB to Serial</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; iSerial&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 </span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bNumConfigurations&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; Configuration Descriptor:</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; bLength&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; bDescriptorType&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; wTotalLength&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 34</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; bNumInterfaces&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; bConfigurationValue&nbsp;&nbsp;&nbsp;&nbsp; 1</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; iConfiguration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3 </span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; bmAttributes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x80</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Bus Powered)</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; MaxPower&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 100mA</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; Interface Descriptor:</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
bLength&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
9</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bDescriptorType&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bInterfaceNumber&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bAlternateSetting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bNumEndpoints&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bInterfaceClass&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3 Human Interface Devices</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bInterfaceSubClass&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 No Subclass</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bInterfaceProtocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 None</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
iInterface&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
4 Sample HID</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HID Device Descriptor:</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
bLength&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
9</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bDescriptorType&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 33</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
bcdHID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1.00</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
bCountryCode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0 Not supported</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bNumDescriptors&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1</span><br style="font-style: italic;">
&nbsp;&nbsp;&nbsp;<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bDescriptorType&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 34 Report</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wDescriptorLength&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 27</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Report Descriptors: </span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ** UNAVAILABLE **</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Endpoint Descriptor:</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
bLength&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
7</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bDescriptorType&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bEndpointAddress&nbsp;&nbsp;&nbsp;&nbsp; 0x81&nbsp; EP 1 IN</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bmAttributes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Transfer
Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Interrupt</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Synch
Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
None</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Usage
Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Data</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wMaxPacketSize&nbsp;&nbsp;&nbsp;&nbsp; 0x0008&nbsp; 1x 8 bytes</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
bInterval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
32</span><br style="font-style: italic;">
<span style="font-style: italic;">Device Status:&nbsp;&nbsp;&nbsp;&nbsp; 0x0000</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; (Bus Powered)</span><br style="font-style: italic;">
<br style="font-style: italic;">
<span style="font-style: italic;">Bus 001 Device 001: ID 0000:0000&nbsp; </span><br style="font-style: italic;">
<span style="font-style: italic;">Device Descriptor:</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bLength&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 18</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bDescriptorType&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bcdUSB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.10</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bDeviceClass&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9 Hub</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bDeviceSubClass&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 Unused</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bDeviceProtocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 </span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bMaxPacketSize0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 64</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; idVendor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x0000 </span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; idProduct&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x0000 </span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bcdDevice&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.06</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; iManufacturer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3 Linux 2.6.15 uhci_hcd</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; iProduct&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 UHCI Host Controller</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; iSerial&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 0000:00:07.2</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bNumConfigurations&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; Configuration Descriptor:</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; bLength&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; bDescriptorType&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; wTotalLength&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 25</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; bNumInterfaces&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; bConfigurationValue&nbsp;&nbsp;&nbsp;&nbsp; 1</span><br>
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; iConfiguration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 </span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; bmAttributes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0xc0</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Self Powered</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; MaxPower&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0mA</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; Interface Descriptor:</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
bLength&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
9</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bDescriptorType&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bInterfaceNumber&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bAlternateSetting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bNumEndpoints&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bInterfaceClass&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9 Hub</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bInterfaceSubClass&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 Unused</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bInterfaceProtocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 </span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iInterface&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 </span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Endpoint Descriptor:</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
bLength&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
7</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bDescriptorType&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bEndpointAddress&nbsp;&nbsp;&nbsp;&nbsp; 0x81&nbsp; EP 1 IN</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bmAttributes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Transfer
Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Interrupt</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Synch
Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
None</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Usage
Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Data</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wMaxPacketSize&nbsp;&nbsp;&nbsp;&nbsp; 0x0002&nbsp; 1x 2 bytes</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bInterval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 255</span><br style="font-style: italic;">
<span style="font-style: italic;">Hub Descriptor:</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bLength&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bDescriptorType&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 41</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; nNbrPorts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; wHubCharacteristic 0x000a</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; No power switching (usb 1.0)</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; Per-port overcurrent protection</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bPwrOn2PwrGood&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 * 2 milli seconds</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; bHubContrCurrent&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 milli Ampere</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; DeviceRemovable&nbsp;&nbsp;&nbsp; 0x00</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; PortPwrCtrlMask&nbsp;&nbsp;&nbsp; 0x00 </span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;Hub Port Status:</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp; Port 1: 0000.0100 power</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp; Port 2: 0000.0303 lowspeed power enable connect</span><br style="font-style: italic;">
<span style="font-style: italic;">Device Status:&nbsp;&nbsp;&nbsp;&nbsp; 0x0001</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; Self Powered</span><br>
<br>
Le port est fonctionnel et est sur cat /dev/usb/hiddev0 .<br>
Car cat /dev/usb/hiddev0 attend juqu'a ce que je debranche l'UPS..<br>
<br>J'ai modifier certaines sources de nut-2.0.4-pre, en enlevant certain check, mais sans succes.<br>
<br>
J'ai trouvé dans un lien ou quelqu'un qui avait sensiblement le meme probleme&nbsp; mais il me faufrait les sources 2.1.0<br>
(extrait du lien <a href="http://lists.alioth.debian.org/pipermail/nut-upsdev/2006-April/000825.html" title="http://lists.alioth.debian.org/pipermail/nut-upsdev/2006-April/000825.html (http://lists.alioth.debian.org/pipermail/nut-upsdev/2006-April/000825.html)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://lists.alioth.debian.org/pipermail/nut-upsdev/2006-April/000825.html</a>)<br>
<pre>&gt;<i> When I try to set &quot;generic&quot; in my ups.conf file for newhidups driver, I got<br></i>&gt;<i> an error message so I decided to use the SVN repository to compile the<br></i>&gt;<i> latest source code 2.1.0
<br>.</i></pre>
<pre>&gt;<i> <br></i>&gt;<i> Now, all is fine and the newhidups driver returns those debug info:</i></pre>
<br>
Votre aide serait la bienvenue,<br>
Merci d'avance.<br>
<br>DaneZ
</blockquote>
</blockquote><br>
<br>
<hr>
This message and any attachments (the &quot;message&quot;) is<br>
intended solely for the addressees and is confidential. <br>
If you receive this message in error, please delete it and <br>
immediately notify the sender. Any use not in accord with <br>
its purpose, any dissemination or disclosure, either whole <br>
or partial, is prohibited except formal approval. The internet<br>
can not guarantee the integrity of this message. <br>
<a href="http://DaneZ.no-ip.org" title="http://DaneZ.no-ip.org (http://DaneZ.no-ip.org)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">DaneZ.no-ip.org</a> (and its subsidiaries) shall (will) not 
<br>
therefore be liable for the message if modified. <br>
                -------------------------<br>
Ce message et toutes les pieces jointes (ci-apres le <br>
&quot;message&quot;) sont etablis a l'intention exclusive de ses <br>
destinataires et sont confidentiels. Si vous recevez ce <br>
message par erreur, merci de le detruire et d'en avertir <br>
immediatement l'expediteur. Toute utilisation de ce <br>
message non conforme a sa destination, toute diffusion <br>
ou toute publication, totale ou partielle, est interdite, sauf <br>
autorisation expresse. L'internet ne permettant pas <br>
d'assurer l'integrite de ce message, <a href="http://DaneZ.no-ip.org" title="http://DaneZ.no-ip.org (http://DaneZ.no-ip.org)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">DaneZ.no-ip.org</a> (et ses
<br>
filiales) decline(nt) toute responsabilite au titre de ce <br>
message, dans l'hypothese ou il aurait ete modifie.
<br>
</div>
</div><br>_______________________________________________<br>Nut-upsdev mailing list<br><a href="mailto:Nut-upsdev@lists.alioth.debian.org" title="mailto:Nut-upsdev@lists.alioth.debian.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Nut-upsdev@lists.alioth.debian.org
</a><br><a href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev" title="http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
</a><br><br><br>
</blockquote></div><br>