Displaying 20 results from an estimated 10000 matches similar to: "Re: [nut-commits] svn commit r755 - in trunk: . clients"
2007 Jan 19
0
Re: [nut-commits] svn commit r755 - in trunk: . clients
> I see. For IP4 addresses, will ups@192.168.0.1:3493 still work as
expected? -- Peter
Yes. Whatever is between '@' and the optional ':<portnumber>' is passed as
hostname. Brackets (in case of domain literals) are removed.
One thing to note, in the released versions the use of IPv4 addresses for
a hostname (in upsclient.c) is not guaranteed to work (according to
POSIX):
2007 Jan 19
0
Re: [nut-commits] svn commit r755 - in trunk: . clients
> * are you sure you want to use fprintf(stderr, ...) in a library?
> This doesn't seem like a good idea to me. Wouldn't it be more
> consistent to extend upscli_errlist[] ?
Errorcodes are passed in 'ups->upserror' (and 'ups->syserrno'). Uh oh, we
don't have a connection to an UPS yet when we call upscli_splitname() or
upscli_splitaddr(). The
2007 Jan 19
1
Re: [nut-commits] svn commit r755 - in trunk: . clients
Great, thanks! Two questions:
* what is a domain literal? Is this something like 192.168.0.1? In
this case, the '[]' are probably unnecessary.
* are you sure you want to use fprintf(stderr, ...) in a library?
This doesn't seem like a good idea to me. Wouldn't it be more
consistent to extend upscli_errlist[] ?
-- Peter
Arjen de Korte wrote:
>
> Author:
2007 Jun 26
2
[nut-commits] svn commit r988 - in trunk: . docs
> Author: adkorte-guest
> Date: Mon Jun 25 19:26:09 2007
> New Revision: 988
>
> Log:
> Update to reflect changes in the way we deal with dstate_dataok() and
> dstate_datastale().
>
> Historically it was needed to call dstate_dataok() regularly, to prevent
> staleness warnings. This is no longer needed, now the server will PING
> drivers it has not heard of
2007 Aug 28
0
[nut-commits] svn commit r1076 - in trunk: . drivers
> ---------- Forwarded message ----------
> From: Arjen de Korte
> To: nut-commits at lists.alioth.debian.org
> Date: Mon, 27 Aug 2007 18:33:00 +0000
> Subject: svn commit r1076 - in trunk: . drivers
> Author: adkorte-guest
> Date: Mon Aug 27 18:33:00 2007
> New Revision: 1076
>
> Log:
> * drivers/libhid.[ch],libshut.[ch],libusb.[ch]:
> - Cut the libshut and
2006 Jul 11
1
Re: [nut-commits] svn commit r446 - in branches/Testing: . drivers man
> +22 = Gamatronic UPSs with alarm interface
> + [CP=RTS] [OL=CTS] [LB=\-DCD] [SD=DTR]
> +
> +22 = CyberPower SL seriess
> + [CP=RTS] [OL=CTS] [LB=\-CAR] [SD=DTR]
> +
> +
This part of the patch is no good. While TIOCM_CAR is equivalent to
TIOCM_CD (at least in some implementations) CAR certainly isn't handled
the same as DCD by genericups. It won't be
2009 May 18
1
[nut-commits] svn commit r1846 - in trunk: . clients common drivers include man server
Citeren Arnaud Quette <aquette at alioth.debian.org>:
> Author: aquette
> Date: Mon May 18 12:14:54 2009
> New Revision: 1846
>
> Log:
> Enable timestamp on output messages (format "%H:%M:%S: msg")
I think this should only be done for messages that are sent to stderr.
In most cases, syslog will already prepend a timestamp, so this is
probably redundant.
2008 Apr 06
1
[nut-commits] svn commit r1417 - in trunk: . drivers
> - drivers/dstate-hal.[ch]: added sleep here, to limit the polling rate
> (previously, the driver would completely ignore the poll interval and
> would run upsdrv_updateinfo() without any delay in between)
>
> The changes to dstate-hal.[ch] should probably be backported to Testing
> ASAP, since ignoring the poll_interval is not a good idea (you'll be
> basically polling
2007 Feb 27
1
Re: [nut-commits] svn commit r831 - in trunk: . docs scripts scripts/hotplug scripts/udev
> Added:
> trunk/scripts/hotplug/Makefile.am
> trunk/scripts/udev/Makefile.am
> Modified:
> trunk/ChangeLog
> trunk/Makefile.am
> trunk/configure.in
> trunk/docs/configure.txt
> trunk/scripts/Makefile.am
> trunk/scripts/hotplug/ (props changed)
> trunk/scripts/udev/ (props changed)
> trunk/scripts/udev/README
> Log:
> -
2007 Oct 03
2
[nut-commits] svn commit r1136 - in trunk: . drivers
> Author: agordeev-guest
> Date: Wed Oct 3 00:09:21 2007
> New Revision: 1136
>
> Log:
> - drivers/megatec_usb.c: added ability to do subdriver-specific
> initialization, and moved some shared code to agiler init function
> since krauler doesn't need it.
[...]
I'm not very thrilled about this patch:
1) Down at the subdriver level, one shouldn't use
2007 Jun 21
2
[nut-commits] svn commit r971 - in trunk: . drivers
> Author: aquette
> Date: Thu Jun 21 07:43:46 2007
> New Revision: 971
>
> Log:
> fix communication lost status handling
>
> Modified:
> trunk/ChangeLog
> trunk/drivers/usbhid-ups.c
>
> Modified: trunk/ChangeLog
> ==============================================================================
> --- trunk/ChangeLog (original)
> +++ trunk/ChangeLog
2008 Feb 26
0
[nut-commits] svn commit r1334 - in trunk: . drivers
> Author: adkorte-guest
> Date: Mon Feb 25 20:40:41 2008
> New Revision: 1334
>
> Log:
> Allocate twice the maximum number of reports we expect (MAX_REPORTS), to
> allow for bogus/duplicate reports.
Retrospectively, this is gross hack at best and probably only good to fix
the problem temporarily. I think I have a better solution available (in a
similar way as r1210, that was
2007 Feb 16
1
Re: [nut-commits] svn commit r808 - in trunk: . drivers
> next_device:
> + free(curDevice->Vendor);
> + free(curDevice->Product);
> + free(curDevice->Serial);
> + free(curDevice->Bus);
> usb_close(udev);
> udev = NULL;
> }
Wouldn't it be necessary to check whether there is anything to free or
not? Vendor, Product and Serial are set conditionally.
In the lines
upsdebugx(2, "-
2008 Feb 08
0
[nut-commits] svn commit r1285 - in trunk: . common include
> Author: adkorte-guest
> Date: Fri Feb 8 07:09:51 2008
> New Revision: 1285
>
> Log:
> Cleanup and change the arguments to the upsdebug_hex() function so that it
> no longer requires casting to an unsigned char.
>
> Modified:
> trunk/ChangeLog
> trunk/common/common.c
> trunk/include/common.h
>
> Modified: trunk/ChangeLog
I would like to do
2008 Mar 11
0
[nut-commits] svn commit r1372 - in trunk: . data docs drivers
> Author: adkorte-guest
> Date: Mon Mar 10 10:08:08 2008
> New Revision: 1372
>
> Log:
> - allow subdrivers to override the 'shutdown.(return|stayoff)' commands
> that are 'composed' in the driver
> - add new 'load.(on|off).delay' commands to allow the above (will
> implicitly define 'load.(on|off)' command with a delay value of
2008 May 13
2
[Alioth] SSH keys removed
I guess this means we won't have access to SVN, right? Is there a timeline
available when this will be fixed? Sadly enough, my keys were generated on
an openSUSE system and are probably not affected by this vulnerability
anyway.
Best regards, Arjen
--
Eindhoven - The Netherlands
Key fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1 EE 88 BC 57
-------------- next part --------------
An
2007 Mar 28
1
Re: Nut-upsuser Digest, Vol 21, Issue 29
THANKS, but the 'megatec' driver only works whith windows OS via USB, and i need it for red hat OS with USB-serial connection...
Please, anybody can help me....
nut-upsuser-request@lists.alioth.debian.org escribi?: Send Nut-upsuser mailing list submissions to
nut-upsuser@lists.alioth.debian.org
To subscribe or unsubscribe via the World Wide Web, visit
2006 Sep 12
0
Re: Serial Ports (Was Re: Common Power Management : NUT and HAL (stage 1))
--
Eindhoven - The Netherlands
Key fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1 EE 88 BC 57
> Is there any reason we don't just do serial PnP? Do UPSes not generally
support this?
Unfortunately, many cheap ones don't or have implementation flaws (the
Sweex 1000 for instance, which calculates the CRC in the wrong way). In
fact, there are a fair number of UPSes in the list of
2008 Jun 10
1
Nut-upsuser Digest, Vol 36, Issue 5
It is possible at least on linux to get the port associated with a device from
userspace - I'd assume that on each platform it's possible, just that libusb
is incomplete (on top of being undocumented).
Here's a patch for matching portnum on linux, with a few pieces pulled from
libusb. It lacks autoconf macros to isolate it -- but it does appear to work.
Regards,
Alex Peyser
On
2006 Nov 13
1
(no subject)
Browsing through the newhidups.c code, I stumbled across the following:
/* master list of avaiable subdrivers */
static subdriver_t *subdriver_list[] = {
#ifndef SHUT_MODE
&generic_subdriver,
#endif
&mge_subdriver,
#ifndef SHUT_MODE
&apc_subdriver,
&belkin_subdriver,
&tripplite_subdriver,
NULL
#endif
};
Shouldn't the 'NULL' terminator be outside the