[Nut-upsuser] EATON 9SX not display battery.charge

Ярослав Бабаянц freemgm at gmail.com
Wed Dec 17 11:58:56 UTC 2014


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.




More information about the Nut-upsuser mailing list