-
Notifications
You must be signed in to change notification settings - Fork 27
/
led_control.txt
54 lines (41 loc) · 1.44 KB
/
led_control.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Execution instructions:
insmod openvfd.ko
./OpenVFDService & (run OpenVFDService Daemon to show time)
./OpenVFDService -t & (run OpenVFDService Daemon in test mode)
Turn led indicators on/off:
1. Alarm led:
echo alarm > /sys/class/leds/openvfd/led_on
echo alarm > /sys/class/leds/openvfd/led_off
2. WiFi led:
echo wifi > /sys/class/leds/openvfd/led_on
echo wifi > /sys/class/leds/openvfd/led_off
3. Ethernet led:
echo eth > /sys/class/leds/openvfd/led_on
echo eth > /sys/class/leds/openvfd/led_off
4. Pause led:
echo pause > /sys/class/leds/openvfd/led_on
echo pause > /sys/class/leds/openvfd/led_off
5. Play led:
echo play > /sys/class/leds/openvfd/led_on
echo play > /sys/class/leds/openvfd/led_off
6. USB led:
echo usb > /sys/class/leds/openvfd/led_on
echo usb > /sys/class/leds/openvfd/led_off
7. Apps led:
echo apps > /sys/class/leds/openvfd/led_on
echo apps > /sys/class/leds/openvfd/led_off
8. Setup led:
echo setup > /sys/class/leds/openvfd/led_on
echo setup > /sys/class/leds/openvfd/led_off
9. Card led:
echo sd > /sys/class/leds/openvfd/led_on
echo sd > /sys/class/leds/openvfd/led_off
10. HDMI led:
echo hdmi > /sys/class/leds/openvfd/led_on
echo hdmi > /sys/class/leds/openvfd/led_off
11. CVBS led:
echo cvbs > /sys/class/leds/openvfd/led_on
echo cvbs > /sys/class/leds/openvfd/led_off
Note: Some displays have indicators 1 - 6, and others 6 - 11.
There is no overlap, and you can't trigger an indicator that
does not exist on your display type.