[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Freedombox-discuss] Add dreamplug-detect script?



[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



Reply to: