search for: dstate_setflags

Displaying 20 results from an estimated 20 matches for "dstate_setflags".

2005 Jul 12
0
Smart-UPS DP missing variable
...I've got a apc Smart-UPS DP 8000 XL and a 940-0024c cable., and when I launch upsdrvctl, I've got the following message : Network UPS Tools - UPS driver controller 2.0.2 Network UPS Tools (version 2.0.2) - APC Smart protocol driver Driver version 1.99.7, command table version 2.0 dstate_setflags: base variable (input.transfer.high) does not exist dstate_addenum: base variable (input.transfer.high) does not exist dstate_setflags: base variable (input.transfer.low) does not exist dstate_addenum: base variable (input.transfer.low) does not exist dstate_setflags: base variable (input.sensitivi...
2013 Jul 01
1
bcmxcp: Patch for cosmetic code changes
...,16 +948,16 @@ int init_outlet(unsigned char len) upsdebugx(2, "Auto delay off: %d\n", auto_dly_off); snprintf(outlet_name, sizeof(outlet_name)-1, "outlet.%d.delay.shutdown", num); dstate_setinfo(outlet_name, "%d", auto_dly_off); - dstate_setflags(outlet_name, ST_FLAG_RW | ST_FLAG_STRING); - dstate_setaux(outlet_name, 5); + dstate_setflags(outlet_name, ST_FLAG_RW | ST_FLAG_STRING); + dstate_setaux(outlet_name, 5); auto_dly_on = get_word(answer+iIndex); iIndex += 2; upsdebugx(2, "Auto d...
2019 Sep 23
0
warnung: base variable (battery.runtime.low) is immutable
Hi, I am using the NUT Software 2.7.4 (Ubuntu Repository) on Ubuntu 18.04. Configuring a UPS with the snmp-ups driver and overriding the battery.runtime.low variable leads to following warnung/error: Sep 23 11:10:08 hostname snmp-ups[27115]: dstate_setflags: base variable (battery.runtime.low) is immutable Default for battery.runtime.low is 180 seconds. My idea is to increase the value to 420 seconds. Although I get the warnung/error, in the output of upsc the variable is set to the desired value: # upsc USV at hostname battery.charge: 100.00 bat...
2012 Mar 08
18
some fixes, improvements, and new features (EPO and DYING) for NUT
Here are a series of my recent changes to NUT. The first few in the set are primarily little fixes and improvements. In among those are a few for .gitignore files which of course you can ignore for SVN, and there's one for a commit to a generated file which of course should not be tracked in any VCS. Then there are a couple or three to do with generating the header files used by
2006 May 26
1
SVN Newhidups driver
Hi, I recently installed a new cyberpower 1200AVR ups using the newhidups driver I built from the subversion source. I am recieving the following error on start up dstate_setflags: base variable (ups.beeper.status) does not exist dstate_setaux: base variable (ups.beeper.status) does not exist Any ideas? Thanks,
2005 Oct 04
0
variable writability
Arnaud: in today's commits, I removed three lines that you apparently added on August 10: 1.1.1.1.8.1 (aquette 04-May-05): if (mode == HU_WALKMODE_INIT) 1.1.1.1.8.1 (aquette 04-May-05): { 1.1.1.1.8.1 (aquette 04-May-05): dstate_setflags(item->info_type, item->info_flags); 1.1.1.1.8.6.2.5 (aquette 10-Aug-05): /* Verify variable setability/RW */ 1.1.1.1.8.6.2.5 (aquette 10-Aug-05): if (get_current_data_attribute() != ATTR_DATA_CST) 1.1.1.1.8.6.2.5 (aquette 10-Aug-05): dstate_setflags(item-&gt...
2006 Apr 26
1
RE nut 2.0 fentonups and Xanto S3000R
Hi Henning, you should get in touch with Carlos, who his developing a generic megatec driver (available from svn: http://eu1.networkupstools.org/source.html) Arnaud -- Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ OpenSource Developer -
2006 Nov 15
1
Tripp Lite OMNI900LCD
...When I run ./upsdrvctl start I get : [player@V0002-S002 bin]$./upsdrvctl start Network UPS Tools - UPS driver controller 2.1.0 Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 (2.1.0) Detected a UPS: Tripp Lite /TRIPP LITE UPS Using subdriver: TrippLite HID 0.1 (experimental) dstate_setflags: base variable (ups.test.result) does not exist If I run ./newhidups -u root -DD auto, I get this scrolling gibberish until I ctrl-c the process, it will continue forever if I let it. [player@V0002-S002 bin]$ sudo ./newhidups -u root -DD auto Network UPS Tools: 0.28 USB communication driver 0.28...
2009 Aug 14
2
Bestfortress driver, network serial patch for nut-2.0
...m mode p6=0 dumb DONT USE (will lose access to parameter setting!) p6=1 B1200 p6=2 B2400 P6=3 B4800 p6=4 B9600 maybe cycle through speeds to autodetect? echo off e0 echo on e1 */ dstate_setinfo("input.transfer.low", "%s", ""); dstate_setflags("input.transfer.low", ST_FLAG_STRING | ST_FLAG_RW); dstate_setaux("input.transfer.low", 3); dstate_setinfo("input.transfer.high", "%s", ""); dstate_setflags("input.transfer.high", ST_FLAG_STRING | ST_FLAG_RW); dstate_setaux("inpu...
2012 Feb 14
1
Why Type: UNKNOWN?
An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20120214/3ac7d3df/attachment.html>
2006 Nov 26
1
Patch for optiups to support Zinto D from ONLINE USV-Systeme AG
...ot;, "%d", 1); + dstate_setinfo("outlet.1.id", "%d", 2); + dstate_setinfo("outlet.0.switchable", "%d", 0); + dstate_setinfo("outlet.1.switchable", "%d", 1); + dstate_setinfo("outlet.1.switch", "%d", 1); + dstate_setflags("outlet.1.switch", ST_FLAG_RW | ST_FLAG_STRING); + dstate_setaux("outlet.1.switch", 1); + upsh.setvar = setvar; + } } void upsdrv_updateinfo(void) { int r = optiquery( "AG" ); + + /* Online-UPS send only "2" when off, without "\r\n" */ + i...
2006 Aug 02
1
nut-usb fink version
...> > Looking up UPS > > Looking up Battery > > Looking up Test > > Report : (8 bytes) =3D> 00 00 9C F3 00 03 10 D2 > > hu_find_infoval: searching for value =3D 0 > > > > hu_find_infoval: no matching INFO_* value for this HID value (0) > > > > dstate_setflags: base variable (ups.test.result) does not exist > > entering string_to_path() > > Looking up UPS > > Looking up Output > > Looking up Test > > Report : (8 bytes) =3D> 00 00 9C F3 00 03 10 D2 > > hu_find_infoval: searching for value =3D 0 > > > > hu...
2023 Jul 05
1
failed after upgrade - upscode2: Missing UPCL after UPCL
...0.954763 [D3] upscsend: 'UPCD' 0.956318 [D3] upscsend: '0000' 2.958427 [D3] upscrecv: Timeout 4.960535 [D3] upscrecv: Timeout 4.960566 [D2] Got value: 4.960580 Bad response to UPCD 0000: 4.960596 dstate_setflags: base variable (ups.delay.reboot) does not exist 4.960609 dstate_setaux: base variable (ups.delay.reboot) does not exist From cutecom - UPCD 0000 returns ACCD 060 > > On Wed, Jul 5, 2023, 06:23 Karl Schmidt <karl at lrak.net <mailto:karl at lrak.net>> wrote:...
2013 Apr 02
3
blazer driver: Possible bugs with battery packs
Hello all, long time away from this list, glad to be around again! I have this Powercom Vanguard VGN VGD-20K31. Some details of this model: * 3-phase input, single phase output * Model has 240V / 12V9AH x 20 x 2SET, plus another set of 20 batteries. All in all, 3 sets * Serial connection to Windows 2k3 server with UPSMon Now I was strongly considering replacing the bundled no-good upsmoon
2023 Jul 05
1
failed after upgrade - upscode2: Missing UPCL after UPCL
Ah, I thought you missed in my earlier reply the part about a bug with debug printouts in 2.8.0 (fixed on master since), did not comment on that when you replied with quoting... So, for now options are to bump debugging to 3+ or to build your own in one of many ways possible :\ On Wed, Jul 5, 2023, 06:23 Karl Schmidt <karl at lrak.net> wrote: > On 7/4/23 10:01PM, Jim Klimov wrote: >
2006 Jul 24
3
Tripp Lite Smart1000LCD driver problem
Thanks Kjell for the help with the build problem. Thanks for your input, too, Charles. Now I have a new problem that I think has already been solved. I have Tripp Lite Smart1000LCD UPS (usb), but I can't get the newhidups driver to communicate correctly. I found a thread on the development list from last December where Jonathan Freedman described had a problem with this UPS in a thread
2007 Aug 23
1
[nut-commits] svn commit r1073 - in trunk: . drivers
...========================================= > --- trunk/drivers/dstate-hal.c (original) > +++ trunk/drivers/dstate-hal.c Thu Aug 23 19:43:41 2007 > @@ -296,6 +296,11 @@ > return 0; > } > > +int dstate_delcmd(const char *var) > +{ > + return 0; > +} > + > void dstate_setflags(const char *var, int flags) > { > return; > > Modified: trunk/drivers/libhid.c > ============================================================================== > --- trunk/drivers/libhid.c (original) > +++ trunk/drivers/libhid.c Thu Aug 23 19:43:41 2007 > @@ -260,109 +26...
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 -
2005 Dec 19
0
new(er) SEC driver.
...ST_FLAG_RW; if (sec_varlist[v].flags & (SEC_FLAG_STRING|SEC_FLAG_NUMBER)) f |= ST_FLAG_STRING; if (sec_varlist[v].flags & SEC_FLAG_NUMBER) dstate_setinfo(sec_varlist[v].infotag, "0"); else dstate_setinfo(sec_varlist[v].infotag, "(nil)"); dstate_setflags(sec_varlist[v].infotag, f); dstate_setaux(sec_varlist[v].infotag, sec_varlist[v].size); /* find entries in enumdata for current variable */ if (sec_varlist[v].flags & SEC_FLAG_ENUM) { e = 0; while ((sec_enumdata[e].type != SEC_UNUSED) && (sec_enumdata[e].t...
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