سؤال

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