banana pi BPI-R1 A20 dual core open source smart r
  • Initial page
  • LANGS
  • About Banana pi BPI-R1
    • BPI-R1 hardware spec
    • First Chapter
    • Summary
    • BPI-R1 DC Power interface
    • Armbian Linux
    • Compulsive modification of HDMI output resolution
    • BPI-R1 Audio
    • BPI-R1 quick start
    • BPI-R1 CAN Bus
    • BPI-R1 Linux software
    • David Bentham / openwrt-bpi-r1-prebuilt
    • BPI-R1 schematic diagram
    • BPI-R1 HDMI interfact
    • BPI-R1 android software
    • How to build OpenWRT image from github
    • Linux mainline kernel
    • BPI-R1 3.7V lithium battery interface
    • BPI-R1 RGB DSI interface
    • BPI-R1 wifi antenna slot
    • BPI-R1 CE,FCC RoHS Certification
    • BPI-R1 Audio
    • BPI-R1 IR interface
    • BPI-R1 Software
    • bananianlinux
    • WiringPi python
    • NetBSD/evbarm on Allwinner Technology SoCs
    • BPI-R1 OpenWRT
    • BPI-R1 MIC
    • BPI-R1 WiringPi
    • BPI-R1 5 GbE Ethernet ports
    • linux-sunxi wiki
    • BPI-R1 WIFI interface
    • Lamobo Openwrt image
    • BPI-R1 Camera interface
    • BPI-R1 SD card slot
    • BPI-R1 hardware interface
    • Manual for HW setup and basic router functionalities
    • Reference documents
    • Allwinner chip documents
    • linuxkernel34bspimage
    • BPI-R1 WiringPi
    • BPI-R1 SATA interface
    • BPI-R1 Camera interface
    • Linux mainlining effort
    • Pi4J Project
    • BPI-R1 OTG interface
    • BPI-R1 GPIO Pin define
    • Asterisk on BPI-R1
    • Officeal OpenWRT
    • BPI-R1 USB interface
  • About Banana pi BPI-R1
    • Pi4J Project
    • Linux mainlining effort
    • Asterisk on BPI-R1
    • BPI-R1 android software
    • How to build OpenWRT image from github
    • Officeal OpenWRT
    • BPI-R1 3.7V lithium battery interface
    • Summary
    • Armbian Linux
    • BPI-R1 Audio
    • BPI-R1 CE,FCC RoHS Certification
    • BPI-R1 Software
    • WiringPi python
    • BPI-R1 3D & DXF file
    • BPI-R1 OpenWRT
    • BPI-R1 schematic diagram
    • BPI-R1 HDMI interfact
    • linuxmainlinekernel
    • freebsdnetbsd
    • All banana pi product
    • BPI-R1 Camera interface
    • Lamobo Openwrt image
    • BPI-R1 SD card slot
    • bpi-r1-bpi-r2-board-comparison
    • BPI-R1 RGB DSI interface
    • bpi40customizedserver
    • BPI-R1 wifi antenna slot
    • bananianlinux
    • BPI-R1 IR interface
    • BPI-R1 Audio
    • bpi-r1-openbsd
    • Reference documents
    • NetBSD/evbarm on Allwinner Technology SoCs
    • Allwinner chip documents
    • BPI-R1 WiringPi
    • BPI-R1 MIC
    • BPI-R1 5 GbE Ethernet ports
    • BPI-R1 WiringPi
    • BPI-R1 OTG interface
    • linux-sunxi wiki
    • BPI-R1 GPIO Pin define
    • BPI-R1 WIFI interface
    • BPI-R1 USB interface
    • BPI-R1 hardware interface
    • BPI-R1 DC Power interface
    • BPI-R1 hardware spec
    • First Chapter
    • Manual for HW setup and basic router functionalities
    • Compulsive modification of HDMI output resolution
    • linuxkernel34bspimage
    • BPI-R1 quick start
    • BPI-R1 Camera interface
    • BPI-R1 SATA interface
    • BPI-R1 Linux software
    • BPI-R1 CAN Bus
    • David Bentham / openwrt-bpi-r1-prebuilt
  • Getting Started with R1 - Banana Pi Wiki
Powered by GitBook
On this page

Was this helpful?

  1. About Banana pi BPI-R1

BPI-R1 IR interface

BPI-M1 support IR interface on board. you can use it as remote control.

How to use IR interface

test on bananian image:

1,install lirc

apt-get install lirc 
apt-get install evtest

2,edit /etc/lirc/hardware.conf as below:

nano /etc/lirc/hardware.conf

# /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"

ctrl+O save and ctrl+x exit.

3,test lirc

service lirc start

4 test remote-control unit

evtest

choose "0" must xunxi-ir

press is:1,unpress is:0

PreviousbananianlinuxNextBPI-R1 Audio

Last updated 5 years ago

Was this helpful?

please note:value 0 value 1

![](IR3.png)