On 19.12.23 16:39, Krzysztof Kozlowski wrote: > On 19/12/2023 16:37, Jan Kiszka wrote: >>>>> >>>>> You have label for that... Somehow all these nodes are half-baked, >>>>> without all the expected properties and now you call node name as ABI. >>>>> The node name is not the ABI. >>>> >>>> Well, existing userspace uses those names, and adding the properties >>>> would break that interface. Now, does Linux do that? >>> >>> I don't think you understood the concept. There is no change for >>> userspace. Same interface, same names. No ABI break. >> >> I do understand the impact very well: >> open("/sys/class/leds/user-led1-red") has to work for all the variants, >> consistently and backward-compatible for userspace. > > And it will. The name is the same. Nope, it's not - I tried that already :) root@iot2050-debian:~# ls -l /sys/class/leds/ total 0 lrwxrwxrwx 1 root root 0 Dec 19 09:49 green:indicator -> ../../devices/platform/leds/leds/green:indicator lrwxrwxrwx 1 root root 0 Dec 19 09:49 green:status -> ../../devices/platform/leds/leds/green:status lrwxrwxrwx 1 root root 0 Dec 19 09:49 mmc0:: -> ../../devices/platform/bus@100000/4fa0000.mmc/leds/mmc0:: lrwxrwxrwx 1 root root 0 Dec 19 09:49 mmc1:: -> ../../devices/platform/bus@100000/4f80000.mmc/leds/mmc1:: lrwxrwxrwx 1 root root 0 Dec 19 09:49 red:indicator -> ../../devices/platform/leds/leds/red:indicator lrwxrwxrwx 1 root root 0 Dec 19 09:49 red:indicator_1 -> ../../devices/platform/leds/leds/red:indicator_1 lrwxrwxrwx 1 root root 0 Dec 19 09:49 red:indicator_2 -> ../../devices/platform/leds/leds/red:indicator_2 lrwxrwxrwx 1 root root 0 Dec 19 09:49 red:status -> ../../devices/platform/leds/leds/red:status Jan -- Siemens AG, Technology Linux Expert Center