<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10px"><div id="yui_3_16_0_1_1439916948173_7591" dir="ltr"><span id="yui_3_16_0_1_1439916948173_7579">Here are all the usbconfig outputs you have requested.</span></div><div dir="ltr"><span></span><br></div><div dir="ltr"><span>I have left a message with the Dev for NAS4Free to give up the ./configure for NUT portion.  I am hoping they will...</span></div><div dir="ltr"><span></span><br></div><div dir="ltr"><span></span><br></div><div dir="ltr"><span>usbconfig -u 0 -a 5 dump_device_desc </span></div><div id="yui_3_16_0_1_1439916948173_7590"><span></span><br></div><div id="yui_3_16_0_1_1439916948173_7589"><span id="yui_3_16_0_1_1439916948173_7588">datanas: ~# usbconfig -u 0 -a 5 dump_device_desc<br id="yui_3_16_0_1_1439916948173_7562">ugen0.5: <TRIPP LITE UPS Tripp Lite> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA)</span></div><div id="yui_3_16_0_1_1439916948173_7602" dir="ltr"><span id="yui_3_16_0_1_1439916948173_7564">  bLength = 0x0012<br id="yui_3_16_0_1_1439916948173_7565">  bDescriptorType = 0x0001<br id="yui_3_16_0_1_1439916948173_7566">  bcdUSB = 0x0110<br id="yui_3_16_0_1_1439916948173_7567">  bDeviceClass = 0x0000  <Probed by interface class><br id="yui_3_16_0_1_1439916948173_7568">  bDeviceSubClass = 0x0000<br id="yui_3_16_0_1_1439916948173_7569">  bDeviceProtocol = 0x0000<br id="yui_3_16_0_1_1439916948173_7570">  bMaxPacketSize0 = 0x0008<br id="yui_3_16_0_1_1439916948173_7571">  idVendor = 0x09ae<br id="yui_3_16_0_1_1439916948173_7572">  idProduct = 0x3016<br id="yui_3_16_0_1_1439916948173_7573">  bcdDevice = 0x0002<br id="yui_3_16_0_1_1439916948173_7574">  iManufacturer = 0x0003  <retrieving string failed><br id="yui_3_16_0_1_1439916948173_7575">  iProduct = 0x0001  <TRIPP LITE UPS><br id="yui_3_16_0_1_1439916948173_7576">  iSerialNumber = 0x0005  <retrieving string failed><br id="yui_3_16_0_1_1439916948173_7577">  bNumConfigurations = 0x0001</span></div><div id="yui_3_16_0_1_1439916948173_7601"><br></div><div id="yui_3_16_0_1_1439916948173_7872"><br></div><div id="yui_3_16_0_1_1439916948173_7867" dir="ltr">usbconfig -u 0 -a 5 dump_curr_config_desc</div><div dir="ltr"><br></div><div id="yui_3_16_0_1_1439916948173_9587" dir="ltr"> datanas: ~# usbconfig -u 0 -a 5 dump_curr_config_desc<br id="yui_3_16_0_1_1439916948173_8201">ugen0.5: <TRIPP LITE UPS Tripp Lite> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA)</div><div id="yui_3_16_0_1_1439916948173_8202" dir="ltr"><br id="yui_3_16_0_1_1439916948173_8203"> Configuration index 0</div><div id="yui_3_16_0_1_1439916948173_8204" dir="ltr">    bLength = 0x0009<br id="yui_3_16_0_1_1439916948173_8205">    bDescriptorType = 0x0002<br id="yui_3_16_0_1_1439916948173_8206">    wTotalLength = 0x0022<br id="yui_3_16_0_1_1439916948173_8207">    bNumInterfaces = 0x0001<br id="yui_3_16_0_1_1439916948173_8208">    bConfigurationValue = 0x0001<br id="yui_3_16_0_1_1439916948173_8209">    iConfiguration = 0x0000  <no string><br id="yui_3_16_0_1_1439916948173_8210">    bmAttributes = 0x00a0<br id="yui_3_16_0_1_1439916948173_8211">    bMaxPower = 0x0032</div><div id="yui_3_16_0_1_1439916948173_8212" dir="ltr">    Interface 0<br id="yui_3_16_0_1_1439916948173_8213">      bLength = 0x0009<br id="yui_3_16_0_1_1439916948173_8214">      bDescriptorType = 0x0004<br id="yui_3_16_0_1_1439916948173_8215">      bInterfaceNumber = 0x0000<br id="yui_3_16_0_1_1439916948173_8216">      bAlternateSetting = 0x0000<br id="yui_3_16_0_1_1439916948173_8217">      bNumEndpoints = 0x0001<br id="yui_3_16_0_1_1439916948173_8218">      bInterfaceClass = 0x0003  <HID device><br id="yui_3_16_0_1_1439916948173_8219">      bInterfaceSubClass = 0x0000<br id="yui_3_16_0_1_1439916948173_8220">      bInterfaceProtocol = 0x0000<br id="yui_3_16_0_1_1439916948173_8221">      iInterface = 0x0000  <no string></div><div id="yui_3_16_0_1_1439916948173_8222" dir="ltr">      Additional Descriptor</div><div id="yui_3_16_0_1_1439916948173_8223" dir="ltr">      bLength = 0x09<br id="yui_3_16_0_1_1439916948173_8224">      bDescriptorType = 0x21<br id="yui_3_16_0_1_1439916948173_8225">      bDescriptorSubType = 0x11<br id="yui_3_16_0_1_1439916948173_8226">       RAW dump:<br id="yui_3_16_0_1_1439916948173_8227">       0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x6e,<br id="yui_3_16_0_1_1439916948173_8228">       0x08 | 0x03</div><div id="yui_3_16_0_1_1439916948173_8239" dir="ltr">     Endpoint 0<br id="yui_3_16_0_1_1439916948173_8230">        bLength = 0x0007<br id="yui_3_16_0_1_1439916948173_8231">        bDescriptorType = 0x0005<br id="yui_3_16_0_1_1439916948173_8232">        bEndpointAddress = 0x0081  <IN><br id="yui_3_16_0_1_1439916948173_8233">        bmAttributes = 0x0003  <INTERRUPT><br id="yui_3_16_0_1_1439916948173_8234">        wMaxPacketSize = 0x0008<br id="yui_3_16_0_1_1439916948173_8235">        bInterval = 0x000c<br id="yui_3_16_0_1_1439916948173_8236">        bRefresh = 0x0000<br id="yui_3_16_0_1_1439916948173_8237">        bSynchAddress = 0x0000</div><div id="yui_3_16_0_1_1439916948173_8583" dir="ltr"><br></div><div id="yui_3_16_0_1_1439916948173_8584" dir="ltr"><br></div><div id="yui_3_16_0_1_1439916948173_8585" dir="ltr">usbconfig -u 0 -a 5 do_request 0x81 0x06 0x2200 0 0x100</div><div id="yui_3_16_0_1_1439916948173_8600" dir="ltr"><br></div><div id="yui_3_16_0_1_1439916948173_8601" dir="ltr"><br></div><div id="yui_3_16_0_1_1439916948173_8602" dir="ltr"><br></div><span id="yui_3_16_0_1_1439916948173_7866"><div id="yui_3_16_0_1_1439916948173_8606" dir="ltr"> datanas: ~# usbconfig -u 0 -a 5 do_request 0x81 0x06 0x2200 0 0x100<br id="yui_3_16_0_1_1439916948173_8604">REQUEST = <0x05 0x84 0x09 0x04 0xa1 0x01 0x09 0x24 0xa1 0x00 0x85 0x28 0x09 0xfe 0x79 0x01 0x75 0x08 0x95 0x01 0x15 0x00 0x26 0xff 0x00 0xb1 0x03 0x85 0x29 0x09 0xff 0x79 0x05 0xb1 0x03 0x85 0x2b 0x09 0xfd 0x79 0x03 0xb1 0x03 0x09 0x1a 0xa1 0x02 0x85 0x30 0x09 0x40 0x67 0x21 0xd1 0xf0 0x00 0x55 0x07 0xb1 0x83 0x85 0x31 0x09 0x30 0x75 0x10 0x95 0x01 0x15 0x00 0x27 0xff 0xff 0x00 0x00 0x67 0x21 0xd1 0xf0 0x00 0x55 0x01 0xb1 0x02 0xc0 0x85 0x11 0x09 0x5a 0x75 0x08 0x95 0x01 0x15 0x01 0x25 0x03 0x65 0x00 0x55 0x00 0xb1 0x82 0x09 0x02 0xa1 0x02 0x85 0x32 0x75 0x01 0x95 0x07 0x15 0x00 0x25 0x01 0x81 0x03 0xb1 0x03 0x09 0x62 0x95 0x01 0xb1 0xa2 0x09 0x62 0x81 0xa2 0xb1 0x01 0x81 0x01 0x09 0x69 0xb1 0xa2 0x09 0x69 0x81 0xa2 0x95 0x06 0xb1 0x01 0x81 0x01 0x05 0x85 0x09 0xd0 0x95 0x01 0x81 0xa2 0x09 0xd0 0xb1 0xa2 0x81 0x01 0xb1 0x01 0x95 0x06 0x09 0x42 0x09 0x46 0x09 0x44 0x09 0x45 0x09 0x47 0x09 0x4b 0x81 0xa2 0x09 0x42 0x09 0x46 0x09 0x44 0x09 0x45 0x09 0x47 0x09 0x4b 0xb1 0xa2 0xc0 0x85 0x2a 0x09 0x89 0x79 0x07 0x75 0x08 0x95 0x01 0x15 0x00 0x26 0xff 0x00 0xb1 0x03 0x85 0x62 0x09 0x8f 0x79 0x08 0xb1 0x03 0x85 0x33 0x09 0x2c 0xb1 0x03 0x85 0x34 0x09 0x66 0x81 0xa2 0x09 0x66 0xb1 0xa2 0x85 0x3a 0x09 0x29 0xb1 0xa2 0x85 0x37 0x09 0x67 0xb1 0x03 0x85 0x36 0x09 0x83 0xb1 0x03 0x85><$(yu&)y+y0@g!U10u'g!UZu%eU2u%bbiiBFDEGKBFDEGK*yu&by3,4ff:)7g6></div><div id="yui_3_16_0_1_1439916948173_8607" dir="ltr"><br></div><div id="yui_3_16_0_1_1439916948173_8608" dir="ltr"><br id="yui_3_16_0_1_1439916948173_8605"></div><div id="yui_3_16_0_1_1439916948173_8609" dir="ltr"><br></div><div id="yui_3_16_0_1_1439916948173_8610" dir="ltr"><br></div><div id="yui_3_16_0_1_1439916948173_8611" dir="ltr"><br></div><div id="yui_3_16_0_1_1439916948173_8612" dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div id="yui_3_16_0_1_1439916948173_8259" dir="ltr"><br></div><div id="yui_3_16_0_1_1439916948173_8254" dir="ltr"><br></div><div id="yui_3_16_0_1_1439916948173_8252" dir="ltr"><br id="yui_3_16_0_1_1439916948173_7578"></div></span>  <br><div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font face="Arial" size="2"> On Tuesday, August 18, 2015 5:44 AM, Charles Lepple <clepple@gmail.com> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container">On Aug 17, 2015, at 11:56 AM, Johnny Wong <<a href="mailto:e430benz98@yahoo.com" shape="rect" ymailto="mailto:e430benz98@yahoo.com">e430benz98@yahoo.com</a>> wrote:<br clear="none">> <br clear="none">> > What does that revision number correspond to in FreeBSD release numbers? (e.g. 9.3, 10.0)<br clear="none">> <br clear="none">> FreeBSD 10.2-RELEASE #0 r286738M<br clear="none"><br clear="none">Okay, thanks. I think this is the first report of FreeBSD 10.2, so hopefully it is not an issue inherent in the OS. I will see if I can upgrade one of my machines to test with another UPS brand.<br clear="none"><br clear="none">> the last person probably wasn't able to give the ./configure probably because most people uses the precompiled iso to install NAS4Free.  if you need the ./configure I might have to look for their source on GitHub or something.<br clear="none"><br clear="none">True, most people won't need to know the ./configure parameters. It looks like you found the driver path and the UPS name, so we're set for now. However, if you run across that part of the source code, it might be useful for later in case we need to rebuild a driver.<br clear="none"><br clear="none">> <br clear="none">> /usr/local/libexec/nut/usbhid-ups -a upstl1300 -DDD<br clear="none">> Network UPS Tools - Generic HID driver 0.39 (2.7.3)<br clear="none">> USB communication driver 0.32<br clear="none">>    0.000000     debug level is '3'<br clear="none">>    0.006296     upsdrv_initups...<br clear="none">[...]<br clear="none">>   0.013551     Checking device (09AE/3016) (/dev/usb//dev/ugen0.5)<br clear="none">>    0.278818     - VendorID: 09ae<br clear="none">>    0.278835     - ProductID: 3016<br clear="none">>    0.278843     - Manufacturer: unknown<br clear="none">>    0.278852     - Product: unknown<br clear="none">>    0.278859     - Serial Number: unknown<br clear="none">>    0.278867     - Bus: /dev/usb<br clear="none">>    0.278876     Trying to match device<br clear="none">>    0.278925     Device matches<br clear="none">>    0.278937     nut_usb_set_altinterface: skipped usb_set_altinterface(udev, 0)<br clear="none"><br clear="none">Just for grins, can you try adding "usb_set_altinterface" to the ups.conf section for your UPS, and see if that changes this part of the log? (That is, after "[upstl1300]").<br clear="none"><br clear="none">>    0.306126     HID descriptor, method 1: (9 bytes) => 09 21 11 01 00 01 22 6e 03<br clear="none">>    0.306148     HID descriptor, method 2: (9 bytes) => 09 21 11 01 00 01 22 6e 03<br clear="none">>    0.306156     HID descriptor length 878<br clear="none">>    5.279939     Unable to get Report descriptor: Input/output error<br clear="none"><br clear="none">My other concern is that FreeBSD might not allow the method that we use to retrieve the Report Descriptor.<br clear="none"><br clear="none">What do the following commands return (need to run them as root)?<br clear="none"><br clear="none">usbconfig -u 0 -a 5 dump_device_desc<br clear="none">usbconfig -u 0 -a 5 dump_curr_config_desc<br clear="none">usbconfig -u 0 -a 5 do_request 0x81 0x06 0x2200 0 0x100<br clear="none"><br clear="none">(I'm guessing on "-u 0 -a 5" based on .../dev/ugen0.5 -- that might change if the UPS USB cable is unplugged and re-inserted.)<br clear="none"><br clear="none">> cat /var/etc/ups.conf<br clear="none">> [upstl1300]<br clear="none">>         driver = usbhid-ups<br clear="none">>         port = auto<br clear="none">>         pollfreq = 30<br clear="none">>         productid = 3016<br clear="none">> <br clear="none">> Let me know what other information is required, I'll try my best to obtain it.<br clear="none"><br clear="none">Thanks for sending ups.conf. That's all I can think of for now.<div class="yqt2059688165" id="yqtfd70489"><br clear="none"><br clear="none">-- <br clear="none">Charles Lepple<br clear="none"><a href="mailto:clepple@gmail" shape="rect" ymailto="mailto:clepple@gmail">clepple@gmail</a><br clear="none"><br clear="none"><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>