Guest User

NexBox LED

a guest
Jul 25th, 2020
41
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [quote="Portisch, post:16, topic:12244"]
  2. `cd /sys/class/gpioleds/sys_led`
  3. [/quote]
  4.  
  5. It looks like that location isn't there:
  6.  
  7. CoreELEC:/ # find . -print | grep -i default-trigger
  8. ./sys/firmware/devicetree/base/gpioleds/sys_led/linux,default-trigger
  9. CoreELEC:/ #
  10.  
  11. ###############
  12.  
  13. CoreELEC:/ # find . -print | grep -i sys_led
  14. ./sys/devices/platform/gpioleds/leds/sys_led
  15. ./sys/devices/platform/gpioleds/leds/sys_led/device
  16. ./sys/devices/platform/gpioleds/leds/sys_led/subsystem
  17. ./sys/devices/platform/gpioleds/leds/sys_led/power
  18. ./sys/devices/platform/gpioleds/leds/sys_led/power/runtime_suspended_time
  19. ./sys/devices/platform/gpioleds/leds/sys_led/power/autosuspend_delay_ms
  20. ./sys/devices/platform/gpioleds/leds/sys_led/power/runtime_active_time
  21. ./sys/devices/platform/gpioleds/leds/sys_led/power/control
  22. ./sys/devices/platform/gpioleds/leds/sys_led/power/runtime_status
  23. ./sys/devices/platform/gpioleds/leds/sys_led/max_brightness
  24. ./sys/devices/platform/gpioleds/leds/sys_led/brightness
  25. ./sys/devices/platform/gpioleds/leds/sys_led/trigger
  26. ./sys/devices/platform/gpioleds/leds/sys_led/uevent
  27. ./sys/class/leds/sys_led
  28. ./sys/firmware/devicetree/base/gpioleds/sys_led
  29. ./sys/firmware/devicetree/base/gpioleds/sys_led/gpios
  30. ./sys/firmware/devicetree/base/gpioleds/sys_led/linux,default-trigger
  31. ./sys/firmware/devicetree/base/gpioleds/sys_led/name
  32. CoreELEC:/ #
  33.  
  34. ###############
  35.  
  36. CoreELEC:/ # cd /sys/class/leds/sys_led
  37. CoreELEC:/sys/devices/platform/gpioleds/leds/sys_led # pwd
  38. /sys/class/leds/sys_led
  39. CoreELEC:/sys/devices/platform/gpioleds/leds/sys_led # ls -alt
  40. total 0
  41. -rw-r--r-- 1 root root 4096 Jul 25 11:00 brightness
  42. lrwxrwxrwx 1 root root 0 Jul 25 11:00 device -> ../../../gpioleds
  43. -r--r--r-- 1 root root 4096 Jul 25 11:00 max_brightness
  44. drwxr-xr-x 2 root root 0 Jul 25 11:00 power
  45. -rw-r--r-- 1 root root 4096 Jul 25 11:00 trigger
  46. drwxr-xr-x 3 root root 0 Jul 25 10:45 .
  47. drwxr-xr-x 3 root root 0 Jul 25 10:45 ..
  48. lrwxrwxrwx 1 root root 0 Jul 25 10:45 subsystem -> ../../../../../class/leds
  49. -rw-r--r-- 1 root root 4096 Jul 25 10:45 uevent
  50. CoreELEC:/sys/devices/platform/gpioleds/leds/sys_led #
RAW Paste Data