Script for reprogramming RC from the R1/R3 to work with HD2 FW and get working any RC’s, which codes recognizing by your player.
Initially, script is configured to reprogram those buttons on the remote R1/R3 to work with HD2 FW:
play music(musical signs) - OPTION
mode - FILE
Repeat - Eject
Installing script:
- Code: Select all
cd /tmp
wget http://www.moservices.org/patches/install_irfake
chmod +x install_irfake
./install_irfake
reboot
Now, your player is ready to work with R1/R3 RC on HD2 FW.
If you want to program / reprogram the other buttons on the RC or use another RC with the HD2 FW, you must edit the file /usr/local/etc/irfake/irfake.conf, by FAR or TC. The file irfake.conf can contain the following types of commands:
- Type 0, where the first value is button code b44bb649 on using RC and the second is the RC command code in the HD2 FW a05f686c, example: "0","b44bb649","a05f686c"
- Type 1, the implementation lunix system command /bin/sh-c reboot by pressing a button with code f609b649 on using RC, example: "1","f609b649","/bin/sh-c reboot""
- Type 2, the implementation of the internal command left in IpodCGI HD2 FW by pressing a button on using RC with code f609b649, example: "2","f609b649","left"
- Type 3, the consecutive pressing two buttons on the remote control with code f00fb649 e51ab649 and executing lunix system command /bin/sh-c reboot, for example: "3","f00fb649","e51ab649","/bin/sh-c reboot"
- Type 4, the consecutive pressing two buttons on the remote control with code f00fb649 and e51ab649 to perform of the internal command left in IpodCGI HD2 FW, example: "4","f00fb649","e51ab649","left"
- Type 5, the consecutive pressing two buttons on the remote control with code f00fb649 and e41bb649 to run a RC command code in the HD2 FW af50686c, example: "5","f00fb649","e41bb649","af50686c"
How to determine, can you use your RC to work with HD2 FW or not:
Give the command’s in the telnet:
- Code: Select all
stopall
killall -9 RootApp
killall DvdPlayer
cd /usr/local/bin
./DvdPlayer
Press the button on RC, if the console displays the 4-byte command, the RC can be used for programming to work with the HD2 FW. This is buttons codes, which will be prescribe in irfake.conf.
Another way of determining the key code's:
- Code: Select all
cd /tmp
wget http://www.moservices.org/patches/irkeys
chmod +x irkeys
./irkeys
One little trouble - you can power on the player only with the own O!Play RC.
Example of irfake.conf
- Code: Select all
#
# Asus O!Play R1/R3
#
"0","fa05686c","b54a686c", play_music -> option
"0","b748686c","b44b686c", mode -> file
"0","b649686c","b44b686c", photo -> file
"2","a55a686c","eject", repeat -> eject
"2","b847686c","search", music -> search
Useful information:
The structure of the RC command (4 bytes):
XXYYZZZZ,
YY - key code;
XX - check digit, is equal to YY XOR FF;
ZZZZ - code of the RC (manufacturer) ASUS - 686C;
Buttons codes of the Asus O! Play R1/R3 and HD2 RC:
STOP fb04686c
PLAY_MUSIC fa05686c not on HD2
NEXT ec13686c
FFWD e817686c
PLAY/PAUSE e718686c
PREV e619686c
VOL+ e41b686c not on old R1
GUIDE/HOME bf40686c
FRWD be41686c
ZOOM bd42686c
RETURN bb44686c
SETUP ba45686c
MOVIES b946686c not on new R1
MUSIC b847686c not on new R1
PHOTO b748686c not on new R1
RANDOM b649686c MODE - not on old R1
OPTION b54a686c not on R1
FILE b44b686c not on R1
VOL- b34c686c not on old R1
NAS b24d686c not on R1
INTERNET b14e686c not on R1
EJECT b04f686c not on R1
DISC MENU af50686c not on R1
MUTE ae51686c not on R1
DISPLAY ab54686c
POWER a956686c
AUDIO a857686c
LEFT a758686c
REPEAT a55a686c
SUBTITLE a45b686c
DOWN a35c686c
OK a25d686c
UP a15e686c
RIGHT a05f686c
List of DvdPlayer IpodCGI HD2 internal commands:
- | +