Hello,<br><br>I'm using Archlinux x86_64 with linux-nouveau kernel (based on linux-mainline (that is linux-3.6)).<br><br>I've installed nut-2.6.5. I first tried to use new systemctl .service scripts, but they are problematic.<br>
<br>So I start and stop nut from /etc/rc.c script.<br><br>This way, it "woks".<br><br>Here are my config files :<br><br>nut.conf :<br>MODE=netserver<br><br>ups.conf :<br>[ellipse]<br>driver = usbhid-ups<br>port = /dev/bus/usb/003/002<br>
desc = <<EATON Ellipse ASR USBS 1600>><br><br>upsd.conf :<br>MAXAGE 15<br>LISTEN 127.0.0.1 3493<br>MAXCONN 32<br>ACL all <a href="http://0.0.0.0/0">0.0.0.0/0</a><br>ACL localhost <a href="http://127.0.0.1/27">127.0.0.1/27</a><br>
ACCEPT localhost<br>REJECT all<br><br>upsd.users :<br>[ups]<br>password = ups<br><br>upsmon.conf<br>MONITOR ellipse@localhost 1 ups ups master<br>MINSUPPLIES 1<br>FINALDELAY 5<br>HOSTSYNC 15<br>SHUTDOWNCMD "usr/bin/systemctl poweroff"<br>
POWERDOWNFLAG /etc/killpower<br>POLLFREQ 5<br>POLLFREQALERT 5<br>DEADTIME 15<br>NOCOMMWARNTIME 300<br>RBWARNTIME 43200<br><br>upssched.conf :<br>CMDSCRIPT /opt/bin/upssched-cmd<br><br>PIPEFN /var/run/nut/upssched.pipe<br>
LOCKFN /var/run/nut/upssched.lock<br><br>AT ONBATT * EXECUTE ups-on-battery<br>AT ONLINE * EXECUTE ups-back-on-line<br><br>When I unplug my UPS from power, I have a broadcast message saying so : fine.<br>When I replug my UPS to power, I have a broadcast message saying so : fine<br>
<br>When I let my UPS unplugged from power, and when it goes under 20% (default setting),<br>I have 2 broadcast messages, one saying it goed under power, and the second saying it's gonna shutdown my PC.<br><br>But nothing happens...<br>
<br>I've searched for hours, can't fine the solution.<br><br>I thanl you for your help :)<br><br>3rik<br><br><br><br>