Re: [DIYbio] OpenPCR + Terminal: Any leads?

--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
write(123, "s=ACGTC&c=start&t=50&d=22479&l=9"..., 157) = 157
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
write(11, "s=ACGTC&c=stop&t=50&d=22480", 27) = 27
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
Wait: I have it.
I ran:
"sudo strace -o strace_openpcr_writes -e trace=write -p 312"
The "-p 312" part is the process ID of the running OpenPCR app, which I
got with "pidof OpenPCR" (equally could use "top" to see all running
processes and look for OpenPCR..).

The results looked like this (comments with hashes are mine, original
file is attached):

===============================================
### Lots of SIGCHLD crap

--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
write(123, "s=ACGTC&c=start&t=50&d=22479&l=9"..., 157) = 157 # Here I
sent a program to the machine and it started. The complete program isn't
shown in this output data sadly.
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1

###(more SIGCHLD crap)

--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1
write(11, "s=ACGTC&c=stop&t=50&d=22480", 27) = 27 # Here I clicked
"stop" in the OpenPCR app.
--- SIGCHLD (Child exited) @ 0 (0) ---
write(19, "B", 1) = 1

###(more SIGCHLD crap)
===============================================

On 22/03/12 15:46, Nathan McCorkle wrote:
> I don't have an OpenPCR, so I can't test exactly... but I think strace
> might work (I posted the problem to the blktrace group, and they
> responded saying blktrace doesn't dump the actual data)
>
> strace -e trace=write ../path/to/openPCRapplication
>
> If that doesn't show the actual data being written, it might be
> another strace option
>
> On Thu, Mar 22, 2012 at 9:10 AM, Cathal Garvey <cathalgarvey@gmail.com> wrote:
>> Hey all,
>> Of those who own and love their OpenPCR, has anyone tried using Terminal
>> to send programs over the wire, or to get real-time output from the machine?
>>
>> I'm running Ubuntu, and I'm wondering if I can use echo and/or cat with
>> piping to send commands directly to the device (which is currently
>> /dev/sde, mounted as /media/OPENPCR).
>>
>> The end goal would be to translate this totally manual approach into a
>> python script, perhaps with a GUI to match eventually, as a way to
>> replace the Adobe Air interface. Although I got the Air interface
>> working with Tito and Josh's help, really the problem isn't going away;
>> shortly before release of the OpenPCR, Adobe cut support for Air in Linux.
>>
>> Would be nice to have an Open Source language working for my Open Source
>> PCR machine. :)
>>
>> --
>> www.indiebiotech.com
>> twitter.com/onetruecathal
>> joindiaspora.com/u/cathalgarvey
>> PGP Public Key: http://bit.ly/CathalGKey
>>
>> --
>> You received this message because you are subscribed to the Google Groups "DIYbio" group.
>> To post to this group, send email to diybio@googlegroups.com.
>> To unsubscribe from this group, send email to diybio+unsubscribe@googlegroups.com.
>> For more options, visit this group at http://groups.google.com/group/diybio?hl=en.
>>
>
>
>


--
www.indiebiotech.com
twitter.com/onetruecathal
joindiaspora.com/u/cathalgarvey
PGP Public Key: http://bit.ly/CathalGKey

--
You received this message because you are subscribed to the Google Groups "DIYbio" group.
To post to this group, send email to diybio@googlegroups.com.
To unsubscribe from this group, send email to diybio+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/diybio?hl=en.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comments:

Post a Comment