bonsoir Vianney,<br><br><div class="gmail_quote">2009/3/1 Vianney Lejeune <span dir="ltr"><<a href="mailto:via.lej@free.fr">via.lej@free.fr</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
<br>
I encounter a problem using the UPS MGE Evolution 850 VA USB with<br>
Debian Etch and the nut package available for this version. I got this<br>
error:<br>
</blockquote><div><br>hey, Lenny is out. come on! ;-p<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
==syslog==<br>
Can't connect to UPS [MGE850VA] (usbhid-ups-auto): No such file or<br>
directory<br>
upsd[2767]: Startup successful<br>
upsmon[2769]: Startup successful<br>
upsd[2767]: Connection from 127.0.0.1<br>
upsd[2767]: Client <a href="mailto:MGE@127.0.0.1">MGE@127.0.0.1</a> logged into UPS [MGE850VA]<br>
upsmon[2770]: Poll UPS [MGE850VA@localhost] failed - Driver not<br>
connected<br>
upsmon[2770]: Communications with UPS MGE850VA@localhost lost<br>
<br>
<br>
What did I miss ?<br>
<br>
<br>
This is my conf file:<br>
<br>
==ups.conf==<br>
[MGE850VA]<br>
driver = usbhid-ups<br>
port = auto<br>
<br>
==upsd.conf==<br>
ACL all <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a><br>
ACL localhost <a href="http://127.0.0.1/32" target="_blank">127.0.0.1/32</a><br>
<br>
ACCEPT localhost<br>
REJECT all<br>
<br>
==upsd.users==<br>
#Supervision user<br>
[admin]<br>
password = ***<br>
allowfrom = localhost<br>
actions = SET<br>
instcmds = ALL<br>
<br>
#Protection User<br>
[MGE]<br>
password = ***<br>
allowfrom = localhost<br>
upsmon master<br>
<br>
==upssched.conf==<br>
MDSCRIPT /usr/bin/upssched-cmd<br>
</blockquote><div><br>typo error?<br>=> *C*MDSCRIPT<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
==upsmon.conf==<br>
RUN_AS_USER nut<br>
MONITOR MGE850VA@localhost 1 MGE *** master<br>
MINSUPPLIES 1<br>
SHUTDOWNCMD "/sbin/shutdown -h +0"<br>
POLLFREQ 5<br>
POLLFREQALERT 5<br>
HOSTSYNC 15<br>
DEADTIME 15<br>
POWERDOWNFLAG /etc/killpower<br>
RBWARNTIME 43200<br>
NOCOMMWARNTIME 300<br>
FINALDELAY 5<br>
<br>
</blockquote><div><br>you have perhaps missed that one (not mentioned nor the way you started the components!):<br>== /etc/default/nut ==<br>START_UPSD=yes<br>START_UPSMON=yes<br><br></div></div>have a look at /usr/share/doc/nut/README.Debian for more info.<br>
also note that I've completely changed this (ie removed this file) from the latest release in Sid (and Jaunty) 2.4.1-2: it has been replaced by the new nut.conf file, shipped with NUT (as of 2.4.0)<br><br>otherwise, check your device (ie if lsusb give Bus:Dev 001:001, then "ls -l /dev/bus/usb/001/001).<br>
it should be root:nut<br><br>starting the driver in debug mode might help too: /lib/nut/usbhid-ups -DDD -a MGE850VA<br><br clear="all">cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&D - Eaton - <a href="http://www.eaton.com/mgeops">http://www.eaton.com/mgeops</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://people.debian.org/~aquette/">http://people.debian.org/~aquette/</a><br>
Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br><br>