[OpenWrt-Devel] [PATCH] Support for Edimax EW-7476RPC

Cezary Jackiewicz cezary.jackiewicz at gmail.com
Mon May 27 00:34:40 EDT 2019


Dnia 2019-05-26, o godz. 23:05:35
Birger Koblitz <mail at birger-koblitz.de> napisał(a):

> > root at OpenWrt:~# swconfig dev switch0 show | grep port
> > 	link: port:0 link:down
> > 	link: port:1 link:down
> > 	link: port:2 link:down
> > 	link: port:3 link:down
> > 	link: port:4 link:down
> > 	link: port:5 link:up speed:1000baseT full-duplex 
> > 	link: port:6 link:up speed:1000baseT full-duplex 
> > 	link: port:7 link:down
> > root at OpenWrt:~# cat /sys/class/leds/ew-7478ac\:green\:lan/trigger 
> > none [switch0] timer default-on netdev phy0rx phy0tx phy0assoc phy0radio phy0tpt phy1rx phy1tx phy1assoc phy1radio 
> > root at OpenWrt:~# cat /sys/class/leds/ew-7478ac\:green\:lan/port_mask 
> > 0x20
> > root at OpenWrt:~#   
> 
> I get:
> 
> root at OpenWrt:~# ls /sys/class/leds/ew-7476rpc\:green\:lan/
> brightness      device          device_name     interval       
> link            max_brightness  rx              subsystem      
> trigger         tx              uevent
> 
> no port_mask

Set trigger to switch0 first.

-- 
Pozdrawiam,
 Cezary Jackiewicz

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list