Skip to content

Multi function IR remote buttons

Piotr Oniszczuk edited this page Dec 9, 2020 · 2 revisions

OVERVIEW

Minimyth2 has build-in multifunction-button functionality. Major driver for this feature was need for some maintenance functions available from remote (restart mythfrontend/Xserver/appliance/etc) and unfortunate lack of available buttons on remotes like i.e. Microsoft MCE remote. Following buttons were adopted to multi-function:

START button

On MCE remote this is 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 upcomming 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.