range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn
60
www.xunlong.tv
root@orangepir1plus:/sys/class/leds/status_led# echo 0 > brightness
c) The command to set the red light to be always on is as follows
root@orangepir1plus:/sys/class/leds/status_led# echo 1 > brightness
d) The command to set the red light to stop flashing is as follows
root@orangepir1plus:/sys/class/leds/status_led# echo none > trigger
5.9. USB Port Test
5.9.1. Connect USB storage device test
1) First insert the U disk into the USB port of the Orange Pi development board
2) Execute the following command, if you can see the output of sdX, it means that the U
disk is successfully recognized
root@orangepir1plus:~# cat /proc/partitions | grep "sd*"
major minor #blocks name
8 0 30044160 sda
8 1 30043119 sda1
3) Use the mount command to mount the U disk to /mnt, and then you can view the files
in the U disk
root@orangepir1plus:~# mount /dev/sda1 /mnt/
root@orangepir1plus:~# ls /mnt/
test.txt
4) After mounting, use the df -h command to view the capacity usage and mount point of
the U disk
root@orangepir1plus:~# df -h | grep "sd"
/dev/sda1 29G 208K 29G 1% /mnt
5.10. USB wireless network card test
The USB wireless network cards that have been tested in the linux5.8 system are as
follows. Please test other types of USB wireless network cards by yourself. If you cannot
use them, you need to transplant the corresponding USB wireless network card drivers.