[App] MyButtons - plugin for fast execute commands

Here are software that related with Samsung B series TVs. Like hex editors, new version of BusyBox or internal software, app programs that will run in your TV hardware.:!:This forum is NOT FOR USER QUESTIONS or Problems.

reaper7
Posts: 44
Joined: Thu Oct 01, 2009 11:16 am

Re: MyButtons - plugin for fast execute commands

Post by reaper7 »

nescha wrote: Permission denied... :(
Permission denied where/when ??
You must change files permission first!

e.g. chmod 755 nc
and chmod 755 picoff.sh

nescha
Posts: 30
Joined: Mon Jan 03, 2011 11:03 am

Re: MyButtons - plugin for fast execute commands

Post by nescha »

reaper7 wrote:
nescha wrote: Permission denied... :(
Permission denied where/when ??
You must change files permission first!

e.g. chmod 755 nc
and chmod 755 picoff.sh
Changed permissions, now it reports "Text file busy"

reaper7
Posts: 44
Joined: Thu Oct 01, 2009 11:16 am

Re: MyButtons - plugin for fast execute commands

Post by reaper7 »

I don't know from where You can try execute these files...
first of all - change Your TV IP address inside picoff.sh - remember - this is linux file - and properly end of line is LF not CR+LF
copy these files to /mtd_rwarea
then
cd /mtd_rwarea
chmod 755 nc
chmod 755 picoff.sh

now try to execute netcat by:
./nc -h
result is
# ./nc -h
[v1.10]
connect to somewhere: ...
and when working then try to execute picoff.sh:
./picoff.sh

nescha
Posts: 30
Joined: Mon Jan 03, 2011 11:03 am

Re: MyButtons - plugin for fast execute commands

Post by nescha »

reaper7 wrote:I don't know from where You can try execute these files...
first of all - change Your TV IP address inside picoff.sh - remember - this is linux file - and properly end of line is LF not CR+LF
copy these files to /mtd_rwarea
then
cd /mtd_rwarea
chmod 755 nc
chmod 755 picoff.sh

now try to execute netcat by:
./nc -h
result is
# ./nc -h
[v1.10]
connect to somewhere: ...
and when working then try to execute picoff.sh:
./picoff.sh
I already did get somewhere: I managed to do what you told me and send characters from console where TV executes appropriate command. Unfortunately, when I assign this same command to a button in mybuttons.conf file, it doesn't obey it (usually "Not available" error)

reaper7
Posts: 44
Joined: Thu Oct 01, 2009 11:16 am

Re: MyButtons - plugin for fast execute commands

Post by reaper7 »

You're right - something is wrong with this...
other sh scripts working ok but this one not :(
raw command like echo 26 | /mtd_rwarea/nc 192.168.0.9 2345 from MyButtons don't working too :(
I don't know why...

reaper7
Posts: 44
Joined: Thu Oct 01, 2009 11:16 am

Re: MyButtons - plugin for fast execute commands

Post by reaper7 »

Look inside /mtd_ram/remote.log (Remote LAN Control log file)
You can see if Remote LAN recive sended commands but don't executed it...
maybe it is something like conflict between RLC and MyButtons ?
I use a universal loader (geo650) for coexistence more that one plugin with like this loaders (like a PVR+(geo650), Resizer_v03(sbav1))
Maybe doodlecz used another method for loading module...

nescha
Posts: 30
Joined: Mon Jan 03, 2011 11:03 am

Re: MyButtons - plugin for fast execute commands

Post by nescha »

reaper7 wrote:Look inside /mtd_ram/remote.log (Remote LAN Control log file)
You can see if Remote LAN recive sended commands but don't executed it...
maybe it is something like conflict between RLC and MyButtons ?
I use a universal loader (geo650) for coexistence more that one plugin with like this loaders (like a PVR+(geo650), Resizer_v03(sbav1))
Maybe doodlecz used another method for loading module...
mybuttons.log

Code: Select all

COMMAND
[0][0] *echo 26 | /mtd_tlib/GGame/myButtons/nc 192.168.1.100 2345*
RESULT
remote.log

Code: Select all

remote_thread started: pInstance - 0x026FD0A0
received key: 0

reaper7
Posts: 44
Joined: Thu Oct 01, 2009 11:16 am

Re: MyButtons - plugin for fast execute commands

Post by reaper7 »

Check this little program... I call him Remote Lan Sender
this is a little tcp client who send remote key commands from external txt "macro" files line-by-line

first copy two files from attachment to Your fav TV dir
then chmod 755 rls (this is executable)
second file picoff is a text file contains macro (key codes).
rls have 4 parameters: IP PORT SLEEP_BETWEEN_COMMANDS_IN_MS PATH_TO_MACRO_FILE
then execute manually /path_to_rls/rls 192.168.1.100 2345 750 /path_to_picoff/picoff
it's working - check remote.log - all comand recived by remote_lan_control...

then add line to execute rls to mybuttons.conf e.g:
RED|RemoteLanSender|/path_to_rls/rls 192.168.1.100 2345 750 /path_to_picoff/picoff
and execute myButtons->RED
check remote.log - commands recived again but no effect...
You do not have the required permissions to view the files attached to this post.

mattberlin
SamyGO Project Donor
Posts: 140
Joined: Sun Jan 24, 2010 6:18 pm
Location: Germany

Re: MyButtons - plugin for fast execute commands

Post by mattberlin »

Thank you very much for this great tool! This way I can easily mount net drives if my PC is turned on after the TV.

BTW, is there any chance to run Content Library programs with MyButtons?

Best regards,
Matthias
my TV: LE32B679

nescha
Posts: 30
Joined: Mon Jan 03, 2011 11:03 am

Re: MyButtons - plugin for fast execute commands

Post by nescha »

reaper7 wrote:Check this little program... I call him Remote Lan Sender
this is a little tcp client who send remote key commands from external txt "macro" files line-by-line
...
Same result for me also: remote.log received the key, TV reported result on screen and it is the same as the one executed from console, with only difference that console executes the command but MyButtons doesn't :|.

Any ideas?

Scope for output when sending from console and TV is a bit different so maybe there lies the problem

Post Reply

Return to “[B] Software”