search for: initups

Displaying 4 results from an estimated 4 matches for "initups".

Did you mean: initgrps
2005 Dec 19
1
MGE Pulsar ES 8+
...; 5 0 It's not recognized very well by the current (from CVS) mge-utalk driver: [root@srv01 ~]# /home/rog/src/nut/drivers/mge-utalk -i 20 -DDD -u root /dev/ttyS0 Network UPS Tools - MGE UPS SYSTEMS/U-Talk driver 0.86 (2.1.0) debug level is '3' UPS response to 30% Low Batt Level was ? initups: OnDelay unavailable initups: OffDelay unavailable initinfo: 'Si 1' unavailable, switching to 'Si' command initinfo: Si == >3000 44 0< . CAUTION : This is an older model. It may not support too much polling. Please read man mge-utalk and use pollinterval No model found by that...
2006 Jun 04
2
RFC: allow HID subdriver's to register ups.conf
...gt; getting called from main()... > > Anyway, just a thought... This is related to the question of when to define these variables. As you pointed out, it cannot be done in upsdrv_makevartable(). So perhaps it is more sensible to have a general init routine, and to call it from within upsdrv_initups(), just after the subdriver has been selected. Please keep the traffic on the mailing list. -- Peter
2005 Sep 16
1
recent and planned changes
* I committed into CVS the gendb patch that I sent to the mailing list on September 12. Arnaud, I hope you approve of this patch; it is more reliable than the previous method in tracking the correct dependencies. * This, together with some other minor recent changes on the Development branch, is between the "before_PSE_3" and "after_PSE_3" tags. Arnaud: if you
2011 Oct 03
2
patch: Replace many usleep and some sleep calls with nanosleep
...ion. If an UPS is attached, it will set DSR Index: b/drivers/powerpanel.c =================================================================== --- a/drivers/powerpanel.c 2011-05-31 13:36:49.000000000 +0300 +++ b/drivers/powerpanel.c 2011-08-17 00:40:17.000000000 +0300 @@ -165,7 +165,7 @@ void upsdrv_initups(void) } ser_set_dtr(upsfd, 1); - usleep(10000); + struct timespec delay = {0, 10e6}; nanosleep(&delay, NULL); if (subdriver[mode]->initups() > 0) { upslogx(LOG_INFO, "CyberPower UPS with %s protocol on %s detected", subdriver[mode]->version, device_path); @...