02-25-2018, 02:32 AM
The purpose would be to make them usable for my own application.
I have searched through /sys and found device tree entries, so there was at least the intention to make them known to the kernel and use them somehow:
Some things like trigger look very similar to what I have read elsewhere about other Linux LED drivers but none of these tutorials does really apply to this one and I cannot find any device node to control them.
I have searched through /sys and found device tree entries, so there was at least the intention to make them known to the kernel and use them somehow:
Code:
find /sys -name *-led
/sys/firmware/devicetree/base/leds/power-led
/sys/firmware/devicetree/base/leds/standby-led
Code:
ls -la /sys/firmware/devicetree/base/leds/standby-led
total 0
drwxr-xr-x 2 root root 0 Feb 24 11:32 .
drwxr-xr-x 4 root root 0 Feb 24 11:31 ..
-r--r--r-- 1 root root 3 Feb 24 12:06 default-state
-r--r--r-- 1 root root 12 Feb 24 12:06 gpios
-r--r--r-- 1 root root 14 Feb 24 12:06 linux,default-trigger
-r--r--r-- 1 root root 12 Feb 24 12:06 name
Code:
cat /sys/firmware/devicetree/base/leds/standby-led/linux,default-trigger
disk-activity
Code:
cat -v /sys/firmware/devicetree/base/leds/standby-led/gpios
^@^@^@z^@^@^@^@^@^@^@^A
Some things like trigger look very similar to what I have read elsewhere about other Linux LED drivers but none of these tutorials does really apply to this one and I cannot find any device node to control them.