search for: upsdrv_bann

Displaying 16 results from an estimated 16 matches for "upsdrv_bann".

Did you mean: upsdrv_banner
2007 May 25
0
Patch -- SVN revision in the version string
...if (SVNREV[0]) + return UPS_VERSION " (" SVNREV ")"; + else + return UPS_VERSION; +} Index: drivers/al175.c =================================================================== --- drivers/al175.c (revision 916) +++ drivers/al175.c (working copy) @@ -1296,7 +1296,7 @@ void upsdrv_banner(void) { printf("Network UPS Tools - Eltek AL175/COMLI support module %s (%s)\n\n", - DRV_VERSION, UPS_VERSION); + DRV_VERSION, upsversion()); /* * This driver does not support upsdrv_shutdown(), which makes * it not very useful in a real world application. This alone Index...
2010 Feb 15
1
upsdrv_info structure
...This obvious is not the case, since we can (and will) have variable number of subdrv_info elements and therefor the size is variable. Can you elaborate on what your intended use for this was at the time you added this? It looks like currently this is only used for printing some info in the upsdrv_banner() call. For the time being, I think we could fix this by hardcoding the number of elements (we never use more than 2, but could always increase this number if needed): /* subdriver description structure */ struct upsdrv_info_s { const char *name; /* driver full name, for banner printing, ....
2006 Jan 27
0
[PATCH] fentonups patch to make it work with some powercom ups's
...5,7 @@ void upsdrv_help(void) void upsdrv_makevartable(void) { addvar(VAR_VALUE, "lowbattvolt", "Set low battery level, in volts"); + addvar(VAR_FLAG, "powercom", "Set signal lines for PowerCOM UPS (method straced from PowerCOM's upsmon)"); } void upsdrv_banner(void) --- nut-2.0.2/drivers/fentonups.h.orig 2005-05-04 12:36:36.000000000 +0300 +++ nut-2.0.2/drivers/fentonups.h 2006-01-27 14:13:09.000000000 +0200 @@ -63,6 +63,10 @@ struct { { "ULT-1000", "PowerCom ULT-1000", 1.91, 0.42, 1.91, 0.42, 165, 200, 240, 275, 1 }, + { &quo...
2006 Apr 26
1
RE nut 2.0 fentonups and Xanto S3000R
.../* paranoia - cancel any shutdown that might already be running */ ret = ser_send(upsfd, "C\r"); @@ -406,6 +425,7 @@ void upsdrv_help(void) void upsdrv_makevartable(void) { + addvar(VAR_VALUE, "model", "force model"); } void upsdrv_banner(void) $OpenBSD$ --- drivers/fentonups.h.orig Tue Apr 25 23:32:16 2006 +++ drivers/fentonups.h Wed Apr 26 00:09:19 2006 @@ -81,5 +81,6 @@ struct { { "WELI 500 1.0", "Giant Power", "MT650", 10.6, 3.7, 170, 180, 270, 280, 0 },...
2008 Jul 08
0
Update on NUT 2.4 roadmap
...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 printing the authors name, point the driver maintainer, ...) The result of this can already be watched in the branches/trunk-upsdrv-info-struct - unified sec/gamatronic driver: Julius a...
2006 Dec 05
3
megatec over USB - new driver patch
...ace(upsfd, SEND_PACE, "C%c", ENDCHAR); - ser_send_pace(upsfd, SEND_PACE, "S00R0000%c", ENDCHAR); + comm->send("C%c", ENDCHAR); + comm->send("S00R0000%c", ENDCHAR); upslogx(LOG_INFO, "Turning load off."); @@ -686,21 +680,19 @@ void upsdrv_banner(void) { - printf("Network UPS Tools - Megatec protocol driver %s (%s)\n", DRV_VERSION, UPS_VERSION); + printf("Network UPS Tools - Megatec protocol driver %s[%s] (%s)\n", DRV_VERSION, comm->name, UPS_VERSION); printf("Carlos Rodrigues (c) 2003-2006\n\n"); }...
2006 Nov 26
1
Patch for optiups to support Zinto D from ONLINE USV-Systeme AG
...poll for critical status variables"); addvar(VAR_FLAG, OPTI_FAKELOW, "Fake a low battery status" ); addvar(VAR_FLAG, OPTI_NOWARN_NOIMP, "Supress warnings of unsupported commands"); + addvar(VAR_FLAG, OPTI_ZINTO, "UPS is a Zinto D from ONLINE UPS"); } void upsdrv_banner(void)
2005 Oct 10
1
Re: About blazer, powermust and mustek
...down") == 0) { delay = CLAMP(delay, 0, MAX_SHUTDOWN_DELAY); shutdown_delay = delay; - dstate_setinfo( "ups.delay.shutdown", "%d", delay); + dstate_setinfo("ups.delay.shutdown", "%d", delay); dstate_dataok(); @@ -460,8 +460,8 @@ void upsdrv_banner(void) { - printf("Network UPS Tools - Mustek PowerMust UPS driver %s (%s)\n", DRV_VERSION, UPS_VERSION); - printf("Carlos Rodrigues (c) 2003, 2004\n\n"); + printf("Network UPS Tools - Megatec protocol driver %s (%s)\n", DRV_VERSION, UPS_VERSION); + printf("Carl...
2007 May 13
0
No subject
...lf back on once the * power comes back on; which is probably what we want */ buf[0]=0x02; buf[1]=0x01; buf[2]=0x00; buf[3]=0x00; execute_and_retrieve_query(buf, reply); } void upsdrv_help(void) { } void upsdrv_makevartable(void) { } void upsdrv_banner(void) { printf("Network UPS Tools - Sweex USB UPS driver %s (%s)\n\n", DRV_VERSION, UPS_VERSION); }
2007 May 13
0
No subject
...the * power comes back on; which is probably what we want */ buf[0]=0x02; buf[1]=0x01; - Hide quoted text - buf[2]=0x00; buf[3]=0x00; execute_and_retrieve_query(buf, reply); } void upsdrv_help(void) { } void upsdrv_makevartable(void) { } void upsdrv_banner(void) { printf("Network UPS Tools - Sweex USB UPS driver %s (%s)\n\n", DRV_VERSION, UPS_VERSION); }
2007 May 13
0
No subject
...the * power comes back on; which is probably what we want */ buf[0]=0x02; buf[1]=0x01; - Hide quoted text - buf[2]=0x00; buf[3]=0x00; execute_and_retrieve_query(buf, reply); } void upsdrv_help(void) { } void upsdrv_makevartable(void) { } void upsdrv_banner(void) { printf("Network UPS Tools - Sweex USB UPS driver %s (%s)\n\n", DRV_VERSION, UPS_VERSION); }
2007 Feb 01
2
Re: [Nut-upsuser] Ablerex 625L USB version
...} > > if (strcasecmp(cmdname, "beeper.toggle") == 0) { > ! comm->send("Q%c", ENDCHAR); > > upslogx(LOG_INFO, "Toggling UPS beeper."); > > *************** > *** 758,778 **** > > void upsdrv_banner(void) > { > ! printf("Network UPS Tools %s - Megatec protocol driver %s > [%s]\n", UPS_VERSION, DRV_VERSION, progname); > printf("Carlos Rodrigues (c) 2003-2007\n\n"); > } > > > void upsdrv_initups(void) > { > !...
2006 May 12
1
Fwd: RE New xanto driver for NUT
Dear Andreas, some googling revealed, you created a driver for the xanto series of online-usv.de. In what state it is currently? I've to manage a S2000 and would like to use nut for it, is it usable by now? Do you need another tester? TIA, Pete
2007 Nov 20
2
Mustek Powermust 600VA
Hi, I'm having a hard time configuring a Mustek Powermust 600VA ups to work via USB with nut. I read somewhere that nut works OK via the rs232 cable, but unfortunately I don't have a COM port in my computer. The kernel detects the ups as an Xbox pad :) and loads the xpad module. I tried running /lib/nut/megatec with different /dev/ttySx but it displays megatec protocol UPS was not
2009 Aug 14
2
Bestfortress driver, network serial patch for nut-2.0
...mode"); */ /* allow '-x foo=<some value>' */ /* addvar(VAR_VALUE, "foo", "Override foo setting"); */ addvar (VAR_VALUE, "baudrate", "serial line speed"); addvar (VAR_VALUE, "max_load", "rated VA load VA"); } void upsdrv_banner(void) { printf("Network UPS Tools - Best Fortress UPS driver 0.01 (%s)\n\n", UPS_VERSION); } struct { char * val; speed_t speed; } speed_table[] = { {"1200", B1200}, {"2400", B2400}, {"4800", B4800}, {"9600", B9600}, {NULL, B1200}, }; vo...
2005 Dec 19
0
new(er) SEC driver.
...id) { } void upsdrv_makevartable(void) { /* allow '-x xyzzy' */ /* addvar(VAR_FLAG, "xyzzy", "Enable xyzzy mode"); */ /* allow '-x foo=<some value>' */ /* addvar(VAR_VALUE, "foo", "Override foo setting"); */ } void upsdrv_banner(void) { printf("Network UPS Tools (%s) - SEC protocol UPS driver %s\n", UPS_VERSION, SEC_DRIVER_VERSION); experimental_driver = 1; } void upsdrv_initups(void) { /* probe ups type */ upsfd = sec_setup_serial(device_path); /* to get variables and flags from the comma...