search for: upsdrv_info

Displaying 15 results from an estimated 15 matches for "upsdrv_info".

Did you mean: upsdrv_info_t
2010 Feb 15
1
upsdrv_info structure
Arnaud, If memory serves, you're the one that 'invented' the upsdrv_info_t subdriver description structure. We seem to have an issue with this on Solaris. I suspect that we're introducing GCC specific behavior here. Technically the typedef here isn't possible in C89, since this suggests that sizeof(upsdrv_info_t) can be determined. This obvious is not t...
2009 Oct 21
2
[nut-commits] svn commit r2036 - trunk/man
Citeren Arnaud Quette <aquette op alioth.debian.org>: > +.SS "Repetitive timeout and staleness" > + > +Some models tends to be unresponsive with the default polling frequency. > +The result is that your system log will have lots of messages like: > +.nf > + usb 2-1: control timeout on ep0in > + usb 2-1: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 128 rq
2010 Apr 19
1
Patch for the bestfortress driver 0.02
...0100 +++ nut-2.4.3j/drivers/bestfortress.c 2010-04-19 12:17:07.929852889 +0200 @@ -34,7 +34,7 @@ #endif #define DRIVER_NAME "Best Fortress UPS driver" -#define DRIVER_VERSION "0.02" +#define DRIVER_VERSION "0.03" /* driver description structure */ upsdrv_info_t upsdrv_info = { @@ -203,20 +203,26 @@ int loadva; int len; int retry; + char ch; int checksum_ok, is_online=1, is_off, low_batt, trimming, boosting; for (retry = 0; retry < 5; ++retry) { upsflushin (0, 0, "\r ");...
2009 Mar 15
1
international charactes (was: Re: [nut-commits] svn commit r1805 - trunk/drivers)
...> @@ -1,6 +1,6 @@ > /* belkin.c - model specific routines for Belkin Smart-UPS units. > > - Copyright (C) 2000 Marcus M?ller <marcus at ebootis.de> > + Copyright (C) 2000 Marcus M?ller <marcus at ebootis.de> > > based on: > > @@ -34,14 +34,14 @@ > upsdrv_info_t upsdrv_info = { > DRIVER_NAME, > DRIVER_VERSION, > - "Marcus M?ller <marcus at ebootis.de>", > + "Marcus M?ller <marcus at ebootis.de>", > DRV_STABLE, > { NULL } > }; > ...
2014 Nov 03
0
RFC: new variable battery.status (was: [PATCH] upscode2: Report ABM Status)
...skars PowerServer 10 (Per Larsson <tucker at algonet.se>) */ @@ -45,7 +45,7 @@ #include <math.h> #define DRIVER_NAME "UPScode II UPS driver" -#define DRIVER_VERSION "0.88" +#define DRIVER_VERSION "0.89abm" /* driver description structure */ upsdrv_info_t upsdrv_info = { @@ -54,7 +54,7 @@ "H K Lygre, <hklygre at online.no>\n" \ "Niels Baggesen <niels at baggesen.net>\n" \ "Niklas Edmundsson <nikke at acc.umu.se>", - DRV_EXPERIMENTAL, + DRV_BETA, { NULL } }; @@ -262,7 +262,7 @@ { &...
2008 Nov 19
1
[nut-commits] svn commit r1556 - in trunk: . docs drivers scripts/hal scripts/hotplug scripts/udev tools
Citeren Arnaud Quette <aquette.dev at gmail.com>: > Author: aquette > Date: Sat Nov 15 21:50:40 2008 > New Revision: 1556 > > Log: > USB "improved maintenance" code. Refer to docs/new-drivers.txt for > more information... > > Added: > trunk/drivers/usb-common.c > trunk/drivers/usb-common.h > trunk/tools/ > trunk/tools/Makefile.am >
2011 Oct 03
2
patch: Replace many usleep and some sleep calls with nanosleep
...osleep(&delay, NULL); } void upsdrv_cleanup(void) Index: b/drivers/victronups.c =================================================================== --- a/drivers/victronups.c 2011-05-31 13:36:49.000000000 +0300 +++ b/drivers/victronups.c 2011-08-17 03:09:10.000000000 +0300 @@ -49,8 +49,8 @@ upsdrv_info_t upsdrv_info = { #define ENDCHAR '\r' #define IGNCHARS "\n" -#define UPS_DELAY 150000 -#define UPS_LONG_DELAY 450000 +#define UPS_DELAY 150e6 +#define UPS_LONG_DELAY 450e6 #define VICTRON_OVER 128 #define VICTRON_RB 1 @@ -86,7 +86,7 @@ static int get_data (const char *out...
2008 Jul 08
0
Update on NUT 2.4 roadmap
...lib |_ server |_ new ones: hal, dk-p, ... Comments and feedback welcome. I'll request a freeze during the 2.4 branches merge, just the time needed to move everything around. 3) drivers simplification and improvements --------------------------------------------------------------------- - upsdrv_info structure: this is a structure containing all the common driver information, like name, version, author(s) and development status. The aim is to centralize more common code (upsdrv_banner, ...), to simplify the drivers and focus on the code that matters, while increasing the possibilities (like pri...
2012 Feb 13
3
RFC: new variable battery.status (was: [PATCH] upscode2: Report ABM Status)
2012/2/6 thomas schorpp <thomas.schorpp at googlemail.com>: > Hi, Hi Thomas, > I want the driver report the battery status from ABM charging controllers > -patch attached- : thanks for your patch. since it introduces a new variable (battery.status.abm), I prefer to step back and think to something useful more widely. thus, I'm thinking about a generic
2015 Mar 26
2
New snmp-ups subdriver for Huawei
...both IETF and vendor specific MIB, @@ -100,7 +102,7 @@ const char *mibvers; static void disable_transfer_oids(void); #define DRIVER_NAME "Generic SNMP UPS driver" -#define DRIVER_VERSION "0.72" +#define DRIVER_VERSION "0.73" /* driver description structure */ upsdrv_info_t upsdrv_info = { Sample output: battery.charge: 99.00 battery.current: 0.10 battery.runtime: 13740.00 battery.voltage: 536.80 device.mfr: Huawei device.model: UPS5000-E device.serial: 2102310NYJ10EA000006 device.type: ups driver.name: snmp-ups driver.parameter.pollinterval: 2 driver.parameter.p...
2014 Nov 04
2
RFC: new variable battery.status
...<tucker at algonet.se>) > */ > @@ -45,7 +45,7 @@ > #include <math.h> > > #define DRIVER_NAME "UPScode II UPS driver" > -#define DRIVER_VERSION "0.88" > +#define DRIVER_VERSION "0.89abm" > > /* driver description structure */ > upsdrv_info_t upsdrv_info = { > @@ -54,7 +54,7 @@ > "H K Lygre, <hklygre at online.no>\n" \ > "Niels Baggesen <niels at baggesen.net>\n" \ > "Niklas Edmundsson <nikke at acc.umu.se>", > - DRV_EXPERIMENTAL, > + DRV_BETA, > { NULL } > }; &gt...
2011 Jan 25
1
[RFC] Updates to ACP smart driver
This patch introduces a handful of new options, I mentioned earlier in: http://www.mail-archive.com/nut-upsdev at lists.alioth.debian.org/msg02088.html See the large commit message in the follow-up for the details and rationale. I realize it's a bit larger diff - so if it's required I can split it into few smaller ones. Michal Soltys (1): APC smart driver update and new features.
2011 Feb 07
4
[PATCH/RFC v2 0/3] Updates to ACP smart driver
This is 2nd version of the earlier patch featuring a few new features and fixes to the apcsmart driver, following the remarks in: http://www.mail-archive.com/nut-upsdev at lists.alioth.debian.org/msg02294.html Major changes from v1: - handle battery.charge and battery.runtime checks at main.c level - handle "immutable but writable" conflict gracefully at driver level -
2008 Dec 24
1
Driver removal notification: al175
Hi Kirill, just to notify you that your al175 driver is being removed from the NUT tree, as of 2.4.0-pre1. if you wish to see it entering the tree again, please contact the Development mailing list to talk about it. Merry Christmas and happy New Year. Arnaud -- Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops Network UPS Tools (NUT) Project Leader -
2011 Mar 05
19
[RFC apcsmart V3 00/18] apcsmart driver updates
Sorry for a bit longer delay than I anticipated, I was stuffed with the work. This is the next iteration of the patch adding some functionality to apcsmart driver, and relying on 'ignorelb' recently added. Follow up from previous thread: http://www.mail-archive.com/nut-upsdev at lists.alioth.debian.org/msg02331.html Main differences is that V3 is split into many small patches, so the