search for: ser_send_char

Displaying 13 results from an estimated 13 matches for "ser_send_char".

2009 Jun 25
1
Runaway apcsmart process
...ing 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 servername apcsmart[4012]: smartmode: ser_send_char failed: Input/output error Jun 25 10:06:38 servername apcsmart[4012]: smartmode: ser_send_char failed: Input/output error Jun 25 10:06:38 servername apcsmart[4012]: smartmode: ser_send_char failed: Input/output error Jun 25 10:06:38 servername apcsmart[4012]: smartmode: ser_send_char failed: Input/...
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
2011 Oct 03
2
patch: Replace many usleep and some sleep calls with nanosleep
...ser_send(upsfd, "vCc0!%c", ENDCHAR); - usleep(UPS_DELAY); + struct timespec delay = {0, UPS_DELAY}; nanosleep(&delay, NULL); ser_send(upsfd, "vCb%i!%c", sdwdelay, ENDCHAR); } @@ -536,15 +536,16 @@ void upsdrv_initups(void) /* inicializace a synchronizace UPS */ ser_send_char(upsfd, ENDCHAR); - usleep (UPS_LONG_DELAY); + struct timespec delay = {0, UPS_LONG_DELAY}; nanosleep(&delay, NULL); ser_send(upsfd, "?%c", ENDCHAR); - usleep (UPS_LONG_DELAY); + nanosleep(&delay, NULL); ser_get_line(upsfd, temp, sizeof(temp), ENDCHAR, IGNCHARS, 3, 0); ser_se...
2006 Jun 19
2
Fw: Backups 300VA (BK-300C) Drivers
...g> > Sent: Monday, June 19, 2006 2:38 PM > Subject: Re: [Nut-upsdev] Backups 300VA (BK-300C) Drivers > > > > On 6/19/06, Michael Plourde <mplourde@digicom.ca> wrote: > > > I had used apcsmart driver and I got this error: > > > > > > smartmode: ser_send_char failed: Resource temporarily unavailable > > > Unable to detect an APC Smart protocol UPS on port /dev/ttyS0 > > > Check the cabling, port name or model name and try again > > > Driver failed to start (exit status=1) > > > > > > Any idea ? > > &gt...
2006 Jun 19
4
Backups 300VA (BK-300C) Drivers
Hi, What driver should i use with APC BK-300C ? Michale Plourde Digicom Technologies
2011 Oct 03
0
patch: Fix [-Wunused-but-set-variable]
...10 +323,10 @@ void upsdrv_shutdown(void) * work, else:*/ /* fatalx(EXIT_FAILURE, "Shutdown only supported with the Generic Driver, type 6 and special cable"); */ /*fatalx(EXIT_FAILURE, "shutdown not supported");*/ - int i, ret; + int i; for(i=0;i<=5;i++) { - ret = ser_send_char(upsfd, '#'); + ser_send_char(upsfd, '#'); usleep(50000); } } Index: b/drivers/metasys.c =================================================================== --- a/drivers/metasys.c 2011-05-31 13:36:49.000000000 +0300 +++ b/drivers/metasys.c 2011-08-17 00:23:22.000000000 +0300...
2007 Jun 04
2
APCsmart serial port 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 Driver version 1.99.8, command table version 2.0 smartmode: ser_send_char failed: Input/output error Unable to detect an APC Smart protocol UPS on port /dev/ttyS0 Check the cabling, port name or model name and try again Driver failed to start (exit status=1) [root]# ls -l /dev/ttyS0 crw--w---- 1 root root 4, 64 Jun 4 14:28 /dev/ttyS0 The ownership of the serial port so...
2005 Sep 15
2
Driver for Tripp Lite SmartPro SLT
I have a new SMART1050SLT Tripp Lite UPS that both tripplite and tripplitesu drivers hate. Both simply time out with a "can't find" message. Does anyone know about the SmartPro series?
2011 May 19
2
Scheduling NUT 2.6.1
Fellows, time has come for a new NUT release: I'm planning on 2.6.1 next week (max Friday 27), and I'm currently processing remaining patches. If you have some more on your side, please send in. cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer -
2008 Jul 17
0
r1515 - branches/trunk-make-package: anybody interested in taking over?
...break; > case -3: > /* FIXME: notification caught => to be > processed */ > + > + /* Send a NACK for the moment, to get a > resend from the UPS */ > + ser_send_char(upsfd, SHUT_NOK); > + Retry++; > default: > ; > } > > Modified: branches/trunk-make-package/packaging/Makefile.am > > ==========================================================...
2006 May 12
1
Fwd: RE New xanto driver for NUT
Dear Andreas, some googling revealed, you created a driver for the xanto series of online-usv.de. In what state it is currently? I've to manage a S2000 and would like to use nut for it, is it usable by now? Do you need another tester? TIA, Pete