On Fri, 12 Feb 2016 10:38:22 -0000
Karl Palsson <ka...@tweak.net.au> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Michal <michal.cieslakiew...@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@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to