Re: LIRC using with directly wiring the RPI3-1 (GPIO18) and (GPIO17) on RPI3-2.

Bengt Martensson <[email protected]> Tue, 31 Oct 2017 15:10:29 +0100
Newsgroups gmane.comp.hardware.lirc
Message-ID <[email protected]>
On 10/31/17 14:14, Rajendra Panchal wrote:
> I made sure that I am using the latest lirc_rpi which is from media branch.
> 
> Switched the lirc_rpi.ko to the one built using
> https://github.com/bengtmartensson/lirc_rpi/tree/media

:-)

> pi@S-SquareBase:~ $ dmesg | grep lir
> [    3.013380] lirc_dev: IR Remote Control driver registered, major 243
> [    3.027374] lirc_rpi: module is from the staging directory, the 
> quality is unknown, you have been warned.
> [    4.091745] lirc_rpi: auto-detected active high receiver on GPIO pin 18

This is GOOD. It means that the driver detected that the line is 
"normally" low ("active high"), which means that are  OK w.r.t. 
inversion. (You might want to check that it says "active low" when you 
are using the IR receiver.)


> When I do an irsend of RPI3-1 I don't receive the command while running 
> a python script irreceive.py on RPI3-2. With the IR HW connected to both 
> the RPI3s, I used to receive using irreceive.py.

I would stop lircd on the receiving side, and use mode2 instead; command 
line

     mode2 --driver=default

If that does not give any output, you likely have a hardware problem.

Greetz,

Bengt

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot