在关闭树莓派的电源指示灯和状态指示灯中,对关闭树莓派指示灯的原理进行了详细的讲解,本文不再讲解关闭树莓派指示灯的原理,只写命令。如果想要了解原理的,可以去原来的文章参考。
以下是具体的过程:
禁用树莓派电源指示灯:
echo "# Disable the PWR LED" | sudo tee -a /boot/config.txt
echo "dtparam=pwr_led_trigger=none" | sudo tee -a /boot/config.txt
echo "dtparam=pwr_led_activelow=off" | sudo tee -a /boot/config.txt
禁用树莓派以太网指示灯:
echo "# Disable Ethernet LEDs" | sudo tee -a /boot/config.txt
echo "dtparam=eth_led0=14" | sudo tee -a /boot/config.txt
echo "dtparam=eth_led1=14" | sudo tee -a /boot/config.txt
禁用树莓派wifi:
echo "dtoverlay=pi3-disable-wifi" | sudo tee -a /boot/config.txt
禁用树莓派蓝牙:
echo "dtoverlay=pi3-disable-bt" | sudo tee -a /boot/config.txt
禁用树莓派板载音频驱动程序:
echo "blacklist snd_bcm2835"> /etc/modprobe.d/alsa-blacklist.conf
原创文章,转载请注明: 转载自科技爱好者博客
本文链接地址: 关闭树莓派电源LED灯,禁用wifi、蓝牙 (https://www.tujing.site/5119)
如果博客对您有帮助,请给我 赞助