HDMI switch IR

Working ir set for Shang He 4K HDMI Quad Multi-viewer


pi@raspberrypi:~ $ sudo vi /etc/lirc/lircd.conf


# Please take the time to finish this file as described in
# https://sourceforge.net/p/lirc-remotes/wiki/Checklist/
# and make it available to others by sending it to
# <lirc@bartelmus.de>
#
# This config file was automatically generated
# using lirc-0.10.1(default) on Sat Jul 18 15:46:01 2020
# Command line used:
# Kernel version (uname -r): 4.19.118-v7+
#
# Remote name (as of config file): quadmultiviewerhdmi
# Brand of remote device, the thing you hold in your hand:
# Remote device model nr:
# Remote device info url:
# Does remote device has a bundled capture device e. g., a
#     usb dongle? :
# For bundled USB devices: usb vendor id, product id
#     and device string (use dmesg or lsusb):
# Type of device controlled
#     (TV, VCR, Audio, DVD, Satellite, Cable, HTPC, ...) :
# Device(s) controlled by this remote:

begin remote

  name  hdmi0
  bits           32
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       9050  4484
  one           562  1678
  zero          562   567
  ptrail        563
  repeat       9049  2234
  gap          134460
  toggle_bit_mask 0x0
  frequency    38000

      begin codes
          hdmi0_power                0x00FF02FD 0x1760B900
          hdmi0_audio                0x00FFE21D 0x1760B900
          hdmi0_mode                 0x00FFE01F 0x1760B900
          hdmi0_one                  0x00FF9867 0x1760B900
          hdmi0_four                 0x00FFA857 0x1760B900
          hdmi0_twowide              0x00FFD827 0x1760B900
          hdmi0_twotall              0x00FF8877 0x1760B900
          hdmi0_eight                 0x00FF8A75 0x1760B900
          hdmi0_left                  0x00FF0AF5 0x1760B900
          hdmi0_right                0x00FF52AD 0x1760B900
          hdmi0_resolution           0x00FF40BF 0x1760B900
      end codes

end remote



Resolution cycles through
2560x1440@60Hz
1080P60
3840x2160@30Hz
2560x1600@60Hz