IR Remote Control / Keyboard and lirc
Contents
Installing & Setting-up lirc
Mainly followed this guide (http://alexba.in/blog/2013/01/06/setting-up-lirc-on-the-raspberrypi/) with some changes since I'm using different GPIO ports as part of a Humble Pi demonstration/test.
sudo apt-get update sudo apt-get upgrade sudo apt-get install lirc sudo apt-get install lirc-x setserial ir-keytable
# /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. # Parameters can be specified after the module name. snd-bcm2835 i2c-dev lirc_dev lirc_rpi gpio_in_pin=23 gpio_out_pin=24
# /etc/lirc/hardware.conf # # Arguments which will be used when launching lircd #LIRCD_ARGS="" LIRCD_ARGS="--uinput" #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="UNCONFIGURED" DRIVER="default" # usually /dev/lirc0 is the correct setting for systems using udev #DEVICE="" #MODULES="" DEVICE="/dev/lirc0" MODULES="lirc_rpi" # Default configuration files for your hardware if any LIRCD_CONF="" LIRCMD_CONF=""
Former "on digital DTV" remote control, >10 years old
ALBA STB8H
Unbranded STB101