ar71xx:add support for E750A v4
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / board.d / 01_leds
1 #!/bin/sh
2 #
3 # Copyright (C) 2011 OpenWrt.org
4 #
5
6 . /lib/functions/uci-defaults.sh
7
8 board_config_update
9
10 board=$(board_name)
11
12 case "$board" in
13 a40)
14 ucidef_set_led_default "status-red" "Status (red)" "a40:red:status" "0"
15 ucidef_set_led_default "status-blue" "Status (blue)" "a40:blue:status" "0"
16 ;;
17 a60)
18 ucidef_set_led_default "status-red" "Status (red)" "a60:red:status" "0"
19 ucidef_set_led_default "status-blue" "Status (blue)" "a60:blue:status" "0"
20 ;;
21 airgateway|\
22 airgatewaypro)
23 ucidef_set_led_wlan "wlan" "WLAN" "ubnt:blue:wlan" "phy0tpt"
24 ;;
25 alfa-nx)
26 ucidef_set_led_netdev "wan" "WAN" "alfa:green:led_2" "eth0"
27 ucidef_set_led_netdev "lan" "LAN" "alfa:green:led_3" "eth1"
28 ;;
29 all0258n|\
30 all0315n)
31 ucidef_set_rssimon "wlan0" "200000" "1"
32 ucidef_set_led_rssi "rssilow" "RSSILOW" "$board:red:rssilow" "wlan0" "1" "40" "0" "6"
33 ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "$board:yellow:rssimedium" "wlan0" "30" "80" "-29" "5"
34 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$board:green:rssihigh" "wlan0" "70" "100" "-69" "8"
35 ;;
36 antminer-s1|\
37 antminer-s3)
38 ucidef_set_led_default "sys" "SYS" "$board:green:sys" "0"
39 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
40
41 case "$board" in
42 antminer-s3)
43 ucidef_set_led_default "lan" "LAN" "$board:yellow:lan" "0"
44 ;;
45 esac
46 ;;
47 antrouter-r1)
48 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
49 ucidef_set_led_default "btc" "BTC" "$board:green:btc" "0"
50 ;;
51 ap121f)
52 ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0"
53 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
54 ;;
55 ap147-010)
56 ucidef_set_led_netdev "wan" "WAN" "ap147:green:wan" "eth1"
57 ucidef_set_led_switch "lan1" "LAN1" "ap147:green:lan1" "switch0" "0x10"
58 ucidef_set_led_switch "lan2" "LAN2" "ap147:green:lan2" "switch0" "0x08"
59 ucidef_set_led_switch "lan3" "LAN3" "ap147:green:lan3" "switch0" "0x04"
60 ucidef_set_led_switch "lan4" "LAN4" "ap147:green:lan4" "switch0" "0x02"
61 ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "ap147:green:wlan-2g" "phy0tpt"
62 ;;
63 ap90q|\
64 cpe505n|\
65 cpe830|\
66 cpe870|\
67 dr531|\
68 e600g-v2|\
69 e600gac-v2|\
70 e750a-v2)
71 ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0"
72 ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth1"
73
74 case "$board" in
75 ap90q)
76 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
77 ;;
78 cpe505n)
79 ucidef_set_led_wlan "wlan" "WLAN" "$board:blue:wlan" "phy0tpt"
80 ;;
81 cpe830|\
82 cpe870)
83 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
84 ucidef_set_rssimon "wlan0" "200000" "1"
85 ucidef_set_led_rssi "rssilow" "RSSILOW" "$board:green:link1" "wlan0" "1" "100" "0" "13"
86 ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "$board:green:link2" "wlan0" "26" "100" "-25" "13"
87 ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "$board:green:link3" "wlan0" "51" "100" "-50" "13"
88 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$board:green:link4" "wlan0" "76" "100" "-75" "13"
89 ;;
90 esac
91 ;;
92 ap531b0|\
93 gl-usb150|\
94 sc1750|\
95 sc450)
96 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
97 ;;
98 ap91-5g|\
99 n5q)
100 ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0"
101 ucidef_set_rssimon "wlan0" "200000" "1"
102 ucidef_set_led_rssi "signal1" "SIGNAL1" "$board:red:signal1" "wlan0" "1" "100"
103 ucidef_set_led_rssi "signal2" "SIGNAL2" "$board:orange:signal2" "wlan0" "25" "100"
104 ucidef_set_led_rssi "signal3" "SIGNAL3" "$board:green:signal3" "wlan0" "50" "100"
105 ucidef_set_led_rssi "signal4" "SIGNAL4" "$board:green:signal4" "wlan0" "75" "100"
106
107 case "$board" in
108 n5q)
109 ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth1"
110 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
111 ;;
112 esac
113 ;;
114 archer-c25-v1)
115 ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth0"
116 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan2g" "phy1tpt"
117 ucidef_set_led_wlan "wlan5g" "WLAN5G" "$board:green:wlan5g" "phy0tpt"
118 ucidef_set_led_switch "lan1" "LAN1" "$board:green:lan1" "switch0" "0x10"
119 ucidef_set_led_switch "lan2" "LAN2" "$board:green:lan2" "switch0" "0x08"
120 ucidef_set_led_switch "lan3" "LAN3" "$board:green:lan3" "switch0" "0x04"
121 ucidef_set_led_switch "lan4" "LAN4" "$board:green:lan4" "switch0" "0x02"
122 ;;
123 archer-c5|\
124 archer-c7)
125 ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1"
126 ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "2-1"
127 ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy1tpt"
128 ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:blue:wlan5g" "phy0tpt"
129 ;;
130 archer-c58-v1|\
131 archer-c59-v1|\
132 archer-c60-v1|\
133 archer-c60-v2)
134 ucidef_set_led_switch "lan" "LAN" "$board:green:lan" "switch0" "0x1E"
135 ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth0"
136 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan2g" "phy1tpt"
137 ucidef_set_led_wlan "wlan5g" "WLAN5G" "$board:green:wlan5g" "phy0tpt"
138
139 case "$board" in
140 archer-c59-v1)
141 ucidef_set_led_usbdev "usb" "USB" "$board:green:usb" "1-1"
142 ;;
143 esac
144 ;;
145 archer-c7-v4)
146 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan2g" "phy1tpt"
147 ucidef_set_led_wlan "wlan5g" "WLAN5G" "$board:green:wlan5g" "phy0tpt"
148 ucidef_set_led_switch "wan" "WAN" "$board:green:wan" "switch0" "0x02"
149 ucidef_set_led_switch "lan1" "LAN1" "$board:green:lan4" "switch0" "0x04"
150 ucidef_set_led_switch "lan2" "LAN2" "$board:green:lan3" "switch0" "0x08"
151 ucidef_set_led_switch "lan3" "LAN3" "$board:green:lan2" "switch0" "0x10"
152 ucidef_set_led_switch "lan4" "LAN4" "$board:green:lan1" "switch0" "0x20"
153 ucidef_set_led_usbdev "usb1" "USB1" "$board:green:usb1" "1-1"
154 ucidef_set_led_usbdev "usb2" "USB2" "$board:green:usb2" "2-1"
155 ;;
156 arduino-yun)
157 ucidef_set_led_wlan "wlan" "WLAN" "arduino:blue:wlan" "phy0tpt"
158 ucidef_set_led_usbdev "usb" "USB" "arduino:white:usb" "1-1.1"
159 ;;
160 bhr-4grv2)
161 ucidef_set_led_default "power" "POWER" "buffalo:green:power" "1"
162 ucidef_set_led_default "diag" "DIAG" "buffalo:red:diag" "0"
163 ;;
164 bsb)
165 ucidef_set_led_default "sys" "SYS" "$board:red:sys" "1"
166 ;;
167 bullet-m|\
168 loco-m-xw|\
169 nanostation-m|\
170 nanostation-m-xw|\
171 rocket-m|\
172 rocket-m-xw)
173 ucidef_set_led_rssi "rssilow" "RSSILOW" "ubnt:red:link1" "wlan0" "1" "100" "0" "13"
174 ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "ubnt:orange:link2" "wlan0" "26" "100" "-25" "13"
175 ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "ubnt:green:link3" "wlan0" "51" "100" "-50" "13"
176 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "ubnt:green:link4" "wlan0" "76" "100" "-75" "13"
177 ;;
178 bxu2000n-2-a1)
179 ucidef_set_led_wlan "wlan" "WLAN" "bhu:green:wlan" "phy0tpt"
180 ;;
181 cap324)
182 ucidef_set_led_netdev "lan" "LAN" "pcs:green:lan" "eth0"
183 ucidef_set_led_wlan "wlan_amber" "WLAN_AMBER" "pcs:amber:wlan" "phy0tpt"
184 ucidef_set_led_wlan "wlan_green" "WLAN_GREEN" "pcs:green:wlan" "phy1tpt"
185 ;;
186 c-55)
187 ucidef_set_led_netdev "lan_green" "LAN_GREEN" "$board:green:lan" "eth0"
188 ucidef_set_led_wlan "wlan_amber" "WLAN_AMBER" "$board:amber:wlan" "phy0tpt"
189 ucidef_set_led_wlan "wlan_green" "WLAN_GREEN" "$board:green:wlan" "phy1tpt"
190 ;;
191 c-60)
192 ucidef_set_led_wlan "wlan1_green" "WLAN1_GREEN" "$board:green:wlan1" "phy0tpt"
193 ucidef_set_led_wlan "wlan2_green" "WLAN2_GREEN" "$board:green:wlan2" "phy1tpt"
194 ;;
195 cap4200ag)
196 ucidef_set_led_default "lan_green" "LAN_GREEN" "senao:green:lan" "1"
197 ucidef_set_led_wlan "wlan_amber" "WLAN_AMBER" "senao:amber:wlan" "phy0tpt"
198 ucidef_set_led_wlan "wlan_green" "WLAN_GREEN" "senao:green:wlan" "phy1tpt"
199 ;;
200 carambola2)
201 ucidef_set_led_netdev "lan" "LAN" "$board:orange:eth0" "eth0"
202 ucidef_set_led_netdev "wan" "WAN" "$board:orange:eth1" "eth1"
203 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
204 ;;
205 cf-e316n-v2)
206 ucidef_set_led_netdev "lan" "LAN" "$board:blue:lan" "eth0"
207 ucidef_set_led_netdev "wan" "WAN" "$board:blue:wan" "eth1"
208 ucidef_set_led_wlan "wlan" "WLAN" "$board:blue:wlan" "phy0tpt"
209 ;;
210 cf-e320n-v2)
211 ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0"
212 ucidef_set_led_netdev "wan" "WAN" "$board:red:wan" "eth1"
213 ucidef_set_led_wlan "wlan" "WLAN" "$board:blue:wlan" "phy0tpt"
214 ;;
215 cf-e355ac-v1|\
216 cf-e355ac-v2|\
217 cf-e375ac|\
218 cf-e380ac-v1|\
219 cf-e380ac-v2|\
220 cf-e385ac)
221 ucidef_set_led_wlan "wlan2g" "WLAN2G" "$board:blue:wlan2g" "phy1tpt"
222 ucidef_set_led_wlan "wlan5g" "WLAN5G" "$board:red:wlan5g" "phy0tpt"
223
224 case "$board" in
225 cf-e375ac|\
226 cf-e385ac)
227 ucidef_set_led_switch "lan" "LAN" "$board:green:lan" "switch0" "0x04"
228 ;;
229 *)
230 ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0"
231 ;;
232 esac
233 ;;
234 cf-e520n|\
235 cf-e530n)
236 ucidef_set_led_netdev "wan" "WAN" "$board:blue:wan" "eth1"
237 ;;
238 cpe210|\
239 cpe210-v2|\
240 cpe510|\
241 wbs210|\
242 wbs510)
243 ucidef_set_rssimon "wlan0" "200000" "1"
244 ucidef_set_led_rssi "rssilow" "RSSILOW" "tp-link:green:link1" "wlan0" "1" "100" "0" "13"
245 ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "tp-link:green:link2" "wlan0" "26" "100" "-25" "13"
246 ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:green:link3" "wlan0" "51" "100" "-50" "13"
247 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:green:link4" "wlan0" "76" "100" "-75" "13"
248
249 case "$board" in
250 cpe210-v2)
251 ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan0" "eth0"
252 ;;
253 *)
254 ucidef_set_led_switch "lan0" "LAN0" "tp-link:green:lan0" "switch0" "0x20"
255 ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
256 ;;
257 esac
258 ;;
259 cr3000)
260 ucidef_set_led_netdev "wan" "WAN" "pcs:blue:wan" "eth1"
261 ucidef_set_led_switch "lan1" "LAN1" "pcs:blue:lan1" "switch0" "0x04"
262 ucidef_set_led_switch "lan2" "LAN2" "pcs:blue:lan2" "switch0" "0x08"
263 ucidef_set_led_switch "lan3" "LAN3" "pcs:blue:lan3" "switch0" "0x10"
264 ucidef_set_led_switch "lan4" "LAN4" "pcs:blue:lan4" "switch0" "0x02"
265 ucidef_set_led_wlan "wlan" "WLAN" "pcs:blue:wlan" "phy0tpt"
266 ;;
267 cr5000)
268 ucidef_set_led_wlan "wlan" "WLAN" "pcs:blue:wlan" "phy0tpt"
269 ucidef_set_led_usbdev "usb" "USB" "pcs:white:wps" "1-1"
270 ;;
271 db120)
272 ucidef_set_led_usbdev "usb" "USB" "$board:green:usb" "1-1"
273 ;;
274 dr344)
275 ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth1"
276 ;;
277 dragino2)
278 ucidef_set_led_wlan "wlan" "WLAN" "$board:red:wlan" "phy0tpt"
279 ucidef_set_led_netdev "lan" "LAN" "$board:red:lan" "eth0"
280 ucidef_set_led_netdev "wan" "WAN" "$board:red:wan" "eth1"
281 ;;
282 dw33d)
283 ucidef_set_led_usbdev "mmc" "MMC" "$board:blue:mmc" "1-1"
284 ucidef_set_led_usbdev "usb" "USB" "$board:blue:usb" "2-1"
285 ucidef_set_led_netdev "internet" "INTERNET" "$board:blue:internet" "eth0"
286 ucidef_set_led_wlan "wlan2g" "WLAN-2.4G" "$board:blue:wlan-2g" "phy1tpt"
287 ;;
288 eap300v2)
289 ucidef_set_led_netdev "lan" "LAN" "engenius:blue:lan" "eth0"
290 ucidef_set_led_wlan "wlan" "WLAN" "engenius:blue:wlan" "phy0tpt"
291 ;;
292 ens202ext)
293 ucidef_set_rssimon "wlan0" "200000" "1"
294 ucidef_set_led_rssi "rssilow" "RSSILOW" "engenius:amber:wlan1" "wlan0" "1" "100" "0" "13"
295 ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "engenius:red:wlan2" "wlan0" "25" "100" "-39" "13"
296 ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "engenius:amber:wlan3" "wlan0" "50" "100" "-59" "13"
297 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "engenius:green:wlan4" "wlan0" "75" "100" "-79" "13"
298 ;;
299 f9k1115v2)
300 ucidef_set_led_usbdev "usb2" "USB2" "belkin:green:usb2" "1-1"
301 ;;
302 fritz300e)
303 ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0"
304 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
305 ucidef_set_rssimon "wlan0" "200000" "1"
306 ucidef_set_led_rssi "rssilow" "RSSILOW" "$board:green:rssi0" "wlan0" "1" "100"
307 ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "$board:green:rssi1" "wlan0" "20" "100"
308 ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "$board:green:rssi2" "wlan0" "40" "100"
309 ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "$board:green:rssi3" "wlan0" "60" "100"
310 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$board:green:rssi4" "wlan0" "80" "100"
311 ;;
312 dap-1330-a1)
313 ucidef_set_rssimon "wlan0" "2000000" "2"
314 ucidef_set_led_rssi "wifi-low" "wifi-low" "d-link:red:wifi" "wlan0" "1" "29"
315 ucidef_set_led_rssi "wifi-medium" "wifi-medium" "d-link:green:wifi" "wlan0" "30" "100"
316 ucidef_set_led_rssi "wifi-high" "wifi-high" "d-link:green:signal1" "wlan0" "50" "100"
317 ucidef_set_led_rssi "wifi-max" "wifi-max" "d-link:green:signal2" "wlan0" "70" "100"
318 ;;
319 dap-2695-a1)
320 ucidef_set_led_default "power" "POWER" "d-link:green:power" "1"
321 ucidef_set_led_default "diag" "DIAG" "d-link:red:power" "0"
322 ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "d-link:green:wlan2g" "phy1tpt"
323 ;;
324 dhp-1565-a1)
325 ucidef_set_led_switch "wan" "WAN" "d-link:green:planet" "switch0" "0x20"
326 ;;
327 dir-600-a1|\
328 dir-615-e1|\
329 dir-615-e4|\
330 ebr-2310-c1)
331 ucidef_set_led_netdev "wan" "WAN" "d-link:green:wan" "eth1"
332 ucidef_set_led_switch "lan1" "LAN1" "d-link:green:lan1" "switch0" "0x02"
333 ucidef_set_led_switch "lan2" "LAN2" "d-link:green:lan2" "switch0" "0x04"
334 ucidef_set_led_switch "lan3" "LAN3" "d-link:green:lan3" "switch0" "0x08"
335 ucidef_set_led_switch "lan4" "LAN4" "d-link:green:lan4" "switch0" "0x10"
336 ;;
337 dir-615-c1)
338 ucidef_set_led_netdev "wan" "WAN" "d-link:green:wan" "eth1"
339 ucidef_set_led_wlan "wlan" "WLAN" "d-link:green:wlan" "phy0tpt"
340 ;;
341 dir-825-b1|\
342 dir-825-c1)
343 ucidef_set_led_usbdev "usb" "USB" "d-link:blue:usb" "1-1"
344
345 case "$board" in
346 dir-825-c1)
347 ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "d-link:blue:wlan2g" "phy0tpt"
348 ;;
349 esac
350 ;;
351 dir-615-i1)
352 ucidef_set_led_default "power" "POWER" "d-link:green:power" "1"
353 ucidef_set_led_default "diag" "DIAG" "d-link:amber:power" "0"
354 ucidef_set_led_default "wps" "WPS" "d-link:blue:wps" "0"
355 ucidef_set_led_netdev "wan" "WAN" "d-link:green:wan" "eth0"
356 ucidef_set_led_wlan "wlan" "WLAN" "d-link:green:wlan" "phy0tpt"
357 ;;
358 dlan-hotspot)
359 ucidef_set_led_wlan "wlan" "WLAN" "devolo:green:wifi" "phy0tpt"
360 ;;
361 dlan-pro-500-wp)
362 ucidef_set_led_default "power" "System Power" "devolo:green:status" "1"
363 ucidef_set_led_netdev "lan" "Ethernet Activity" "devolo:green:eth" "br-lan"
364 ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "devolo:green:wlan-2g" "phy0tpt"
365 ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "devolo:blue:wlan-5g" "none"
366 ;;
367 dlan-pro-1200-ac)
368 ucidef_set_led_wlan "wlan" "WLAN" "devolo:status:wlan" "phy0radio"
369 ucidef_set_led_gpio "plcw" "dLAN" "devolo:status:dlan" "17" "0"
370 ucidef_set_led_gpio "plcr" "dLAN" "devolo:error:dlan" "16" "0"
371 ;;
372 e1700ac-v2)
373 ucidef_set_led_usbdev "usb" "USB" "$board:green:usb" "1-1"
374 ucidef_set_led_wlan "wlan2g" "WLAN2G" "$board:green:wlan2g" "phy1tpt"
375 ;;
376 e558-v2)
377 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
378 ;;
379 esr900)
380 ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "engenius:blue:wlan-2g" "phy0tpt"
381 ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "engenius:blue:wlan-5g" "phy1tpt"
382 ;;
383 esr1750|\
384 epg5000)
385 ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "$board:blue:wlan-2g" "phy1tpt"
386 ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "$board:blue:wlan-5g" "phy0tpt"
387 ;;
388 fritz4020)
389 ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth1"
390 ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth0"
391 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
392 ;;
393 fritz450e)
394 ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0"
395 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
396 ;;
397 gl-ar300m)
398 ucidef_set_led_wlan "wlan" "WLAN" "$board:red:wlan" "phy0tpt"
399 ;;
400 gl-ar750)
401 ucidef_set_led_wlan "wlan2g" "WLAN2G" "$board:white:wlan2g" "phy1tpt"
402 ucidef_set_led_wlan "wlan5g" "WLAN5G" "$board:white:wlan5g" "phy0tpt"
403 ;;
404 gl-mifi)
405 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
406 ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth0"
407 ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth1"
408 ucidef_set_led_netdev "3gnet" "3GNET" "$board:green:net" "3g-wan"
409 ;;
410 gl-ar150)
411 ucidef_set_led_wlan "wlan" "WLAN" "$board:orange:wlan" "phy0tpt"
412 ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth0"
413 ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth1"
414 ;;
415 gl-ar300)
416 ucidef_set_led_wlan "wlan" "WLAN" "$board:wlan" "phy0tpt"
417 ;;
418 gl-domino|\
419 sc300m|\
420 wrt160nl)
421 ucidef_set_led_wlan "wlan" "WLAN" "$board:blue:wlan" "phy0tpt"
422 ;;
423 gl-inet)
424 ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth1"
425 ucidef_set_led_wlan "wlan" "WLAN" "$board:red:wlan" "phy0tpt"
426 ;;
427 hiwifi-hc6361)
428 ucidef_set_led_netdev "inet" "INET" "hiwifi:blue:internet" "eth1"
429 ucidef_set_led_wlan "wlan" "WLAN" "hiwifi:blue:wlan-2p4" "phy0tpt"
430 ;;
431 hornet-ub|\
432 hornet-ub-x2)
433 ucidef_set_led_netdev "lan" "LAN" "alfa:blue:lan" "eth0"
434 ucidef_set_led_netdev "wan" "WAN" "alfa:blue:wan" "eth1"
435 ucidef_set_led_wlan "wlan" "WLAN" "alfa:blue:wlan" "phy0tpt"
436 ucidef_set_led_usbdev "usb" "USB" "alfa:blue:usb" "1-1"
437 ;;
438 koala)
439 ucidef_set_led_default "power" "POWER" "$board:green:power" "1"
440 ucidef_set_led_wlan "wlan2g" "WLAN 2.4GHz" "$board:yellow:wlan2" "phy1tpt"
441 ucidef_set_led_wlan "wlan5g" "WLAN 5GHz" "$board:red:wlan58" "phy0tpt"
442 ;;
443 lan-turtle)
444 ucidef_set_led_netdev "wan" "WAN" "$board:orange:system" "eth1"
445 ;;
446 lbe-m5)
447 ucidef_set_led_netdev "lan" "LAN" "ubnt:green:lan" "eth0"
448 ucidef_set_led_wlan "wlan" "WLAN" "ubnt:green:wlan" "phy0tpt"
449 ;;
450 mc-mac1200r)
451 ucidef_set_led_wlan "wlan2g" "WLAN2G" "mercury:green:wlan2g" "phy1tpt"
452 ucidef_set_led_wlan "wlan5g" "WLAN5G" "mercury:green:wlan5g" "phy0tpt"
453 ;;
454 mr12|\
455 mr16)
456 ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth0"
457 ucidef_set_led_wlan "wlan1" "WLAN1" "$board:green:wifi1" "phy0assoc"
458 ucidef_set_led_wlan "wlan2" "WLAN2" "$board:green:wifi2" "phy0assoc"
459 ucidef_set_led_wlan "wlan3" "WLAN3" "$board:green:wifi3" "phy0assoc"
460 ucidef_set_led_wlan "wlan4" "WLAN4" "$board:green:wifi4" "phy0tpt"
461 ;;
462 mr18)
463 ucidef_set_led_netdev "wlan0" "WLAN0" "$board:blue:tricolor0" "wlan0"
464 ;;
465 mr600)
466 ucidef_set_led_wlan "wlan58" "WLAN58" "$board:green:wlan58" "phy0tpt"
467 ucidef_set_led_default "wps" "WPS" "mr600:blue:wps" "0"
468 ;;
469 mr600v2)
470 ucidef_set_led_default "wlan24-red" "WLAN 2.4GHz (red)" "mr600:red:wlan24" "0"
471 ucidef_set_led_default "wlan24-yellow" "WLAN 2.4GHz (yellow)" "mr600:yellow:wlan24" "0"
472 ucidef_set_led_wlan "wlan24-green" "WLAN 4GHz (green)" "mr600:green:wlan24" "phy1tpt"
473 ucidef_set_led_default "wlan5-red" "WLAN 5GHz (red)" "mr600:red:wlan58" "0"
474 ucidef_set_led_default "wlan5-yellow" "WLAN 5GHz (yellow)" "mr600:yellow:wlan58" "0"
475 ucidef_set_led_wlan "wlan5-green" "WLAN 5GHz (green)" "mr600:green:wlan58" "phy0tpt"
476 ;;
477 mr1750|\
478 mr1750v2)
479 ucidef_set_led_netdev "lan" "LAN" "mr1750:blue:wan" "eth0"
480 ucidef_set_led_wlan "wlan58" "WLAN58" "mr1750:blue:wlan58" "phy0tpt"
481 ucidef_set_led_wlan "wlan24" "WLAN24" "mr1750:blue:wlan24" "phy1tpt"
482 ucidef_set_led_default "status-red" "Status (red)" "mr1750:red:wifi" "0"
483 ucidef_set_led_default "status-green" "Status (green)" "mr1750:green:wifi" "0"
484 ;;
485 mr900|\
486 mr900v2)
487 ucidef_set_led_netdev "lan" "LAN" "mr900:blue:wan" "eth0"
488 ucidef_set_led_wlan "wlan24" "WLAN24" "mr900:blue:wlan24" "phy0tpt"
489 ucidef_set_led_wlan "wlan58" "WLAN58" "mr900:blue:wlan58" "phy1tpt"
490 ucidef_set_led_default "status-red" "Status (red)" "mr900:red:wifi" "0"
491 ucidef_set_led_default "status-green" "Status (green)" "mr900:green:wifi" "0"
492 ;;
493 mynet-n600)
494 ucidef_set_led_netdev "wan" "WAN" "wd:blue:internet" "eth1"
495 ucidef_set_led_switch "lan1" "LAN1" "wd:green:lan1" "switch0" "0x02"
496 ucidef_set_led_switch "lan2" "LAN2" "wd:green:lan2" "switch0" "0x10"
497 ucidef_set_led_switch "lan3" "LAN3" "wd:green:lan3" "switch0" "0x08"
498 ucidef_set_led_switch "lan4" "LAN4" "wd:green:lan4" "switch0" "0x04"
499 ;;
500 mynet-rext)
501 ucidef_set_led_netdev "lan" "LAN" "wd:blue:ethernet" "eth0"
502 ucidef_set_rssimon "wlan0" "200000" "1"
503 ucidef_set_led_rssi "rssilow" "RSSILOW" "wd:blue:quality1" "wlan0" "1" "40" "0" "6"
504 ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "wd:blue:quality2" "wlan0" "30" "80" "-29" "5"
505 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "wd:blue:quality3" "wlan0" "70" "100" "-69" "8"
506 ucidef_set_led_wlan "wlan" "WLAN" "wd:blue:wireless" "phy0tpt"
507 ;;
508 mzk-w04u)
509 ucidef_set_led_usbdev "usb" "USB" "planex:green:usb" "1-1"
510 ;;
511 mzk-w300nh)
512 ucidef_set_led_wlan "wlan" "WLAN" "planex:green:wlan" "phy0tpt"
513 ;;
514 nbg460n_550n_550nh)
515 ucidef_set_led_wlan "wlan" "WLAN" "nbg460n:green:wlan" "phy0tpt"
516 ;;
517 nbg6616)
518 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wifi2g" "phy1tpt"
519 ucidef_set_led_wlan "wlan5" "WLAN5" "$board:green:wifi5g" "phy0tpt"
520 ucidef_set_led_usbdev "usb1" "USB1" "$board:green:usb1" "1-1"
521 ucidef_set_led_usbdev "usb2" "USB2" "$board:green:usb2" "2-1"
522 ;;
523 nbg6716)
524 ucidef_set_led_netdev "wan" "WAN" "$board:white:internet" "eth1"
525 ucidef_set_led_wlan "wlan" "WLAN" "$board:white:wifi2g" "phy1tpt"
526 ucidef_set_led_wlan "wlan5" "WLAN5" "$board:white:wifi5g" "phy0tpt"
527 ucidef_set_led_usbdev "usb1" "USB1" "$board:white:usb1" "1-1"
528 ucidef_set_led_usbdev "usb2" "USB2" "$board:white:usb2" "2-1"
529 ;;
530 om2p|\
531 om2p-hs|\
532 om2p-hsv2|\
533 om2p-hsv3|\
534 om2p-hsv4|\
535 om2p-lc|\
536 om2pv2|\
537 om2pv4)
538 ucidef_set_led_netdev "port1" "port1" "om2p:blue:wan" "eth0"
539 ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1"
540 ucidef_set_led_default "wlan-red" "WLAN (red)" "om2p:red:wifi" "0"
541 ucidef_set_led_default "wlan-yellow" "WLAN (yellow)" "om2p:yellow:wifi" "0"
542 ucidef_set_led_default "wlan-green" "WLAN (green)" "om2p:green:wifi" "0"
543 ;;
544 om5p|\
545 om5p-an)
546 ucidef_set_led_netdev "port1" "port1" "om5p:blue:wan" "eth0"
547 ucidef_set_led_netdev "port2" "port2" "om5p:blue:lan" "eth1"
548 ucidef_set_led_default "wlan-red" "WLAN (red)" "om5p:red:wifi" "0"
549 ucidef_set_led_default "wlan-yellow" "WLAN (yellow)" "om5p:yellow:wifi" "0"
550 ucidef_set_led_default "wlan-green" "WLAN (green)" "om5p:green:wifi" "0"
551 ;;
552 om5p-ac)
553 ucidef_set_led_netdev "port1" "port1" "om5pac:blue:lan" "eth0"
554 ucidef_set_led_netdev "port2" "port2" "om5pac:blue:wan" "eth1"
555 ucidef_set_led_default "wlan-red" "WLAN (red)" "om5pac:red:wifi" "0"
556 ucidef_set_led_default "wlan-yellow" "WLAN (yellow)" "om5pac:yellow:wifi" "0"
557 ucidef_set_led_default "wlan-green" "WLAN (green)" "om5pac:green:wifi" "0"
558 ;;
559 om5p-acv2)
560 ucidef_set_led_default "wlan-red" "WLAN (red)" "om5pac:red:wifi" "0"
561 ucidef_set_led_default "wlan-yellow" "WLAN (yellow)" "om5pac:yellow:wifi" "0"
562 ucidef_set_led_default "wlan-green" "WLAN (green)" "om5pac:green:wifi" "0"
563 ;;
564 omy-g1)
565 ucidef_set_led_wlan "wlan" "WLAN" "omy:green:wlan" "phy0tpt"
566 ucidef_set_led_netdev "wan" "WAN" "omy:green:wan" "eth0"
567 ucidef_set_led_netdev "lan" "LAN" "omy:green:lan" "eth1"
568 ;;
569 omy-x1)
570 ucidef_set_led_default "power" "POWER" "omy:green:power" "1"
571 ucidef_set_led_default "wan" "WAN" "omy:green:wan" "eth0"
572 ;;
573 pqi-air-pen)
574 ucidef_set_led_wlan "wlan" "WLAN" "pqi-air-pen:blue:wlan" "phy0tpt"
575 ucidef_set_led_default "wps" "WPS" "pqi-air-pen:blue:wps" "0"
576 ;;
577 qihoo-c301)
578 ucidef_set_led_wlan "wlan2g" "WLAN2G" "qihoo:red:status" "phy1tpt"
579 ;;
580 r36a)
581 ucidef_set_led_netdev "lan" "LAN" "$board:blue:lan" "eth0"
582 ucidef_set_led_usbdev "usb" "USB" "$board:blue:usb" "1-1"
583 ucidef_set_led_netdev "wan" "WAN" "$board:blue:wan" "eth1"
584 ucidef_set_led_wlan "wlan" "WLAN" "$board:blue:wlan" "phy0tpt"
585 ;;
586 r602n|\
587 t830|\
588 zbt-we1526)
589 ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth1"
590 ucidef_set_led_switch "lan1" "LAN1" "$board:green:lan1" "switch0" "0x10"
591 ucidef_set_led_switch "lan2" "LAN2" "$board:green:lan2" "switch0" "0x08"
592 ucidef_set_led_switch "lan3" "LAN3" "$board:green:lan3" "switch0" "0x04"
593 ucidef_set_led_switch "lan4" "LAN4" "$board:green:lan4" "switch0" "0x02"
594 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
595
596 case "$board" in
597 t830)
598 ucidef_set_led_usbdev "usb" "USB" "$board:green:usb" "1-1"
599 ;;
600 esac
601 ;;
602 r6100)
603 ucidef_set_led_netdev "wan" "WAN (green)" "netgear:green:wan" "eth0"
604 ucidef_set_led_usbdev "usb" "USB" "netgear:blue:usb" "1-1"
605 ucidef_set_led_wlan "wlan" "WLAN" "netgear:blue:wlan" "phy1tpt"
606 ;;
607 rb-750)
608 ucidef_set_led_default "act" "act" "rb750:green:act" "1"
609 ucidef_set_led_netdev "port1" "port1" "rb750:green:port1" "eth1"
610 ucidef_set_led_switch "port2" "port2" "rb750:green:port2" "switch0" "0x10"
611 ucidef_set_led_switch "port3" "port3" "rb750:green:port3" "switch0" "0x08"
612 ucidef_set_led_switch "port4" "port4" "rb750:green:port4" "switch0" "0x04"
613 ucidef_set_led_switch "port5" "port5" "rb750:green:port5" "switch0" "0x02"
614 ;;
615 rb-750-r2|\
616 rb-750p-pbr2|\
617 rb-750up-r2)
618 ucidef_set_led_timer "user" "USER" "rb:green:user" "1000" "1000"
619 ucidef_set_led_netdev "port1" "port1" "rb:green:port1" "eth0"
620 ucidef_set_led_switch "port2" "port2" "rb:green:port2" "switch0" "0x10"
621 ucidef_set_led_switch "port3" "port2" "rb:green:port3" "switch0" "0x08"
622 ucidef_set_led_switch "port4" "port3" "rb:green:port4" "switch0" "0x04"
623 ucidef_set_led_switch "port5" "port5" "rb:green:port5" "switch0" "0x02"
624 ;;
625 rb-911-2hn|\
626 rb-911-5hn)
627 ucidef_set_led_netdev "eth" "ETH" "rb:green:eth" "eth0"
628 ;;
629 rb-941-2nd)
630 ucidef_set_led_timer "user" "USR/ACT" "rb:green:user" "1000" "1000"
631 ;;
632 rb-951ui-2nd|\
633 rb-952ui-5ac2nd)
634 ucidef_set_led_timer "user" "USER" "rb:green:user" "1000" "1000"
635 ucidef_set_led_netdev "port1" "port1" "rb:green:port1" "eth0"
636 ucidef_set_led_switch "port2" "port2" "rb:green:port2" "switch0" "0x10"
637 ucidef_set_led_switch "port3" "port2" "rb:green:port3" "switch0" "0x08"
638 ucidef_set_led_switch "port4" "port3" "rb:green:port4" "switch0" "0x04"
639 ucidef_set_led_switch "port5" "port5" "rb:green:port5" "switch0" "0x02"
640 ucidef_set_led_wlan "wlan" "WLAN" "rb:blue:wlan" "phy0tpt"
641 ;;
642 rb-962uigs-5hact2hnt)
643 ucidef_set_led_timer "user" "USER/SFP" "rb:green:user" "1000" "1000"
644 ;;
645 rb-2011il|\
646 rb-2011ils|\
647 rb-2011l|\
648 rb-2011uas|\
649 rb-2011uas-2hnd|\
650 rb-2011uias|\
651 rb-2011uias-2hnd)
652 ucidef_set_led_switch "eth6" "ETH6" "rb:green:eth6" "switch1" "0x20"
653 ucidef_set_led_switch "eth7" "ETH7" "rb:green:eth7" "switch1" "0x10"
654 ucidef_set_led_switch "eth8" "ETH8" "rb:green:eth8" "switch1" "0x08"
655 ucidef_set_led_switch "eth9" "ETH9" "rb:green:eth9" "switch1" "0x04"
656 ucidef_set_led_switch "eth10" "ETH10" "rb:green:eth10" "switch1" "0x02"
657 ;;
658 rb-lhg-5nd)
659 ucidef_set_led_netdev "lan" "LAN" "rb:green:eth" "eth0"
660 ucidef_set_rssimon "wlan0" "200000" "1"
661 ucidef_set_led_rssi "rssilow" "RSSILOW" "rb:green:rssi0" "wlan0" "1" "100" "0" "13"
662 ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "rb:green:rssi1" "wlan0" "20" "100" "-19" "13"
663 ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "rb:green:rssi2" "wlan0" "40" "100" "-39" "13"
664 ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "rb:green:rssi3" "wlan0" "60" "100" "-59" "13"
665 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "rb:green:rssi4" "wlan0" "80" "100" "-79" "13"
666 ;;
667 rb-map-2nd)
668 ucidef_set_led_switch "eth1" "WAN" "rb:green:eth1" "switch0" "0x02"
669 ucidef_set_led_switch "eth2" "LAN" "rb:green:eth2" "switch0" "0x04"
670 ucidef_set_led_gpio "poe" "POE" "rb:red:poe_out" "14" "0"
671 ucidef_set_led_wlan "wlan" "WLAN" "rb:green:wlan" "phy0tpt"
672 ;;
673 rb-mapl-2nd)
674 ucidef_set_led_default "power" "POWER" "rb:green:power" "1"
675 ucidef_set_led_netdev "lan" "LAN" "rb:green:eth" "eth0"
676 ucidef_set_led_wlan "wlan" "WLAN" "rb:green:wlan" "phy0tpt"
677 ;;
678 rb-wap-2nd)
679 ucidef_set_led_timer "user" "USER" "rb:green:user" "1000" "1000"
680 ucidef_set_led_wlan "wlan" "WLAN" "rb:green:wlan" "phy0tpt"
681 ;;
682 re355|\
683 re450)
684 ucidef_set_led_netdev "lan_data" "LAN Data" "$board:green:lan_data" "eth0" "tx rx"
685 ucidef_set_led_netdev "lan_link" "LAN Link" "$board:green:lan_link" "eth0" "link"
686 ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "$board:blue:wlan2g" "phy1tpt"
687 ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "$board:blue:wlan5g" "phy0tpt"
688 ;;
689 rme-eg200)
690 ucidef_set_led_netdev "wan" "WAN" "eg200:red:eth0" "eth0"
691 ucidef_set_led_wlan "wlan" "WLAN" "eg200:red:wlan" "phy0tpt"
692 ucidef_set_led_oneshot "modbus" "Modbus" "eg200:red:modbus" "100" "33"
693 ucidef_set_led_default "etactica" "etactica" "eg200:red:etactica" "ignore"
694 ;;
695 rocket-m-ti)
696 ucidef_set_led_rssi "rssiverylow" "RSSIVERYLOW" "ubnt:green:link1" "wlan0" "1" "100" "0" "13"
697 ucidef_set_led_rssi "rssilow" "RSSILOW" "ubnt:green:link2" "wlan0" "26" "100" "-25" "13"
698 ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "ubnt:green:link3" "wlan0" "51" "100" "-50" "13"
699 ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "ubnt:green:link4" "wlan0" "76" "100" "-75" "13"
700 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "ubnt:green:link5" "wlan0" "76" "100" "-75" "13"
701 ucidef_set_led_rssi "rssiveryhigh" "RSSIVERYHIGH" "ubnt:green:link4" "wlan0" "76" "100" "-75" "13"
702 ;;
703 rut900)
704 ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth1"
705 ucidef_set_led_switch "lan1" "LAN1" "$board:green:lan1" "switch0" "0x10"
706 ucidef_set_led_switch "lan2" "LAN2" "$board:green:lan2" "switch0" "0x08"
707 ucidef_set_led_switch "lan3" "LAN3" "$board:green:lan3" "switch0" "0x04"
708 ;;
709 smart-300)
710 ucidef_set_led_netdev "wan" "WAN" "nc-link:green:wan" "eth0"
711 ucidef_set_led_switch "lan1" "LAN1" "nc-link:green:lan1" "switch0" "0x04"
712 ucidef_set_led_switch "lan2" "LAN2" "nc-link:green:lan2" "switch0" "0x08"
713 ucidef_set_led_switch "lan3" "LAN3" "nc-link:green:lan3" "switch0" "0x10"
714 ucidef_set_led_switch "lan4" "LAN4" "nc-link:green:lan4" "switch0" "0x02"
715 ucidef_set_led_wlan "wlan" "WLAN" "nc-link:green:wlan" "phy0tpt"
716 ;;
717 som9331)
718 ucidef_set_led_netdev "wan" "WAN" "$board:orange:wan" "eth1"
719 ucidef_set_led_switch "lan1" "LAN1" "$board:orange:lan1" "switch0" "0x08"
720 ucidef_set_led_switch "lan2" "LAN2" "$board:orange:lan2" "switch0" "0x02"
721 ucidef_set_led_wlan "wlan" "WLAN" "$board:red:wlan" "phy0tpt"
722 ucidef_set_led_usbdev "usb" "USB" "$board:green:system" "1-1"
723 ;;
724 sr3200)
725 ucidef_set_led_wlan "wlan2g" "WLAN2G" "$board:green:wlan2g" "phy1tpt"
726 ;;
727 tellstick-znet-lite)
728 ucidef_set_led_netdev "lan_act" "LANACT" "tellstick:green:lan" "eth0" "tx rx"
729 ucidef_set_led_netdev "lan_link" "LANLINK" "tellstick:orange:lan" "eth0" "link"
730 ;;
731 tew-712br)
732 ucidef_set_led_netdev "wan" "WAN" "trendnet:green:wan" "eth1"
733 ucidef_set_led_switch "lan1" "LAN1" "trendnet:green:lan1" "switch0" "0x02"
734 ucidef_set_led_switch "lan2" "LAN2" "trendnet:green:lan2" "switch0" "0x04"
735 ucidef_set_led_switch "lan3" "LAN3" "trendnet:green:lan3" "switch0" "0x08"
736 ucidef_set_led_switch "lan4" "LAN4" "trendnet:green:lan4" "switch0" "0x10"
737 ucidef_set_led_wlan "wlan" "WLAN" "trendnet:green:wlan" "phy0tpt"
738 ;;
739 tew-732br)
740 ucidef_set_led_netdev "wan" "WAN" "trendnet:green:wan" "eth1"
741 ;;
742 tew-823dru)
743 ucidef_set_led_netdev "wan" "WAN" "trendnet:green:planet" "eth0"
744 ;;
745 tl-mr11u|\
746 tl-mr3020|\
747 tl-mr3040|\
748 tl-mr3040-v2)
749 ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
750 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
751 ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
752 ;;
753 tl-mr3220|\
754 tl-mr3420)
755 ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
756 ;;
757 tl-mr3220-v2|\
758 tl-wr741nd-v4)
759 ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
760 ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
761 ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
762 ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
763 ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
764 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
765
766 case "$board" in
767 tl-mr3220-v2)
768 ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
769 ;;
770 esac
771 ;;
772 tl-mr3420-v2|\
773 tl-wr841n-v8|\
774 tl-wr842n-v2|\
775 tl-wr941nd-v5)
776 ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth0"
777 ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
778 ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
779 ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
780 ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
781 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
782
783 case "$board" in
784 tl-mr3420-v2|\
785 tl-wr842n-v2)
786 ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
787 ;;
788 esac
789 ;;
790 tl-mr6400)
791 ucidef_set_led_netdev "lan" "LAN" "tp-link:white:lan" "eth0"
792 ucidef_set_led_netdev "wan" "WAN" "tp-link:white:wan" "eth1"
793 ucidef_set_led_netdev "4g" "4G" "tp-link:white:4g" "usb0"
794 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:white:wlan" "phy0tpt"
795 ;;
796 tl-wa7210n-v2)
797 ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
798 ucidef_set_rssimon "wlan0" "200000" "1"
799 ucidef_set_led_rssi "rssilow" "RSSILOW" "tp-link:green:signal1" "wlan0" "1" "100" "0" "13"
800 ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "tp-link:green:signal2" "wlan0" "26" "100" "-25" "13"
801 ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:green:signal3" "wlan0" "51" "100" "-50" "13"
802 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:green:signal4" "wlan0" "76" "100" "-75" "13"
803 ;;
804 tl-wa750re)
805 ucidef_set_led_netdev "lan" "LAN" "tp-link:orange:lan" "eth0"
806 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:orange:wlan" "phy0tpt"
807 ucidef_set_rssimon "wlan0" "200000" "1"
808 ucidef_set_led_rssi "rssilow" "RSSILOW" "tp-link:orange:signal1" "wlan0" "1" "100" "0" "13"
809 ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "tp-link:orange:signal2" "wlan0" "20" "100" "-19" "13"
810 ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "tp-link:orange:signal3" "wlan0" "40" "100" "-39" "13"
811 ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:orange:signal4" "wlan0" "60" "100" "-59" "13"
812 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:orange:signal5" "wlan0" "80" "100" "-79" "13"
813 ;;
814 tl-wa801nd-v3)
815 ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth1"
816 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
817 ;;
818 tl-wa850re|\
819 tl-wa850re-v2)
820 ucidef_set_led_netdev "lan" "LAN" "tp-link:blue:lan" "eth0"
821 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:blue:wlan" "phy0tpt"
822 ucidef_set_rssimon "wlan0" "200000" "1"
823 ucidef_set_led_rssi "rssilow" "RSSILOW" "tp-link:blue:signal1" "wlan0" "1" "100" "0" "13"
824 ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "tp-link:blue:signal2" "wlan0" "20" "100" "-19" "13"
825 ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "tp-link:blue:signal3" "wlan0" "40" "100" "-39" "13"
826 ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:blue:signal4" "wlan0" "60" "100" "-59" "13"
827 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:blue:signal5" "wlan0" "80" "100" "-79" "13"
828 ;;
829 tl-wa701nd-v2|\
830 tl-wa801nd-v2|\
831 tl-wa830re-v2|\
832 tl-wa860re|\
833 tl-wa901nd-v3|\
834 tl-wa901nd-v4|\
835 tl-wa901nd-v5)
836 ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
837 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
838 ;;
839 tl-wa901nd)
840 ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
841 ;;
842 tl-wa901nd-v2|\
843 tl-wr941nd|\
844 tl-wr1041n-v2)
845 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
846 ;;
847 tl-wdr3320-v2)
848 ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:green:wlan5g" "phy0tpt"
849 ;;
850 tl-wdr3500)
851 ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
852 ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:green:wlan2g" "phy0tpt"
853 ;;
854 tl-wdr4300)
855 ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1.1"
856 ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "1-1.2"
857 ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt"
858 ;;
859 tl-wdr4900-v2)
860 ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1"
861 ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "2-1"
862 ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt"
863 ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:blue:wlan5g" "phy1tpt"
864 ;;
865 tl-wdr6500-v2|\
866 tl-wr741nd)
867 ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
868 ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x02"
869 ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x04"
870 ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x08"
871 ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x10"
872 ;;
873 tl-wpa8630)
874 ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0"
875 ucidef_set_led_netdev "wlan" "WLAN" "$board:green:wlan" "wlan1"
876 ucidef_set_led_netdev "wlan5" "WLAN5" "$board:green:wlan5" "wlan0"
877 ;;
878 tl-wr740n-v6|\
879 tl-wr841n-v9|\
880 tl-wr841n-v11|\
881 tl-wr842n-v3)
882 ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
883 ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
884 ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
885 ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x04"
886 ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
887 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
888
889 case "$board" in
890 tl-wr842n-v3)
891 ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
892 ;;
893 esac
894 ;;
895 tl-wr802n-v1)
896 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:blue:system" "phy0tpt"
897 ;;
898 tl-wr802n-v2)
899 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:system" "phy0tpt"
900 ;;
901 tl-wr902ac-v1)
902 ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0"
903 ucidef_set_led_usbdev "usb" "USB" "$board:green:usb" "1-1"
904 ucidef_set_led_wlan "wlan2g" "WLAN2G" "$board:green:wlan2g" "phy1tpt"
905 ;;
906 tl-wr940n-v4|\
907 tl-wr941nd-v6)
908 ucidef_set_led_netdev "wan" "WAN" "tp-link:blue:wan" "eth0"
909 ucidef_set_led_switch "lan1" "LAN1" "tp-link:blue:lan1" "switch0" "0x10"
910 ucidef_set_led_switch "lan2" "LAN2" "tp-link:blue:lan2" "switch0" "0x08"
911 ucidef_set_led_switch "lan3" "LAN3" "tp-link:blue:lan3" "switch0" "0x04"
912 ucidef_set_led_switch "lan4" "LAN4" "tp-link:blue:lan4" "switch0" "0x02"
913 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:blue:wlan" "phy0tpt"
914 ;;
915 tl-wr840n-v2|\
916 tl-wr840n-v3)
917 ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
918 ucidef_set_led_switch "lan" "LAN" "tp-link:green:lan" "switch0" "0x1E"
919 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
920 ;;
921 tl-wr940n-v6)
922 ucidef_set_led_netdev "wan" "WAN" "tp-link:blue:wan" "eth0"
923 ;;
924 tl-wr942n-v1)
925 ucidef_set_led_switch "lan1" "LAN1" "$board:green:lan1" "switch0" "0x04"
926 ucidef_set_led_switch "lan2" "LAN2" "$board:green:lan2" "switch0" "0x08"
927 ucidef_set_led_switch "lan3" "LAN3" "$board:green:lan3" "switch0" "0x10"
928 ucidef_set_led_switch "lan4" "LAN4" "$board:green:lan4" "switch0" "0x02"
929 ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth0"
930 ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
931 ucidef_set_led_usbdev "usb1" "USB1" "$board:green:usb1" "1-1.2"
932 ucidef_set_led_usbdev "usb2" "USB2" "$board:green:usb2" "1-1.1"
933 ;;
934 tl-wr1043nd|\
935 tl-wr1043nd-v2)
936 ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
937 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
938 ;;
939 tl-wr1043n-v5|\
940 tl-wr1043nd-v4)
941 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
942 ucidef_set_led_switch "wan" "WAN" "tp-link:green:wan" "switch0" "0x20"
943 ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
944 ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
945 ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x04"
946 ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
947
948 case "$board" in
949 tl-wr1043nd-v4)
950 ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
951 ;;
952 esac
953 ;;
954 tl-wr2543n)
955 ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:green:wlan2g" "phy0tpt"
956 ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
957 ;;
958 tube2h)
959 ucidef_set_led_netdev "lan" "LAN" "alfa:blue:lan" "eth0"
960 ucidef_set_rssimon "wlan0" "200000" "1"
961 ucidef_set_led_rssi "signal1" "SIGNAL1" "alfa:red:signal1" "wlan0" "1" "100" "0" "13"
962 ucidef_set_led_rssi "signal2" "SIGNAL2" "alfa:orange:signal2" "wlan0" "26" "100" "-25" "13"
963 ucidef_set_led_rssi "signal3" "SIGNAL3" "alfa:green:signal3" "wlan0" "51" "100" "-50" "13"
964 ucidef_set_led_rssi "signal4" "SIGNAL4" "alfa:green:signal4" "wlan0" "76" "100" "-75" "13"
965 ;;
966 wam250)
967 ucidef_set_led_netdev "lan" "LAN" "$board:white:lan" "eth0"
968 ucidef_set_led_wlan "wlan" "WLAN" "$board:white:wlan" "phy0tpt"
969 ;;
970 wndap360)
971 ucidef_set_led_power "power" "POWER GREEN" "netgear:green:power" "1"
972 ;;
973 wndr3700)
974 ucidef_set_led_default "wan" "WAN LED (green)" "netgear:green:wan" "0"
975 ucidef_set_led_usbdev "usb" "USB" "netgear:green:usb" "1-1"
976 ;;
977 wi2a-ac200i)
978 ucidef_set_led_default "power" "Power (green)" "nokia:green:power" "1"
979 ucidef_set_led_default "wan" "Ethernet LED (green)" "nokia:green:wan" "1"
980 ucidef_set_led_wlan "wlan5g" "WLAN" "nokia:green:wlan-5g" "phy0tpt"
981 ucidef_set_led_wlan "wlan2g" "WLAN" "nokia:green:wlan-2g" "phy1tpt"
982 ;;
983 wndr3700v4|\
984 wndr4300)
985 ucidef_set_led_switch "wan-green" "WAN (green)" "netgear:green:wan" "switch0" "0x20" "0x08"
986 ucidef_set_led_switch "wan-amber" "WAN (amber)" "netgear:amber:wan" "switch0" "0x20" "0x06"
987 ucidef_set_led_usbdev "usb" "USB" "netgear:green:usb" "1-1"
988 ucidef_set_led_wlan "wlan2g" "WLAN2G" "netgear:green:wlan2g" "phy0tpt"
989 ucidef_set_led_wlan "wlan5g" "WLAN5G" "netgear:blue:wlan5g" "phy1tpt"
990 ;;
991 whr-g301n|\
992 whr-hp-g300n|\
993 whr-hp-gn)
994 ucidef_set_led_netdev "wan" "WAN" "buffalo:green:wan" "eth1"
995 ucidef_set_led_switch "lan1" "LAN1" "buffalo:green:lan1" "switch0" "0x02"
996 ucidef_set_led_switch "lan2" "LAN2" "buffalo:green:lan2" "switch0" "0x04"
997 ucidef_set_led_switch "lan3" "LAN3" "buffalo:green:lan3" "switch0" "0x08"
998 ucidef_set_led_switch "lan4" "LAN4" "buffalo:green:lan4" "switch0" "0x10"
999 ;;
1000 wifi-pineapple-nano)
1001 ucidef_set_led_wlan "wlan0" "WLAN0" "$board:blue:system" "phy0tpt"
1002 ;;
1003 wlae-ag300n)
1004 ucidef_set_led_netdev "wireless" "WIRELESS" "buffalo:green:wireless" "wlan0"
1005 ;;
1006 wnr1000-v2|\
1007 wnr2000-v3)
1008 ucidef_set_led_netdev "wan-amber" "WAN (amber)" "netgear:amber:wan" "eth0"
1009 ucidef_set_led_default "wan-green" "WAN (green)" "netgear:green:wan" "0"
1010 ucidef_set_led_wlan "wlan" "WLAN" "netgear:blue:wlan" "phy0tpt"
1011 ucidef_set_led_switch "lan1green" "LAN1 (green)" "netgear:green:lan1" "switch0" "0x02" "0x04"
1012 ucidef_set_led_switch "lan2green" "LAN2 (green)" "netgear:green:lan2" "switch0" "0x04" "0x04"
1013 ucidef_set_led_switch "lan3green" "LAN3 (green)" "netgear:green:lan3" "switch0" "0x08" "0x04"
1014 ucidef_set_led_switch "lan4green" "LAN4 (green)" "netgear:green:lan4" "switch0" "0x10" "0x04"
1015 ucidef_set_led_switch "lan1amber" "LAN1 (amber)" "netgear:amber:lan1" "switch0" "0x02" "0x02"
1016 ucidef_set_led_switch "lan2amber" "LAN2 (amber)" "netgear:amber:lan2" "switch0" "0x04" "0x02"
1017 ucidef_set_led_switch "lan3amber" "LAN3 (amber)" "netgear:amber:lan3" "switch0" "0x08" "0x02"
1018 ucidef_set_led_switch "lan4amber" "LAN4 (amber)" "netgear:amber:lan4" "switch0" "0x10" "0x02"
1019 ;;
1020 wnr2000-v4)
1021 ucidef_set_led_netdev "wan" "WAN" "netgear:green:wan" "eth0"
1022 ucidef_set_led_netdev "wlan" "WLAN" "netgear:blue:wlan" "wlan0"
1023 ucidef_set_led_switch "lan1" "LAN1" "netgear:amber:lan1" "switch0" "0x02"
1024 ucidef_set_led_switch "lan2" "LAN2" "netgear:amber:lan2" "switch0" "0x04"
1025 ucidef_set_led_switch "lan3" "LAN3" "netgear:amber:lan3" "switch0" "0x08"
1026 ucidef_set_led_switch "lan4" "LAN4" "netgear:amber:lan4" "switch0" "0x10"
1027 ucidef_set_led_usbdev "usb" "USB" "netgear:amber:status" "1-1"
1028 ;;
1029 wnr2200)
1030 ucidef_set_led_netdev "wan-amber" "WAN (amber)" "netgear:amber:wan" "eth0"
1031 ucidef_set_led_default "wan-green" "WAN (green)" "netgear:green:wan" "0"
1032 ucidef_set_led_wlan "wlan" "WLAN" "netgear:blue:wlan" "phy0tpt"
1033 ucidef_set_led_switch "lan1green" "LAN1 (green)" "netgear:green:lan1" "switch0" "0x02" "0x04"
1034 ucidef_set_led_switch "lan2green" "LAN2 (green)" "netgear:green:lan2" "switch0" "0x04" "0x04"
1035 ucidef_set_led_switch "lan3green" "LAN3 (green)" "netgear:green:lan3" "switch0" "0x08" "0x04"
1036 ucidef_set_led_switch "lan4green" "LAN4 (green)" "netgear:green:lan4" "switch0" "0x10" "0x04"
1037 ucidef_set_led_switch "lan1amber" "LAN1 (amber)" "netgear:amber:lan1" "switch0" "0x02" "0x02"
1038 ucidef_set_led_switch "lan2amber" "LAN2 (amber)" "netgear:amber:lan2" "switch0" "0x04" "0x02"
1039 ucidef_set_led_switch "lan3amber" "LAN3 (amber)" "netgear:amber:lan3" "switch0" "0x08" "0x02"
1040 ucidef_set_led_switch "lan4amber" "LAN4 (amber)" "netgear:amber:lan4" "switch0" "0x10" "0x02"
1041 ucidef_set_led_usbdev "usb" "USB" "netgear:green:usb" "1-1"
1042 ;;
1043 wnr612-v2)
1044 ucidef_set_led_netdev "wan" "WAN" "netgear:green:wan" "eth0"
1045 ucidef_set_led_wlan "wlan" "WLAN" "netgear:green:wlan" "phy0tpt"
1046 ucidef_set_led_switch "lan1" "LAN1" "netgear:green:lan1" "switch0" "0x02" "0x0f"
1047 ucidef_set_led_switch "lan2" "LAN2" "netgear:green:lan2" "switch0" "0x04" "0x0f"
1048 ;;
1049 wpn824n)
1050 ucidef_set_led_netdev "wan-amber" "WAN (amber)" "netgear:amber:wan" "eth0"
1051 ucidef_set_led_wlan "wlan" "WLAN" "netgear:blue:wlan" "phy0tpt"
1052 ucidef_set_led_switch "lan1amber" "LAN1 (amber)" "netgear:amber:lan1" "switch0" "0x02"
1053 ucidef_set_led_switch "lan2amber" "LAN2 (amber)" "netgear:amber:lan2" "switch0" "0x04"
1054 ucidef_set_led_switch "lan3amber" "LAN3 (amber)" "netgear:amber:lan3" "switch0" "0x08"
1055 ucidef_set_led_switch "lan4amber" "LAN4 (amber)" "netgear:amber:lan4" "switch0" "0x10"
1056 ucidef_set_led_default "lan1green" "LAN1 (green)" "netgear:green:lan1" "0"
1057 ucidef_set_led_default "lan2green" "LAN2 (green)" "netgear:green:lan2" "0"
1058 ucidef_set_led_default "lan3green" "LAN3 (green)" "netgear:green:lan3" "0"
1059 ucidef_set_led_default "lan4green" "LAN4 (green)" "netgear:green:lan4" "0"
1060 ucidef_set_led_default "wan-green" "WAN (green)" "netgear:green:wan" "0"
1061 ucidef_set_led_default "wps1" "WPS1" "netgear:blue:wps1" "0"
1062 ucidef_set_led_default "wps2" "WPS2" "netgear:blue:wps2" "0"
1063 ucidef_set_led_default "status" "STATUS" "netgear:amber:status" "0"
1064 ucidef_set_led_default "test" "TEST" "netgear:amber:test" "0"
1065 ;;
1066 wzr-hp-ag300h)
1067 ucidef_set_led_default "diag" "DIAG" "buffalo:red:diag" "0"
1068 ucidef_set_led_netdev "router" "ROUTER" "buffalo:green:router" "eth1"
1069 ucidef_set_led_wlan "wlan2g" "WLAN2G" "buffalo:amber:band2g" "phy0tpt"
1070 ucidef_set_led_wlan "wlan5g" "WLAN5G" "buffalo:amber:band5g" "phy1tpt"
1071 ucidef_set_led_usbdev "usb" "USB" "buffalo:green:usb" "1-1"
1072 ;;
1073 wzr-hp-g300nh)
1074 ucidef_set_led_wlan "wlan" "Wireless" "buffalo:green:wireless" "phy0tpt"
1075 ucidef_set_led_netdev "router" "Router" "buffalo:green:router" "eth1"
1076 ucidef_set_led_usbdev "usb" "USB" "buffalo:blue:usb" "1-1"
1077 ;;
1078 wzr-hp-g300nh2|\
1079 wzr-hp-g450h)
1080 ucidef_set_led_wlan "wlan" "Wireless" "buffalo:green:wireless" "phy0tpt"
1081 ;;
1082 xd3200)
1083 ucidef_set_led_wlan "wlan2g" "WLAN2G" "$board:blue:wlan2g" "phy1tpt"
1084 ;;
1085 z1)
1086 ucidef_set_led_netdev "wlan1" "WLAN1" "$board:blue:tricolor0" "wlan1"
1087 ;;
1088 zcn-1523h-2)
1089 ucidef_set_led_netdev "lan1" "lan1" "zcn-1523h:green:lan1" "eth0"
1090 ;;
1091 zcn-1523h-5)
1092 ucidef_set_led_netdev "lan1" "lan1" "zcn-1523h:green:lan1" "eth0"
1093 ucidef_set_led_netdev "lan2" "lan2" "zcn-1523h:green:lan2" "eth1"
1094 ;;
1095 esac
1096
1097 board_config_flush
1098
1099 exit 0