Search code examples
linuxarmlirc

mode2 command not found


I was trying to load LIRC GPIO on raspberry pi. When trying this

mode2 -d /dev/lirc0

it gives

-bash: mode2: command not found

Do I need to install something to support it?


Solution

  • Your PATH is not finding the mode2 executable. Standard install procedure on RPi includes:

    apt-get install lirc
    

    Setup LIRQ has information that could be helpful if it still needs troubleshooting.