Charles,<div><br></div><div>I“ve install Debian Squeeze and NUT 2.6.0 from sources, and compiled with usb option.</div><div>Linux kernel 2.6.32</div><div><br></div><div>#lsusb -v</div><div><br></div><div><div>Bus 003 Device 002: ID 10af:0008 Liebert Corp. PowerSure Interactive UPS</div>
<div>Device Descriptor:</div><div> bLength 18</div><div> bDescriptorType 1</div><div> bcdUSB 1.10</div><div> bDeviceClass 0 (Defined at Interface level)</div><div> bDeviceSubClass 0</div>
</div><div><div>bDeviceProtocol 0</div><div> bMaxPacketSize0 8</div><div> idVendor 0x10af Liebert Corp.</div><div> idProduct 0x0008 PowerSure Interactive UPS</div><div> bcdDevice 0.00</div>
<div> iManufacturer 1</div><div> iProduct 2</div><div> iSerial 3</div><div> bNumConfigurations 1</div><div>OTG Descriptor:</div><div> bLength 3</div><div>
bDescriptorType 9</div><div> bmAttributes 0x00</div><div> Configuration Descriptor:</div><div> bLength 9</div><div> bDescriptorType 2</div><div> wTotalLength 37</div>
<div> bNumInterfaces 1</div><div> bConfigurationValue 1</div><div> iConfiguration 4</div><div> bmAttributes 0x40</div><div> (Missing must-be-set bit!)</div><div> Self Powered</div>
</div><div><div>MaxPower 0mA</div><div> Interface Descriptor:</div><div> bLength 9</div><div> bDescriptorType 4</div><div> bInterfaceNumber 0</div><div> bAlternateSetting 0</div>
<div> bNumEndpoints 1</div><div> bInterfaceClass 3 Human Interface Device</div><div> bInterfaceSubClass 0 No Subclass</div><div> bInterfaceProtocol 0 None</div><div> iInterface 5</div>
<div> HID Device Descriptor:</div><div> bLength 9</div><div> bDescriptorType 33</div><div> bcdHID 1.00</div><div> bCountryCode 0 Not supported</div>
<div> bNumDescriptors 1</div><div> bDescriptorType 34 Report</div><div> wDescriptorLength 260</div><div> Endpoint Descriptor:</div><div> bLength 7</div>
<div> bDescriptorType 5</div><div> bEndpointAddress 0x81 EP 1 IN</div></div><div><div>bmAttributes 3</div><div> Transfer Type Interrupt</div><div> Synch Type None</div>
<div> Usage Type Data</div><div> wMaxPacketSize 0x0008 1x 8 bytes</div><div> bInterval 32</div></div><div><br></div><div><br></div><div>ups.conf</div><div><br></div><div>
<div>[liebert]</div><div>driver=usbhid-ups</div><div>port=/dev/usb/hiddev0</div><div>productid=0008</div></div><div><br></div><div><br></div><div>when i use:</div><div><br></div><div># ./usbhid-ups -a liebert -uroot -DDDD</div>
<div><br></div><div><div> 0.173287 Checking device (10AF/0008) (002/004)</div><div> 0.176911 - VendorID: 10af</div><div> 0.176931 - ProductID: 0008</div><div> 0.176942 - Manufacturer: unknown</div><div>
0.176952 - Product: unknown</div><div> 0.176962 - Serial Number: unknown</div><div> 0.176973 - Bus: 002</div><div> 0.176983 Trying to match device</div><div> 0.177054 Device matches</div><div>
0.178799 Unable to get HID descriptor (error sending control message: Protocol error)</div><div> 0.178818 i=0, extra[i]=09, extra[i+1]=21</div><div> 0.178835 HID descriptor, method 2: (9 bytes) => 09 21 00 01 00 01 22 04 01</div>
<div> 0.178847 HID descriptor length 260</div><div> 0.179805 Unable to get Report descriptor: Protocol error</div></div><div><br></div><div>The device matches but is unable to get HID descriptor.</div><div><br>
</div><div>Any idea?</div><div><br></div><div>Thanks for the answer Charles.</div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">2011/5/30 Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On May 30, 2011, at 4:28 PM, Juan Pablo Valles wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I“ve a UPS Liebert GXT3 500-3000VA with USB port.<br>
I“ve install NUT version 2.2.2 from repository packages for Debian Lenny.<br>
</blockquote>
<br></div>
It is possible that the version of NUT from Squeeze (2.4.3) could work with this UPS, but nobody has reported any results from testing this model yet. You might be able to just install the .deb from Squeeze on top of Lenny, but no guarantees there (be sure you have backups).<br>
<br>
You would need to add "productid = 0008" to ups.conf, since the driver was only tested with older Liebert equipment.</blockquote></div><br></div>