OS version: FreeBSD 8.4-RELEASE-p19
NUT version: nut-2.7.2_6
NUT installation method: from freebsd pkg system
Device info: EATON 9SX 5000i, manufacturing date: 05.09.2014
ups.firmware: 9SX5Ki
When i try to see battery charge, in output it have not such variable,
and i can't control my server and other clients connected to them. Any
options cannot power of server. How to see current battery state or
battery runtime by nut? Thanks.
# usbconfig | grep EATON
ugen1.3: <Eaton 9SX EATON> at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps)
pwr=ON
# cat /usr/local/etc/nut/ups.conf
[eaton9sx]
driver = usbhid-ups
port = "auto"
desc = "EATON 9-SX 5000i"
# ls -la /usr/local/etc/nut/ | grep ".conf" | grep -v sample
-rw-r----- 1 uucp uucp 1543 Dec 15 17:03 nut.conf
-rw-r----- 1 uucp uucp 3890 Dec 17 12:39 ups.conf
-rw-r----- 1 uucp uucp 4604 Dec 15 17:19 upsd.conf
-rw-r----- 1 uucp uucp 15273 Dec 15 17:14 upsmon.conf
# cat /etc/devfs.conf
perm ugen1.3 0660
own ugen1.3 root:uucp
# cat /etc/devfs.rules
[nutusb=10]
add path 'usb/1.3.0' group uucp mode 0660
upsc eaton9sx
battery.capacity: 5.00
battery.energysave: no
battery.protection:
battery.type: PbAc
device.mfr: EATON
device.model: Eaton 9SX 5000i
device.serial: G200E36025
device.type: ups
driver.flag.maxreport: enabled
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.7.2
driver.version.data: MGE HID 1.33
driver.version.internal: 0.38
input.bypass.current: 1.20
input.bypass.frequency: 50.0
input.bypass.frequency.nominal: 50
input.bypass.voltage: 223.5
input.frequency: 50.0
input.frequency.nominal: 50
input.voltage: 223.2
input.voltage.nominal: 223
outlet.1.autoswitch.charge.low: 0
outlet.1.delay.shutdown: 10
outlet.1.delay.start: 3
outlet.1.desc: PowerShare Outlet 1
outlet.1.id: 1
outlet.1.status: on
outlet.1.switchable: yes
outlet.2.autoswitch.charge.low: 0
outlet.2.delay.shutdown: 20
outlet.2.delay.start: 6
outlet.2.desc: PowerShare Outlet 2
outlet.2.id: 2
outlet.2.status: on
outlet.2.switchable: no
outlet.desc: Main Outlet
outlet.id: 0
outlet.switchable: no
output.current: 1.10
output.frequency: 0.0
output.frequency.nominal: 50
output.powerfactor: 0.00
output.voltage: 0.0
output.voltage.nominal: 230
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.delay.start: 30
ups.efficiency: 0
ups.firmware: 9SX5Ki
ups.load: 5
ups.mfr: EATON
ups.model: Eaton 9SX 5000i
ups.power: 264
ups.power.nominal: 5000
ups.productid: ffff
ups.realpower: 226
ups.realpower.nominal: 4500
ups.serial: G200E36025
ups.start.auto: yes
ups.start.battery: yes
ups.start.reboot: yes
ups.status: OL CHRG BYPASS
ups.test.interval: 2592000
ups.test.result: No test initiated
ups.timer.shutdown: 0
ups.timer.start: 0
ups.type: online
ups.vendorid: 0463
# /usr/local/libexec/nut/usbhid-ups -DD -a eaton9sx
Network UPS Tools - Generic HID driver 0.38 (2.7.2)
USB communication driver 0.32
0.000000 debug level is '2'
0.000636 upsdrv_initups...
0.000852 Checking device (0463/FFFF) (/dev/usb//dev/ugen1.3)
0.256952 - VendorID: 0463
0.256983 - ProductID: ffff
0.256990 - Manufacturer: EATON
0.256996 - Product: Eaton 9SX
0.257002 - Serial Number: G200E36025
0.257007 - Bus: /dev/usb
0.257014 Trying to match device
0.257025 Device matches
6.138965 HID descriptor length 3369
9.069961 Report Descriptor size = 3369
9.071173 Using subdriver: MGE HID 1.33
there're lot of data in output, if it needed i can attach in file...
--
Best regards, Yaroslav.
On Dec 17, 2014, at 6:58 AM, ??????? ??????? <freemgm at gmail.com> wrote:> OS version: FreeBSD 8.4-RELEASE-p19 > NUT version: nut-2.7.2_6 > NUT installation method: from freebsd pkg system > Device info: EATON 9SX 5000i, manufacturing date: 05.09.2014 > ups.firmware: 9SX5Ki...> there're lot of data in output, if it needed i can attach in file...Not sure why it is not reporting load - the HID descriptor is certainly long enough. Can you please send the output of "explore" mode? /usr/local/libexec/nut/usbhid-ups -DD -a eaton9sx -x explore 2>&1 | tee /tmp/eaton9sx-explore.log Let it run for about 60 seconds, then please gzip the log before sending it to the list. Thanks, -- Charles Lepple clepple at gmail
19.12.2014 05:40, Charles Lepple ?????:> /usr/local/libexec/nut/usbhid-ups -DD -a eaton9sx -x explore 2>&1 | tee /tmp/eaton9sx-explore.logAfter 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>