Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
HBL: kernel 5.15: LEDs on Turris Omnia not supported
After upgrade of the kernel from version 5.4.203-1-da0ddeb89bb0e25d2a575f62263f6300 to version 5.15.50-1-bbde583666f0d21706f8da40fd4a8532, LEDs stopped working on Omnia. It seems that the driver is missing:
# ls /sys/class/leds/ath10k-phy0 ath9k-phy1 mmc0::# rainbow all enable Failed to open file: No such file or directory
Reverting to previous kernel fixes the issue.
Edited
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related.
Learn more.
But rainbow does not support it, yet. Well, when I spoke with Karel some time ago, he told me that rainbow has support for Turris MOX, where it is similar or same, but I haven't look at it.
But it seems that in order to actually change the color, one has to overwrite trigger. So I set up software based triggers for all LEDs in /etc/config/system like this:
config led 'led_lan4' option name 'lan4' option sysfs 'rgb:lan-4' option trigger 'netdev' option mode 'link tx rx' option dev 'lan4'