Question

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?

Was it helpful?

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top