Skip to content

turris1x: add-kmod-leds-turris-1x

Josef Schlehofer requested to merge bugfix/turris1x-leds into develop

LEDs driver for Turris 1.x was upstreamed [1] and it was packaged to OpenWrt build system as separate kmod package [2]

This can be verified by using: ls -la /sys/class/leds/. Now, it looks like this:

root@turris:/# ll /sys/class/leds
drwxr-xr-x    2 root     root             0 Jan  1  1970 ./
drwxr-xr-x   45 root     root             0 Jan  1  1970 ../
lrwxrwxrwx    1 root     root             0 Aug 11 13:44 ath9k-phy0 -> ../../devices/platform/ffe09000.pcie/pci9000:02/9000:02:00.0/9000:03:00.0/leds/ath9k-phy0/
lrwxrwxrwx    1 root     root             0 Jan  1  1970 mmc0:: -> ../../devices/platform/soc@ffe00000/ffe2e000.sdhc/leds/mmc0::/
lrwxrwxrwx    1 root     root             0 Jan  1  1970 rgb:lan-1 -> ../../devices/platform/ffe05000.localbus/ffa00000.cpld/ffa00013.led-controller/leds/rgb:lan-1/
lrwxrwxrwx    1 root     root             0 Jan  1  1970 rgb:lan-2 -> ../../devices/platform/ffe05000.localbus/ffa00000.cpld/ffa00013.led-controller/leds/rgb:lan-2/
lrwxrwxrwx    1 root     root             0 Jan  1  1970 rgb:lan-3 -> ../../devices/platform/ffe05000.localbus/ffa00000.cpld/ffa00013.led-controller/leds/rgb:lan-3/
lrwxrwxrwx    1 root     root             0 Jan  1  1970 rgb:lan-4 -> ../../devices/platform/ffe05000.localbus/ffa00000.cpld/ffa00013.led-controller/leds/rgb:lan-4/
lrwxrwxrwx    1 root     root             0 Jan  1  1970 rgb:lan-5 -> ../../devices/platform/ffe05000.localbus/ffa00000.cpld/ffa00013.led-controller/leds/rgb:lan-5/
lrwxrwxrwx    1 root     root             0 Jan  1  1970 rgb:power -> ../../devices/platform/ffe05000.localbus/ffa00000.cpld/ffa00013.led-controller/leds/rgb:power/
lrwxrwxrwx    1 root     root             0 Jan  1  1970 rgb:wan -> ../../devices/platform/ffe05000.localbus/ffa00000.cpld/ffa00013.led-controller/leds/rgb:wan/
lrwxrwxrwx    1 root     root             0 Jan  1  1970 rgb:wlan -> ../../devices/platform/ffe05000.localbus/ffa00000.cpld/ffa00013.led-controller/leds/rgb:wlan/

[1] https://lore.kernel.org/linux-leds/20220705155929.25565-2-pali@kernel.org/ [2] build@bbf2b0e8


Similar as c55d9c3e

Merge request reports