Вопрос

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?

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top