19.12.2014 05:40, Charles Lepple ?????:> /usr/local/libexec/nut/usbhid-ups -DD -a eaton9sx -x explore 2>&1 |
tee /tmp/eaton9sx-explore.log
After run, output:
0.000000 debug level is '2'
0.000665 upsdrv_initups...
0.000675 must specify "vendorid" when using
"explore"
Network UPS Tools - Generic HID driver 0.38 (2.7.2)
USB communication driver 0.32
Ok, I run whit vendorid:
# /usr/local/libexec/nut/usbhid-ups -DD -a eaton9sx -u root -x explore
-x vendorid=0x0463 2>&1 | tee /tmp/eaton9sx-explore.log
0.000000 debug level is '2'
0.000646 upsdrv_initups...
0.001154 Checking device (0463/FFFF) (/dev/usb//dev/ugen1.3)
0.266807 - VendorID: 0463
0.266819 - ProductID: ffff
0.266824 - Manufacturer: EATON
0.266828 - Product: Eaton 9SX
0.266833 - Serial Number: G200E36025
0.266838 - Bus: /dev/usb
0.266843 Trying to match device
0.266865 Device does not match - skipping
0.266890 Checking device (046D/C31C) (/dev/usb//dev/ugen1.2)
0.295825 - VendorID: 046d
0.295846 - ProductID: c31c
0.295851 - Manufacturer: Logitech
0.295856 - Product: USB Keyboard
0.295860 - Serial Number: unknown
0.295865 - Bus: /dev/usb
0.295870 Trying to match device
0.295881 Device does not match - skipping
0.295919 Checking device (04B4/6560) (/dev/usb//dev/ugen3.2)
0.295987 - VendorID: 04b4
0.295995 - ProductID: 6560
0.296000 - Manufacturer: unknown
0.296004 - Product: unknown
0.296008 - Serial Number: unknown
0.296013 - Bus: /dev/usb
0.296026 Trying to match device
0.296048 Device does not match - skipping
0.296065 Checking device (0000/0000) (/dev/usb//dev/ugen3.1)
0.296123 - VendorID: 0000
0.296131 - ProductID: 0000
0.296136 - Manufacturer: Intel
0.296140 - Product: EHCI root HUB
0.296145 - Serial Number: unknown
0.296150 - Bus: /dev/usb
0.296163 Trying to match device
0.296173 Device does not match - skipping
0.296192 Checking device (0000/0000) (/dev/usb//dev/ugen2.1)
0.296255 - VendorID: 0000
0.296263 - ProductID: 0000
0.296267 - Manufacturer: Intel
0.296271 - Product: UHCI root HUB
0.296275 - Serial Number: unknown
0.296279 - Bus: /dev/usb
0.296284 Trying to match device
0.296290 Device does not match - skipping
0.296305 Checking device (0000/0000) (/dev/usb//dev/ugen1.1)
0.296351 - VendorID: 0000
0.296359 - ProductID: 0000
0.296363 - Manufacturer: Intel
0.296367 - Product: UHCI root HUB
0.296371 - Serial Number: unknown
0.296375 - Bus: /dev/usb
0.296396 Trying to match device
0.296402 Device does not match - skipping
0.296417 Checking device (0000/0000) (/dev/usb//dev/ugen0.1)
0.296462 - VendorID: 0000
0.296467 - ProductID: 0000
0.296471 - Manufacturer: Intel
0.296474 - Product: UHCI root HUB
0.296478 - Serial Number: unknown
0.296482 - Bus: /dev/usb
0.296486 Trying to match device
0.296491 Device does not match - skipping
0.296504 No appropriate HID device found
Network UPS Tools - Generic HID driver 0.38 (2.7.2)
USB communication driver 0.32
0.296524 No matching HID UPS found
But whitout explore mode, debug started:
/usr/local/libexec/nut/usbhid-ups -DD -u root -a eaton9sx 2>&1 | tee
/tmp/eaton9sx-explore.log
Output in attached file.
I'm tested device whith rs232 cable and on Synology DS213+ (usb) -
result is the same, device detected perfect and ups.status present, but
no battery.charge and no runtime, etc.
--
? ?????????, ???????.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eaton9sx-without-explore-log.tar.gz
Type: application/x-gzip
Size: 9596 bytes
Desc: not available
URL:
<http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20141219/5624905a/attachment-0001.bin>