Reece
Posts: 3
Joined: Fri Sep 19, 2014 8:32 pm

Lirc and Raspberry Pi 2 Rev 1.1 problem

Sun Aug 16, 2015 3:37 am

Hi,

I have two Raspberry Pi 2s; one is the initial version and the other is rev 1.1. The linux version is also different as reported by dmesg:

1 - Machine model: Raspberry Pi 2 Model B / Linux version 3.18.11-v7+
2 - Machine model: Raspberry Pi 2 Model B Rev 1.1 / Linux version 4.1.5-v7+

I have lirc working well on the first (original) version of the Pi 2 but I can't get it to work on the newer rev 1.1 version.

dmesg reports the following in the rev 1.1 version:
[ 12.824414] lirc_dev: IR Remote Control driver registered, major 244
[ 12.919420] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 12.921376] lirc_rpi: gpio chip not found!

Compared with the original version:
[ 4.075996] lirc_dev: IR Remote Control driver registered, major 246
[ 4.152611] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.127737] lirc_rpi: auto-detected active low receiver on GPIO pin 17
[ 5.138637] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[ 5.150060] lirc_rpi: driver registered!
[ 528.917621] input: lircd as /devices/virtual/input/input0

I am installing and configuring both exactly the same way so I can only put it down to the newer rev 1.1 version of the Pi 2 board.

Can anyone suggest how I can get passed this??

Cheers,
Reece

User avatar
joan
Posts: 14077
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Lirc and Raspberry Pi 2 Rev 1.1 problem

Sun Aug 16, 2015 7:50 am

It may be because of the change to kernel 4.1. See viewtopic.php?p=799214#p799214

User avatar
DougieLawson
Posts: 35536
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Lirc and Raspberry Pi 2 Rev 1.1 problem

Sun Aug 16, 2015 9:43 am

It's because you're run sudo rpi-update on the new machine without understanding what rpi-update does and why you shouldn't run it.

You'll need to add the lirc stuff to /boot/config.txt and reboot.

Code: Select all

 dtoverlay=lirc-rpi
Note: Having anything remotely humorous in your signature is completely banned on this forum. Wear a tinfoil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Return to “Interfacing (DSI, CSI, I2C, etc.)”