<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Charles,<br><br>Running usbhid-ups -DDD -a SMART1000LCD seems<br>to go into an infinite loop unless the driver is supposed to <br>send requests to the ups continuously. The values returned<br>from the USB report requests seem to be valid though, for example,<br>Report ID 0x32 (UPS.PowerSummary.PresentStatus) has<br>correct value based on present state.<br>Based on the error message when later&nbsp; starting upsd<br>(Can't connect to UPS [SMART1000LCD] (usbhid-ups-SMART1000LCD): No such file or directory) has the driver not reached the point where it creates<br>those files ?&nbsp;  <br><br>The beginning of the usbhid-ups output is:<br><br>debug level is '3'<br>upsdrv_initups...<br>Checking device (09AE/2007) (004/101)<br>- VendorID: 09ae<br>- ProductID: 2007<br>- Manufacturer: Tripp Lite <br>- Product: TRIPP LITE UPS <br>- Serial Number: FW-2263 E <br>- Bus: 004<br>Trying to match device <br>Device matches<br>failed to claim USB device, trying 2 more time(s)...<br>detaching kernel driver from USB device...<br>trying again to claim USB device...<br>HID descriptor, method 1: (9 bytes) =&gt; 09 21 10 01 00 01 22 bf 01<br>HID descriptor, method 2: (9 bytes) =&gt; 09 21 10 01 00 01 22 59 02<br>Warning: two different HID descriptors retrieved (Reportlen = 447 vs. 601)<br>HID descriptor length 601 <br>Report Descriptor size = 601<br>Report Descriptor: (601 bytes) =&gt; 05 84 09 04 a1 01 09 24 a1 02 05 84 85 28<br>09 fe 75 08 95 01 26 ff 00 15 00 b1 03 85 29 09 ff b1 03 85 2b 09 fd b1 03<br>09 1a a1 02 09 40 85 30 b1 83 c0 85 11 09 5a b1 82 05 85 85 2a 09 89 b1 03<br>85 33 09 2c b1 03 27 ff ff 00 00 75 10 85 35 09 68 81 a2 85 35 09 68 b1 a2<br>25 64 75 08 85 34 09 66 81 a2 85 34 09 66 b1 a2 85 37 09 67 b1 03 05 84 09<br>02 a1 02 25 01 75 01 85 32 05 84 95 01 09 69 81 a2 09 d0 81 a2 95 03 09 44<br>09 45 09 4b 81 a2 95 03 81 01 85 32 05 84 75 01 95 01 09 69 b1 a2 05 85 09<br>d0 b1 a2 95 03 09 44 09 45 09 4b b1 a2 95 03 b1 01 c0 c0 05 84 09 10 a1 02<br>09 12 a1 02 85 04 09 40 75 10 95 01 27 ff ff 00 00 b1 02 05 84 09 02 a1 02<br>85 23 05 85 75 01 25 01 95 03 09 44 09 45 09 4b b1 82 95 05 b1 01 c0 c0 05<br>84 95 01 75 08 26 ff 00 09 58 85 10 b1 82 c0 05 84 09 1e a1 02 85 01 09 40<br>b1 03 85 02 09 42 b1 03 05 84 85 03 09 43 75 10 95 01 27 ff ff 00 00 b1 03<br>c0 05 84 95 01 75 08 26 ff 00 09 18 a1 02 09 20 a1 02 95 01 75 10 27 ff ff<br>00 00 85 15 09 57 b1 82 75 08 26 ff 00 06 ff ff 85 51 09 91 b1 82 85 52 09<br>92 b1 82 85 b6 09 c7 b1 82 c0 c0 06 ff ff 09 10 a1 81 75 10 95 01 27 ff ff<br>00 00 85 6c 09 7d b1 03 c0 06 ff ff 09 15 a1 81 75 08 95 01 26 ff 00 85 96<br>09 c0 b1 02 75 20 85 b4 09 d2 b1 02 75 10 85 97 09 c1 b1 02 75 08 85 98 09<br>c2 b1 02 75 10 85 99 09 c3 b1 02 85 9b 09 c5 b1 02 75 20 85 c2 09 d6 b1 02<br>85 9a 09 c4 b1 02 c0 05 84 09 24 a1 02 85 31 09 30 95 01 75 10 27 ff ff 00<br>00 15 00 b1 03 c0 09 10 a1 02 09 12 a1 02 85 20 09 30 b1 02 c0 c0 09 16 a1<br>02 09 1a a1 02 85 18 55 0f 09 30 b1 82 85 19 09 32 b1 82 c0 55 00 85 22 09<br>02 a1 02 75 01 95 03 25 01 05 84 09 63 09 6f 09 6e b1 82 95 01 b1 03 09 65<br>b1 82 09 6d 95 01 b1 03 09 67 09 62 95 02 b1 82 95 06 b1 03 95 01 09 72 b1 <br>82 95 01 b1 03 c0 c0 05 84 09 18 a1 02 09 20 a1 02 75 10 95 01 15 00 27 ff<br>ff 00 00 85 17 09 55 b1 82 c0 c0 c0<br>Using subdriver: TrippLite HID 0.2 (experimental)<br>Report[get]: (2 bytes) =&gt; 28 01<br>Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x28, Offset: 0, Size: 8, Value: 1.000000<br>Report[get]: (2 bytes) =&gt; 29 02<br>Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x29, Offset: 0, Size: 8, Value: 2.000000<br>Report[get]: (2 bytes) =&gt; 2b 03<br>Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x2b, Offset: 0, Size: 8, Value: 3.000000<br>Report[get]: (2 bytes) =&gt; 30 78<br>Path: UPS.PowerSummary.Input.ConfigVoltage, Type: Feature, ReportID: 0x30, Offset: 0, Size: 8, Value: 120.000000 <br>Report[get]: (2 bytes) =&gt; 11 02<br>Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 2.000000<br>Report[get]: (2 bytes) =&gt; 2a 18<br>Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x2a, Offset: 0, Size: 8, Value: 24.000000<br>Report[get]: (2 bytes) =&gt; 33 02<br>Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x33, Offset: 0, Size: 8, Value: 2.000000<br>Report[get]: (3 bytes) =&gt; 35 73 05<br>Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x35, Offset: 0, Size: 16, Value: 1395.000000<br>Report[buf]: (3 bytes) =&gt; 35 73 05<br>Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x35, Offset: 0, Size: 16, Value: 1395.000000<br>Report[get]: (2 bytes) =&gt; 34 64<br>Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 0, Size: 8, Value: 100.000000<br>Report[buf]: (2 bytes) =&gt; 34 64<br>Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x34, Offset: 0, Size: 8, Value: 100.000000<br>Report[get]: (2 bytes) =&gt; 37 64<br>Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x37, Offset: 0, Size: 8, Value: 100.000000<br>Report[get]: (2 bytes) =&gt; 32 06<br>Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x32, Offset: 0, Size: 1, Value: 0.000000<br>Report[buf]: (2 bytes) =&gt; 32 06<br>Path: UPS.PowerSummary.PresentStatus.TLACPresent, Type: Input, ReportID: 0x32, Offset: 1, Size: 1, Value: 1.000000<br>:<br>:<br><br>Thanks,<br><br>/Karl D<br><br><br>&gt; Date: Sun, 27 Jan 2008 00:28:39 -0500<br>&gt; From: clepple@gmail.com<br>&gt; To: k_dal2@hotmail.com<br>&gt; Subject: Re: [Nut-upsuser] Tripp lite SMART1000LCD<br>&gt; CC: nut-upsuser@lists.alioth.debian.org<br>&gt; <br>&gt; On Jan 26, 2008 11:55 PM, Karl Dalen &lt;k_dal2@hotmail.com&gt; wrote:<br>&gt; &gt;<br>&gt; &gt;  Charles,<br>&gt; &gt;<br>&gt; &gt; I know the port should work as I have used it for other devices<br>&gt; &gt; so I reconnected the ups and used a usb hub in between and<br>&gt; &gt; I got it recognized in the kernel but the nut driver did not seem<br>&gt; &gt; to attach properly:<br>&gt; &gt;<br>&gt; &gt; # dmesg:<br>&gt; &gt; :<br>&gt; &gt; usb 4-2.1: new low speed USB device using ehci_hcd and address 100<br>&gt; &gt; usb 4-2.1: configuration #1 chosen from 1 choice<br>&gt; &gt; hiddev0: USB HID v1.10 Device [Tripp Lite  TRIPP LITE UPS ] on<br>&gt; &gt; usb-0000:00:10.3-2.1<br>&gt; <br>&gt; OK, good.<br>&gt; <br>&gt; &gt; I followed the instructions in the INSTALL file but I may have missed<br>&gt; &gt; something:<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; # /usr/local/ups/bin/upsdrvctl start<br>&gt; &gt; Network UPS Tools - UPS driver controller 2.2.1<br>&gt; &gt; Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.2.1)<br>&gt; &gt;<br>&gt; &gt; Using subdriver: TrippLite HID 0.2 (experimental)<br>&gt; &gt; Startup timer elapsed, continuing...<br>&gt; &gt; ===================================================<br>&gt; &gt; Is this an error ? Shouldn't the driver usbhid-ups be referenced here<br>&gt; &gt; when my conf file is:<br>&gt; <br>&gt; That is the output of usbhid-ups (starting from the line after "UPS<br>&gt; driver controller).<br>&gt; <br>&gt; I am not familiar with the "startup timer elapsed" message, though.<br>&gt; Anyone else know what this is about?<br>&gt; <br>&gt; For testing, instead of upsdrvctl, you may need to start the driver by<br>&gt; hand, and pass in "-DDD" to see what is going on:<br>&gt; <br>&gt; /usr/local/ups/bin/usbhid-ups -DDD -a SMART1000LCD<br>&gt; <br>&gt; -- <br>&gt; - Charles Lepple<br><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>