[Nut-upsuser] Unable to use nut-2.7.4 with Eaton 5E1500I USB

Manuel Wolfshant wolfy at nobugconsulting.ro
Mon Jun 19 13:55:40 UTC 2017


On 06/19/2017 04:22 PM, Charles Lepple wrote:

> With the exception of libtool (I can never get the hang of libtool), I don't believe any of those packages are needed to compile from a tarball of NUT.
right, 6 hours ago I have disabled the inclusion of automake and 
autoconf in the buildroot. I've built the packages several times since ( 
against libusb 0.1, 1.0.9 and 1.0.19 )

> -x usb_set_altinterface=0
Both 2.7.4 and the version you pointed me to fail identically. I have a 
strong feeling it's high time I cry again and send my tears towards the 
friendly Eaton support team....

[root at belgrade ~]# usbhid-ups -DDDD -u root -x explore -x 
vendorid="0463" -a eaton -x usb_set_altinterface=0
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
    0.000000     debug level is '4'
    0.011576 upsdrv_initups...
    0.011876     Checking device (0463/FFFF) (002/012)
    1.012048     - VendorID: 0463
    1.012071     - ProductID: ffff
    1.012083     - Manufacturer: unknown
    1.012098     - Product: unknown
    1.012125     - Serial Number: unknown
    1.012137     - Bus: 002
    1.012148     - Device release number: 0001
    1.012158     Trying to match device
    1.012207     Device matches
    1.012217     failed to claim USB device: could not claim interface 
0: Device or resource busy
    1.012360     detached kernel driver from USB device...
    1.012377     nut_usb_set_altinterface: calling 
usb_set_altinterface(udev, 0)
    1.012891     nut_usb_set_altinterface: usb_set_altinterface() should 
not be necessary - please email the nut-upsdev list with information 
about your UPS.
    1.013266     Unable to get HID descriptor (error sending control 
message: Broken pipe)
    1.013273     HID descriptor length (method 1) -1
    1.013277     i=0, extra[i]=09, extra[i+1]=21
    1.013283     HID descriptor, method 2: (9 bytes) => 09 21 10 01 21 
01 22 25 02
    1.013287     HID descriptor length (method 2) 549
    1.013290     HID descriptor length 549
    1.013920     Unable to get Report descriptor: Broken pipe



Network UPS Tools - Generic HID driver 0.42 (v2.7.4-418-gb1314c62.7.4.1)
USB communication driver (libusb 0.1) 0.33
    0.000000     [D1] debug level is '4'
    0.011705     [D1] upsdrv_initups...
    0.012015     [D2] Checking device (0463/FFFF) (002/012)
    0.012938     [D2] - VendorID: 0463
    0.013011     [D2] - ProductID: ffff
    0.013021     [D2] - Manufacturer: unknown
    0.013031     [D2] - Product: unknown
    0.013035     [D2] - Serial Number: unknown
    0.013038     [D2] - Bus: 002
    0.013041     [D2] - Device release number: 0001
    0.013045     [D2] Trying to match device
    0.013076     [D2] Device matches
    0.013096     [D2] nut_usb_set_altinterface: calling 
usb_set_altinterface(udev, 0)
    0.013637     nut_usb_set_altinterface: usb_set_altinterface() should 
not be necessary - please email the nut-upsdev list with information 
about your UPS.
    0.013988     [D2] Unable to get HID descriptor (error sending 
control message: Broken pipe)
    0.014006     [D3] HID descriptor length (method 1) -1
    0.014019     [D4] i=0, extra[i]=09, extra[i+1]=21
    0.014035     [D3] HID descriptor, method 2: (9 bytes) => 09 21 10 01 
21 01 22 25 02
    0.014048     [D3] HID descriptor length (method 2) 549
    0.014059     [D2] HID descriptor length 549
    0.014647     [D2] Unable to get Report descriptor: Broken pipe





More information about the Nut-upsuser mailing list