Re: [Nut-upsuser] Re: FreeBSD 6.1, MGE Ellipse ASR600USBS, newhidups upsd

2006-11-26 Thread Daniel O'Connor
On Monday 27 November 2006 10:20, Vladimir Botka wrote: here are my notes on ups, usb and freebsd. http://www.netng.org/bin/view/Main/NetworkUpsToolsUsb I found I could read status OK (MGE Pulsar Extreme) but I could not set any variables so I couldn't shut the UPS down. -- Daniel O'Connor

Re: [Nut-upsuser] Re: FreeBSD 6.1, MGE Ellipse ASR600USBS, newhidups upsd

2006-11-25 Thread Daniel O'Connor
On Friday 24 November 2006 00:33, Eric Masson wrote: upsd monitors mge-shut without any glitch now. I've had a kernel crash in usb subsystem while playing with newhidups yesterday evening, so usb stack could be the problem. I'll check with FreeBSD 6.2-RELEASE as soon as it becomes available.

Re: [Nut-upsuser] Re: FreeBSD 6.1, MGE Ellipse ASR600USBS, newhidups upsd

2006-11-23 Thread Arjen de Korte
In my setup, upsd has never succeeded in connecting to newhidups. Could you try with the dummy-ups driver from SVN? Please add the following two lines to your ups.conf file: [dummy] driver = dummy-ups If upsd is not able to monitor this dummy UPS, there is something very wrong in your

[Nut-upsuser] Re: FreeBSD 6.1, MGE Ellipse ASR600USBS, newhidups upsd

2006-11-23 Thread Eric Masson
Arjen de Korte a écrit : Hello Arjen, Could you try with the dummy-ups driver from SVN? Please add the following two lines to your ups.conf file: [dummy] driver = dummy-ups I've tried with mge-shut : [EMAIL PROTECTED]:~ cat /usr/local/etc/nut/ups.conf # Network UPS Tools: example

[Nut-upsuser] Re: FreeBSD 6.1, MGE Ellipse ASR600USBS,

2006-11-22 Thread Eric Masson
Peter Selinger a écrit : Hello Peter, What is the content of /var/state/ups? No directory of this name (Nut was built via FreeBSD ports) /var/db/nut contains : [EMAIL PROTECTED]:/var/db/nut ll total 2 srw-rw 1 root wheel 0 16 nov 21:07 newhidups-auto -rw-r--r-- 1 root wheel 6 16

Re: [Nut-upsuser] Re: FreeBSD 6.1, MGE Ellipse ASR600USBS, newhidups upsd

2006-11-22 Thread Arjen de Korte
Eric Masson wrote: If I launch newhidups via : [EMAIL PROTECTED]:~# /usr/local/libexec/nut/upsdrvctl start mge Network UPS Tools - UPS driver controller 2.0.4 Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.4) Detected a UPS: MGE UPS SYSTEMS/ELLIPSE Using subdriver: MGE HID 0.9

[Nut-upsuser] Re: FreeBSD 6.1, MGE Ellipse ASR600USBS, newhidups upsd

2006-11-16 Thread Eric Masson
Eric Masson a écrit : Hello, I've tried to stop and relaunch it many times but output is always the same. I've just received a mail from Pedro Côrte Real telling me that waiting before launching upsd could solve the problem. I've tried, but no luck. newhidups was launched 2 hours ago, and

Re: [Nut-upsuser] Re: FreeBSD 6.1, MGE Ellipse ASR600USBS, newhidups upsd

2006-11-16 Thread Arjen de Korte
I've just received a mail from Pedro Côrte Real telling me that waiting before launching upsd could solve the problem. I've tried, but no luck. newhidups was launched 2 hours ago, and I tried to launch upsd 15 minutes ago. upsd output is : [EMAIL PROTECTED]:~ sudo upsd - -u root

Re: [Nut-upsuser] Re: FreeBSD 6.1, MGE Ellipse ASR600USBS,

2006-11-16 Thread Peter Selinger
Eric Masson wrote: Arjen de Korte a =E9crit : Hello Arjen, This is a different problem, your driver is not answering at all and it looks like the dumpall command is not processed. Upgrading to the lates= t development version would be a good idea now, since a few things have

[Nut-upsuser] Re: FreeBSD 6.1, MGE Ellipse ASR600USBS, newhidups upsd

2006-11-16 Thread Eric Masson
Peter Selinger a écrit : Hello Peter, Your problem may be related to the way upsd and upsdrvctl interact. There are several ways to start the driver: (1) newhidups [options] auto (2) newhidups [options] -a myprofile (3) upsdrvctl start myprofile where myprofile is the name of a profile

Re: [Nut-upsuser] Re: FreeBSD 6.1, MGE Ellipse ASR600USBS,

2006-11-16 Thread Peter Selinger
Strange. Can you rule out a permissions problem? What is the content of /var/state/ups? Are you running both the driver and upsd with -u root? Are you sure driver and upsd are from the same NUT version? (I sometimes have problems when running a driver directly from the NUT source directory against