sysfs-class-led-driver-lm3533 1.7 KB

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