search for: sendcmd

Displaying 20 results from an estimated 20 matches for "sendcmd".

Did you mean: send_cmd
2005 Mar 23
0
agi script for german date / time
...::HiRes qw/sleep/; my %params; $|=1; while(1) { my $line = <stdin>; chomp($line); last if $line eq ''; (my $key, my $value) = split(/\: /,$line); $params{$key}=$value; } (undef,my $min,my $hour,my $mday,my $mon,my $year,my $wday,undef,undef) = localtime(time); sendcmd('ANSWER'); sleep(1); sendcmd('STREAM FILE digits/de/day-'.$wday.' 0'); sleep(0.3); if($mday > 19) { my $decade = substr($mday,0,1).'0'; sendcmd('STREAM FILE digits/de/'.($mday-$decade).'-and 0') if $mday ne $decade; sendcmd('STREA...
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
Thanks for the interesting puzzle to crunch! Looking at these few bread-crumbs, I wager an educated guess that this loops in `sendcmd()` (where CLI child processes talk to a daemonized copy which tracks the timers for events), around here: https://github.com/networkupstools/nut/blob/v2.8.0/clients/upssched.c#L583-L626 for the daemon and here for the child: https://github.com/networkupstools/nut/blob/v2.8.0/clients/upssched.c#L762...
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
Thanks for the interesting puzzle to crunch! Looking at these few bread-crumbs, I wager an educated guess that this loops in `sendcmd()` (where CLI child processes talk to a daemonized copy which tracks the timers for events), around here: https://github.com/networkupstools/nut/blob/v2.8.0/clients/upssched.c#L583-L626 for the daemon and here for the child: https://github.com/networkupstools/nut/blob/v2.8.0/clients/upssched.c#L762...
2008 Jan 06
1
How do I blank or overwrite DVD-RW disks in CentOS 5?
...e is last part of the dialog: Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd) Driver flags : SWABAUDIO BURNFREE Supported modes: PACKET SAO Drive buf size : 1245184 = 1216 KB Drive DMA Speed: 11772 kB/s 66x CD 8x DVD cdrecord.prodvd: Success. set streaming: scsi sendcmd: no error CDB: B6 00 00 00 00 00 00 00 00 00 1C 00 status: 0x2 (CHECK CONDITION) Sense Bytes: F0 00 05 00 00 00 00 10 B6 00 00 0D 21 00 00 00 Sense Key: 0x5 Illegal Request, Segmant 0 Sense Code: 0x21 Qual 0x00 (logical block address out of range) Fru 0x0 Sense flags:...
2003 Apr 10
1
Writing a DVD
...speed 18 in real TAO mode for single session. Last chance to quit, starting real write 0 seconds. Operation starts. Waiting for reader process to fill input buffer ... input buffer ready. BURN-Free is ON. Turning BURN-Free off Performing OPC... cdrecord: Input/output error. read track info: scsi sendcmd: retryable error CDB: 52 01 00 00 00 FF 00 00 1C 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 05 00 00 00 00 12 00 00 00 00 24 00 00 C0 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sense Key: 0x5 Illegal Request, Segment 0 Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0 Sense f...
2007 Dec 28
4
MOre on buring ISOs
...ET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R Drive buf size : 1353728 = 1322 KB FIFO size : 4194304 = 4096 KB Track 01: data 48 MB Total size: 55 MB (05:32.48) = 24936 sectors Lout start: 56 MB (05:34/36) = 24936 sectors Current Secsize: 2048 cdrecord: Input/output error. read disk info: scsi sendcmd: cmd timeout after 9.040 (240) s CDB: 51 00 00 00 00 00 00 00 04 00 resid: 4 cmd finished after 9.040s timeout 240s cdrecord: Cannot get disk type. ========================== and in /var/log/messages Dec 27 21:11:11 nc4010 kernel: cdrom: This disc doesn't have any tracks I recognize! Dec 2...
2023 Jun 13
2
Upssched 100% CPU after updating Debian 12
...X-defined o_nonblock,o_nonblock be set at open and Fcntl. Jim On Tue, Jun 13, 2023 at 10:41?AM Jim Klimov <jimklimov+nut at gmail.com> wrote: > Thanks for the interesting puzzle to crunch! > > Looking at these few bread-crumbs, I wager an educated guess that this > loops in `sendcmd()` (where CLI child processes talk to a daemonized copy > which tracks the timers for events), around here: > https://github.com/networkupstools/nut/blob/v2.8.0/clients/upssched.c#L583-L626 > for the daemon and here for the child: > https://github.com/networkupstools/nut/blob/v2.8.0/cli...
2023 Jun 13
2
Upssched 100% CPU after updating Debian 12
...X-defined o_nonblock,o_nonblock be set at open and Fcntl. Jim On Tue, Jun 13, 2023 at 10:41?AM Jim Klimov <jimklimov+nut at gmail.com> wrote: > Thanks for the interesting puzzle to crunch! > > Looking at these few bread-crumbs, I wager an educated guess that this > loops in `sendcmd()` (where CLI child processes talk to a daemonized copy > which tracks the timers for events), around here: > https://github.com/networkupstools/nut/blob/v2.8.0/clients/upssched.c#L583-L626 > for the daemon and here for the child: > https://github.com/networkupstools/nut/blob/v2.8.0/cli...
2015 Apr 09
1
resource busy
How do I find whatever it is that wodim or readom thinks is using /dev/sr0 and kill it? So far, reboot is the only solution I've found that works. I don't like it. I want to be able to use my DVD-burner more than once without rebooting. lsof has not helped. -- Michael hennebry at web.cs.ndsu.NoDak.edu "SCSI is NOT magic. There are *fundamental technical reasons* why it is
2016 May 09
0
CentOS-6.5 - CD/DVD does not sense media
...ion : '1.01' Device seems to be: Generic mmc2 DVD-R/DVD-RW. Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R Errno: 5 (Input/output error), test unit ready scsi sendcmd: no error CDB: 00 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 00 00 Sense Key: 0x2 Not Ready, Segment 0 Sense Code: 0x3A Qual 0x01 (medium not present - tray closed) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 0.000s timeout 4...
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
Hi, I ran the strace command while upssched was 100% CPU hungry. This is what I got: 1686633611.702798 read(7, "", 1) = 0 <0.000004> 1686633611.702816 read(7, "", 1) = 0 <0.000004> 1686633611.702834 pselect6(11, [7 10], NULL, NULL, {tv_sec=1, tv_nsec=0}, NULL) = 1 (in [7], left {tv_sec=0, tv_nsec=999998800}) <0.000006> 1686633611.702862 read(7,
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
Hi, I ran the strace command while upssched was 100% CPU hungry. This is what I got: 1686633611.702798 read(7, "", 1) = 0 <0.000004> 1686633611.702816 read(7, "", 1) = 0 <0.000004> 1686633611.702834 pselect6(11, [7 10], NULL, NULL, {tv_sec=1, tv_nsec=0}, NULL) = 1 (in [7], left {tv_sec=0, tv_nsec=999998800}) <0.000006> 1686633611.702862 read(7,
2010 Aug 23
3
sendmailR-package-valid code needed
## Not run: from <- sprintf("<sendmailR@ to <- "<olafm at datensplitter.net>" subject <- "Hello from R" msg <- "It works!" sendmail(from, to, subject, msg, control=list(smtpServer="ASPMX.L.GOOGLE.COM")) ## End(Not run) the above commands are provided in this document ie http://cran.r-project.org/web/packages/sendmailR/sendmailR.pdf
2005 Aug 03
0
Chan_bluetooth and AudioGateway phone [long]
...d/Th Sig ----------------- ---------- ---- ----------- --- ------------ --- 00:0A:28:83:A9:CF MotorolaLara AG Ready Yes -1/-1/1121643440 Yes If I try the following command, I can make the remote phone to ring and on the GSM phone display apperas the calling in progress. *CLI> bluetooth sendcmd MotorolaLara "ATDT3474501***" Sending AT command to MotorolaLara: ATDT3474501*** [AG] MotorolaLara < ATDT3474501445 [AG] MotorolaLara > OK [AG] MotorolaLara > +CIEV: 6,2 Any hint? Thank you Leandro
2003 Jul 05
2
NEC 1300A DVD-R writing
...locks remaining: 1941616 Starting to write CD/DVD at speed 1 in write mode for single session. Last chance to quit, starting real write in 9 [ ... ] Waiting for reader process to fill input buffer ... input buffer ready. trackno=0 BURN-Free is ON. dvdrecord: Input/output error. reserve track: scsi sendcmd: retryable error CDB: 53 00 00 00 00 00 05 72 10 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 30 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sense Key: 0x5 Illegal Request, Segment 0 Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible f...
2016 Jul 11
0
Proposal for technique to stop a timer at any moment
...RP */ { 0, NULL, NULL, NULL, 0 } }; diff -rup nut-2.7.4.orig/clients/upssched.c nut-2.7.4.dev/clients/upssched.c --- nut-2.7.4.orig/clients/upssched.c 2015-12-29 13:08:34.000000000 +0100 +++ nut-2.7.4.dev/clients/upssched.c 2016-06-30 16:56:32.911812443 +0200 @@ -686,6 +686,10 @@ static void sendcmd(const char *cmd, con if (!arg1) return; + if (verbose > 1) { /* Detailed trace of timer actions RP */ + upslogx(LOG_NOTICE, "%s: cmd=%s, arg1=%s, arg2=%s", __func__, cmd, arg1, arg2); + } + /* build the request */ snprintf(buf, sizeof(buf), "%s \"%s\"&quo...
2007 Dec 25
13
Natulius CD burner does not accept my 700Mb CD-R disks
When I try to burn anything to cd, I get a message to insert a CD large enough for my file (normally an ISO image). Doesn't matter if the iso image is a 600Mb Centos ISO or a 48Mb DSL ISO. Same warning. My CD-Rs are Memorex 700MB/80min 52x disks that work just fine on XP systems. So what am I missing configuration-wise?
2009 Jan 26
1
ups emerson liebert GTX2 ESP-II serial protocol demo
...l>=0 && FD_ISSET(fd, &rfds) ) { int res = read(fd,buf+red,len-red); if( res>0 ) red+=res; else return(-1); } if( retval<=0 ) return(-1); } return(red); } /* Send a command and read a measurement */ unsigned int SendCmd_M(int fd, unsigned char *cmd, unsigned char *rbyteH, unsigned char *rbyteL) { unsigned char buf[8]; cmd[5]=cksum(cmd,5); //printf("%03d,%03d,%03d,%03d,%03d,%03d\n",cmd[0],cmd[1],cmd[2],cmd[3],cmd[4],cmd[5]); int res=timedwrite(fd,cmd,6,500); if(res!=6){ fprintf(stderr,...
2011 Oct 03
2
patch: Replace many usleep and some sleep calls with nanosleep
...lockfn); /* give the other one a chance to start it, then try again */ - usleep(250000); + struct timespec delay = {0, 250e6}; nanosleep(&delay, NULL); } upslog_with_errno(LOG_ERR, "Failed to connect to parent and failed to create parent"); @@ -705,7 +705,7 @@ static void sendcmd(const char *cmd, con if (pipefd == PARENT_STARTED) { /* loop back and try to connect now */ - usleep(250000); + struct timespec delay = {0, 250e6}; nanosleep(&delay, NULL); continue; } Index: b/clients/upsmon.c ==============================================================...
2010 Aug 24
0
mlm for within subject design
...om R" > msg <- "It works!" > sendmail(from, to, subject, msg,control=list(smtpServer="ASPMX.L.GOOGLE.COM")) Error in waitFor(code) : SMTP Error: 5.1.1 The email account that you tried to reach does not exist. Please try Calls: sendmail -> smtpSubmitMail -> sendCmd -> waitFor my email id is correct please help me with regards veepsirtt --Forwarded Message Attachment-- From: samuoko at yahoo.com To: r-help at r-project.org Date: Mon, 23 Aug 2010 14:57:39 +0000 Subject: [R] AUC Hello, Is there is any R function computes the AUC for paired data? Man...