[Nut-upsuser] Need help with Tripp Lite SMART1300LCDT NUT v2.7.3

Johnny Wong e430benz98 at yahoo.com
Mon Aug 17 15:56:41 UTC 2015


> What does that revision number correspond to in FreeBSD release numbers? (e.g. 9.3, 10.0)
FreeBSD 10.2-RELEASE #0 r286738M
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.


/usr/local/libexec/nut/usbhid-ups -a upstl1300 -DDD
Network UPS Tools - Generic HID driver 0.39 (2.7.3)
USB communication driver 0.32
   0.000000     debug level is '3'
   0.006296     upsdrv_initups...
   0.007180     Checking device (0781/5583) (/dev/usb//dev/ugen0.6)
   0.013441     - VendorID: 0781
   0.013456     - ProductID: 5583
   0.013464     - Manufacturer: SanDisk
   0.013472     - Product: Ultra Fit
   0.013480     - Serial Number: 4C530123150905117592
   0.013487     - Bus: /dev/usb
   0.013495     Trying to match device
   0.013518     Device does not match - skipping
   0.013551     Checking device (09AE/3016) (/dev/usb//dev/ugen0.5)
   0.278818     - VendorID: 09ae
   0.278835     - ProductID: 3016
   0.278843     - Manufacturer: unknown
   0.278852     - Product: unknown
   0.278859     - Serial Number: unknown
   0.278867     - Bus: /dev/usb
   0.278876     Trying to match device
   0.278925     Device matches
   0.278937     nut_usb_set_altinterface: skipped usb_set_altinterface(udev, 0)
   0.306126     HID descriptor, method 1: (9 bytes) => 09 21 11 01 00 01 22 6e 03
   0.306148     HID descriptor, method 2: (9 bytes) => 09 21 11 01 00 01 22 6e 03
   0.306156     HID descriptor length 878
   5.279939     Unable to get Report descriptor: Input/output error
   5.279997     Checking device (046D/C509) (/dev/usb//dev/ugen0.4)
   5.287000     - VendorID: 046d
   5.287013     - ProductID: c509
   5.287020     - Manufacturer: Logitech
   5.287026     - Product: USB Receiver
   5.287032     - Serial Number: unknown
   5.287038     - Bus: /dev/usb
   5.287047     Trying to match device
   5.287060     Device does not match - skipping
   5.287086     Checking device (0557/2419) (/dev/usb//dev/ugen0.3)
   5.287156     - VendorID: 0557
   5.287167     - ProductID: 2419
   5.287174     - Manufacturer: unknown
   5.287180     - Product: unknown
   5.287185     - Serial Number: unknown
   5.287191     - Bus: /dev/usb
   5.287197     Trying to match device
   5.287206     Device does not match - skipping
   5.287227     Checking device (0000/0001) (/dev/usb//dev/ugen0.2)
   5.287285     - VendorID: 0000
   5.287295     - ProductID: 0001
   5.287302     - Manufacturer: unknown
   5.287308     - Product: unknown
   5.287314     - Serial Number: unknown
   5.287320     - Bus: /dev/usb
   5.287326     Trying to match device
   5.287334     Device does not match - skipping
   5.287353     Checking device (0000/0000) (/dev/usb//dev/ugen0.1)
   5.287427     - VendorID: 0000
   5.287436     - ProductID: 0000
   5.287443     - Manufacturer: 0x8086
   5.287448     - Product: XHCI root HUB
   5.287454     - Serial Number: unknown
   5.287460     - Bus: /dev/usb
   5.287466     Trying to match device
   5.287474     Device does not match - skipping
   5.287508     No appropriate HID device found
   5.287519     No matching HID UPS found


Here is the ups.conf if needed
cat /var/etc/ups.conf
[upstl1300]
        driver = usbhid-ups
        port = auto
        pollfreq = 30
        productid = 3016

Let me know what other information is required, I'll try my best to obtain it.
Regards,
Johnny Wong




     On Monday, August 17, 2015 5:27 AM, Charles Lepple <clepple at gmail.com> wrote:
   

 On Aug 17, 2015, at 1:00 AM, Johnny Wong <e430benz98 at yahoo.com> wrote:
> 
> OS = NAS4Free (FreeBSD Revision: 199506)

What does that revision number correspond to in FreeBSD release numbers? (e.g. 9.3, 10.0)

> NUT Version = 2.7.3 for other parts of NUT version is listed below
> NUT is part of the NAS4Free distribution
> Device = Tripp Lite SMART1300LCDT URL http://www.tripplite.com/line-interactive-ups-system-desktop-tower-1300va-120v-usb-port-lcd-screen~SMART1300LCDT/
>  
> PROBLEM:  NUT is ABLE to see the UPS BUT it is not getting the right(?) descriptor?  I am using the usbhid-ups driver set.  I have tried others, tripplite, tripplite_usb, and blazer_usb and none works.  This is the closest I can see it being “working”
 
For that USB ID (09AE/3016), usbhid-ups is the correct driver.

> According to http://www.networkupstools.org/ddl/Tripp_Lite/SMART1300LCDT.html.  It was “verified” working with NUT version 2.6.4  

In a message on nut-upsdev, Marco Walther just cited this thread: http://thread.gmane.org/gmane.comp.monitoring.nut.devel/6482 which mentions that the UPS works on Debian Linux 7.1. Marco's patch is against NUT 2.7.3, and it just corrects some scaling of the variables, so it would have gotten well past the problem you mentioned. It sounds like this might be an issue with the FreeBSD USB stack.

I am not familiar with NAS4Free, but what do you get when you start the driver in debug mode? You will need to get to a root shell, then run something like "/usr/local/libexec/nut/usbhid-ups -a upsname -DDD" (replacing "upsname" with the name in ups.conf). Apologies in advance if you need to go hunting for the exact path of the driver or ups.conf: the last person to have an issue with NAS4Free did not get back to the NUT lists with the ./configure settings that NAS4Free uses to compile NUT.

[please use reply-all]

-- 
Charles Lepple
clepple at gmail




  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20150817/86d32ba1/attachment-0001.html>


More information about the Nut-upsuser mailing list