Displaying 14 results from an estimated 14 matches for "ups_version".
2007 May 25
0
Patch -- SVN revision in the version string
...d in and current workfile(s):
Index: clients/upsc.c
===================================================================
--- clients/upsc.c (revision 916)
+++ clients/upsc.c (working copy)
@@ -27,7 +27,7 @@
static void help(const char *prog)
{
- printf("Network UPS Tools upsc %s\n\n", UPS_VERSION);
+ printf("Network UPS Tools upsc %s\n\n", upsversion());
printf("usage: %s -l | -L [<hostname>[:port]]\n", prog);
printf(" %s <ups> [<variable>]\n", prog);
@@ -223,7 +223,7 @@
/* special cases since we're not using getopt */
if...
2005 Oct 10
1
Re: About blazer, powermust and mustek
...uot;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("Carlos Rodrigues (c) 2003-2005\n\n");
}
diff -ruN nut.orig/drivers/powermust.h nut/drivers/powermust.h
--- nut...
2007 Jan 06
1
Re: [nut-commits] svn commit r710 - in trunk: . clients server
...08 2007
> @@ -25,10 +25,6 @@
>
> #include "upsclient.h"
>
> -/* From IPv6 patch (doesn't seem to be used)
> -static int opt_af = AF_UNSPEC;
> - */
> -
> static void help(const char *prog)
> {
> printf("Network UPS Tools upsc %s\n\n", UPS_VERSION);
>
> Modified: trunk/clients/upsclient.c
> ==============================================================================
> --- trunk/clients/upsclient.c (original)
> +++ trunk/clients/upsclient.c Sat Jan 6 19:39:08 2007
> @@ -38,9 +38,6 @@
> #define shutdown_how 2
> #e...
2007 May 13
0
No subject
...x01;
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
...ed 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
...ed 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
...uot;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)
> {
> ! upsfd = ser_open(device_path);
> ! ser_set_speed(upsfd, device_path, B2400);
> }
>
>
> void upsd...
2007 Jan 06
3
Re: [nut-commits] svn commit r708 - in trunk: . clients server
...59 2007
> @@ -25,6 +25,10 @@
>
> #include "upsclient.h"
>
> +/* From IPv6 patch (doesn't seem to be used)
> +static int opt_af = AF_UNSPEC;
> + */
> +
> static void help(const char *prog)
> {
> printf("Network UPS Tools upsc %s\n\n", UPS_VERSION);
>
> Modified: trunk/clients/upsclient.c
> ==============================================================================
> --- trunk/clients/upsclient.c (original)
> +++ trunk/clients/upsclient.c Fri Jan 5 21:06:59 2007
> @@ -38,6 +38,9 @@
> #define shutdown_how 2
> #e...
2006 Dec 05
3
megatec over USB - new driver patch
...HAR);
+ 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");
}
-
void upsdrv_initups(void)
{
- upsfd = ser_open(device_path);
- ser_set_speed(upsfd, device_path, B2400);
+ c...
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
...ot;, "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},
};
void upsdrv_initups(void) {
speed_t speed = B1200;
char * speed_val = getval("baudrate");...
2007 Jan 23
2
Re: [nut-commits] svn commit r731
...atapath = xstrdup(DATADIR);
>
> /* set up some things for later */
> -#ifndef HAVE_IPV6
> -
> - listenaddr.s_addr = INADDR_ANY;
> -#endif
> snprintf(pidfn, sizeof(pidfn), "%s/upsd.pid", altpidpath());
>
> printf("Network UPS Tools upsd %s\n", UPS_VERSION);
>
> -#ifndef HAVE_IPV6
> - while ((i = getopt(argc, argv, "+hp:r:i:fu:Vc:D")) != EOF) {
> -#else
> while ((i = getopt(argc, argv, "+h46p:r:i:fu:Vc:D")) != EOF) {
> -#endif
> switch (i) {
> case 'h':
> help(progname);
>...
2005 Dec 19
0
new(er) SEC driver.
..."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 command line, use this:
*
* first populate with upsdrv_buildvartable above, then...
*...