[Freedombox-discuss] Add dreamplug-detect script?
Petter Reinholdtsen
pere at hungry.com
Mon Sep 9 21:03:22 UTC 2013
[Jonas Smedegaard]
> This seems an accurate detection (seems unlikely that other boards
> will label their LEDs the same):
>
> # find /sys -name 'dreamplug:*'
> /sys/devices/gpio-leds.1/leds/dreamplug:blue:bluetooth
> /sys/devices/gpio-leds.1/leds/dreamplug:green:wifi_ap
> /sys/devices/gpio-leds.1/leds/dreamplug:green:wifi
> /sys/class/leds/dreamplug:blue:bluetooth
> /sys/class/leds/dreamplug:green:wifi_ap
> /sys/class/leds/dreamplug:green:wifi
>
> The first three are directories, and the rest are symlinks to the
> first.
Thank you. This seem like a very specific thing to look at. I
implemented dreamplug-detect using this information and put it in
freedombox-setup.
--
Happy hacking
Petter Reinholdtsen
More information about the Freedombox-discuss
mailing list