Displaying 6 results from an estimated 6 matches for "sdok".
Did you mean:
sdk
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 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 05
19
[RFC apcsmart V3 00/18] apcsmart driver updates
...le over/~over
drivers/apcsmart.c: remove status_commit() from update_status()
drivers/apcsmart: adjust how firmware_table_lookup() handles 'b' and 'V'
drivers/dstate: add dstate_getflags()
drivers/apcsmart: add APC_USERCTRL and APC_CRUCIAL
drivers/apcsmart.c: add sdcmd_*() sdok()
drivers/apcsmart.c: add upsdrv_shutdown_advanced() and upsdrv_shutdown_simple()
drivers/apcsmart.c: adjust upsdrv_shutdown()
drivers/apcsmart.c: update in-driver help information
drivers/apcsmart.c: update version and authors
drivers/apcsmart: remove CMD_IGN_CHARS
drivers/apcsmart.c:...
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
-
2004 May 18
1
Having issues with rpcclient's adddriver
...DLL,OPDMN004.DLL,OPDVA002.DLL,OPHCRENU.DLL,\
OPHCSENU.DLL,OPHCWDDM.DLL,OPHCWDUI.DLL,OPHCWINF.DAT,OPHCWM00.DAT,\
OPHCWNXS.DLL,OPHCWNXT.DLL,OPHCWS00.DAT,OPNE000C.SCR,OPRCL000.DLL,\
OPS00ENU.DLL,OPS00JPN.DLL,OPUSB000.DLL,QDPRIOK.DLL,RDMWIN32.DLL,\
SDDM.INI,SDDMOK.DLL,SDDMUK.DLL,SDIMFOK.DLL,SDNTUM4.DLL,SDOK.DLL,\
SQMCODER.DLL,SROK.DLL,ZENOCMM.DLL,ZENOICM.DLL,ZGDIOK.DLL,ZLANG.DLL,\
ZSPOOL.DLL,ZSPOOLOK.EXE,ZTAG32.DLL"
Usage: adddriver <Environment>\
<Long Printer Name>:<Driver File Name>:<Data File Name>:\
<Config File Name>:<Help File Name>:<...
2011 Oct 03
2
patch: Replace many usleep and some sleep calls with nanosleep
...uing hard hibernate with %d minutes additional wakeup delay", n*6);
ser_send_char(upsfd, APC_CMD_GRACEDOWN);
- usleep(CMDLONGDELAY);
+ delay.tv_sec = CMDLONGDELS; delay.tv_nsec = CMDLONGDELNS;
+ nanosleep(&delay, NULL);
ser_send_pace(upsfd, UPSDELAY, "%s", timer);
ret = sdok();
@@ -867,7 +869,8 @@ static int sdcmd_ATn(int cnt)
* silent (YMMV);
*/
ser_send_char(upsfd, APC_CMD_GRACEDOWN);
- usleep(UPSDELAY);
+ delay.tv_sec = 0; delay.tv_nsec = UPSDELAY;
+ nanosleep(&delay, NULL);
ser_flush_in(upsfd, IGNCHARS, nut_debug_level);
return 0;
@@ -880,7 +883,8...