문제

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