<br><div class="gmail_quote">2009/9/4 Chris Abel <span dir="ltr"><<a href="mailto:cabel@wildwood.edu">cabel@wildwood.edu</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Arnaud Quette <<a href="mailto:aquette.dev@gmail.com">aquette.dev@gmail.com</a>> writes:<br>
</div><div class="im">>ok, before going to deep on this and wasting too much time on<br>
>compilation, I'd like to have:<br>
>- the output of "lsusb -vv -d09ae:0001".<br>
</div>Bus 001 Device 002: ID 09ae:0001 Tripp Lite<br>
Device Descriptor:<br>
bLength 18<br>
bDescriptorType 1<br>
bcdUSB 1.10<br>
bDeviceClass 0 (Defined at Interface level)<br>
bDeviceSubClass 0<br>
bDeviceProtocol 0<br>
bMaxPacketSize0 8<br>
idVendor 0x09ae Tripp Lite<br>
idProduct 0x0001<br>
bcdDevice 0.01<br>
iManufacturer 1 TRIPP LITE<br>
iProduct 2 TRIPP LITE UPS<br>
iSerial 0<br>
bNumConfigurations 1<br>
Configuration Descriptor:<br>
bLength 9<br>
bDescriptorType 2<br>
wTotalLength 34<br>
bNumInterfaces 1<br>
bConfigurationValue 1<br>
iConfiguration 0<br>
bmAttributes 0x80<br>
(Bus Powered)<br>
MaxPower 60mA<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>
bInterfaceSubClass 1 Boot Interface Subclass<br>
bInterfaceProtocol 0 None<br>
iInterface 0<br>
HID Device Descriptor:<br>
bLength 9<br>
bDescriptorType 33<br>
bcdHID 1.00<br>
bCountryCode 0 Not supported<br>
bNumDescriptors 1<br>
bDescriptorType 34 Report<br>
wDescriptorLength 52<br>
Report Descriptors:<br>
** UNAVAILABLE **<br>
Endpoint Descriptor:<br>
bLength 7<br>
bDescriptorType 5<br>
bEndpointAddress 0x81 EP 1 IN<br>
bmAttributes 3<br>
Transfer Type Interrupt<br>
Synch Type None<br>
Usage Type Data<br>
wMaxPacketSize 0x0008 1x 8 bytes<br>
bInterval 10<br>
Device Status: 0x0000<br>
(Bus Powered)<br>
<div class="im">><br>
>- your USB topology (ie is the UPS plugged on a root hub, are there other<br>
>devices on the same bus, ...)<br>
</div>Bus 002 Device 001: ID 0000:0000<br>
Bus 001 Device 005: ID 05ac:0302 Apple Computer, Inc. Apple Optical Mouse<br>
[Fujitsu]<br>
Bus 001 Device 004: ID 05ac:0204 Apple Computer, Inc.<br>
Bus 001 Device 003: ID 05ac:1002 Apple Computer, Inc. Apple Extended<br>
Keyboard Hub [Mitsumi]<br>
Bus 001 Device 002: ID 09ae:0001 Tripp Lite<br>
Bus 001 Device 001: ID 0000:0000<br>
Yes there are other devices on the same bus.<br>
<div class="im">><br>
>- the result of "ls -l /dev/bus/usb/XXX/YYY" where XXX is the Bus number<br>
>and YYY the Device number as shown by lsubs)<br>
</div>crw-rw-r-- 1 root nut 189, 1 2009-09-04 12:50 /dev/bus/usb/001/002<br>
<div class="im">><br>
><br>
>once this part is ok, we'll check again to test 2.4.1 from the source<br>
>tree.<br>
<br>
</div>Hope that helps.<br></blockquote></div><br>ok, now you can recompile 2.4.1 with the flags mentioned before, and do only a make (not install)<br><br>then fire drivers/tripplite_usb -DDDDD -a <upsname defined in /etc/nut/ups.conf><br>
<br clear="all">and send us back the output.<br><br>last question: have you bought this unit recently?<br><br>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&D - Eaton - <a href="http://www.eaton.com/mgeops">http://www.eaton.com/mgeops</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://www.debian.org">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br>
<br>