[OpenWrt-Devel] [PATCH 3/4] uci: add support for speed_mask to switch LED init scripts
Michal
michal.cieslakiewicz at wp.pl
Fri Feb 12 12:14:56 EST 2016
On Fri, 12 Feb 2016 10:38:22 -0000
Karl Palsson <karlp at tweak.net.au> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Michal <michal.cieslakiewicz at wp.pl> wrote:
> > echo $port_mask
> > > /sys/class/leds/${sysfs}/port_mask
> > + config_get speed_mask $1 speed_mask
> > + [ -n "$speed_mask" ] && \
> > + echo $speed_mask
> > > /sys/class/leds/${sysfs}/speed_mask ;;
>
> Where does this come from? I don't see it listed in
> https://www.kernel.org/doc/Documentation/leds/leds-class.txt
>
> Cheers,
> Karl P
>
Hi Karl!
Do you mean speed_mask parameter ? It's a special file for 'switch'
LED trigger (along with port_mask) and this trigger is not part of
original Linux kernel. I've encountered it for the first time here, in
OpenWrt.
Regards
Michal
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list