Questions tagged [lirc]

LIRC is a package that allows you to decode and send infra-red signals of many (but not all) commonly used remote controls.

LIRC (Linux Infra-red Remote Control), is a software package that provides a full suite of tools relating to IR remote controls. It is possible to record signals created by remote controls and replay them. Many remote controls have been mapped, and their configurations have been uploaded and shared on the LIRC Remotes Database, making it possible to download and use many common remote controls.

LIRC can also act as an IR signal receiver and can be configured to make user-defined actions when specific signals are received.

LIRC is compatible with a wide range of IR related hardware, including custom built hardware plugged into to serial ports and GPIO pins.

75 questions
0
votes
2 answers

modprobe: FATAL: Module lirc_rpi not found in directory /lib/modules/5.10.92-v7+

I am trying to Configure Lirc for my Rpi 3b+ for a personal project. I am using this guide. When running sudo modprobe lirc_rpiI get the error of modprobe: FATAL: Module lirc_rpi not found in directory /lib/modules/5.10.92-v7+ Can anyone help me…
D3D_M4N
  • 35
  • 5
0
votes
1 answer

Buildroot ir remote using ir-keytable or lirc

I created an image for raspberry pi zero 2 w using buildroot, Also added overlay gpio-ir in config.txt but not able to receive ir signal. No logs are printed for gpio in dmesg. No devices are showing in /proc/bus/input/devices Can anyone help?
0
votes
2 answers

How to install lirc in Python 3.8 when previously installed in Python 3.5?

I have been using lirc in Python 2.7 and Python 3.5.3 on Rpi3. Now I have installed Python 3.8.7 from source code, but I am not able to use lirc in this version of Python, but it still works in Python 3.5. apt-get reports that python3-lirc is…
Eddy Sorngard
  • 149
  • 1
  • 12
0
votes
1 answer

Configuring LIRC on Raspberry PI for AC control

I've been working on a project of automating my Carrier 42QTD018R8S Air Conditioner in order to be able to control it from HomeAssistant IO. As I have kernel 4.19, I followed this link in order to install and configure LIRC. My AC IR remote is…
0
votes
1 answer

LIRC and audio bugging each other out on Raspbian

I'm having a problem with LIRC breaking audio on the OS scale after firing a command. For example, I'd do: irsend send_once Samsung_BN59-01224C KEY_VOLUMEUP --count=5 and afterwards, play an audio file, and the program governing that file would…
arsonist
  • 25
  • 4
0
votes
0 answers

Listening to only the first input of GPIO pin on a Raspberry pi with Node.js

I have a probably very simple question. I have a Raspberry Pi 3 model B+ running Raspbian Buster hooked up to an infrared receiver on GPIO 7 (pin 26) and an LED hooked up to GPIO 4 (pin 7). What I want to do is to switch on the LED as soon as the…
griesoss
  • 11
  • 1
0
votes
1 answer

How linux driver can delegate functions to another driver (shared hardware)

I'm writing a custom IR transmitter driver for lirc on an embedded board. The board has a i2c-to-gpio extender (FXL6408). The problem is that only one GPIO pin is needed for my driver (and hence LIRC) and the other pins are needed for use by other…
Danny
  • 2,482
  • 3
  • 34
  • 48
0
votes
1 answer

Raspberry PI : Now hold down button "KEY_OK". Something went wrong: Cannot decode data Please try again. (28 retries left)

I have installed and configured LIRC from https://gist.github.com/prasanthj/c15a5298eb682bde34961c322c95378b. I now try to record IR signal, but I get this error: >>pi@raspberrypi:~ $ sudo irrecord -d /dev/lirc0 ~/lircd.conf Running as regular…
MrAli
  • 1
  • 2
0
votes
1 answer

IR transmitter not working on Raspberry Pi

I am trying to turn on my TV using a Raspberry Pi. I have followed the below instructions and added my remote config file, however, am having no luck! Any suggestions. When running sudo /etc/init.d/lircd status, I get lircd.service - Flexible IR…
bensd
  • 47
  • 2
  • 7
0
votes
2 answers

Driver loaded for lircd is not the one I specify

I am currently trying to write some code for using a remote control with a Raspberry Pi 3. I installed LIRC according to a tutorial and it does work, but: In the /etc/lirc/hardware.conf I have a line: DRIVER="default" but when I run mode2 -d…
0
votes
2 answers

Cannot send command IR with HotPI

I bought a HotPi a while ago, and decided to use it. So I followed the procedure to configure the IR and after a few hours I was able to IR signals on my Raspberry 1. But my purpose here is to send IR signals, which I tried, without any luck. So…
dersoi
  • 117
  • 1
  • 3
  • 14
0
votes
1 answer

Design a generic IR remote interface

Im wondering if it is possible to design an interface that can auto-determine which lirc.conf to use. Currently, Im using a raspberry pi to control my TV by using the specific lirc.conf for my TV remote. Now if I put the device in a different area…
aNewbieDev
  • 109
  • 6
0
votes
1 answer

Raspberry pi 3, IR remote error : transmission failed

I am using Debian on Raspberry Pi 3. I am trying to create IR remote. I am following online tutorials. I could record my remote using IR receiver but while emitting IR, I am getting following error: irsend: command failed: SEND_ONCE Samsung…
0
votes
0 answers

How to achieve precise udelay timing on multicore machine?

I need to have precise timing on a multicore machine (Allwinner A20 processor) for home automation applications using bit banging lirc (infrared remote simulation) to control some hifi and tv equipment using RF-OOK to control some RF controlled…
0
votes
2 answers

How to get multiple instances of LIRC working and each using different GPIO with raspberry pi?

I am new for LIRC programming. Right now I am using GPIO 18 for lirc implementation. But I want to implement multiple IR emitters with different GPIOs and working all as different remotes. This is because I have two same brand TVs in different rooms…