Skip to content

Instantly share code, notes, and snippets.

@godlike64
Last active January 7, 2023 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save godlike64/6ce4a1b2c256ad6d1e2a637de9631e0d to your computer and use it in GitHub Desktop.
Save godlike64/6ce4a1b2c256ad6d1e2a637de9631e0d to your computer and use it in GitHub Desktop.
Working LIRC (v0.10.1) configuration. Tested in CoreELEC 19.2. Needs to be run with "lircd -d auto --driver=srm7500libusb --device=macShortAddress=12:34,remoteShortAddress=56:78,macPANId=9a:bc /path/to/philips-srm-7500-lircd.conf"
# Philips SRM-7500 RF configuration for use with the srm7500libusb driver
# Made for work with KODI, best for OSMC
# VERSION 1.3 by Matis - https://github.com/Matis253/SRM7500-kodi
# Remake from original - https://sourceforge.net/p/lirc-remotes/code/ci/master/tree/remotes/philips/srm7500libusb.lircd.conf
# which is too old to work well so I decided to rewrite all configuration from zero (especially "begin codes")
begin remote
name SRM-7500
bits 16
eps 30
aeps 100
one 0 0
zero 0 0
gap 132799
toggle_bit_mask 0x0
post_data_bits 8
post_data 0x01
begin codes
KEY_POWER 0x0035
KEY_BACK 0x0024
KEY_MORE 0x0033
KEY_OK 0x0039
KEY_UP 0x0023
KEY_DOWN 0x0011
KEY_LEFT 0x0029
KEY_RIGHT 0x0031
KEY_VOLUMEUP 0x0027
KEY_VOLUMEDOWN 0x002A
KEY_MUTE 0x0028
KEY_CHANNELUP 0x0037
KEY_CHANNELDOWN 0x003A
KEY_WINDOWS 0x0015
KEY_PLAY 0x001A
KEY_PAUSE 0x0016
KEY_STOP 0x0017
KEY_RECORD 0x0012
KEY_REWIND 0x0007
KEY_FORWARD 0x0047
KEY_PREVIOUS 0x000A
KEY_NEXT 0x004A
KEY_GUIDE 0x0022
KEY_LIVETV 0x0036
KEY_RECTV 0x0026
KEY_DVD 0x0032
KEY_0 0x0013
KEY_1 0x0008
KEY_2 0x0018
KEY_3 0x0048
KEY_4 0x0009
KEY_5 0x0019
KEY_6 0x0049
KEY_7 0x0004
KEY_8 0x0014
KEY_9 0x0044
KEY_STAR 0x0003
KEY_HASH 0x0043
KEY_TEXT 0x0042
KEY_CLEAR 0x0001
KEY_ENTER 0x0041
KEY_SCREEN 0x0006
KEY_RED 0x0005
KEY_GREEN 0x0002
KEY_YELLOW 0x0045
KEY_BLUE 0x0046
end codes
end remote
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment