[Nut-upsuser] Smart1500lcdt will not connect with usbhid-ups

Charles Lepple clepple at gmail.com
Fri Aug 29 22:59:16 UTC 2014


On Aug 29, 2014, at 2:02 PM, Barry Skrypnyk <barry at skrypnyks.com> wrote:

> See comments below.
> 
>> -----Original Message-----
>> From: Charles Lepple [mailto:clepple at gmail.com]
>> Sent: Friday, August 29, 2014 5:35 AM
>> To: barry at skrypnyks.com
>> Cc: nut-upsuser at lists.alioth.debian.org
>> Subject: Re: [Nut-upsuser] Smart1500lcdt will not connect with usbhid-ups
>> 
>> On Aug 28, 2014, at 6:49 PM, Barry Skrypnyk <barry at skrypnyks.com> wrote:
>> 
>>> I have searched the archives and googled this problem with usbhid-ups.
> I
>> would really appreciate any help anyone could offer to solve the problem.
>>> 
>>> System: Ubuntu 14.04.1 Trusty Tahr
>> 
>> Which kernel version are you using?
> 3.13.0-35-generic
> I just updated this late last night.
>> 
>>> Installed nut from Ubuntu repositories - nut 2.7.1
>>> 
>>> Ups.conf file
>>> 
>>> maxretry = 3
>>> 
>>> # user = nut
>>> 
>>> [TrippLite]
>>> 
>>>        driver = usbhid-ups
>>> 
>>>        port = auto
>>> 
>>>        productid = 3016
>>> 
>>>        desc = "Tripp Lite UPS, USB Interface"
>> 
>> Configuration looks good.
>> 
>>> 
>>> Data from the usbhid-ups command
>>> 
>>> <<...>>
>> 
>> This part confuses me:
>> 
>>  68.487087     Checking device (09AE/3016) (004/008)
>>  68.564137     - VendorID: 09ae
>>  68.564168     - ProductID: 3016
>>  68.564174     - Manufacturer: Tripp Lite
>>  68.564220     - Product: TRIPP LITE UPS
>>  68.564225     - Serial Number: 2406CVLSM871900494
>>  68.564231     - Bus: 004
>>  68.564235     Trying to match device
>>  68.564255     Device does not match - skipping
>> 
>> Judging from the time, did the driver connect initially, or is it still
>> trying to
>> reconnect? (I haven't used "maxretry" before.)
> Tries to reconnect forever.  It never initially connected.  Maxretry was in
> the configuration file as a default of the new installation.  I added from
> the user = nut to the end. 
>> 
>>> Data from lsusb command
>>> 
>>> fs00pc:~$ lsusb
>>> Bus 003 Device 002: ID 0bda:0111 Realtek Semiconductor Corp. RTS5111
>>> Card Reader Controller Bus 003 Device 001: ID 1d6b:0002 Linux
>>> Foundation 2.0 root hub Bus 007 Device 001: ID 1d6b:0001 Linux
>>> Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux
>>> Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0002 Linux
>>> Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux
>>> Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux
>>> Foundation 2.0 root hub Bus 004 Device 008: ID 09ae:3016 Tripp Lite
>>> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 009
>>> Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 008 Device
>>> 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> 
>> After the errors from usbhid-ups, does "lsusb -vvv -d 09ae:" return valid
>> information, or do you also get timeouts in syslog as well?
> I included the result of the command and the syslog in the attached gzip
> file.  It looks like it worked but there is also a complaint about not being
> able to open the device properly.

That error is okay - the rest of the descriptors came in.

>  Since I installed the new kernel, I
> re-ran the tests from before.  I still get an error but it is not in an
> infinite loop looking to connect with the Tripp Lite on the usb port as it
> was before.
>> 
>> If lsusb doesn't work, it points to a problem between the UPS firmware and
>> your Linux kernel version. (Well, technically, lsusb could be at fault,
>> but it
>> doesn't change as much as the kernel USB HCI drivers.)
>> 
>> In that case, you may want to check with Tripp Lite; they were kind enough
>> to post results of testing their hardware against NUT and Linux. They
>> should
>> be able to repeat that test with Ubuntu 14.04.
> I will try to contact Tripp Lite support to see if they can be of some help.

One thing you can also try is adding a USB 1.1 or 2.0 hub between the UPS and the PC. If it works, that might rule out any USB 3.0-related xHCI issues.

>> 
>> --
>> Charles Lepple
>> clepple at gmail
>> 
> 
> <usb.txt.gz>

This part also points to a potential kernel/UPS incompatibility:

Aug 29 10:26:46 fs00pc kernel: [ 9558.209427] usbhid: USB HID core driver
Aug 29 10:26:46 fs00pc kernel: [ 9558.268826] usb 4-5: ctrl urb status -62 received
Aug 29 10:26:46 fs00pc kernel: [ 9558.269805] usb 4-5: ctrl urb status -62 received
Aug 29 10:26:46 fs00pc kernel: [ 9558.270828] usb 4-5: ctrl urb status -62 received
Aug 29 10:26:46 fs00pc kernel: [ 9558.298820] usb 4-5: ctrl urb status -62 received
Aug 29 10:26:46 fs00pc kernel: [ 9558.299808] usb 4-5: ctrl urb status -62 received
Aug 29 10:26:46 fs00pc kernel: [ 9558.300835] usb 4-5: ctrl urb status -62 received
Aug 29 10:26:47 fs00pc kernel: [ 9558.608907] usb 4-5: ctrl urb status -62 received
Aug 29 10:26:47 fs00pc kernel: [ 9558.609905] usb 4-5: ctrl urb status -62 received
Aug 29 10:26:47 fs00pc kernel: [ 9558.610914] usb 4-5: ctrl urb status -62 received
Aug 29 10:26:47 fs00pc kernel: [ 9558.611899] usb 4-5: ctrl urb status -62 received
Aug 29 10:26:47 fs00pc kernel: [ 9558.612898] usb 4-5: ctrl urb status -62 received
Aug 29 10:26:47 fs00pc kernel: [ 9558.613898] usb 4-5: ctrl urb status -62 received
Aug 29 10:26:47 fs00pc kernel: [ 9558.614891] usb 4-5: ctrl urb status -62 received
Aug 29 10:26:47 fs00pc kernel: [ 9558.615890] usb 4-5: ctrl urb status -62 received
Aug 29 10:26:47 fs00pc kernel: [ 9558.616882] usb 4-5: ctrl urb status -62 received
Aug 29 10:26:47 fs00pc kernel: [ 9558.618621] hid-generic 0003:09AE:3016.0001: hiddev0,hidraw0: USB HID v1.11 Device [Tripp Lite TRIPP LITE UPS] on usb-0000:00:12.0-5/input0

The kernel is getting timeouts even before NUT has a chance to attach to the device.






More information about the Nut-upsuser mailing list