Posts: 1
Joined: Sat Oct 24, 2015 4:42 am

/dev/lirc0 not appearing on RPi 2

Sat Oct 24, 2015 5:23 am


I've been at this for several hours now and I'm looking to be pointed in the right direction for debugging.

I've been following this tutorial

http://mvartan.com/2014/11/25/controlli ... pberry-pi/

When I go to access /dev/lirc0 it's not there.

Set up
  • Raspberry Pi 2 Model B V1.1
  • Raspbian version 8 (jessie)
  • LIRC installed
Debugging Notes
  • /etc/lirc/hardware.conf is as per tutorial
  • config.txt has

    Code: Select all


    Code: Select all

  • /etc/modules has

    Code: Select all

    lirc_rpi gpio_in_pin=23 gpio_out_pin=22
  • When I go

    Code: Select all

    gpio readall
    it appears that all the modes are set to IN, but I can change pin 22 to OUT manually
  • The IR Blaster differs from the one in the tutorial, it looks like this one
    and I'm ignoring the middle connector
Picture of set up


Here's some of the places I've tried so far to find out what's going on

Posts: 1317
Joined: Thu Nov 01, 2012 12:12 pm
Location: Dublin, Ireland

Re: /dev/lirc0 not appearing on RPi 2

Mon Nov 23, 2015 4:17 pm

What is the output if you do these:

Code: Select all

sudo /etc/init.d/lirc stop
sudo /etc/init.d/lirc start
http://raspberrycompote.blogspot.com/ - Low-level graphics and 'Coding Gold Dust'

User avatar
Posts: 42175
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK

Re: /dev/lirc0 not appearing on RPi 2

Mon Nov 23, 2015 4:20 pm

Get rid of the

Code: Select all

line because that stops the essential device tree (dtparam) stuff from being loaded.
Languages using left-hand whitespace for syntax are ridiculous

DMs sent on https://twitter.com/DougieLawson or LinkedIn will be answered next month.
Fake doctors - are all on my foes list.

The use of crystal balls and mind reading is prohibited.

Posts: 6
Joined: Wed Jan 13, 2016 9:47 pm

Re: /dev/lirc0 not appearing on RPi 2

Wed Jan 13, 2016 9:51 pm

Hi William

I have exactly the same problem......did you solve your problem or work around it?
Looking forward to hear from you :)

Cheers Nikolaj

Return to “General programming discussion”