> Hi Heiner, > > in sysfs, all devices registered under LED class will have symlinks in > /sys/class/leds. This is how device classes work in Linux. > > There is a standardized format for LED device names, please look at > Documentation/leds/leds-class.rst. > > Basically the LED name is of the format > devicename:color:function The interesting part here is, what does devicename mean, in this context? We cannot use the interface name, because it is not unique, and user space can change it whenever it wants. So we probably need to build something around the bus ID, e.g. pci_id. Which is not very friendly :-( Andrew