Vianney Lejeune
2009-Mar-01 13:05 UTC
[Nut-upsuser] Poll UPS / Driver not connected with UPS MGE Evolution 850VA USB
Hello, I encounter a problem using the UPS MGE Evolution 850 VA USB with Debian Etch and the nut package available for this version. I got this error: ==syslog=Can't connect to UPS [MGE850VA] (usbhid-ups-auto): No such file or directory upsd[2767]: Startup successful upsmon[2769]: Startup successful upsd[2767]: Connection from 127.0.0.1 upsd[2767]: Client MGE at 127.0.0.1 logged into UPS [MGE850VA] upsmon[2770]: Poll UPS [MGE850VA at localhost] failed - Driver not connected upsmon[2770]: Communications with UPS MGE850VA at localhost lost What did I miss ? This is my conf file: ==ups.conf=[MGE850VA] driver = usbhid-ups port = auto ==upsd.conf=ACL all 0.0.0.0/0 ACL localhost 127.0.0.1/32 ACCEPT localhost REJECT all ==upsd.users=#Supervision user [admin] password = *** allowfrom = localhost actions = SET instcmds = ALL #Protection User [MGE] password = *** allowfrom = localhost upsmon master ==upssched.conf=MDSCRIPT /usr/bin/upssched-cmd ==upsmon.conf=RUN_AS_USER nut MONITOR MGE850VA at localhost 1 MGE *** master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG /etc/killpower RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 Regards, V.
Arnaud Quette
2009-Mar-01 18:38 UTC
[Nut-upsuser] Poll UPS / Driver not connected with UPS MGE Evolution 850VA USB
bonsoir Vianney, 2009/3/1 Vianney Lejeune <via.lej at free.fr>> Hello, > > I encounter a problem using the UPS MGE Evolution 850 VA USB with > Debian Etch and the nut package available for this version. I got this > error: >hey, Lenny is out. come on! ;-p> > ==syslog=> Can't connect to UPS [MGE850VA] (usbhid-ups-auto): No such file or > directory > upsd[2767]: Startup successful > upsmon[2769]: Startup successful > upsd[2767]: Connection from 127.0.0.1 > upsd[2767]: Client MGE at 127.0.0.1 logged into UPS [MGE850VA] > upsmon[2770]: Poll UPS [MGE850VA at localhost] failed - Driver not > connected > upsmon[2770]: Communications with UPS MGE850VA at localhost lost > > > What did I miss ? > > > This is my conf file: > > ==ups.conf=> [MGE850VA] > driver = usbhid-ups > port = auto > > ==upsd.conf=> ACL all 0.0.0.0/0 > ACL localhost 127.0.0.1/32 > > ACCEPT localhost > REJECT all > > ==upsd.users=> #Supervision user > [admin] > password = *** > allowfrom = localhost > actions = SET > instcmds = ALL > > #Protection User > [MGE] > password = *** > allowfrom = localhost > upsmon master > > ==upssched.conf=> MDSCRIPT /usr/bin/upssched-cmd >typo error? => *C*MDSCRIPT> ==upsmon.conf=> RUN_AS_USER nut > MONITOR MGE850VA at localhost 1 MGE *** master > MINSUPPLIES 1 > SHUTDOWNCMD "/sbin/shutdown -h +0" > POLLFREQ 5 > POLLFREQALERT 5 > HOSTSYNC 15 > DEADTIME 15 > POWERDOWNFLAG /etc/killpower > RBWARNTIME 43200 > NOCOMMWARNTIME 300 > FINALDELAY 5 > >you have perhaps missed that one (not mentioned nor the way you started the components!): == /etc/default/nut =START_UPSD=yes START_UPSMON=yes have a look at /usr/share/doc/nut/README.Debian for more info. 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) otherwise, check your device (ie if lsusb give Bus:Dev 001:001, then "ls -l /dev/bus/usb/001/001). it should be root:nut starting the driver in debug mode might help too: /lib/nut/usbhid-ups -DDD -a MGE850VA cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ Free Software Developer - http://arnaud.quette.free.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20090301/9ea4627d/attachment.htm
Charles Lepple
2009-Mar-01 21:12 UTC
[Nut-upsuser] Poll UPS / Driver not connected with UPS MGE Evolution 850VA USB
On Mar 1, 2009, at 4:06 PM, Vianney Lejeune wrote:>>> >> Please send the exact version of nut that you have installed, e.g. >> "dpkg -l nut\*". > > This is the version provided by Etch: nut 2.0.4-4The name "etch" is not necessarily specific enough if there are problems - the exact version number is important in case there was a bad upload. (I'm also assuming that this is x86.) Please keep the list CC'd. Thanks. -- Charles Lepple clepple at gmail
Charles Lepple
2009-Mar-01 21:27 UTC
[Nut-upsuser] Poll UPS / Driver not connected with UPS MGE Evolution 850VA USB
On Sun, Mar 1, 2009 at 4:06 PM, Vianney Lejeune <via.lej at free.fr> wrote:>> >> Please send the exact version of nut that you have installed, e.g. >> "dpkg -l nut\*". > > This is the version provided by Etch: nut 2.0.4-4 >Ah, right - prior to 2.2.0, usbhid-ups was known as newhidups. If you change that in ups.conf, you should be good to go. -- - Charles Lepple
Vianney Lejeune
2009-Mar-01 21:28 UTC
[Nut-upsuser] Poll UPS / Driver not connected with UPS MGE Evolution 850VA USB
>> >> This is the version provided by Etch: nut 2.0.4-4 > > The name "etch" is not necessarily specific enough if there are > problems - the exact version number is important in case there was a > bad upload. (I'm also assuming that this is x86.) > > Please keep the list CC'd. Thanks.You're right this is the x86 version. I checked the package's list, usbhid-ups seems not present. Regards, Vianney
Vianney Lejeune
2009-May-10 20:42 UTC
[Nut-upsuser] Poll UPS / Driver not connected with UPS MGE Evolution 850VA USB
I reopen this thread because I encounter a minor problem using this UPS with the newhidups driver, this is an extract from my syslog after booting my OS (Debian Etch): =====8<====May 10 22:31:51 Inet-Primaire kernel: usb 5-1: usbfs: USBDEVFS_CONTROL failed cmd newhidups rqt 161 rq 1 len 8 ret -110 May 10 22:31:55 Inet-Primaire kernel: usb 5-1: usbfs: USBDEVFS_CONTROL failed cmd newhidups rqt 161 rq 1 len 8 ret -110 May 10 22:32:01 Inet-Primaire newhidups[2527]: Startup successful May 10 22:32:01 Inet-Primaire upsd[2528]: Connected to UPS [MGE850VA]: newhidups-auto May 10 22:32:06 Inet-Primaire upsd[2529]: Startup successful May 10 22:32:06 Inet-Primaire upsmon[2531]: Startup successful May 10 22:32:06 Inet-Primaire upsd[2529]: Connection from 127.0.0.1 May 10 22:32:06 Inet-Primaire upsd[2529]: Client MGE850VA at 127.0.0.1 logged into UPS [MGE850VA] May 10 22:32:06 Inet-Primaire upsmon[2532]: Poll UPS [MGE850VA at localhost] failed - Variable not supported by UPS May 10 22:32:06 Inet-Primaire upsmon[2532]: Communications with UPS MGE850VA at localhost lost May 10 22:32:11 Inet-Primaire upsmon[2532]: Poll UPS [MGE850VA at localhost] failed - Variable not supported by UPS May 10 22:32:11 Inet-Primaire upsmon[2532]: UPS MGE850VA at localhost is unavailable May 10 22:32:16 Inet-Primaire upsmon[2532]: Communications with UPS MGE850VA at localhost established =====8<==== Nut versions: ii nut 2.0.4-4 The core system of the nut - Network UPS Too ii nut-usb 2.0.4-4 USB Drivers subsystem for the nut - Network Do you know what happen ? Regards, Vianney
Arjen de Korte
2009-May-10 20:54 UTC
[Nut-upsuser] Poll UPS / Driver not connected with UPS MGE Evolution 850VA USB
Citeren Vianney Lejeune <via.lej op free.fr>:> I reopen this thread because I encounter a minor problem using this > UPS with the newhidups driver, this is an extract from my syslog > after booting my OS (Debian Etch): > > > =====8<====> May 10 22:31:51 Inet-Primaire kernel: usb 5-1: usbfs: > USBDEVFS_CONTROL failed cmd newhidups rqt 161 rq 1 len 8 ret -110 > May 10 22:31:55 Inet-Primaire kernel: usb 5-1: usbfs: > USBDEVFS_CONTROL failed cmd newhidups rqt 161 rq 1 len 8 ret -110 > May 10 22:32:01 Inet-Primaire newhidups[2527]: Startup successful > May 10 22:32:01 Inet-Primaire upsd[2528]: Connected to UPS > [MGE850VA]: newhidups-auto > May 10 22:32:06 Inet-Primaire upsd[2529]: Startup successful > May 10 22:32:06 Inet-Primaire upsmon[2531]: Startup successful > May 10 22:32:06 Inet-Primaire upsd[2529]: Connection from 127.0.0.1 > May 10 22:32:06 Inet-Primaire upsd[2529]: Client MGE850VA op 127.0.0.1 > logged into UPS [MGE850VA] > May 10 22:32:06 Inet-Primaire upsmon[2532]: Poll UPS > [MGE850VA op localhost] failed - Variable not supported by UPS > May 10 22:32:06 Inet-Primaire upsmon[2532]: Communications with UPS > MGE850VA op localhost lost > May 10 22:32:11 Inet-Primaire upsmon[2532]: Poll UPS > [MGE850VA op localhost] failed - Variable not supported by UPS > May 10 22:32:11 Inet-Primaire upsmon[2532]: UPS MGE850VA op localhost > is unavailable > May 10 22:32:16 Inet-Primaire upsmon[2532]: Communications with UPS > MGE850VA op localhost established > =====8<====> > Nut versions: > > ii nut 2.0.4-4 > The core system of the nut > - Network UPS Too > ii nut-usb 2.0.4-4 > USB Drivers subsystem for the > nut - Network > > > Do you know what happen ?Yes, the newhidups driver takes too long to startup. This was fixed years ago already in the usbhid-ups driver. You really should upgrade to a newer version of NUT. Best regards, Arjen -- Please keep list traffic on the list
Rob MacGregor
2009-May-10 22:08 UTC
[Nut-upsuser] Poll UPS / Driver not connected with UPS MGE Evolution 850VA USB
On Sun, May 10, 2009 at 22:44, Vianney Lejeune <via.lej at free.fr> wrote:> > Ok ;-). Where can I find the value of the ./configure switches used in the > Debian package ?I'd ask the package maintainer. His name is Arnaud Quette, you may just seem him active on this list ;) -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche