Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | What: /sys/class/leds/<led>/device_name |
| 2 | Date: Dec 2017 |
| 3 | KernelVersion: 4.16 |
| 4 | Contact: linux-leds@vger.kernel.org |
| 5 | Description: |
| 6 | Specifies the network device name to monitor. |
| 7 | |
| 8 | What: /sys/class/leds/<led>/interval |
| 9 | Date: Dec 2017 |
| 10 | KernelVersion: 4.16 |
| 11 | Contact: linux-leds@vger.kernel.org |
| 12 | Description: |
| 13 | Specifies the duration of the LED blink in milliseconds. |
| 14 | Defaults to 50 ms. |
| 15 | |
| 16 | What: /sys/class/leds/<led>/link |
| 17 | Date: Dec 2017 |
| 18 | KernelVersion: 4.16 |
| 19 | Contact: linux-leds@vger.kernel.org |
| 20 | Description: |
| 21 | Signal the link state of the named network device. |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 22 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 23 | If set to 0 (default), the LED's normal state is off. |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 24 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 25 | If set to 1, the LED's normal state reflects the link state |
| 26 | of the named network device. |
| 27 | Setting this value also immediately changes the LED state. |
| 28 | |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 29 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 30 | What: /sys/class/leds/<led>/tx |
| 31 | Date: Dec 2017 |
| 32 | KernelVersion: 4.16 |
| 33 | Contact: linux-leds@vger.kernel.org |
| 34 | Description: |
| 35 | Signal transmission of data on the named network device. |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 36 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 37 | If set to 0 (default), the LED will not blink on transmission. |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 38 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 39 | If set to 1, the LED will blink for the milliseconds specified |
| 40 | in interval to signal transmission. |
| 41 | |
| 42 | What: /sys/class/leds/<led>/rx |
| 43 | Date: Dec 2017 |
| 44 | KernelVersion: 4.16 |
| 45 | Contact: linux-leds@vger.kernel.org |
| 46 | Description: |
| 47 | Signal reception of data on the named network device. |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 48 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 49 | If set to 0 (default), the LED will not blink on reception. |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 50 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 51 | If set to 1, the LED will blink for the milliseconds specified |
| 52 | in interval to signal reception. |