~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-class-led-trigger-netdev

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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                 When offloaded is true, the interval value MUST be set to the
 17                 default value and cannot be changed.
 18                 Trying to set any value in this specific mode will return
 19                 an EINVAL error.
 20 
 21 What:           /sys/class/leds/<led>/link
 22 Date:           Dec 2017
 23 KernelVersion:  4.16
 24 Contact:        linux-leds@vger.kernel.org
 25 Description:
 26                 Signal the link state of the named network device.
 27 
 28                 If set to 0 (default), the LED's normal state is off.
 29 
 30                 If set to 1, the LED's normal state reflects the link state
 31                 of the named network device.
 32                 Setting this value also immediately changes the LED state.
 33 
 34 
 35 What:           /sys/class/leds/<led>/tx
 36 Date:           Dec 2017
 37 KernelVersion:  4.16
 38 Contact:        linux-leds@vger.kernel.org
 39 Description:
 40                 Signal transmission of data on the named network device.
 41 
 42                 If set to 0 (default), the LED will not blink on transmission.
 43 
 44                 If set to 1, the LED will blink for the milliseconds specified
 45                 in interval to signal transmission.
 46 
 47                 When offloaded is true, the blink interval is controlled by
 48                 hardware and won't reflect the value set in interval.
 49 
 50 What:           /sys/class/leds/<led>/rx
 51 Date:           Dec 2017
 52 KernelVersion:  4.16
 53 Contact:        linux-leds@vger.kernel.org
 54 Description:
 55                 Signal reception of data on the named network device.
 56 
 57                 If set to 0 (default), the LED will not blink on reception.
 58 
 59                 If set to 1, the LED will blink for the milliseconds specified
 60                 in interval to signal reception.
 61 
 62                 When offloaded is true, the blink interval is controlled by
 63                 hardware and won't reflect the value set in interval.
 64 
 65 What:           /sys/class/leds/<led>/offloaded
 66 Date:           Jun 2023
 67 KernelVersion:  6.5
 68 Contact:        linux-leds@vger.kernel.org
 69 Description:
 70                 Communicate whether the LED trigger modes are offloaded to
 71                 hardware or whether software fallback is used.
 72 
 73                 If 0, the LED is using software fallback to blink.
 74 
 75                 If 1, the LED blinking in requested mode is offloaded to
 76                 hardware.
 77 
 78 What:           /sys/class/leds/<led>/link_10
 79 Date:           Jun 2023
 80 KernelVersion:  6.5
 81 Contact:        linux-leds@vger.kernel.org
 82 Description:
 83                 Signal the link speed state of 10Mbps of the named network device.
 84 
 85                 If set to 0 (default), the LED's normal state is off.
 86 
 87                 If set to 1, the LED's normal state reflects the link state
 88                 speed of 10MBps of the named network device.
 89                 Setting this value also immediately changes the LED state.
 90 
 91                 Present only if the named network device supports 10Mbps link speed.
 92 
 93 What:           /sys/class/leds/<led>/link_100
 94 Date:           Jun 2023
 95 KernelVersion:  6.5
 96 Contact:        linux-leds@vger.kernel.org
 97 Description:
 98                 Signal the link speed state of 100Mbps of the named network device.
 99 
100                 If set to 0 (default), the LED's normal state is off.
101 
102                 If set to 1, the LED's normal state reflects the link state
103                 speed of 100Mbps of the named network device.
104                 Setting this value also immediately changes the LED state.
105 
106                 Present only if the named network device supports 100Mbps link speed.
107 
108 What:           /sys/class/leds/<led>/link_1000
109 Date:           Jun 2023
110 KernelVersion:  6.5
111 Contact:        linux-leds@vger.kernel.org
112 Description:
113                 Signal the link speed state of 1000Mbps of the named network device.
114 
115                 If set to 0 (default), the LED's normal state is off.
116 
117                 If set to 1, the LED's normal state reflects the link state
118                 speed of 1000Mbps of the named network device.
119                 Setting this value also immediately changes the LED state.
120 
121                 Present only if the named network device supports 1000Mbps link speed.
122 
123 What:           /sys/class/leds/<led>/link_2500
124 Date:           Nov 2023
125 KernelVersion:  6.8
126 Contact:        linux-leds@vger.kernel.org
127 Description:
128                 Signal the link speed state of 2500Mbps of the named network device.
129 
130                 If set to 0 (default), the LED's normal state is off.
131 
132                 If set to 1, the LED's normal state reflects the link state
133                 speed of 2500Mbps of the named network device.
134                 Setting this value also immediately changes the LED state.
135 
136                 Present only if the named network device supports 2500Mbps link speed.
137 
138 What:           /sys/class/leds/<led>/link_5000
139 Date:           Nov 2023
140 KernelVersion:  6.8
141 Contact:        linux-leds@vger.kernel.org
142 Description:
143                 Signal the link speed state of 5000Mbps of the named network device.
144 
145                 If set to 0 (default), the LED's normal state is off.
146 
147                 If set to 1, the LED's normal state reflects the link state
148                 speed of 5000Mbps of the named network device.
149                 Setting this value also immediately changes the LED state.
150 
151                 Present only if the named network device supports 5000Mbps link speed.
152 
153 What:           /sys/class/leds/<led>/link_10000
154 Date:           Nov 2023
155 KernelVersion:  6.8
156 Contact:        linux-leds@vger.kernel.org
157 Description:
158                 Signal the link speed state of 10000Mbps of the named network device.
159 
160                 If set to 0 (default), the LED's normal state is off.
161 
162                 If set to 1, the LED's normal state reflects the link state
163                 speed of 10000Mbps of the named network device.
164                 Setting this value also immediately changes the LED state.
165 
166                 Present only if the named network device supports 10000Mbps link speed.
167 
168 What:           /sys/class/leds/<led>/half_duplex
169 Date:           Jun 2023
170 KernelVersion:  6.5
171 Contact:        linux-leds@vger.kernel.org
172 Description:
173                 Signal the link half duplex state of the named network device.
174 
175                 If set to 0 (default), the LED's normal state is off.
176 
177                 If set to 1, the LED's normal state reflects the link half
178                 duplex state of the named network device.
179                 Setting this value also immediately changes the LED state.
180 
181 What:           /sys/class/leds/<led>/full_duplex
182 Date:           Jun 2023
183 KernelVersion:  6.5
184 Contact:        linux-leds@vger.kernel.org
185 Description:
186                 Signal the link full duplex state of the named network device.
187 
188                 If set to 0 (default), the LED's normal state is off.
189 
190                 If set to 1, the LED's normal state reflects the link full
191                 duplex state of the named network device.
192                 Setting this value also immediately changes the LED state.

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php