<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi all,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>First of all thanks for the great work on nut ! (despite it's not fully functional yet overhere).<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Everything seemed to go fine until the final test : shutdown the UPS ! The system is running FreeBSD 5.3, the UPS is MGE Ellipse 800 USBS both linked with the MGE serial cable. The system is a remote server, only running some file services and large disks.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The porting, installation and scripting for nut went quite easily for a lowtech user as me (the user/group stuff a little tricky anyway). I used the nut-2.0.2 release and tried the 2.0.3-pre1 too... The driver is mge-shut 0.64</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I still have a couple of :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><I>Aug 19 18:29:55 tamiaserver upsd[955]: Data for UPS [ups_tamiaserver] is stale - check driver</I></DIV><DIV><I>Aug 19 18:29:56 tamiaserver upsmon[958]: Poll UPS [ups_tamiaserver@localhost] failed - Data stale</I></DIV><DIV><I>Aug 19 18:29:56 tamiaserver upsmon[958]: Communications with UPS ups_tamiaserver@localhost lost</I></DIV><DIV><I>Aug 19 18:29:57 tamiaserver upsd[955]: UPS [ups_tamiaserver] data is no longer stale</I></DIV><DIV><I>Aug 19 18:30:11 tamiaserver upsmon[958]: Communications with UPS ups_tamiaserver@localhost established</I></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>despite changing the MAXAGE and setting the notification parameter to 3. Can't figure why :( especially with a cpu load under 20%...</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>My main problem is that the system starts the shutdown of FreeBSD when reaching the 30% level, but when it comes to shutdown the UPS, nothing happens, and the computer halted continues to deplet the UPS batteries... You'll agree this is not good at all !</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>To test the feature, I tried to force the shutdown manually, the computer no longer pluged in the UPS ;-) , only the driver running : </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-bash-2.05b$ sudo /usr/local/ups/bin/mge-shut -u root -a ups_tamiaserver -k</DIV><DIV>after getting some fancy answers :</DIV><DIV><I>Network UPS Tools - MGE UPS SYSTEMS/SHUT driver 0.64 (2.0.2)</I></DIV><DIV><I>Unable to get Report Descriptor</I></DIV><DIV>or </DIV><DIV><I>Network UPS Tools - MGE UPS SYSTEMS/SHUT driver 0.64 (2.0.2)</I></DIV><DIV><I>Unable to get Device Descriptor</I></DIV><DIV>or</DIV><DIV><I>Network UPS Tools - MGE UPS SYSTEMS/SHUT driver 0.64 (2.0.2)</I></DIV><DIV><I>No communication with UPS</I></DIV><DIV>or</DIV><DIV><I>Network UPS Tools - MGE UPS SYSTEMS/SHUT driver 0.64 (2.0.2)</I></DIV><DIV><I>Unable to get HID Descriptor</I></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I finally got the right answer :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><I>Network UPS Tools - MGE UPS SYSTEMS/SHUT driver 0.64 (2.0.2)</I></DIV><DIV><I>Initiating UPS shutdown</I></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>But simply nothing happened, the UPS didn't shutdown (I tried with the batteries level over and under 30%).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Perhaps my UPS needs some configuring, but the few info on the MGE documentation and website didn't help at all.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I would really appreciate some input as I'm stuck there and I have no more idea how to narrow the problem.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Francois</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Some more tech stuff :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>When asking the driver, this is the answer :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><I>-bash-2.05b$ sudo /usr/local/ups/bin/upsc ups_tamiaserver@localhost</I></DIV><DIV><I>Password:</I></DIV><DIV><I>battery.charge: 36</I></DIV><DIV><I>battery.charge.low: 30</I></DIV><DIV><I>battery.runtime: 00617</I></DIV><DIV><I>driver.name: mge-shut</I></DIV><DIV><I>driver.parameter.lowbatt: 90</I></DIV><DIV><I>driver.parameter.notification: 3</I></DIV><DIV><I>driver.parameter.offdelay: 20</I></DIV><DIV><I>driver.parameter.ondelay: 3</I></DIV><DIV><I>driver.parameter.port: /dev/cuaa0</I></DIV><DIV><I>driver.version: 2.0.3-pre1</I></DIV><DIV><I>driver.version.internal: 0.65</I></DIV><DIV><I>outlet.0.desc: Main Outlet</I></DIV><DIV><I>outlet.0.id: 1</I></DIV><DIV><I>outlet.0.switchable: 0</I></DIV><DIV><I>outlet.1.autoswitch.charge.low: 0</I></DIV><DIV><I>outlet.1.desc: PowerShare Outlet 1</I></DIV><DIV><I>outlet.1.id: 2</I></DIV><DIV><I>outlet.1.switch: 1</I></DIV><DIV><I>outlet.1.switchable: 0</I></DIV><DIV><I>output.voltage: 230</I></DIV><DIV><I>ups.delay.shutdown: -1</I></DIV><DIV><I>ups.delay.start: -1</I></DIV><DIV><I>ups.load: 8</I></DIV><DIV><I>ups.mfr: MGE UPS SYSTEMS</I></DIV><DIV><I>ups.power.nominal: 800</I></DIV><DIV><I>ups.serial: unknown</I></DIV><DIV><I>ups.status: OL CHRG</I></DIV><DIV><I><BR class="khtml-block-placeholder"></I></DIV></DIV></BODY></HTML>