BPI-R1 IR interface
apt-get install lirc
apt-get install evtest# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
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"
# usually /dev/lirc0 is the correct setting for systems using udev
DEVICE="/dev/input/event0"
MODULES="sunxi-ir"

Last updated
](https://bananapi.gitbook.io/bpi-r1/~gitbook/image?url=https%3A%2F%2F4049603582-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-legacy-files%2Fo%2Fassets%252F-M2HWtRPFCC-Z_DiL7ST%252F-M2HWw1TL1Tj7ZkprRnb%252F-M2HXPyg7ElYdfdRke0Z%252FIR%25EF%25BC%2593.png%3Fgeneration%3D1584080217261149%26alt%3Dmedia&width=300&dpr=3&quality=100&sign=198b1eb1&sv=2)