Sergey Talchuk
2015-Mar-19 07:01 UTC
[Nut-upsuser] Brand new EATON 3S700DIN (mfr.date 09/28/14) doesn't wait for LB flag
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: 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: 2 outlet.1.status: on outlet.1.switchable: yes outlet.2.desc: FILTER outlet.2.id: 3 outlet.2.status: off outlet.2.switchable: yes outlet.desc: MAIN 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20150319/f96be2ee/attachment.html>
Philip Taylor
2015-Mar-19 11:01 UTC
[Nut-upsuser] Brand new EATON 3S700DIN (mfr.date 09/28/14) doesn't wait for LB flag
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>
Sergey Talchuk
2015-Jul-05 15:49 UTC
[Nut-upsuser] Brand new EATON 3S700DIN (mfr.date 09/28/14) doesn't wait for LB flag
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><title>Re[2]: [Nut-upsuser] Brand new EATON 3S700DIN (mfr.date 09/28/14) doesn't wait for LB flag</title> <META http-equiv=Content-Type content="text/html; charset=utf-8"> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- body { margin: 5px 5px 5px 5px; background-color: #ffffff; } /* ========== Text Styles ========== */ hr { color: #000000} span.rvts1 /* Heading */ { font-size: 10pt; font-family: 'Arial'; font-weight: bold; color: #0000ff; } span.rvts2 /* Subheading */ { font-size: 10pt; font-family: 'Arial'; font-weight: bold; color: #000080; } span.rvts3 /* Keywords */ { font-size: 10pt; font-family: 'Arial'; font-style: italic; color: #800000; } a.rvts4, span.rvts4 /* Jump 1 */ { font-size: 10pt; font-family: 'Arial'; color: #008000; text-decoration: underline; } a.rvts5, span.rvts5 /* Jump 2 */ { font-size: 10pt; font-family: 'Arial'; color: #008000; text-decoration: underline; } span.rvts6 { } a.rvts7, span.rvts7 { color: #0000ff; text-decoration: underline; } /* ========== Para Styles ========== */ p,ul,ol /* Paragraph Style */ { text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; } .rvps1 /* Centered */ { text-align: center; } --></style> </head> <body> <p><br></p> <p><br></p> <p>Philip,</p> <p><br></p> <p>Thanks for reply!</p> <p><br></p> <p>I've also tried legacy commands to disable beeper: OK returned but again no effect.</p> <p><br></p> <p>$ upscmd -l 3s | grep beeper</p> <p>beeper.disable - Disable the UPS beeper</p> <p>beeper.enable - Enable the UPS beeper</p> <p>beeper.mute - Temporarily mute the UPS beeper</p> <p>beeper.off - Obsolete (use beeper.disable or beeper.mute)</p> <p>beeper.on - Obsolete (use beeper.enable)</p> <p><br></p> <p>Need to raise the debugging level of usbhid-ups to see what's really triggers shutdown.</p> <p><br></p> <p>Sergey</p> <p><br></p> <div><table border=0 cellpadding=1 cellspacing=2> <tr valign=top> <td width=1 style="background-color: #0000ff;"><br> </td> <td width=1396 style="background-color: #ffffff;"> <p><span class=rvts6>Sergey,</span></p> <p><br></p> <p><span class=rvts6>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 :</span></p> <p><br></p> <p><span class=rvts6>‘beeper.disable’ was previously ‘beeper off’ - and ‘beeper.enable’ was ‘beeper.on’. Not sure if it’s worth trying the old versions?</span></p> <p><br></p> <p><span class=rvts6>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?</span></p> <p><br></p> <p><span class=rvts6>I’ve been reading usbhid-ups.c this morning and had just read both about both things in the first few pages of code.</span></p> <p><br></p> <p><span class=rvts6>For what it’s worth! Someone may well tell me I’m wrong.</span></p> <p><br></p> <p><span class=rvts6>Regards, Philip.</span></p> <p><br></p> <p><br></p> <p><span class=rvts6>On 19 Mar 2015, at 07:01, Sergey Talchuk <</span><a class=rvts7 href="mailto:tals1975@gmail.com">tals1975@gmail.com</a><span class=rvts6>> wrote:</span></p> <p><br></p> <p><br></p> <p><span class=rvts6>Linux-2.4.28</span></p> <p><span class=rvts6>libusb-0.1.8</span></p> <p><span class=rvts6>nut-2.6.5 [+most recent drivers from GIT] - from tarball</span></p> <p><span class=rvts6>EATON 3S700DIN [mfr.date 09/28/14]</span></p> <p><span class=rvts6>----------------------------------</span></p> <p><br></p> <p><span class=rvts6>ISSUES:</span></p> <p><span class=rvts6>I) Too many kernel logs:</span></p> <p><span class=rvts6>---</span></p> <p><span class=rvts6>In /var/log/kernel.log</span></p> <p><span class=rvts6>usbdevfs: usb_submit_urb returned -28</span></p> <p><br></p> <p><span class=rvts6>In /var/log/daemon.log:</span></p> <p><span class=rvts6>usbhid-ups[744]: libusb_get_interrupt: No error</span></p> <p><span class=rvts6>usbhid-ups[744]: libusb_get_interrupt: error submitting URB: No space left on device</span></p> <p><br></p> <p><span class=rvts6>SOLUTION: pollonly in ups.conf</span></p> <p><br></p> <p><span class=rvts6>II) Can not disable beeper (seems to be a general problem with usbhid-ups driver):</span></p> <p><span class=rvts6>---</span></p> <p><span class=rvts6>upscmd -uMY_USER -pMY_PASSWORD 3s beeper.disable</span></p> <p><span class=rvts6>'OK' returned, but no effect</span></p> <p><br></p> <p><span class=rvts6>III)UPS doesn't wait for LB flag:</span></p> <p><span class=rvts6>---</span></p> <p><br></p> <p><span class=rvts6>a) 1st attempt: (based on LB flag)</span></p> <p><br></p> <p><span class=rvts6>My ups.conf:</span></p> <p><span class=rvts6>[3s]</span></p> <p><span class=rvts6>driver = usbhid-ups</span></p> <p><span class=rvts6>port = auto</span></p> <p><span class=rvts6>pollinterval = 5</span></p> <p><span class=rvts6>override.battery.voltage.nominal = 12</span></p> <p><span class=rvts6>override.battery.mfr.date = 09/28/14</span></p> <p><span class=rvts6>override.outlet.1.desc = "BATTERY"</span></p> <p><span class=rvts6>override.outlet.2.desc = "FILTER"</span></p> <p><span class=rvts6>override.outlet.desc = "MAIN"</span></p> <p><span class=rvts6>override.device.serial = "G008E39401"</span></p> <p><span class=rvts6>override.ups.serial = "G008E39401"</span></p> <p><span class=rvts6>override.battery.mfr.date = 09/28/14</span></p> <p><span class=rvts6>pollonly</span></p> <p><span class=rvts6>vendorid = 0463</span></p> <p><span class=rvts6>productid = ffff</span></p> <p><span class=rvts6>desc = "Eaton 3S700DIN"</span></p> <p><br></p> <p><br></p> <p><span class=rvts6>UPS stops after 4 minutes. LB flag is not set. Battery.charge: 91</span></p> <p><br></p> <p><span class=rvts6>b) 2nd attempt: (based on ignorelb + upslog)</span></p> <p><span class=rvts6>[3s]</span></p> <p><span class=rvts6>driver = usbhid-ups</span></p> <p><span class=rvts6>port = auto</span></p> <p><span class=rvts6>pollinterval = 5</span></p> <p><span class=rvts6>ignorelb</span></p> <p><span class=rvts6>override.battery.charge.low = 30</span></p> <p><span class=rvts6>override.battery.runtime.low = -1</span></p> <p><span class=rvts6>override.battery.voltage.nominal = 12</span></p> <p><span class=rvts6>override.battery.mfr.date = 09/28/14</span></p> <p><span class=rvts6>override.outlet.1.desc = "BATTERY"</span></p> <p><span class=rvts6>override.outlet.2.desc = "FILTER"</span></p> <p><span class=rvts6>override.outlet.desc = "MAIN"</span></p> <p><span class=rvts6>override.device.serial = "G008E39401"</span></p> <p><span class=rvts6>override.ups.serial = "G008E39401"</span></p> <p><span class=rvts6>override.battery.mfr.date = 09/28/14</span></p> <p><span class=rvts6>pollonly</span></p> <p><span class=rvts6>vendorid = 0463</span></p> <p><span class=rvts6>productid = ffff</span></p> <p><span class=rvts6>desc = "Eaton 3S700DIN"</span></p> <p><br></p> <p><span class=rvts6>UPS stops after 4 minutes. LB flag is not set. Battery.charge: 92</span></p> <p><span class=rvts6>Last upslog:</span></p> <p><span class=rvts6>20150318 074919 | CHARGE: 92 | OB DISCHRG | RUNTIME: 2760 | LOAD: 0 |</span></p> <p><br></p> <p><span class=rvts6>c) 3rd attempt: (based on override.battery.charge.low = 95)</span></p> <p><br></p> <p><span class=rvts6>Clean system shutdown. LB flag set = OB DISCHRG LB</span></p> <p><br></p> <p><span class=rvts6>upsc 3s</span></p> <p><span class=rvts6>battery.charge: 100</span></p> <p><span class=rvts6>battery.charge.low: 95</span></p> <p><span class=rvts6>battery.mfr.date: 09/28/14</span></p> <p><span class=rvts6>battery.runtime: 3000</span></p> <p><span class=rvts6>battery.runtime.low: -1</span></p> <p><span class=rvts6>battery.type: PbAc</span></p> <p><span class=rvts6>battery.voltage.nominal: 12</span></p> <p><span class=rvts6>device.mfr: EATON</span></p> <p><span class=rvts6>device.model: Eaton 3S 700</span></p> <p><span class=rvts6>device.serial: G008E39401</span></p> <p><span class=rvts6>device.type: ups</span></p> <p><span class=rvts6>driver.flag.ignorelb: enabled</span></p> <p><span class=rvts6>driver.flag.pollonly: enabled</span></p> <p><a class=rvts7 href="http://driver.name/">driver.name</a><span class=rvts6>: usbhid-ups</span></p> <p><span class=rvts6>driver.parameter.pollfreq: 30</span></p> <p><span class=rvts6>driver.parameter.pollinterval: 5</span></p> <p><span class=rvts6>driver.parameter.port: auto</span></p> <p><span class=rvts6>driver.parameter.productid: ffff</span></p> <p><span class=rvts6>driver.parameter.vendorid: 0463</span></p> <p><span class=rvts6>driver.version: 2.6.5</span></p> <p><span class=rvts6>driver.version.data: MGE HID 1.33</span></p> <p><span class=rvts6>driver.version.internal: 0.39</span></p> <p><span class=rvts6>input.transfer.high: 264</span></p> <p><span class=rvts6>input.transfer.low: 184</span></p> <p><span class=rvts6>outlet.1.desc: BATTERY</span></p> <p><a class=rvts7 href="http://outlet.1.id/">outlet.1.id</a><span class=rvts6>: 2</span></p> <p><span class=rvts6>outlet.1.status: on</span></p> <p><span class=rvts6>outlet.1.switchable: yes</span></p> <p><span class=rvts6>outlet.2.desc: FILTER</span></p> <p><a class=rvts7 href="http://outlet.2.id/">outlet.2.id</a><span class=rvts6>: 3</span></p> <p><span class=rvts6>outlet.2.status: off</span></p> <p><span class=rvts6>outlet.2.switchable: yes</span></p> <p><span class=rvts6>outlet.desc: MAIN</span></p> <p><a class=rvts7 href="http://outlet.id/">outlet.id</a><span class=rvts6>: 1</span></p> <p><span class=rvts6>outlet.switchable: no</span></p> <p><span class=rvts6>output.frequency.nominal: 50</span></p> <p><span class=rvts6>output.voltage: 230.0</span></p> <p><span class=rvts6>output.voltage.nominal: 230</span></p> <p><span class=rvts6>ups.beeper.status: enabled</span></p> <p><span class=rvts6>ups.delay.shutdown: 20</span></p> <p><span class=rvts6>ups.delay.start: 30</span></p> <p><span class=rvts6>ups.firmware: 02</span></p> <p><span class=rvts6>ups.load: 5</span></p> <p><span class=rvts6>ups.mfr: EATON</span></p> <p><span class=rvts6>ups.mfr.date: 09/28/14</span></p> <p><span class=rvts6>ups.model: Eaton 3S 700</span></p> <p><span class=rvts6>ups.power.nominal: 700</span></p> <p><span class=rvts6>ups.productid: ffff</span></p> <p><span class=rvts6>ups.serial: G008E39401</span></p> <p><span class=rvts6>ups.status: OL CHRG</span></p> <p><span class=rvts6>ups.timer.shutdown: -1</span></p> <p><span class=rvts6>ups.timer.start: -1</span></p> <p><span class=rvts6>ups.vendorid: 0463</span></p> <p><br></p> <p><br></p> <p><span class=rvts6>Do I have a problem with the battery or the UPS returns incorrect data?</span></p> <p><span class=rvts6>EATON 3S700 suppose to be fully compatible with NUT.</span></p> <p><br></p> <p><span class=rvts6>Thanks,</span></p> <p><span class=rvts6>Sergey</span></p> <p><span class=rvts6>_______________________________________________</span></p> <p><span class=rvts6>Nut-upsuser mailing list</span></p> <p><a class=rvts7 href="mailto:Nut-upsuser@lists.alioth.debian.org">Nut-upsuser@lists.alioth.debian.org</a></p> <p><span class=rvts6>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser</span></p> </td> </tr> </table> </div> </body></html>
Apparently Analagous Threads
- [Nut-upsuser] Brand new EATON 3S700DIN (mfr.date 09/28/14) doesn't wait for LB flag
- Brand new EATON 3S700DIN (mfr.date 09/28/14) doesn't wait for LB flag
- Hardware compatability report: Eaton Ellipse ECO 1600
- [HCL] Eaton 5E1100i supported by usbhid-ups
- [HCL] Eaton 5S1500LCD supported by usbhid-ups