IR Remote Control with lirc

Hello

I m trying to get work IR remote control on OSMC .
Hardware :
Rapsberry 3 B+
TSOP38328 on 3.3V, GND, Output on GPIO 1

Software :

osmc@osmc:~$ cat /boot/config.txt 
gpu_mem_1024=256
hdmi_ignore_cec_init=1
disable_overscan=1
start_x=1
disable_splash=1
dtoverlay=lirc-rpi,gpio_in_pin=1
osmc@osmc:~$ sudo systemctl stop eventlircd.service
osmc@osmc:~$ sudo irrecord -d /dev/lirc0 ./other.conf

irrecord -  application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

This program will record the signals from your remote control
and create a config file for lircd.


A proper config file for lircd is maybe the most vital part of this
package, so you should invest some time to create a working config
file. Although I put a good deal of effort in this program it is often
not possible to automatically recognize all features of a remote
control. Often short-comings of the receiver hardware make it nearly
impossible. If you have problems to create a config file READ THE
DOCUMENTATION of this package, especially section "Adding new remote
controls" for how to get help.

If there already is a remote control of the same brand available at
http://www.lirc.org/remotes/ you might also want to try using such a
remote as a template. The config files already contain all
parameters of the protocol used by remotes of a certain brand and
knowing these parameters makes the job of this program much
easier. There are also template files for the most common protocols
available in the remotes/generic/ directory of the source
distribution of this package. You can use a template files by
providing the path of the file as command line parameter.

Please send the finished config files to <lirc@bartelmus.de> so that I
can make them available to others. Don't forget to put all information
that you can get about the remote control in the header of the file.

Press RETURN to continue.


Now start pressing buttons on your remote control.

It is very important that you press many different buttons and hold them
down for approximately one second. Each button should generate at least one
dot but in no case more than ten dots of output.
Don't stop pressing buttons until two lines of dots (2x80) have been
generated.

Press RETURN now to start recording.
irrecord: no data for 10 secs, aborting
irrecord: gap not found, can't continue

No IR signal is detected
When I look at the GPIO LIRC seems not be using the GPIO :slight_smile:

osmc@osmc:~$ sudo cat /sys/kernel/debug/gpio
gpiochip0: GPIOs 0-53, parent: platform/3f200000.gpio, pinctrl-bcm2835:
 gpio-29  (                    |led0                ) out lo    

gpiochip1: GPIOs 128-135, brcmexp-gpio, can sleep:
 gpio-130 (                    |led1                ) out lo    
osmc@osmc:~$ 

What can I do to get It working ?

Thanks

I have the same problem! Can you help me?

Hi Lalo-islas

I didn’t solve this issue. I do not have so much time to debug.
So I have bought a flirc
And it works perfectly.

Regards

With the latest update, the remote control stopped working. Solution to the problem (by default, instead of pin 23, it was 17)

On OSMC, with your keyboard, go through My OSMCPi ConfigHardware Support → - gpio_out_pin , (if there is no –gpio_out_pin in Hardware Support, select Enable LIRC GPIO support and press Enter) and press the key left or right arrow to change it to 23. Then press the down arrow key to turn to -gpio_in_pin, also press left or right to change it to 18 Like this:

|Enable LIRC GPIO support █ |
| -gpio_out_pin 23 |
| -gpio_in_pin 18