search for: sdtype

Displaying 11 results from an estimated 11 matches for "sdtype".

Did you mean: dtype
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.
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 -
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
2007 Jul 31
1
Proposed apcsmart driver patch
...tested. No changes to man pages. -- Rob [Sample output from upsc(8)] Dumb upsc(8) output with unpatched apcsmart(8): root at maya /root (4:1804) # -? upsc SmartUPS-1250 at localhost driver.name: apcsmart driver.parameter.cable: 940-0024C driver.parameter.port: /dev/ups driver.parameter.sdtype: 0 driver.version: 2.0.5 driver.version.internal: 1.99.8 input.voltage: 119.6 ups.mfr: APC ups.model: Smart-UPS ups.serial: 09000717 ups.status: OL Not-so-dumb upsc(8) output with patched apcsmart(8): root at maya /root (4:1805) # -? upsc SmartUPS-1250 at localhost battery.alarm.threshold: 0 ba...
2007 Jun 04
2
APCsmart serial port problem
...;t make contact through the serial port. Since this is rack-mounted, it comes with a 940-1524 serial cable. As far as I can tell, this is supposed to work with smart signaling. Here's my ups.conf: [myups] driver = apcsmart port = /dev/ttyS0 cable = 940-0095B sdtype = 0 Here's a session which illustrates the problem: [root]# ls -l /dev/ttyS0 crw------- 1 nut nut 4, 64 Jun 4 14:28 /dev/ttyS0 [root]# /usr/local/nut/bin/upsdrvctl start Network UPS Tools - UPS driver controller 2.0.5 Network UPS Tools (version 2.0.5) - APC Smart protocol driver Dri...
2011 Aug 27
1
[PATCH 2/3] Fix use of uninitialized variable
...deletions(-) diff --git a/drivers/mge-utalk.c b/drivers/mge-utalk.c index c6114c7..616e2ad 100644 --- a/drivers/mge-utalk.c +++ b/drivers/mge-utalk.c @@ -465,7 +465,8 @@ void upsdrv_shutdown(void) { char buf[BUFFLEN]; /* static time_t lastcmd = 0; */ - + memset(buf, 0, sizeof(buf)); + if (sdtype == SD_RETURN) { /* enable automatic restart */ mge_command(buf, sizeof(buf), "Sx 5"); -- 1.7.4.4
2008 Apr 18
2
My APC ups shutdown but doesn't start again
...tery.alarm.threshold: L battery.charge: 018.0 battery.charge.restart: 15 battery.date: 03/31/07 battery.runtime: 120 battery.runtime.low: 120 battery.voltage: 26.77 battery.voltage.nominal: 024 driver.name: apcsmart driver.parameter.pollinterval: 2 driver.parameter.port: /dev/ttyS0 driver.parameter.sdtype: 0 driver.version: 2.2.0- driver.version.internal: 1.99.8 input.frequency: 51.00 input.quality: FF input.sensitivity: H input.transfer.high: 253 input.transfer.low: 208 input.transfer.reason: S input.voltage: 226.0 input.voltage.maximum: 226.0 input.voltage.minimum: 222.0 output.voltage: 224.0 outp...
2006 Sep 04
5
Smart-UPS with SuSE 9.0/Nut
...3827 Aug 31 14:56 ups.conf -rw-r----- 1 nut nut 11144 Aug 31 14:56 upsmon.conf and... ls -la /dev |grep ttyS0 crw-rw-rw- 1 nut nut 4, 64 Aug 31 15:35 ttyS0 Heres' the confs ups.conf MONITOR myups@10.133.1.51 1 nut password master [myups] driver = apcsmart port = /dev/ttyS0 sdtype = 0 desc = "automatically configured device" upsmon: MONITOR myups@10.133.1.51 1 nut password master ...and the rest defaults ----------------------------------------------------------------- This email message is intended only for the addressee(s) and contains information that ma...
2006 Feb 20
1
preventing automatic reboot
Hello, I'd like to prevent my servers from rebooting when power comes back after a power failure. With powerchute (which I used before), there is an "automatic reboot" parameter. Is there an equivalent with nut ? Regards -- Frantz de Germain Web : http://www.info.univ-angers.fr/pub/frantz Membre de la Soci?t? d'Astronomie de Nantes : http://www.san-fr.com/
2013 Sep 21
2
Smart-UPS staying in OB after power return
...battery.voltage: 55.05 battery.voltage.nominal: 048 device.mfr: APC device.model: SMART-UPS 3000 RM device.serial: WS9951003031 device.type: ups driver.name: apcsmart driver.parameter.cable: 940-0095C driver.parameter.pollinterval: 2 driver.parameter.port: /var/lib/ups/tty-s0-ups0 driver.parameter.sdtype: 0 driver.version: 2.6.5 driver.version.internal: 3.04 input.frequency: 60.00 input.quality: FF input.sensitivity: H input.transfer.high: 132 input.transfer.low: 103 input.transfer.reason: no transfers yet since turnon input.voltage: 121.5 input.voltage.maximum: 121.5 input.voltage.minimum: 121.5 o...
2008 Nov 10
1
Can't make Smart-UPS 1500 shutdown over serial
...: 0 battery.charge: 100.0 battery.charge.restart: 00 battery.date: 09/06/05 battery.packs: 000 battery.runtime: 3720 battery.runtime.low: 120 battery.voltage: 27.40 battery.voltage.nominal: 024 driver.name: apcsmart driver.parameter.pollinterval: 2 driver.parameter.port: /dev/ttyS0 driver.parameter.sdtype: 0 driver.version: 2.2.1- driver.version.internal: 1.99.8 input.frequency: 50.00 input.quality: FF input.sensitivity: H input.transfer.high: 253 input.transfer.low: 208 input.transfer.reason: S input.voltage: 236.1 input.voltage.maximum: 236.1 input.voltage.minimum: 233.2 output.voltage: 236.1 outp...