AIO-3399Pro-JD4——led驱动笔记

AIO-3399Pro-JD4——led驱动笔记_第1张图片

rk3399pro_firefly_aiojd4:/sys/class/leds $ ls -l
total 0
lrwxrwxrwx 1 root root 0 2019-06-12 03:24 firefly:blue:power -> ../../devices/platform/leds/leds/firefly:blue:power
lrwxrwxrwx 1 root root 0 2019-06-12 03:24 firefly:yellow:user -> ../../devices/platform/leds/leds/firefly:yellow:user
lrwxrwxrwx 1 root root 0 2019-06-12 03:26 mmc1:: -> ../../devices/platform/fe330000.sdhci/leds/mmc1::
rk3399pro_firefly_aiojd4:/sys/class/leds $ echo 0 > firefly:blue:power
/system/bin/sh: can't create firefly:blue:power: Is a directory
1|rk3399pro_firefly_aiojd4:/sys/class/leds $ cd firefly:blue:power
rk3399pro_firefly_aiojd4:/sys/class/leds/firefly:blue:power $ ls
brightness device max_brightness power subsystem trigger uevent


echo 0 > brightness  蓝灯灭                                                        <
echo 1 > brightness  蓝灯亮

 

 

 

 

你可能感兴趣的:(RK3399Pro)