search for: upsdrv_info_t

Displaying 13 results from an estimated 13 matches for "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 the...
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 @@ { &qu...
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_s...
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
2020 Apr 03
0
Powercool PCRACK-1200VA patch update
...-git a/drivers/libusb.c b/drivers/libusb.c index 0eb054a7..42f1b93f 100644 --- a/drivers/libusb.c +++ b/drivers/libusb.c @@ -36,6 +36,7 @@  #define USB_DRIVER_NAME        "USB communication driver"  #define USB_DRIVER_VERSION    "0.33" +  /* driver description structure */  upsdrv_info_t comm_upsdrv_info = {      USB_DRIVER_NAME, @@ -52,6 +53,10 @@ static void libusb_close(usb_dev_handle *udev);  /*! Add USB-related driver variables with addvar().   * This removes some code duplication across the USB drivers.   */ +#define USB_BUFLEN_MAX 256 +static int                langid_fi...
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
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 -
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.por...
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 } > }; >...
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 -