[Nut-upsuser] Brand new EATON 3S700DIN (mfr.date 09/28/14) doesn't wait for LB flag
Philip Taylor
philip at kelsotowers.co.uk
Thu Mar 19 11:01:52 UTC 2015
Sergey,
I’m no expert on this but I have been reading the driver code, trying to sort out bigger problems with the OpenUPS driver! I can make 2 observations that I can’t check out myself :
‘beeper.disable’ was previously ‘beeper off’ - and ‘beeper.enable’ was ‘beeper.on’. Not sure if it’s worth trying the old versions?
If your UPS doesn’t wait for LB, could this be because there is another status flag triggering shutdown? Like shutdown_imminent, or time limit_exceeded?
I’ve been reading usbhid-ups.c this morning and had just read both about both things in the first few pages of code.
For what it’s worth! Someone may well tell me I’m wrong.
Regards, Philip.
> On 19 Mar 2015, at 07:01, Sergey Talchuk <tals1975 at gmail.com> wrote:
>
> Linux-2.4.28
> libusb-0.1.8
> nut-2.6.5 [+most recent drivers from GIT] - from tarball
> EATON 3S700DIN [mfr.date 09/28/14]
> ----------------------------------
>
> ISSUES:
> I) Too many kernel logs:
> ---
> In /var/log/kernel.log
> usbdevfs: usb_submit_urb returned -28
>
> In /var/log/daemon.log:
> usbhid-ups[744]: libusb_get_interrupt: No error
> usbhid-ups[744]: libusb_get_interrupt: error submitting URB: No space left on device
>
> SOLUTION: pollonly in ups.conf
>
> II) Can not disable beeper (seems to be a general problem with usbhid-ups driver):
> ---
> upscmd -uMY_USER -pMY_PASSWORD 3s beeper.disable
> 'OK' returned, but no effect
>
> III)UPS doesn't wait for LB flag:
> ---
>
> a) 1st attempt: (based on LB flag)
>
> My ups.conf:
> [3s]
> driver = usbhid-ups
> port = auto
> pollinterval = 5
> override.battery.voltage.nominal = 12
> override.battery.mfr.date = 09/28/14
> override.outlet.1.desc = "BATTERY"
> override.outlet.2.desc = "FILTER"
> override.outlet.desc = "MAIN"
> override.device.serial = "G008E39401"
> override.ups.serial = "G008E39401"
> override.battery.mfr.date = 09/28/14
> pollonly
> vendorid = 0463
> productid = ffff
> desc = "Eaton 3S700DIN"
>
>
> UPS stops after 4 minutes. LB flag is not set. Battery.charge: 91
>
> b) 2nd attempt: (based on ignorelb + upslog)
> [3s]
> driver = usbhid-ups
> port = auto
> pollinterval = 5
> ignorelb
> override.battery.charge.low = 30
> override.battery.runtime.low = -1
> override.battery.voltage.nominal = 12
> override.battery.mfr.date = 09/28/14
> override.outlet.1.desc = "BATTERY"
> override.outlet.2.desc = "FILTER"
> override.outlet.desc = "MAIN"
> override.device.serial = "G008E39401"
> override.ups.serial = "G008E39401"
> override.battery.mfr.date = 09/28/14
> pollonly
> vendorid = 0463
> productid = ffff
> desc = "Eaton 3S700DIN"
>
> UPS stops after 4 minutes. LB flag is not set. Battery.charge: 92
> Last upslog:
> 20150318 074919 | CHARGE: 92 | OB DISCHRG | RUNTIME: 2760 | LOAD: 0 |
>
> c) 3rd attempt: (based on override.battery.charge.low = 95)
>
> Clean system shutdown. LB flag set = OB DISCHRG LB
>
> upsc 3s
> battery.charge: 100
> battery.charge.low: 95
> battery.mfr.date: 09/28/14
> battery.runtime: 3000
> battery.runtime.low: -1
> battery.type: PbAc
> battery.voltage.nominal: 12
> device.mfr: EATON
> device.model: Eaton 3S 700
> device.serial: G008E39401
> device.type: ups
> driver.flag.ignorelb: enabled
> driver.flag.pollonly: enabled
> driver.name <http://driver.name/>: usbhid-ups
> driver.parameter.pollfreq: 30
> driver.parameter.pollinterval: 5
> driver.parameter.port: auto
> driver.parameter.productid: ffff
> driver.parameter.vendorid: 0463
> driver.version: 2.6.5
> driver.version.data: MGE HID 1.33
> driver.version.internal: 0.39
> input.transfer.high: 264
> input.transfer.low: 184
> outlet.1.desc: BATTERY
> outlet.1.id <http://outlet.1.id/>: 2
> outlet.1.status: on
> outlet.1.switchable: yes
> outlet.2.desc: FILTER
> outlet.2.id <http://outlet.2.id/>: 3
> outlet.2.status: off
> outlet.2.switchable: yes
> outlet.desc: MAIN
> outlet.id <http://outlet.id/>: 1
> outlet.switchable: no
> output.frequency.nominal: 50
> output.voltage: 230.0
> output.voltage.nominal: 230
> ups.beeper.status: enabled
> ups.delay.shutdown: 20
> ups.delay.start: 30
> ups.firmware: 02
> ups.load: 5
> ups.mfr: EATON
> ups.mfr.date: 09/28/14
> ups.model: Eaton 3S 700
> ups.power.nominal: 700
> ups.productid: ffff
> ups.serial: G008E39401
> ups.status: OL CHRG
> ups.timer.shutdown: -1
> ups.timer.start: -1
> ups.vendorid: 0463
>
>
> Do I have a problem with the battery or the UPS returns incorrect data?
> EATON 3S700 suppose to be fully compatible with NUT.
>
> Thanks,
> Sergey
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20150319/2fca04ec/attachment-0001.html>
More information about the Nut-upsuser
mailing list