Skip to content

Multi function IR remote buttons

heitbaum edited this page Jun 27, 2021 · 2 revisions

OVERVIEW

Minimyth2 has built-in multifunction-button functionality. The major driver for this feature was need for some maintenance functions available from remote (restart mythfrontend/Xserver/appliance/etc...) and the unfortunate lack of available buttons on remotes like the Microsoft MCE remote.

The following buttons were adapted for multi-function use:

START button

On MCE remote this is the big green “windows” button. On other remotes this will be button mapped to KEY_START in IR remote namespace. START button has following actions mapped to it:

  • single press: go to MythTV main menu
  • 3x press press: restart MythTV frontend process
  • 5x press: restart X.org server /reload ALSA and LIRC kernel modules and daemons on this appliance.
  • 7x press: reboot this appliance.
  • 9x press: restart MythTV backend process on central server.

STAR button

On MCE remote this is “*” button. On other remotes this will be button mapped to ‘STAR’ in IR remote namespace. START (‘KEY_START’ in namespace) button has following actions mapped to it:

  • single press: show ongoing recordings on OSD.
  • 2x press: kick playback OSDDEBUG.
  • 3x press: show this appliance HW status on OSD.
  • 4x press: show main server HW status and processes on OSD.
  • 5x press: show list of upcoming recordings on OSD.
  • 6x press: show progress of BluRay/DVD rip/copy process on OSD.
  • 7x press: run ‘eject /dev/cdrom’ command to eject Optical drive try.
  • 8x press: Send TV_POWER_ON via IR-blaster.