[Nut-upsuser] Tripp Lite SmartOnline 3U
Greg Terkanian
gregt at crystalcomputer.com
Tue Apr 6 14:13:19 UTC 2010
Greg Terkanian
Sr. Network Administrator
Crystal Computers
Janesville, WI
(608) 757-0710 x209
-----Original Message-----
From: nut-upsuser-bounces+gregt=crystalcomputer.com at lists.alioth.debian.org [mailto:nut-upsuser-bounces+gregt=crystalcomputer.com at lists.alioth.debian.org] On Behalf Of Arjen de Korte
Sent: Tuesday, April 06, 2010 2:17 AM
To: nut-upsuser at lists.alioth.debian.org
Subject: Re: [Nut-upsuser] Tripp Lite SmartOnline 3U
Citeren Greg Terkanian <gregt at crystalcomputer.com>:
> I've compiled the 2.4.3 source with the proper options (through
> trial and error). I get the same initial error.
I told you that before. The device is still not autodetected, but at
least the productid override now works.
> When I run the driver directly with the following command, I get the
> following output:
>
> root at ccc-nms:/usr/src/nut-2.4.3# /lib/nut/usbhid-ups -DDDDD -a test
> -u root -x productid=4005
> Network UPS Tools - Generic HID driver 0.34 (2.4.3)
> USB communication driver 0.31
> 0.000000 send_to_all: SETINFO driver.parameter.vendorid "09ae"
> 0.000069 send_to_all: SETINFO driver.parameter.port "auto"
> 0.000128 send_to_all: SETINFO driver.parameter.productid "4005"
> 0.000169 debug level is '5'
> 0.000676 upsdrv_initups...
> 0.000882 Checking device (09AE/4005) (001/014)
> 0.013161 - VendorID: 09ae
> 0.013208 - ProductID: 4005
> 0.013242 - Manufacturer: unknown
> 0.013275 - Product: unknown
> 0.013308 - Serial Number: unknown
> 0.013341 - Bus: 001
> 0.013373 Trying to match device
> 0.013456 Device matches
> 0.036159 Unable to get HID descriptor (error sending control
> message: Protocol error)
This is bad.
> 0.036210 i=0, extra[i]=09, extra[i+1]=21
> 0.036248 HID descriptor, method 2: (9 bytes) => 09 21 10 01
> 00 01 22 d6 04
> 0.036282 HID descriptor length 1238
> 0.040204 Unable to get Report descriptor: Protocol error
This is really bad.
> 0.040276 Checking device (1D6B/0002) (001/001)
> 0.040339 - VendorID: 1d6b
> 0.040378 - ProductID: 0002
> 0.040412 - Manufacturer: Linux 2.6.28-18-server usb-vhci-driver
> 0.040446 - Product: vhci
> 0.040480 - Serial Number: usb-vhci-driver
> 0.040513 - Bus: 001
> 0.040546 Trying to match device
> 0.040580 Device does not match - skipping
> 0.040616 No appropriate HID device found
> 0.040653 No matching HID UPS found
Could you post the output of
lsusb -vvv
for this device? Either the libusb library fails to break up control
messages in chunks the UPS can handle, or your UPS uses a different
endpoint from what we expect. I'm not sure which one is worse...
Best regards, Arjen
--
Please keep list traffic on the list
_______________________________________________
Nut-upsuser mailing list
Nut-upsuser at lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
As you wish.............
root at ccc-nms:~# lsusb -vvv
Bus 001 Device 014: ID 09ae:4005 Tripp Lite
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x09ae Tripp Lite
idProduct 0x4005
bcdDevice 2.0a
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 1238
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 40
cannot read device status, Protocol error (71)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 2.06
iManufacturer 3 Linux 2.6.28-18-server usb-vhci-driver
iProduct 2 vhci
iSerial 1 usb-vhci-driver
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 15
bDescriptorType 41
nNbrPorts 31
wHubCharacteristic 0x0001
Per-port power switching
Ganged overcurrent protection
bPwrOn2PwrGood 0 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00 0x00 0x00
PortPwrCtrlMask 0x00 0xff 0xff
Hub Port Status:
Port 1: 0000.0103 power enable connect
Port 2: 0000.0100 power
Port 3: 0000.0100 power
Port 4: 0000.0100 power
Port 5: 0000.0100 power
Port 6: 0000.0100 power
Port 7: 0000.0100 power
Port 8: 0000.0100 power
Port 9: 0000.0100 power
Port 10: 0000.0100 power
Port 11: 0000.0100 power
Port 12: 0000.0100 power
Port 13: 0000.0100 power
Port 14: 0000.0100 power
Port 15: 0000.0100 power
Port 16: 0000.0100 power
Port 17: 0000.0100 power
Port 18: 0000.0100 power
Port 19: 0000.0100 power
Port 20: 0000.0100 power
Port 21: 0000.0100 power
Port 22: 0000.0100 power
Port 23: 0000.0100 power
Port 24: 0000.0100 power
Port 25: 0000.0100 power
Port 26: 0000.0100 power
Port 27: 0000.0100 power
Port 28: 0000.0100 power
Port 29: 0000.0100 power
Port 30: 0000.0100 power
Port 31: 0000.0100 power
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled
More information about the Nut-upsuser
mailing list