Displaying 20 results from an estimated 4000 matches similar to: "[nut-commits] svn commit r3071 - branches/apcsmart-dev/drivers"
2011 Jun 28
1
[nut-commits] svn commit r3104 - branches/apcsmart-dev/drivers
Citeren Michal Soltys <msoltyspl-guest at alioth.debian.org>:
> @@ -417,10 +414,12 @@
> if (flags & SER_CC) {
> iset = IGN_CCCHARS;
> aset = "";
> + sec = 6; usec = 0;
> }
> if (flags & SER_CS) {
> iset = IGN_CSCHARS;
> aset = "";
> + sec = 6; usec = 0;
> }
>
> memset(buf, '\0', buflen);
2011 Jun 28
0
[nut-commits] svn commit r3081 - branches/apcsmart-dev/drivers
Citeren Michal Soltys <msoltyspl-guest at alioth.debian.org>:
> @@ -251,14 +251,14 @@
> if (do_lock_port) {
> errno = 0;
> ret = 0;
> -#ifdef HAVE_UU_LOCK
> + #ifdef HAVE_UU_LOCK
> ret = uu_lock(xbasename(device_path));
> -#elif defined(HAVE_FLOCK)
> + #elif defined(HAVE_FLOCK)
> ret = flock(fd, LOCK_EX | LOCK_NB);
> -#elif
2013 Jun 14
1
Battery runtime not displaying
Thanks for the help, with the apcsmart-old driver it works again! Didn't notice my UPS is now so "old" ;-)
Here is the output of upsc with apcsmart-old driver:
battery.alarm.threshold: 0
battery.charge: 100.0
battery.charge.restart: 00
battery.date: 11/22/06
battery.packs: 001
battery.packs.bad: 000
battery.runtime: 540
battery.runtime.low: 120
battery.voltage: 53.73
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
2011 Mar 12
2
[RFC/PREVIEW] Move apcsmart driver to canonical processing + minor stuff
Inital tests with two apc units (2005 and pre-2000) seem to go well. See commit
message for details. I'll add more detailed rationale after getting some sleep :)
Michal Soltys (1):
apcsmart: switch processing to ICANON + minor fixes
drivers/apcsmart.c | 270 +++++++++++++++++++++++++++++++++++-----------------
drivers/apcsmart.h | 127 ++++++++++++++++---------
2 files changed, 267
2013 Aug 10
0
apcsmart dev branch
On Aug 9, 2013, at 7:18 AM, Michal Soltys wrote:
> I'm still a bit reluctant to merge it without a bit wider exposure, so if anyone has a possiblity to test it with some apc units - any feedback would be most welcome.
Apparently, a lot of people are using NUT via packages, so:
* users might not want to build from source if things are working
* the packagers might not pick up a 2.7.x
2013 Jun 14
0
Battery runtime not displaying
On Jun 13, 2013, at 7:14 AM, ML mail wrote:
> I just upgraded to Network UPS Tools upsstats 2.6.4 on Debian wheezy and noticed that it does not show the battery runtime anymore, the field is simply empty. It used to work before with NUT 2.4.1. Does anyone know what could be wrong?
>
> I am using the apcsmart UPS driver.
The apcsmart driver was overhauled, and in 2.6.x, the previous
2011 May 27
0
quick update
Hi Michal,
I've cc'ed -upsdev, since some info could be interesting for everybody.
2011/5/27 Michal Soltys <soltys at ziu.info>
> On 11-05-25 09:35, Arnaud Quette wrote:
> > Hi Michal,
> >
> > 2011/5/25 Michal Soltys <soltys at ziu.info <mailto:soltys at ziu.info>>
> >(...)
> >
> > I'm preparing larger patchset with
2011 Mar 21
2
apcsmart question
Before I start any commits.
In patch 2/18 -
http://lists.alioth.debian.org/pipermail/nut-upsdev/2011-March/005299.html
Two "custom" commands slipped in: ups.firmware.old and
shutdown.return.grace. In 18/18 I tried to rename them and add
remainig commands for "hackish" shutdown methods, to make them easily
callable through e.g. upscmd (for example for testing).
Is it
2013 Jun 13
2
Battery runtime not displaying
Hello,
I just upgraded to Network UPS Tools upsstats 2.6.4 on Debian wheezy and noticed that it does not show the battery runtime anymore, the field is simply empty. It used to work before with NUT 2.4.1. Does anyone know what could be wrong?
I am using the apcsmart UPS driver.
Thanks,
M.L.
2011 Feb 15
2
[Bug 535583] Excessive logging by apcsmart program
2011/2/15 Lupe Christoph
> On Monday, 2011-02-14 at 21:54:20 -0000, Arnaud Quette wrote:
> > I definitely need more info!
> > please reply to ALL:
>
> > - what is the exact model and date of manufacturing?
>
> SmartUPS 300I NET. I have the serial number (GS9809283199) but no date.
>
it seems to be a recent model.
> - are you sure this unit is ok?
>
>
2011 Feb 15
2
[Bug 535583] Excessive logging by apcsmart program
2011/2/15 Lupe Christoph
> On Monday, 2011-02-14 at 21:54:20 -0000, Arnaud Quette wrote:
> > I definitely need more info!
> > please reply to ALL:
>
> > - what is the exact model and date of manufacturing?
>
> SmartUPS 300I NET. I have the serial number (GS9809283199) but no date.
>
it seems to be a recent model.
> - are you sure this unit is ok?
>
>
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
-
2013 Jan 30
3
bug report: apcsmart (WIN) 940-0024C connect fail, problem with command 'E'
Dear Ladies and Gentlemen,
I have several old, yet functioning APC Smart-UPS (Model 600LS, Part AP600I,
Firmware 6JI, no EEPROM, from 1991). They are not supported by Powerchute
any more. I run NUT 2.6.5-4 on Windows XP SP3. I use COM1 port with cable
940-0024C. The connection fails with APC Smart protocol driver 3.0
(2.6.3-3534:3540M), APC command table version 3.0 or higher - it works with
APC
2009 Jun 25
1
Runaway apcsmart process
On several occasions I have seen the apcsmart process runaway using 100% CPU
while filling my syslog partition by logging the following syslog entries at
an incredible rate. I have seen up to 21,800 log entries PER SECOND of the
following nature:
--[snip]--
Jun 25 10:06:38 servername apcsmart[4012]: Communications with UPS lost:
Communications with UPS lost - check cabling
Jun 25 10:06:38
2010 Oct 28
0
[nut] question regarding potential new smart driver or patches for existing apcsmart driver
Hi Michal,
I'm cc'ing the NUT development mailing list. you should also subscribe to
it.
2010/10/28 Michal Soltys
> Greetings
>
> I have loads of relatively old smart upses that I currently control using a
> bit patched version of apcupsd - the reason for those patches is the age of
> the upses - roughly 10 years old+, which are can be a bit tricky to control.
> From
2007 Jul 31
1
Proposed apcsmart driver patch
G'day y'all,
Here's a tiny patch set for drivers/apcsmart.c and drivers/apcsmart.h.
Adds APC SmartUPS 1250 ("8QD" case) + 940-0024C recognition to
apcsmart. (Unpatched apcsmart.c v1.99.8 misidentifies the SmartUPS
1250 as a "dumb" UPS.) For NUT 2.0.5+.
NUT 2.0.5: Patches apply successfully. Builds successfully. Works as
expected under Ubuntu 7.04.
NUT 2.2:
2013 Aug 09
2
apcsmart dev branch
Hi,
The devel branch has some long standing updates implemented - mostly a
result from past bug/issue reports. Among those:
- selectable normal / canonical mode (useful in windows and perhaps with
some problematic usb/rs cards)
- some compat entries
- certain (old) class of psus returning something else through 'b'
treated as a whole set
- can handle mutlivalue entries (e.g.
2013 Aug 09
2
apcsmart dev branch
Hi,
The devel branch has some long standing updates implemented - mostly a
result from past bug/issue reports. Among those:
- selectable normal / canonical mode (useful in windows and perhaps with
some problematic usb/rs cards)
- some compat entries
- certain (old) class of psus returning something else through 'b'
treated as a whole set
- can handle mutlivalue entries (e.g.
2011 Jan 25
1
[RFC] Updates to ACP smart driver
This patch introduces a handful of new options, I mentioned earlier in:
http://www.mail-archive.com/nut-upsdev at lists.alioth.debian.org/msg02088.html
See the large commit message in the follow-up for the details and rationale.
I realize it's a bit larger diff - so if it's required I can split it into few
smaller ones.
Michal Soltys (1):
APC smart driver update and new features.