Johan Hovold | 401dea7 | 2012-05-29 15:07:31 -0700 | [diff] [blame^] | 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 | |
| 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 <jhovold@gmail.com> |
| 16 | Description: |
| 17 | Enable ALS-current-control mode (0, 1). |
| 18 | |
| 19 | What: /sys/class/leds/<led>/falltime |
| 20 | What: /sys/class/leds/<led>/risetime |
| 21 | Date: April 2012 |
| 22 | KernelVersion: 3.5 |
| 23 | Contact: Johan Hovold <jhovold@gmail.com> |
| 24 | Description: |
| 25 | Set the pattern generator fall and rise times (0..7), where |
| 26 | |
| 27 | 0 - 2048 us |
| 28 | 1 - 262 ms |
| 29 | 2 - 524 ms |
| 30 | 3 - 1.049 s |
| 31 | 4 - 2.097 s |
| 32 | 5 - 4.194 s |
| 33 | 6 - 8.389 s |
| 34 | 7 - 16.78 s |
| 35 | |
| 36 | What: /sys/class/leds/<led>/id |
| 37 | Date: April 2012 |
| 38 | KernelVersion: 3.5 |
| 39 | Contact: Johan Hovold <jhovold@gmail.com> |
| 40 | Description: |
| 41 | Get the id of this led (0..3). |
| 42 | |
| 43 | What: /sys/class/leds/<led>/linear |
| 44 | Date: April 2012 |
| 45 | KernelVersion: 3.5 |
| 46 | Contact: Johan Hovold <jhovold@gmail.com> |
| 47 | Description: |
| 48 | Set the brightness-mapping mode (0, 1), where |
| 49 | |
| 50 | 0 - exponential mode |
| 51 | 1 - linear mode |
| 52 | |
| 53 | What: /sys/class/leds/<led>/pwm |
| 54 | Date: April 2012 |
| 55 | KernelVersion: 3.5 |
| 56 | Contact: Johan Hovold <jhovold@gmail.com> |
| 57 | Description: |
| 58 | Set the PWM-input control mask (5 bits), where |
| 59 | |
| 60 | bit 5 - PWM-input enabled in Zone 4 |
| 61 | bit 4 - PWM-input enabled in Zone 3 |
| 62 | bit 3 - PWM-input enabled in Zone 2 |
| 63 | bit 2 - PWM-input enabled in Zone 1 |
| 64 | bit 1 - PWM-input enabled in Zone 0 |
| 65 | bit 0 - PWM-input enabled |