Page 7 of 11

Re: [APP] SamyGO RCremap for D(arm)/E/F

Posted: Fri Feb 14, 2014 11:50 pm
by mihd
juuso wrote:Maybe you define to much keys? I noticed, i can`t define more than 5 keys, if i add 6th, i get exeDSP crash.
Not, 4 keys.
My libRCremap.config:
SpoilerShow
[{"KEY_RED": "KEY_PAUSE"},
{"KEY_GREEN": "KEY_PLAY"},
{"KEY_YELLOW": "KEY_FF"},
{"KEY_CYAN": "KEY_STOP"}]
My 06_01_RCremap.init:
SpoilerShow
#!/bin/sh
#
# ? Copyright 1996-2013, SamyGO
#
#
. /dtv/SGO.env

SO=libRCremap.so
INJPID=$(pidof exeTV || pidof exeDSP)

case $1 in
start)
samyGOso -p $INJPID -l $LIBSO_DIR/$SO -r
sleep 10
if [ ! -e /proc/$INJPID ]; then
mv $0 $0.dis
sync
reboot
fi
;;
stop)
echo "ask on forum"
;;
status)
;;
*)
echo "Usage: $0 {start|stop|status}" 1>&2
exit 0
;;
esac
My RCremap.log:
SpoilerShow
[RCremap] SamyGO RCremap v0.2.2 - (c) bugficks 2013
[RCremap] mapping key: 'KEY_RED' to 'KEY_PAUSE'
[RCremap] mapping key: 'KEY_GREEN' to 'KEY_PLAY'
[RCremap] mapping key: 'KEY_YELLOW' to 'KEY_FF'
[RCremap] mapping key: 'KEY_CYAN' to 'KEY_STOP'
[RCremap] init done...
Color keys not reassigns.

Re: [APP] SamyGO RCremap for D(arm)/E/F

Posted: Fri Feb 14, 2014 11:59 pm
by zoelechat
Missing "KEY_" ?

[{"KEY_RED": "KEY_PAUSE"},
{"KEY_GREEN": "KEY_PLAY"},
{"KEY_YELLOW": "KEY_FF"},
{"KEY_CYAN": "KEY_STOP"}]

:?:

Re: [APP] SamyGO RCremap for D(arm)/E/F

Posted: Sat Feb 15, 2014 12:13 am
by mihd
zoelechat wrote:Missing "KEY_" ?

[{"KEY_RED": "KEY_PAUSE"},
{"KEY_GREEN": "KEY_PLAY"},
{"KEY_YELLOW": "KEY_FF"},
{"KEY_CYAN": "KEY_STOP"}]

:?:
sorry .. I experimented and forgot all return back .. And without KEY tried and $red ... Still nothing works.
Spoilers corrected.

Re: [APP] SamyGO RCremap for D(arm)/E/F

Posted: Sat Feb 15, 2014 12:17 am
by zoelechat
No idea then...

Re: [APP] SamyGO RCremap for D(arm)/E/F

Posted: Sat Feb 15, 2014 9:33 am
by juusso
weird is that if you define one wrong key OR any json formating error occurs, none of rc keys are redefined. Be sure you use proper config file format (check it on http://jsonlint.com)

Re: [APP] SamyGO RCremap for D(arm)/E/F

Posted: Sat Feb 15, 2014 7:54 pm
by juusso
@bugficks - any error handling to prevent exeDSP from crash?

Until now here was no need for me to use more than 5 remaped keys, but now i need it. But can`t. Possible to check why here is a limitation?

Re: [APP] SamyGO RCremap for D(arm)/E/F

Posted: Sun Feb 16, 2014 2:10 am
by mihd
juuso wrote:weird is that if you define one wrong key OR any json formating error occurs, none of rc keys are redefined. Be sure you use proper config file format (check it on http://jsonlint.com)
The simplest...
1!!! key.
My libRCremap.config in http://jsonlint.com/ :
SpoilerShow
config.jpg
My 06_01_RCremap.init:
SpoilerShow
#!/bin/sh
#
# ? Copyright 1996-2013, SamyGO
#
#
. /dtv/SGO.env

SO=libRCremap.so
INJPID=$(pidof exeTV || pidof exeDSP)

case $1 in
start)
samyGOso -p $INJPID -l $LIBSO_DIR/$SO -r
sleep 15
if [ ! -e /proc/$INJPID ]; then
mv $0 $0.dis
sync
reboot
fi
;;
stop)
echo "ask on forum"
;;
status)
;;
*)
echo "Usage: $0 {start|stop|status}" 1>&2
exit 0
;;
esac
My RCremap.log:
SpoilerShow
[RCremap] SamyGO RCremap v0.2.2 - (c) bugficks 2013
[RCremap] mapping key: 'KEY_VOLUP' to 'KEY_VOLDOWN'
[RCremap] init done...
Vol+ did NOT Vol- ...

Re: [APP] SamyGO RCremap for D(arm)/E/F

Posted: Sat Feb 22, 2014 7:48 am
by edytibi
Hello!I tried this application in an attempt to remap the "e-manual" (KEY_HELP) key to "record" (KEY_REC).The device is a 32F6400 firmware 1113 rooted using "no developer account method" by m2tk.I put the content of the archive and the edited libRCremap.config (validated) in "/mtd_rwcommon/rcremap" using Total Commander FTP.When using netcat I can connect to the TV and I get a "shell>" command prompt, but everything I type there ["chmod 755 /mtd_rwcommon/rcremap/samyGOso" , "./samyGOso -p $(pidof exeTV || pidof exeDSP) -l /mtd_rwcommon/rcremap/libRCremap.so -r"] nothing happens.Not even an error message.I tried with Putty, it can connect using Telnet but every command I type does nothing.In /dtv I can find no log file RCremap.log .SamyGO PVR Decoder works just fine.
I noticed that for the F series is recommended to install latest SamyGO extensions, but from that thread I saw is still in tests and I don't want to risk entering a bootloop (until now I found only one positive feedback for F6400 firmware 1118.2).I don't need all that features, just a simple remap for a button.
Your help will be greatly appreciated!

Re: [APP] SamyGO RCremap for D(arm)/E/F

Posted: Sat Feb 22, 2014 7:55 am
by juusso
latest test version is already stable and you can think it is finall. Just small fixes are postponed.

Re: [APP] SamyGO RCremap for D(arm)/E/F

Posted: Thu Feb 27, 2014 2:16 pm
by mihd
juuso wrote:latest test version is already stable and you can think it is finall. Just small fixes are postponed.
I installed the latest version.. RCremap not working.