[App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
You're using Notepad++ to edit .config file and you verified linefeeds were set to Unix format, right?
What does say libRCremap log? (/dtv/RCremap.log)
What does say libRCremap log? (/dtv/RCremap.log)
I do NOT receive any PM. Please use forum.
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Sorry, zoelchat, I was so tired yesterday that I forgot to check if someone answered on the next page of the board.
I tried a lot to make various config scripts to work, but I failed miserably, so I presented the simplest script that should work because all parts of it work from the telnet command line.
Yes, I used Notepad++ to create the config file and the EOL was set to Unix/OSX format.
With this simple config script this is log file:
What should I put in the config to make RCremap by pressing the red key to teke a screenshot?
Before I asked for help I really tried a lot of configs, but neither one worked...
I tried a lot to make various config scripts to work, but I failed miserably, so I presented the simplest script that should work because all parts of it work from the telnet command line.
Yes, I used Notepad++ to create the config file and the EOL was set to Unix/OSX format.
With this simple config script this is log file:
Code: Select all
[RCremap] SamyGO RCremap v0.3.5 log - (c) bugficks 2013, small fixes by sectroyer 2014
[RCremap] mapping key: 'KEY_GREEN' to 'KEY_GREEN'
[RCremap] mapping key: 'KEY_RED' to command: 'samyGOso -d -A -B -r -l /mnt/opt/privateer/usr/libso/libScreenShot.so ALT SOURCE PATH:/dtv/usb/sdb1/__screenshots'
[RCremap] 1 _ZN9KeyCommon17SendKeyPressInputEiis [0x9f2684].
[RCremap] init done...
Before I asked for help I really tried a lot of configs, but neither one worked...
Please, do not ask from me to get you files or procedure for rooting your TV. If you can't donate $10, try make some deal with erdem_ua.
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
I think I already told you what to do in libScreenShot thread. Directly injecting as CMD is pointless, you must use intermediate provided script.
I do NOT receive any PM. Please use forum.
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Ok... I'll try once again with your advice. Thank you!
EDIT
Which extension libRCremap_capture_H should got?
EDIT
Which extension libRCremap_capture_H should got?
Please, do not ask from me to get you files or procedure for rooting your TV. If you can't donate $10, try make some deal with erdem_ua.
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
hello,
start oscam also working?
how shows the config for my idea?
start oscam also working?
how shows the config for my idea?
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Which TV series?
And what do you need exactly? A key to start oscam bin? (once?)
And what do you need exactly? A key to start oscam bin? (once?)
I do NOT receive any PM. Please use forum.
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
I'm having a problem with script execution. I would like to remap a remote key so that it sends a sequence of keys to the tv. The librcremap.so injects fine, script gets assigned to the correct key and gets executed but the samyGOrc part does not work regardless of what I try. Could anybody check what am I doing wrong?
Some logs:
When I execute the test script from the console, everything works fine:
Permissions for samyGOrc and test script are set to 777. Line endings are correct (only LF). My TV is ue48h6640m, rooted firmware 2114. Thanks for any help.
Some logs:
Code: Select all
# samyGOso -d -T -B -r -l /mnt/opt/privateer/usr/libso/libRCremap.so
samyGOso v1.2.5 (c) bugficks 2013-2014, sectroyer 2014-2015
Injecting '/mnt/opt/privateer/usr/libso/libRCremap.so' resident: '1'
mprotect: 0x4227c020
dlopen: 0x424a0d80
dlclose: 0x424a0e14
dlsymaddr: 0x424a0e78
pc=42324eec lr=42324ed0 sp=be101de0 fp=3293a40
r0=3293a44 r1=80
r2=1 r3=0
stack: 0xbe0e2000-0xbe102000 length = 131072
executing injection code at 0xbe101ca0
library injection completed!
Succeeded.
Code: Select all
# cat /dtv/RCremap.log
[RCremap] SamyGO RCremap v0.3.5c log - (c) bugficks 2013, small fixes by sectroyer 2014, smaller fixes by zoelechat 2015
[RCremap] mapping key: 'KEY_VOLDOWN' to 'KEY_VOLDOWN'
[RCremap] mapping key: 'KEY_VOLUP' to command: '/mnt/opt/privateer/usb/bin/test'
[RCremap] 1 _ZN12KeyInputBase17t_ProcessKeyValueEPh [0x9f55dc].
[RCremap] init done...
[RCremap] ProcessKeyValue [KEY_VOLUP=7] [remote: 0]
[RCremap] -> Running command: [/mnt/opt/privateer/usb/bin/test]
Code: Select all
# cat /mnt/opt/privateer/usr/bin/test
#!/bin/sh
echo test > /tmp/test.txt
[ $(pidof ${0##*/}) ] 2>/dev/null || exit 0
PATCHDIR=${0%/*}
PID_EXE=$(pidof exeDSP || pidof exeTV)
$PATCHDIR/samyGOrc -p $PID_EXE 107 108 # CH_LIST, RED
sleep 1
$PATCHDIR/samyGOrc -p $PID_EXE 97 104 # DOWN, ENTER
sleep 3
$PATCHDIR/samyGOrc -p $PID_EXE 45 45 # EXIT, EXIT
Code: Select all
# cat /mnt/opt/privateer/usr/libso/libRCremap.config
[
{
"KEY_VOLDOWN": "KEY_VOLDOWN"
},
{
"KEY_VOLUP": "CMD:/mnt/opt/privateer/usb/bin/test"
}
]
Code: Select all
# /mnt/opt/privateer/usr/bin/test
samyGOrc v1.0 (c) bugficks 2013
samyGOrc v1.0 (c) bugficks 2013
samyGOrc v1.0 (c) bugficks 2013
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
On H any command launched from a lib is not executed as root, that's why your script works from console but not from CMD. You have to pipe commands needing root to Telnet on 23. Check example of libScreenShot there: https://forum.samygo.tv/viewtopic.php?f ... 100#p88446
I do NOT receive any PM. Please use forum.
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Works great- thank you
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
I have a bit off topic question. Higher end Samsung TVs have a feature called "Univeral remote setup". You select your STB there and then you can control your STB with Samsung TV remote. Has anyone looked into this? Is it possible to remap these buttons? For my STB, Back and Guide button codes are switched, so i would like to change that somehow.
(i have reported this to Samsung support a long time ago, but it seems they don't care)
(i have reported this to Samsung support a long time ago, but it seems they don't care)
F9000 + SEK-3500U