본문 바로가기

개발 이야기/라즈베리파이

(라즈베리파이) IR 리모콘으로 RPI3 제어하기 -2

728x90

gist.github.com/billpatrianakos/cb72e984d4730043fe79cbe5fc8f7941

 

How to set up LIRC on Raspbian Buster (2019, 4.x kernel)

How to set up LIRC on Raspbian Buster (2019, 4.x kernel) - LIRC_Raspian_Buster.md

gist.github.com

 ==> stackoverflow.com/questions/57437261/setup-ir-remote-control-using-lirc-for-the-raspberry-pi-rpi

 

Setup IR Remote Control Using LIRC for the Raspberry PI (RPi)

After much searching I was surprised and dismayed about the conflicting information on how to setup IR remote control for my RPi project. I thought it would be easy but setting up Linux InfraRed Co...

stackoverflow.com

 =====>  www.raspberrypi.org/forums/viewtopic.php?f=28&t=235256&sid=1d9d8c5d1f566b4487bd3f1823b84223

 

[Stretch/Buster] Using LIRC with kernel 4.19.X and gpio-ir - Raspberry Pi Forums

Mon Jun 03, 2019 1:34 am Thank you so much. I'm not completely new to Linux or the Raspberry Pi, but I'm new to GPIO and I'm no developer. So I've spend almost a week trying to follow different tutorials to get ir tx and rcv working to make an Alexa enable

www.raspberrypi.org

프로그램밍:

      =======> www.lirc.org/api-docs/html/irrecord_8c.html

 

LIRC libraries: /home/columbus/software/lirc-doc/lib/irrecord.c File Reference

(91aee28 2017-02-12 11:12:58 +0100) Implements irrecord.h. More... #include #include #include #include "lirc_private.h" #include "irrecord.h" Go to the source code of this file. void btn_state_set_message (struct button_state *state, const char *fmt,...)

www.lirc.org

아치리눅스 ==================> wiki.archlinux.org/index.php/LIRC

 

LIRC - ArchWiki

From the official website: LIRC (Linux Infrared Remote Control) is a package that decodes and sends infra-red signals of many (but not all) commonly used remote controls. Note: Since 4.18 the kernel can decode the signals of some IR remote controls using B

wiki.archlinux.org

lirc.org ============================> www.lirc.org/html/configuration-guide.html

 

LIRC - Linux Infrared Remote Control

Configuration guide About this guide This guide tries to describe the basic configuration steps for commonly used hardware. It's focused on the basic usage scenario to get the remote up and running, the more advanced features are not covered. This includes

www.lirc.org

 

추가참고 자료:

===============================>gernot-walzl.at/index.php?nav=.%2FDebian%2FRaspbian%2FLIRC

 

LIRC - Gernot Walzl

LIRC Most Raspberry Pis are connected to a TV. Nearly all TVs have an infrared (IR) remote control. Using Linux Infrared Remote Control (LIRC), you can control your Raspberry Pi with an IR remote control. This tutorial was written for Raspbian 9 (stretch)

gernot-walzl.at

 

>>> Execute Commands

/etc/lirc/irexec.lircrc

begin

prog = irexec

button = KEY_POWER

config = shutdown -h now

end

 

>>>    Audacious Audio Player

Install Audacious:
sudo apt-get install audacious

Enable the LIRC Plugin under File > Settings > Plugins.

/home/pi/.lircrc

 

begin

prog = audacious

button = KEY_PLAY

config = PLAY

end

 

 

 추가 참고자료 ========================> sourceforge.net/p/lirc/mailman/message/35861990/

 

Lircd.conf 리모콘 종류:

==> lirc-remotes.sourceforge.net/remotes-table.html

 =====> lirc.sourceforge.net/remotes/

==========>  www.lirc.org/html/table.html

 

LIRC - Linux Infrared Remote Control

Prolink AProlink Pixelview PV-BT878P+ (Rev.4C,8E, card=70)   default pixelview/playtv_pro.lircd.conf pixelview/playtv_pro.lircmd.conf code

www.lirc.org

 

lirc.org => www.lirc.org/faq.html

 

LIRC - FAQ

  FAQ   Hardware related Is my USB IrDA dongle supported by LIRC? No, it's technically not possible to use USB IrDA dongles (as specified by the Infrared Data Association) with LIRC. This does not apply to USB receivers in general. Can I use my home-brew

www.lirc.org

 

//

//  32bit code <== 64bit code

//

sourceforge.net/p/lirc/tickets/168/

  ===> 해결책:

"""

After installing this configuration file at /etc/lirc/lircd.conf.d and rebooting, irw produced no output, though I could see using strace that my /usr/sbin/lircd --nodaemon process was reading data from /dev/lirc0. Removing the 0x7E825B6C codes from each of the above lines and rebooting caused irw to begin showing the key values in the left column above when I pressed the corresponding buttons on my WD TV Live remote control.

"""

728x90