[App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Here are software that related with Samsung F series TVs.
Please don't create any new topic here unless you have software to post/release.

edytibi
SamyGO Project Donor
Posts: 30
Joined: Thu Feb 06, 2014 9:57 am

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by edytibi »

Thank you for this app.It saved my remote control from going to trash, I lost the right arrow key and navigation was a pain.
exe32
Posts: 4
Joined: Tue Aug 23, 2016 5:24 pm

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by exe32 »

Ability to work with a touch(Bluetooth) remote controller?
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by sectroyer »

exe32 wrote:Ability to work with a touch(Bluetooth) remote controller?
Why ? :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
exe32
Posts: 4
Joined: Tue Aug 23, 2016 5:24 pm

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by exe32 »

To be able to install the script on the button (to select a menu item). In this remote
http://m.protoria.ua/res/img/pic/IMG_6152.jpg
robert90
SamyGO Project Donor
Posts: 101
Joined: Sun Jul 26, 2015 12:39 pm

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by robert90 »

For me, the lib is currently functioning not correctly.
I sometimes have problems that the TV does not proceed correctly.
That's why I created the following:

libRCremap.config:

Code: Select all

[
	{
        "KEY_VOLUP": "KEY_VOLUP"
    },
    {
        "KEY_POWEROFF": "CMD:/mnt/opt/privateer/usr/bin/_shutdown.sh"
    },
	{
        "KEY_VOLDOWN": "KEY_VOLDOWN"
    }
]
_shutdown.sh

Code: Select all

#!/bin/sh
[ $(pidof ${0##*/}) ] 2>/dev/null || exit 0
rm /mnt/opt/privateer/usr/bin/_shutdown.log;
touch /mnt/opt/privateer/usr/bin/_shutdown.log;
/mnt/etc/init.d/07_11_ntpclient.init.dis start;
/sbin/micom shutdown | date >> /mnt/opt/privateer/usr/bin/_shutdown.log
As I can now understand the notes _shutdown.log, the script when switching off is not called. Manual can I start the script.

According RCRemap.log but everything should be fine.
RCRemap.log

Code: Select all

[RCremap] SamyGO RCremap v0.3.5 log - (c) bugficks 2013, small fixes by sectroyer 2014
[RCremap] mapping key: 'KEY_VOLUP' to 'KEY_VOLUP'
[RCremap] mapping key: 'KEY_POWEROFF' to command: '/mnt/opt/privateer/usr/bin/_shutdown.sh'
[RCremap] mapping key: 'KEY_VOLDOWN' to 'KEY_VOLDOWN'
[RCremap] 1 _ZN9KeyCommon17SendKeyPressInputEiis [0x962620].
[RCremap] init done...
Any Idea why the lib not working? I test the same RCRemap.config with change VOLUP and VOLDOWN, it works. Only the CMD not work.
UExxF4570 FW: T-MST12DEUC-1119.0
UEExxS6300 FW: T-MST10PDEUC-1042.0
UExxK5579 FW: T-HKMFKDEUC-1168.2
GUxxTU8079 FW: T-NKLDEUC-2200.9
User avatar
beatfreak
SamyGO Project Donor
Posts: 591
Joined: Tue Aug 23, 2011 9:03 am
Location: Hamburg
Contact:

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by beatfreak »

tested and working without problems on T-VALDEUC 3011 (UE40C6500)

Code: Select all

# cat /mtd_rwcommon/SamyGO/opt/privateer/usr/libso/libRCremap.config
[
    {
        "KEY_RED": "KEY_RED"
    },
    {
        "KEY_YELLOW": "CMD:/mtd_rwcommon/SamyGO/etc/init.d/02_10_wakelan.init.dis start"
    }
]
#
RCremap.log:
SpoilerShow

Code: Select all

# cat /dtv/RCremap.log
[RCremap] SamyGO RCremap v0.3.5 log - (c) bugficks 2013, small fixes by sectroyer 2014
[RCremap] mapping key: 'KEY_RED' to 'KEY_RED'
[RCremap] mapping key: 'KEY_YELLOW' to command: '/mtd_rwcommon/SamyGO/etc/init.d/02_10_wakelan.init.dis start'
[RCremap] Trying to get _ZN9KeyCommon17SendKeyPressInputEiis on C.
[RCremap] Found _ZN9TDBuilder8GetTDiCPE16TDSourceObject_k location at: 0x002dd460
[RCremap] Found _fini location at: 0x01aacb24
[RCremap] text range: @0x0025d460 -> @0x0020d460
[RCremap] rodata range: @0x01aacb24 -> @0x0a2acb24
[RCremap] Found SendKeyPressInput at @0x0024546c
[RCremap] SendKeyPressInput address: 0x0024546c
[RCremap] _ZN9KeyCommon17SendKeyPressInputEiis address: 0x00245330
[RCremap] 1 _ZN9KeyCommon17SendKeyPressInputEiis [0x245330].
[RCremap] init done...
#
if LibLOGrcKey could be ported to C-Series too i'd like to throw all 255 possible IR-signals to my TV (using LIRC) , this should give the complete IRtoKey mapping
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS //
FYI: you can close your ssh session with SamyGO with

Code: Select all

~.
If you can't fix it using dvct tape, you are not using enough dvct tape.
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by zoelechat »

Well, makes sense C lib works on C whereas not-C doesn't :)

Not random that I didn't port LogRCkey to C (as well as most libs I did), just that "finding symbols" is pain in the ass boring stuff, not reliable moreover (sectroyer inside :P )

Suggested:
-Use firmware 0000 where all symbols are there, LogRCkey will work in state, out of the box.
or
-RCremap logs (mapped) keypresses IIRC, you still can remap all keys to theirselves (at least the ones you really need), then you get expected log :ugeek:
I do NOT receive any PM. Please use forum.
User avatar
beatfreak
SamyGO Project Donor
Posts: 591
Joined: Tue Aug 23, 2011 9:03 am
Location: Hamburg
Contact:

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by beatfreak »

zoelechat wrote: Sun Aug 20, 2017 5:24 pm -RCremap logs (mapped) keypresses IIRC, you still can remap all keys to theirselves
Well as my plan is to test all the keys it will be a quite big config, and i assume i'll have to call RCremap with -d parameter for debug mode

EDIT: samyGOso ist set to inject RCremap with -d parameter (added at the end), but i dont see any additional logfile, RCremap.log was present before to but it doesnt contain additional info on pressed buttons

P.S. has anyone tried to launch the injection earlier in the boot process?
Last edited by beatfreak on Tue Aug 22, 2017 2:08 pm, edited 1 time in total.
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS //
FYI: you can close your ssh session with SamyGO with

Code: Select all

~.
If you can't fix it using dvct tape, you are not using enough dvct tape.
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by zoelechat »

"big config" can be quickly done by smart parsing keylist, the question is more if a big enough "array" is intended in sourcecode :D
Only time for you to realize not even a third of keycodes are really in use anyway :)

I don't think -d will help, it never helped nobody because nobody knows what it tells :p
I do NOT receive any PM. Please use forum.
User avatar
beatfreak
SamyGO Project Donor
Posts: 591
Joined: Tue Aug 23, 2011 9:03 am
Location: Hamburg
Contact:

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Post by beatfreak »

zoelechat wrote: Mon Aug 21, 2017 8:54 pm Only time for you to realize not even a third of keycodes are really in use anyway :)
Thats what i am curious about, atm i have 73 IR codes and their respective button captions but no accurate mapping to keycodes

oh, and a big thank you for this patch and especially for "surprise", now i never need to get up from the couch again XD
Last edited by beatfreak on Fri Oct 27, 2017 5:57 pm, edited 1 time in total.
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS //
FYI: you can close your ssh session with SamyGO with

Code: Select all

~.
If you can't fix it using dvct tape, you are not using enough dvct tape.

Post Reply

Return to “[F] Software”