Onboard LEDs connected to the RK805-1 out1 and out2 GPIO pins
#3
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:
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.
  Reply


Messages In This Thread
RE: Onboard LEDs connected to the RK805-1 out1 and out2 GPIO pins - by prof7bit - 02-25-2018, 02:32 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 Rev3 doesn't boot and leds blinking fast dishins 6 7,908 06-30-2022, 06:28 PM
Last Post: rookie_267
  need a dts file to set some pins as pulldown interrupts in kernel using a DTO dkebler 0 2,047 02-05-2020, 10:58 PM
Last Post: dkebler
  Gpio error wile using GPIOtest.py Aditya Rastogi 0 1,939 01-31-2019, 02:41 AM
Last Post: Aditya Rastogi
  Migrate Linux from microSD to onboard eMMC elik745i 7 10,029 11-03-2018, 08:23 AM
Last Post: mara
  Memory addresses of GPIO pins AckRite 3 5,024 10-23-2018, 03:18 PM
Last Post: AckRite
  GPIO indicators via DTB Mentaluproar 0 1,510 07-10-2018, 04:58 PM
Last Post: Mentaluproar
  RFLink connected to /dev/ttyUSB0 not working ulysse132 9 9,573 05-17-2018, 01:15 PM
Last Post: Rocklobster
  Onboard IR receiver plambe 3 4,373 03-01-2018, 04:28 AM
Last Post: plambe
  What is name of gpio hardware on a rock64? gene83 6 6,694 10-05-2017, 07:57 AM
Last Post: gene83

Forum Jump:


Users browsing this thread: 1 Guest(s)