<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Sergey,<div class=""><br class=""></div><div class="">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 :</div><div class=""><br class=""></div><div class="">‘beeper.disable’ was previously ‘beeper off’ - and ‘beeper.enable’ was ‘beeper.on’. Not sure if it’s worth trying the old versions?</div><div class=""><br class=""></div><div class="">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?</div><div class=""><br class=""></div><div class="">I’ve been reading usbhid-ups.c this morning and had just read both  about both things in the first few pages of code.</div><div class=""><br class=""></div><div class="">For what it’s worth! Someone may well tell me I’m wrong.</div><div class=""><br class=""></div><div class="">Regards, Philip.</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 19 Mar 2015, at 07:01, Sergey Talchuk <<a href="mailto:tals1975@gmail.com" class="">tals1975@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><p style="margin-bottom:0in;font-weight:normal;line-height:100%" class="">
<font face="Courier New, monospace" class="">Linux-2.4.28<br class="">libusb-0.1.8<br class="">nut-2.6.5
[+most recent drivers from GIT] - from tarball<br class="">EATON 3S700DIN
[mfr.date 09/28/14]<br class="">----------------------------------<br class=""><br class="">ISSUES:<br class="">I) Too many kernel logs:<br class="">---<br class="">In
/var/log/kernel.log<br class="">usbdevfs: usb_submit_urb returned -28<br class=""><br class="">In
/var/log/daemon.log:<br class="">usbhid-ups[744]: libusb_get_interrupt: No
error<br class="">usbhid-ups[744]:
libusb_get_interrupt: error submitting URB: No space left on
device<br class=""><br class="">SOLUTION: pollonly in ups.conf<br class=""><br class="">II) Can not
disable beeper (seems to be a general problem with usbhid-ups
driver):<br class="">---<br class="">upscmd -uMY_USER -pMY_PASSWORD 3s beeper.disable</font></p><p style="margin-bottom:0in;font-weight:normal;line-height:100%" class="">
<font face="Courier New, monospace" class="">'OK' returned, but no effect<br class=""><br class="">III)UPS
doesn't wait for LB flag:<br class="">---<br class=""><br class="">a) 1st attempt: (based on LB
flag)<br class=""><br class="">My ups.conf:<br class="">[3s]<br class="">driver = usbhid-ups<br class="">port = auto<br class="">pollinterval = 5<br class="">override.battery.voltage.nominal
= 12<br class="">override.battery.mfr.date =
09/28/14<br class="">override.outlet.1.desc =
"BATTERY"<br class="">override.outlet.2.desc = "FILTER"<br class="">override.outlet.desc = "MAIN"<br class="">override.device.serial =
"G008E39401"<br class="">override.ups.serial =
"G008E39401"<br class="">override.battery.mfr.date =
09/28/14<br class="">pollonly<br class="">vendorid = 0463<br class="">productid = ffff<br class="">desc = "Eaton
3S700DIN"<br class=""><br class=""><br class="">UPS stops after 4 minutes. LB flag is not set.
Battery.charge: 91<br class=""><br class="">b) 2nd attempt: (based on ignorelb +
upslog)<br class="">[3s]<br class="">driver = usbhid-ups<br class="">port = auto<br class="">pollinterval = 5<br class="">ignorelb<br class="">override.battery.charge.low = 30<br class="">override.battery.runtime.low = -1<br class="">override.battery.voltage.nominal
= 12<br class="">override.battery.mfr.date =
09/28/14<br class="">override.outlet.1.desc =
"BATTERY"<br class="">override.outlet.2.desc = "FILTER"<br class="">override.outlet.desc = "MAIN"<br class="">override.device.serial =
"G008E39401"<br class="">override.ups.serial =
"G008E39401"<br class="">override.battery.mfr.date =
09/28/14<br class="">pollonly<br class="">vendorid = 0463<br class="">productid = ffff<br class="">desc = "Eaton
3S700DIN"<br class=""><br class="">UPS stops after 4 minutes.  LB flag is not set.
Battery.charge: 92<br class="">Last upslog:<br class="">20150318 074919 | CHARGE: 92 |
OB DISCHRG | RUNTIME: 2760 | LOAD: 0 |<br class=""><br class="">c) 3rd attempt: (based
on override.battery.charge.low = 95)<br class=""><br class="">Clean system shutdown. LB
flag set = OB DISCHRG LB<br class=""><br class="">upsc 3s<br class="">battery.charge: 100<br class="">battery.charge.low: 95<br class="">battery.mfr.date: 09/28/14<br class="">battery.runtime: 3000<br class="">battery.runtime.low: -1<br class="">battery.type: PbAc<br class="">battery.voltage.nominal: 12<br class="">device.mfr: EATON<br class="">device.model: Eaton 3S 700<br class="">device.serial: G008E39401<br class="">device.type: ups<br class="">driver.flag.ignorelb: enabled<br class="">driver.flag.pollonly: enabled<br class=""><a href="http://driver.name/" class="">driver.name</a>: usbhid-ups<br class="">driver.parameter.pollfreq: 30<br class="">driver.parameter.pollinterval: 5<br class="">driver.parameter.port: auto<br class="">driver.parameter.productid: ffff<br class="">driver.parameter.vendorid: 0463<br class="">driver.version: 2.6.5<br class="">driver.version.data: MGE HID 1.33<br class="">driver.version.internal: 0.39<br class="">input.transfer.high: 264<br class="">input.transfer.low: 184<br class="">outlet.1.desc: BATTERY<br class=""><a href="http://outlet.1.id/" class="">outlet.1.id</a>: 2<br class="">outlet.1.status: on<br class="">outlet.1.switchable: yes<br class="">outlet.2.desc: FILTER<br class=""><a href="http://outlet.2.id/" class="">outlet.2.id</a>: 3<br class="">outlet.2.status: off<br class="">outlet.2.switchable: yes<br class="">outlet.desc: MAIN<br class=""><a href="http://outlet.id/" class="">outlet.id</a>: 1<br class="">outlet.switchable: no<br class="">output.frequency.nominal: 50<br class="">output.voltage: 230.0<br class="">output.voltage.nominal: 230<br class="">ups.beeper.status: enabled<br class="">ups.delay.shutdown: 20<br class="">ups.delay.start: 30<br class="">ups.firmware: 02<br class="">ups.load: 5<br class="">ups.mfr: EATON<br class="">ups.mfr.date: 09/28/14<br class="">ups.model: Eaton 3S 700<br class="">ups.power.nominal: 700<br class="">ups.productid: ffff<br class="">ups.serial: G008E39401<br class="">ups.status: OL CHRG<br class="">ups.timer.shutdown: -1<br class="">ups.timer.start: -1<br class="">ups.vendorid: 0463<br class=""><br class=""><br class="">Do
I have a problem with the battery or the UPS returns incorrect
data?<br class="">EATON 3S700 suppose to be fully compatible with
NUT.<br class=""><br class="">Thanks,<br class="">Sergey</font></p>

</div>
_______________________________________________<br class="">Nut-upsuser mailing list<br class=""><a href="mailto:Nut-upsuser@lists.alioth.debian.org" class="">Nut-upsuser@lists.alioth.debian.org</a><br class="">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser</div></blockquote></div><br class=""></div></body></html>