[LEDE-DEV] [PATCH 2/2] base-files: support usbport LED trigger
Felix Fietkau
nbd at nbd.name
Tue Oct 4 08:22:57 PDT 2016
On 2016-10-04 12:44, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal at milecki.pl>
>
> This adds ucidef_set_led_usbport function that can be called by target
> board.d files. Example usage:
> ucidef_set_led_usbport "usb" "bcm53xx:blue:usb" "usb1-port1" "usb2-port1"
>
> List of available ports can be fetched using:
> ls -d /sys/bus/usb/devices/*/*-port*
> or
> echo usbport > trigger
> ls ports/
>
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
Can't we just migrate all of our existing stuff over to the upstream
module and remove the old one?
Preferably without breaking existing configurations...
- Felix
More information about the Lede-dev
mailing list