关闭树莓派电源 LED 灯、禁用 wifi、蓝牙

禁用树莓派电源指示灯:

指示灯的好处是可以指示当前树莓派的状态,但是如果树莓派常开的话,再晚上会显得很亮,所以就有了把灯关掉这样的需求

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
# Disable the PWR LED
dtparam=pwr_led_trigger=none
dtparam=pwr_led_activelow=off
# Disable Ethernet LEDs
dtparam=eth_led0=14
dtparam=eth_led1=14

已发布

分类

作者:

标签

评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注