sysfs-class-led-driver-lm3533 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. What: /sys/class/leds/<led>/als_channel
  2. Date: May 2012
  3. KernelVersion: 3.5
  4. Contact: Johan Hovold <jhovold@gmail.com>
  5. Description:
  6. Set the ALS output channel to use as input in
  7. ALS-current-control mode (1, 2), where
  8. 1 - out_current1
  9. 2 - out_current2
  10. What: /sys/class/leds/<led>/als_en
  11. Date: May 2012
  12. KernelVersion: 3.5
  13. Contact: Johan Hovold <jhovold@gmail.com>
  14. Description:
  15. Enable ALS-current-control mode (0, 1).
  16. What: /sys/class/leds/<led>/falltime
  17. What: /sys/class/leds/<led>/risetime
  18. Date: April 2012
  19. KernelVersion: 3.5
  20. Contact: Johan Hovold <jhovold@gmail.com>
  21. Description:
  22. Set the pattern generator fall and rise times (0..7), where
  23. 0 - 2048 us
  24. 1 - 262 ms
  25. 2 - 524 ms
  26. 3 - 1.049 s
  27. 4 - 2.097 s
  28. 5 - 4.194 s
  29. 6 - 8.389 s
  30. 7 - 16.78 s
  31. What: /sys/class/leds/<led>/id
  32. Date: April 2012
  33. KernelVersion: 3.5
  34. Contact: Johan Hovold <jhovold@gmail.com>
  35. Description:
  36. Get the id of this led (0..3).
  37. What: /sys/class/leds/<led>/linear
  38. Date: April 2012
  39. KernelVersion: 3.5
  40. Contact: Johan Hovold <jhovold@gmail.com>
  41. Description:
  42. Set the brightness-mapping mode (0, 1), where
  43. 0 - exponential mode
  44. 1 - linear mode
  45. What: /sys/class/leds/<led>/pwm
  46. Date: April 2012
  47. KernelVersion: 3.5
  48. Contact: Johan Hovold <jhovold@gmail.com>
  49. Description:
  50. Set the PWM-input control mask (5 bits), where
  51. bit 5 - PWM-input enabled in Zone 4
  52. bit 4 - PWM-input enabled in Zone 3
  53. bit 3 - PWM-input enabled in Zone 2
  54. bit 2 - PWM-input enabled in Zone 1
  55. bit 1 - PWM-input enabled in Zone 0
  56. bit 0 - PWM-input enabled