Page 3 of 6

Re: HelloWorld.c

Posted: Sun Aug 24, 2014 4:28 pm
by MrKalach
juuso wrote:uname -a
Linux (none) 3.0.33 #1 SMP PREEMPT Tue Sep 10 17:40:57 KST 2013 armv7l GNU/Linux

Re: HelloWorld.c

Posted: Sun Aug 24, 2014 5:06 pm
by sectroyer
MrKalach wrote:
zoelechat wrote:
MrKalach wrote:Doesn't work.
Are you saying it doesn't work just because there's no output? Did you check in media player if you can seek movies by set values with arrows, after patching? Also better use Telnet instead of Putty...
Sure :) I tried, without reboot and with reboot. Putty is best solution 8-)
run just:

Code: Select all

./seekpatch
also try replacing "-n exeAPP" with "-p `pidof exeAPP`"

Re: HelloWorld.c

Posted: Sun Aug 24, 2014 5:47 pm
by MrKalach
I have got nothing, see last screenshot.

Re: HelloWorld.c

Posted: Sun Aug 24, 2014 6:37 pm
by sectroyer
MrKalach wrote:I have got nothing, see last screenshot.
Okay run these two commands and make a screen shot:

Code: Select all

echo "TEST1" > /dev/stdout 
echo "TEST2" > /dev/stderr

Re: HelloWorld.c

Posted: Mon Aug 25, 2014 2:40 pm
by MrKalach
I tried both, putty and terminal.

Re: HelloWorld.c

Posted: Mon Aug 25, 2014 3:11 pm
by sectroyer
MrKalach wrote:I tried both, putty and terminal.
Okay I am almost sure what you did wrong. Now try this:

Code: Select all

echo TEST1 1>&1
echo TEST2 1>&2
touch /dev/stderr &2>1

Re: HelloWorld.c

Posted: Mon Aug 25, 2014 4:11 pm
by MrKalach
Wow! why stderr readonly???

Re: HelloWorld.c

Posted: Mon Aug 25, 2014 4:32 pm
by sectroyer
MrKalach wrote:Wow! why stderr readonly???
that is expected. Now this:

Code: Select all

touch /dev/stderr
echo TEST4 > /dev/stderr

Re: HelloWorld.c

Posted: Mon Aug 25, 2014 4:40 pm
by MrKalach
done!

Re: HelloWorld.c

Posted: Mon Aug 25, 2014 5:46 pm
by sectroyer
One last thing run:

Code: Select all

./seekpatch 2>&1
IMHO there is something wrong with your connection to TV...