John,
/etc/lirc/hardware.conf
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD=false
#Don't start irexec, even if a good config file seems to exist.
#START_IREXEC=false
#Try to load appropriate kernel modules
LOAD_MODULES=true
# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="default"
# usually /dev/lirc0 is the correct setting for systems using udev
DEVICE="/dev/lirc0"
MODULES="gpioplug_ir_recv gpio_ir_recv"
# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""
/etc/lirc/lircd.conf
begin remote
name odroid1.conf
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 8959 4566
one 508 1737
zero 508 600
ptrail 507
repeat 8959 2291
pre_data_bits 16
pre_data 0x4DB2
gap 108299
toggle_bit_mask 0x0
begin codes
KEY_POWER 0x3BC4
KEY_MUTE 0x11EE
KEY_HOME 0x41BE
KEY_UP 0x53AC
KEY_DOWN 0x4BB4
KEY_LEFT 0x9966
KEY_RIGHT 0x837C
KEY_ENTER 0x738C
KEY_BACK 0x59A6
KEY_VOLUMEDOWN 0x817E
KEY_VOLUMEUP 0x01FE
KEY_MENU 0xA35C
end codes
end remote
/etc/lirc/lircmd.conf
#UNCONFIGURED
#
# To find out how to get a proper configuration file please read:
#
# /usr/share/doc/lirc/README.Debian
begin
prog = irexec
button = KEY_VOLUMEDOWN
config = gpio write 7 0
end
begin
prog = irexec
button = KEY_VOLUMEUP
config = gpio write 7 1
end
begin
prog = irexec
button = KEY_POWER
config = poweroff
end
begin
prog = irexec
button = KEY_HOME
config = reboot
end
begin
prog = irexec
button = KEY_MENU
config = ./DietPi/dietpi/dietpi-update
end
begin
prog = irexec
button = KEY_BACK
config = bash
end
I hope this can help you. I don’t have X.org installed, I always ssh to the XU4
Patrick