[Nut-upsdev] Minor issues cross-compiling windows_port branch

2011-01-26 Thread Paul Fertser
Hi, No patches today, sorry, just three little observations (i'm compiling windows_port branch on Debian GNU/Linux testing with mingw): * missing but required by the configure scripts/augeas/nutupsconf.aug.in scripts/hal/ups-nut-device.fdi.in scripts/udev/nut-usbups.rules.in * it

Re: [Nut-upsdev] [PATCH/RFC 1/1] APC smart driver update and new features.

2011-01-26 Thread Arjen de Korte
Citeren rasengan rootish r...@relay.ppgk.com.pl: So basically what you have in mind is putting such checks in main.c's loop somewhere after upsdrv_updateinfo() call, and then updating ups.status ? Yes. That would also warrant adding options enabling such functionality (separately for

Re: [Nut-upsdev] Minor issues cross-compiling windows_port branch

2011-01-26 Thread Paul Fertser
On Wed, Jan 26, 2011 at 07:11:59AM -0500, Charles Lepple wrote: On Wed, Jan 26, 2011 at 5:11 AM, Paul Fertser fercer...@gmail.com wrote: * missing but required by the configure  scripts/augeas/nutupsconf.aug.in  scripts/hal/ups-nut-device.fdi.in  scripts/udev/nut-usbups.rules.in

[Nut-upsdev] autogen.sh; was Re: Minor issues cross-compiling windows_port branch

2011-01-26 Thread Charles Lepple
On Jan 26, 2011, at 7:32 AM, Paul Fertser wrote: On Wed, Jan 26, 2011 at 07:11:59AM -0500, Charles Lepple wrote: On Wed, Jan 26, 2011 at 5:11 AM, Paul Fertser fercer...@gmail.com wrote: * missing but required by the configure scripts/augeas/nutupsconf.aug.in

Re: [Nut-upsdev] [nut-commits] svn commit r2853 - in branches/windows_port: drivers include

2011-01-26 Thread Arjen de Korte
Citeren Frederic BOHE fbohe-gu...@alioth.debian.org: Modified: branches/windows_port/include/wincompat.h == --- branches/windows_port/include/wincompat.h Wed Jan 26 15:05:16 2011 (r2852) +++

Re: [Nut-upsdev] [PATCH/RFC 1/1] APC smart driver update and new features.

2011-01-26 Thread Michal Soltys
On 11-01-26 16:36, Arjen de Korte wrote: Citeren Michal Soltys sol...@ziu.info: I think I found one bug with flag handling though: dstate_setflags() uses = when setting new flags. This has a side effect, that any later setflags() call will override earlier flags (as expected), but that also

Re: [Nut-upsdev] [PATCH/RFC 1/1] APC smart driver update and new features.

2011-01-26 Thread Michal Soltys
On 11-01-26 20:28, Arjen de Korte wrote: Citeren Michal Soltys sol...@ziu.info: The point is about override.* values, as they are implemented through immutable flag. If I added for example [apctest] override.battery.minutes.low = 0 or override.battery.minutes.low = -1 How is this supposed