Displaying 20 results from an estimated 7000 matches similar to: "apcsmart dev branch"
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
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
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
2011 Jun 28
1
[nut-commits] svn commit r3071 - branches/apcsmart-dev/drivers
Citeren Michal Soltys <msoltyspl-guest at alioth.debian.org>:
> Log:
> apcsmart: allow tearing down/setting up serial connection during
> normal activity;
If this is needed at all (why?), I don't think this should be handled
at driver level, but this would need to be in the serial.c library.
Opening/closing a serial port is independent from the protocol used
(no data
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 Jan 18
1
apcsmart.c question
Hi,
I started updating smart driver with a few things I've been missing.
While going through the source:
- in upsdrv_shutdown(), there're loads of printfs - they kinda look like
a leftover from older debug times. Shouldn't they be changed into
upsdebugx() or upslogx() ?
2012 Oct 23
1
apcsmart and #311678 feature request thoughts
https://alioth.debian.org/tracker/?func=detail&atid=411544&aid=311678&group_id=30602
I wanted to do it somewhat more flexibly/elegantly, so this is what I've
been thinking about (or rather sitting on mostly implemented piece,
still needing some testing though):
- any variable that may include multiple data, would be (during runtime)
split into appropriate *.N.* sets; for
2014 Jan 14
0
Unable to detect an APC Smart protocol UPS. Windows. APC Smart protocol driver 3.04 (2.6.5-3723:3731M)
On 2014-01-14 10:12, dstrr wrote:
> Hello.
> Trouble to communicate with APC SmartUPS via serial port.
> UPS connected to the com1 port on windows host.
> Communication witch hyperterm works well.
> There is a log:
>
> YSM
> ^ASmart-UPS SC1000
> n5S0713T63247
> m03/29/07
> L240.0
> B27.10
>
> apcupsd also can communicate with the UPS and works well.
>
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
-
2014 Jan 14
2
Unable to detect an APC Smart protocol UPS. Windows. APC Smart protocol driver 3.04 (2.6.5-3723:3731M)
Hello.
Trouble to communicate with APC SmartUPS via serial port.
UPS connected to the com1 port on windows host.
Communication witch hyperterm works well.
There is a log:
YSM
^ASmart-UPS SC1000
n5S0713T63247
m03/29/07
L240.0
B27.10
apcupsd also can communicate with the UPS and works well.
running apcsmart -a ups gives the following:
com1: device reports different attributes than what were set
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
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.
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 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.
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
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:
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
2009 Jul 09
1
apcsmart and dual environmental sensors
Hi,
We have a several AP9612TH environmental cards (they have 2 probe
connectors) inserted into our APC UPS devices which monitor temperature
and humidity. The apcsmart nut module knows how to query the
ambient.temperature and ambient.humidity using the 't' and 'h' commands
of the UPS (refer to apcsmart.h). The results of the 't' and 'h'
commands are from probe 1.
2005 Jul 09
1
apcsmart varibles
Hello,
I am working on getting NUT working with my Smart-UPS 900 UPS (with the C c=
able)
For several years, I have used the apcupsd product, but because of the
nagios support for nut, I am working on switching over.
Under apcupsd, I get tons of information from my UPS:
# /usr/local/sbin/apcaccess status
DATE : Sat Jul 09 12:56:41 CDT 2005
HOSTNAME : homer
RELEASE : 3.8.6
UPSNAME :