search for: send_pac

Displaying 5 results from an estimated 5 matches for "send_pac".

Did you mean: send_pace
2006 Dec 05
3
megatec over USB - new driver patch
...00000000 +0300 +++ drivers/megatec.c 2006-12-03 16:02:35.000000000 +0300 @@ -23,7 +23,6 @@ #include "main.h" -#include "serial.h" #include "megatec.h" #include <stdio.h> @@ -44,9 +43,6 @@ #define IDENT_MAXTRIES 5 #define IDENT_MINSUCCESS 3 -#define SEND_PACE 100000 /* 100ms interval between chars */ -#define READ_TIMEOUT 2 /* 2 seconds timeout on read */ - #define MAX_START_DELAY 9999 #define MAX_SHUTDOWN_DELAY 99 @@ -167,7 +163,6 @@ /* I know, macros should evaluate their arguments only once */ #define CLAMP(x, min, max) (((x) <...
2007 Feb 01
2
Re: [Nut-upsuser] Ablerex 625L USB version
...if (ret < Q1_CMD_REPLY_LEN) { > upsdebugx(1, "UPS doesn't return any information > about its status."); > *************** > *** 564,571 **** > { > upslogx(LOG_INFO, "Shutting down UPS immediately."); > > ! ser_send_pace(upsfd, SEND_PACE, "C%c", ENDCHAR); > ! ser_send_pace(upsfd, SEND_PACE, "S%02dR%04d%c", > shutdown_delay, start_delay, ENDCHAR); > } > > > --- 569,576 ---- > { > upslogx(LOG_INFO, "Shutting down UPS immediately."); >...
2010 Mar 16
1
NUT megatec driver tunning
...et it to 600000 usec and my problem go. > > May be put ? READ_PACE ? ?to config file ? It's best improvement. > __________________________________________ > > After this lines: > ? ? ? ?upsdebugx(1, "Cancelling any pending shutdown or battery test."); > ? ? ? ?ser_send_pace(upsfd, send_pace, "C%c", ENDCHAR); > need pause (READ_PACE for example) for UPS execute command. My UPS stupid > after 'C' and not accept immediately next command on 'upsdrv_initinfo' > procedure. > I strongly recommend to add its. > _______________________...
2008 Dec 05
2
Mustek PowerMust 848
Hi, I'm not the maintainter for the "megatec_usb" driver (in fact, I'm no longer maintainer for the base "megatec" either), so I don't really know the status for that particular UPS. I'm forwarding this to the NUT mailing-list though. Regards, -- Carlos Rodrigues On Fri, Dec 5, 2008 at 10:30 AM, Adrian Czerniak <adrian.czerniak at becomo.com> wrote:
2008 Dec 05
2
Mustek PowerMust 848
Hi, I'm not the maintainter for the "megatec_usb" driver (in fact, I'm no longer maintainer for the base "megatec" either), so I don't really know the status for that particular UPS. I'm forwarding this to the NUT mailing-list though. Regards, -- Carlos Rodrigues On Fri, Dec 5, 2008 at 10:30 AM, Adrian Czerniak <adrian.czerniak at becomo.com> wrote: