Skip to content

Instantly share code, notes, and snippets.

@namgk
Created March 5, 2019 01:06
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 namgk/b8d4e666a95d51eee8dba733e302c4c6 to your computer and use it in GitHub Desktop.
Save namgk/b8d4e666a95d51eee8dba733e302c4c6 to your computer and use it in GitHub Desktop.
lirc key configuration for Samsung TV (UN32EH5000FXZA), remote model AA59-00600A
# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(default) on Fri May 23 20:58:36 2014
#
# contributed by Jake S.
#
# brand: Samsung
# model no. of remote control: AA59-00600A
# devices being controlled by this remote: UN32EH5000FXZA
#
# Kernel revision: 3.10.25+
# Driver/device option: --driver default --device /dev/lirc0
# Capture device: RadioShack IR receiver, part number 2760640.
# Kernel modules: dev_rpi
# Type of device controlled: TV
# Devices controlled: Samsung UN32EH5000FXZA
#
#
#
# Note: the power button does not work with the recorded code.
# I toyed around and added another remote with proper
# settings for the power key. with this new configuration
# The power key must be actuated with the --count 2 flag.
#
# KEY_CYCLEWINDOWS = "SOURCE" button on device
# KEY_OPTION = "TOOLS" button on device
# KEY_102ND = "-" channel number separator dash on device
# Remote layout:
#
# KEY_POWER KEY_CYCLEWINDOWS
# KEY_1 KEY_2 KEY_3
# KEY_4 KEY_5 KEY_6
# KEY_7 KEY_8 KEY_9
# KEY_102ND KEY_0 KEY_PREVIOUS
# KEY_VOLUMEUP KEY_MUTE KEY_CHANNELUP
# KEY_VOLUMEDOWN KEY_LIST KEY_CHANNELDOWN
# KEY_MEDIA KEY_MENU KEY_SLEEP
# KEY_OPTIONS KEY_UP KEY_INFO
# KEY_LEFT KEY_SELECT KEY_RIGHT
# KEY_BACK KEY_DOWN KEY_EXIT
# KEY_RED KEY_GREEN KEY_YELLOW KEY_BLUE
# KEY_SWITCHVIDEOMODE KEY_LANGUAGE KEY_SUBTITLE KEY_STOP
# KEY_REWIND KEY_PLAY KEY_PAUSE KEY_FASTFORWARD
begin remote
name SAMSUNG_AA59-00600A
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 4566 4476
one 600 1645
zero 600 523
ptrail 600
pre_data_bits 16
pre_data 0xE0E0
gap 108233
toggle_bit_mask 0x0
begin codes
KEY_CYCLEWINDOWS 0x807F
KEY_1 0x20DF
KEY_2 0xA05F
KEY_3 0x609F
KEY_4 0x10EF
KEY_5 0x906F
KEY_6 0x50AF
KEY_7 0x30CF
KEY_8 0xB04F
KEY_9 0x708F
KEY_102ND 0xC43B
KEY_0 0x8877
KEY_PREVIOUS 0xC837
KEY_VOLUMEUP 0xE01F
KEY_MUTE 0xF00F
KEY_CHANNELUP 0x48B7
KEY_VOLUMEDOWN 0xD02F
KEY_LIST 0xD629
KEY_CHANNELDOWN 0x08F7
KEY_MEDIA 0x31CE
KEY_MENU 0x58A7
KEY_SLEEP 0xC03F
KEY_OPTION 0xD22D
KEY_UP 0x06F9
KEY_INFO 0xF807
KEY_LEFT 0xA659
KEY_SELECT 0x16E9
KEY_RIGHT 0x46B9
KEY_BACK 0x1AE5
KEY_DOWN 0x8679
KEY_EXIT 0xB44B
KEY_RED 0x36C9
KEY_GREEN 0x28D7
KEY_YELLOW 0xA857
KEY_BLUE 0x6897
KEY_SWITCHVIDEOMODE 0x7C83
KEY_LANGUAGE 0x00FF
KEY_SUBTITLE 0xA45B
KEY_STOP 0x629D
KEY_REWIND 0xA25D
KEY_PLAY 0xE21D
KEY_PAUSE 0x52AD
KEY_FASTFORWARD 0x12ED
end codes
end remote
begin remote
name SAMSUNG_AA59-00600A_POWER
bits 16
flags SPACE_ENC
eps 30
aeps 100
header 4564 4478
one 600 1646
zero 600 524
ptrail 600
pre_data_bits 16
pre_data 0xE0E0
gap 50
toggle_bit_mask 0x0
begin codes
KEY_POWER 0x40BF
end codes
end remote
# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(default) on Mon Feb 5 19:04:10 2018
#
# contributed by
#
# brand: bose_ir.conf
# model no. of remote control:
# devices being controlled by this remote:
#
begin remote
name BOSE_SOUNDTOUCH
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 941 1553
one 440 1550
zero 440 555
ptrail 438
gap 77681
min_repeat 1
# suppress_repeat 1
# uncomment to suppress unwanted repeats
toggle_bit_mask 0x0
begin codes
KEY_POWER 0xCD32
KEY_1 0x1FE0
KEY_2 0xEF10
KEY_3 0x6F90
KEY_4 0xAF50
KEY_5 0x2FD0
KEY_6 0xCF30
KEY_VOLUMEUP 0x3FC0
KEY_VOLUMEDOWN 0xBF40
KEY_PLAYPAUSE 0x27D8
KEY_NEXT 0x6798
KEY_PREVIOUS 0xE718
KEY_AUX 0x0FF0
end codes
end remote
# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(default) on Mon Feb 5 19:08:47 2018
#
# contributed by
#
# brand: deebot_ir.conf
# model no. of remote control:
# devices being controlled by this remote:
#
begin remote
name DEEBOT
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 8957 4496
one 522 1711
zero 522 594
ptrail 519
repeat 8948 2293
pre_data_bits 16
pre_data 0xFF
gap 107672
toggle_bit_mask 0x0
begin codes
KEY_HOME 0x708F
KEY_PLAYPAUSE 0xD02F
KEY_RIGHT 0xF00F
KEY_LEFT 0xE01F
KEY_UP 0xC837
KEY_DOWN 0xC03F
end codes
end remote
@namgk
Copy link
Author

namgk commented Mar 5, 2019

remember to add dtoverlay=lirc to /boot/config.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment