Emulate Remote Keys
From WikiDLXTV
You can emulate keys pressed on remote by sending characters to /tmp/ir_injection.
Example:
To emulate a press on the POWER button on remote you can do this in telnet:
echo w > /tmp/ir_injection
w - POWER o - HOME u - UP l - LEFT n - ENTER r - RIGHT d - DOWN T - BACK t - STOP G - OPTION H - REWIND p - PLAY/PAUSE I - FORWARD [ - PREVIOUS ] - NEXT E - SEARCH X - EJECT