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

2006-11-24 Thread Arnaud Quette

2006/11/16, Bruno Wolff III [EMAIL PROTECTED]:

On Thu, Nov 16, 2006 at 14:30:04 +,
  Pedro Côrte-Real [EMAIL PROTECTED] wrote:
 On 11/16/06, Eric Masson [EMAIL PROTECTED] wrote:
 When I launch upsd, it barfs vith :
 [EMAIL PROTECTED]:~ /usr/local/sbin/upsd -u root
 Password:
 Network UPS Tools upsd 2.0.4
 Connected to UPS [mge]: newhidups-auto
 Synchronizing giving up

 This looks like the same problem I was having. If you wait a little
 bit it should then work.

It went away for me when I switched to using the 2.1 code in SVN. I was using
an MGE Nova 1100 w/USB.
I still see occasional loss of connections, but things seem to work a lot
better in 2.1.


as a side note, the code from the svn trunk has been backported to the
Testing branch, which means that 2.0.5 should work as fine as the 2.1
you've tested...

Arnaud
--
Linux / Unix Expert - MGE UPS SYSTEMS - RD Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
OpenSource Developer - http://arnaud.quette.free.fr/

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


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

2006-11-24 Thread Udo van den Heuvel
Arjen de Korte wrote:
 I still see occasional loss of connections, but things seem to work a lot
 better in 2.1.
 
 I have noticed that too. The UPSes I monitor (via serial interface) lose
 connection every couple of days (random) and reconnect almost immediately.

Could this be the reason for the same issue, occurring when there is USB
activity on my VIA Epia box? Making the pollijg intervals larger did not
yet help.

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


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

2006-11-23 Thread Bruno Wolff III
On Thu, Nov 16, 2006 at 14:30:04 +,
  Pedro Côrte-Real [EMAIL PROTECTED] wrote:
 On 11/16/06, Eric Masson [EMAIL PROTECTED] wrote:
 When I launch upsd, it barfs vith :
 [EMAIL PROTECTED]:~ /usr/local/sbin/upsd -u root
 Password:
 Network UPS Tools upsd 2.0.4
 Connected to UPS [mge]: newhidups-auto
 Synchronizing giving up
 
 This looks like the same problem I was having. If you wait a little
 bit it should then work.

It went away for me when I switched to using the 2.1 code in SVN. I was using
an MGE Nova 1100 w/USB.
I still see occasional loss of connections, but things seem to work a lot
better in 2.1.

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


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

2006-11-16 Thread Pedro Côrte-Real

On 11/16/06, Eric Masson [EMAIL PROTECTED] wrote:

When I launch upsd, it barfs vith :
[EMAIL PROTECTED]:~ /usr/local/sbin/upsd -u root
Password:
Network UPS Tools upsd 2.0.4
Connected to UPS [mge]: newhidups-auto
Synchronizing giving up


This looks like the same problem I was having. If you wait a little
bit it should then work.

Pedro.

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


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

2006-11-16 Thread Peter Selinger
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 defined in ups.conf.

Except for testing purposes, it is not recommended to start the driver
directly, so you should always use method (3). The problem is that
upsd needs some files in /var/state/ups to be able to locate the
driver; if you start the driver by method (1), these files will be
incorrectly named.

-- Peter

Eric Masson wrote:
 
 Hello,
 
 I'm facing problems as I'm installing NUT to monitor a MGE Ellipse 
 ASR600USBS on a FreeBSD 6.1 box.
 
 UPS is recognized as :
 ugen0: MGE UPS SYSTEMS ELLIPSE, rev 1.10/42.41, addr 2
 
 I'm temporarily using root profile (devfs/devd scripts not modified atm).
 
 newhidups starts  runs fine (unplugging mains makes newhidups outputs 
 lots of data when started with - flags)
 
 When I launch upsd, it barfs vith :
 [EMAIL PROTECTED]:~ /usr/local/sbin/upsd -u root
 Password:
 Network UPS Tools upsd 2.0.4
 Connected to UPS [mge]: newhidups-auto
 Synchronizing giving up
 
 I've tried to stop and relaunch it many times but output is always the same.
 
 Relevant config files are :
 
 # Network UPS Tools: example ups.conf
 user = root
 [mge]
driver = newhidups
  port = auto
  desc = MGE Ellipse ASR600USBS
 
 # Network UPS Tools: example upsd configuration file
 ACL all 0.0.0.0/0
 ACL localhost 127.0.0.1/32
 
 ACCEPT localhost
 REJECT all
 
 MAXAGE 30
 
 # Network UPS Tools: Example upsd.users
 [admin]
  password = 
  allowfrom = localhost
  actions = SET
  instcmds = ALL
 
 [monuser]
  password = 
  allowfrom = localhost
  upsmon master
 
 # Network UPS Tools: example upsmon configuration
 RUN_AS_USER root
 MONITOR [EMAIL PROTECTED] 1 monuser monuser master
 MINSUPPLIES 1
 SHUTDOWNCMD /sbin/shutdown -p now
 POLLFREQ 5
 POLLFREQALERT 5
 HOSTSYNC 15
 DEADTIME 15
 POWERDOWNFLAG /etc/killpower
 RBWARNTIME 43200
 NOCOMMWARNTIME 300
 FINALDELAY 5
 
 Any idea, anyone ?
 
 Regards
 
 
 ___
 Nut-upsuser mailing list
 Nut-upsuser@lists.alioth.debian.org
 http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
 


___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser