Bug 218155
Summary: | Logitech G510s keyboard - sysfs: cannot create duplicate filename .../leds/g15::kbd_backlight/color | ||
---|---|---|---|
Product: | Drivers | Reporter: | Arthur Borsboom (arthurborsboom) |
Component: | Input Devices | Assignee: | drivers_input-devices |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | jwrdegoede, lee.jones, tiwai |
Priority: | P3 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 6.6.1 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
Kernel log 6.6.1
Kernel log 6.6.3 |
Description
Arthur Borsboom
2023-11-17 13:20:08 UTC
We received a similar report for openSUSE Tumbleweed https://bugzilla.suse.com/show_bug.cgi?id=1217172 A workaround patch to rename the conflicting "color" sysfs entry of hid-lg-g15 driver was confirmed to work there. https://bugzilla.suse.com/attachment.cgi?id=870817 But I guess a better alternative would be to rather either removing or renaming the led class one instead, as the hid-lg-g15 driver has used its sysfs entry already for ages. FWIW, the culprit of the regression on 6.6 is the commit c7d80059b086c4986cd994a1973ec7a5d75f8eea leds: class: Store the color index in struct led_classdev It introduced "class" sysfs entry while the HID driver had already the same sysfs entry, and now it conflicts and resulted in the driver probe error. Adding Lee to Cc. (In reply to Takashi Iwai from comment #2) > It introduced "class" sysfs entry while the HID driver had already the same > sysfs entry, and now it conflicts and resulted in the driver probe error. s/"class"/"color"/ This is fixed by this patch: https://lore.kernel.org/linux-leds/20231121162359.9332-1-tiwai@suse.de/ This patch is on its way to Linus and should then also get added to the 6.6.y stable series. Nice, good to hear. I will report back when the patch should have landed in Arch Linux and fix the regression. The Logitech G510s keyboard regression is still present in 6.6.3. Created attachment 305520 [details]
Kernel log 6.6.3
I just noticed the fix pull request for kernel 6.7 https://lkml.org/lkml/2023/11/30/601 Shouldn't this contain a Fixes: tag and CC stable@... ? I confirm that the Logitech G510s keyboard regression is fixed in Arch kernel 6.6.5. |