Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2230797rdb; Mon, 20 Nov 2023 05:55:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IGeGZFteTxGqq0cifWG5UnHkftYAlmBUo0BzCRr3Sjb7qLJl0hTdIA/Q6zllQHPFrGusyQ8 X-Received: by 2002:a05:6820:50b:b0:581:ff36:702b with SMTP id m11-20020a056820050b00b00581ff36702bmr9529480ooj.8.1700488520444; Mon, 20 Nov 2023 05:55:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700488520; cv=none; d=google.com; s=arc-20160816; b=jY7THU9iwlJqRzwgRTqEECxTTI8+XqRB/HyDY1I+d+i3weo3FeQ84UVq8A1EW2b8Ds twFdCYTEsDNSrRRjULP911s0qXW7d7lHmakh0v1te1YZkGsawL/gfayuQar0l+qSmWiK Mcei+ztGy9m0Q2cYrmsZF1Zx1dnCHnbxRnJF1neMMcX2UoSFKSVlkzStXA8k/+LswfBs 9Qq1VoC/2sv2acNVoGDkCFDAyzADWIKfigDsn85BZqXQ2TTLX/nsT+7+9jyN9yWsMHC2 N56YMmK+XQI31kQeZNiZiji7PIyzJmEdqLK89i2vLHc0wpuJUqEgzeyMaF51xVxG98rC igNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=CTYLP+h8hmQrs9+7usiM0wn1wk+0APnN9HJqgLk7Tnw=; fh=D5z8Bb3V8k/+4hQpPbHeyE2NfNxIOmWLAsHpRZPrwcE=; b=lY1TsntVm6WjPFRLUy0tQFE+yfOcquBihDOCCG6CE0ZPsE2VuZEQQTzGq7gxhH2KQt UzB3kLcjQ6c3+zeytMydXr1CF08+h/YfSHj0TXYEU/jzd2Tr+hPND8rNz3yfdiBeCywY cJg92PieZbqu7uq6n2YUamgH78XzK3hjpGru1qXIqWrBdFguw88Hbw7xsUjTYghS2YLH PFr4uETxTKVovsrN50G5SZ/UVLoyQcet+0c3aeCOoS47vPAAn5fpZRz8wlTCKfzmkJ+B 7XBCVMVZNd0i2OrAv54w3pMUiKgCZM7O1a8RUNm8wHYOa/OXqMFVvQbWPSR8ThHxK4yL QbJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=xu8zQ08b; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=sCk0B1Yw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id s202-20020a632cd3000000b005ab7b51ab5bsi7582422pgs.110.2023.11.20.05.55.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 05:55:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=xu8zQ08b; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=sCk0B1Yw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id F2DB780A9A9C; Mon, 20 Nov 2023 05:55:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233442AbjKTNyf (ORCPT + 99 others); Mon, 20 Nov 2023 08:54:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233672AbjKTNyS (ORCPT ); Mon, 20 Nov 2023 08:54:18 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D23CFD7D; Mon, 20 Nov 2023 05:53:53 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 78996218CE; Mon, 20 Nov 2023 13:53:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1700488432; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CTYLP+h8hmQrs9+7usiM0wn1wk+0APnN9HJqgLk7Tnw=; b=xu8zQ08b/CDnUNoWT9YB7z0JQDB2+QUTSb/Sr4QNpAt3bskAMSh5hu0eQc8ulSQUSc0N90 54+U5UfKmwnnUZlbpv6W5/XHRIKoUhU3C6Y+adPyTg8k7byXQIHj+NjuWu/YMqvI5QYjCu 9DhjJIvWVB4vw1ErUEEzjdtGqtzxxus= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1700488432; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CTYLP+h8hmQrs9+7usiM0wn1wk+0APnN9HJqgLk7Tnw=; b=sCk0B1YwcnrFdjDaEAE3GcyGtQRt2vlOZn+mkOLJtmLBVGGImPgrS87UXBJAv7MqCOwlXl 8mp334lh/fcDmZCA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3328913499; Mon, 20 Nov 2023 13:53:52 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id WGZ8C/BkW2VkDQAAMHmgww (envelope-from ); Mon, 20 Nov 2023 13:53:52 +0000 Date: Mon, 20 Nov 2023 14:53:51 +0100 Message-ID: <87sf50pm34.wl-tiwai@suse.de> From: Takashi Iwai To: Jean-Jacques Hiblot Cc: Bagas Sanjaya , Linux Kernel Mailing List , Linux Regressions , Linux LEDs , Tim Crawford , Jeremy Soller , System76 Product Development , Lee Jones , Pavel Machek , Johannes =?ISO-8859-1?Q?Pe?= =?ISO-8859-1?Q?n=DFel?= Subject: Re: Fwd: sysfs: cannot create duplicate filename .../system76_acpi::kbd_backlight/color In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Authentication-Results: smtp-out1.suse.de; none X-Spam-Level: X-Spam-Score: 0.30 X-Spamd-Result: default: False [0.30 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; BAYES_HAM(-0.90)[86.01%]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.20)[-1.000]; RCPT_COUNT_SEVEN(0.00)[11]; MID_CONTAINS_FROM(1.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[gmail.com,vger.kernel.org,lists.linux.dev,system76.com,kernel.org,ucw.cz]; RCVD_COUNT_TWO(0.00)[2]; SUSPICIOUS_RECIPS(1.50)[] X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 20 Nov 2023 05:55:14 -0800 (PST) On Mon, 06 Nov 2023 14:19:08 +0100, Bagas Sanjaya wrote: > > On Sat, Nov 04, 2023 at 01:01:56PM +0100, Jean-Jacques Hiblot wrote: > > > > > > On 29/10/2023 02:48, Bagas Sanjaya wrote: > > > On Thu, Oct 26, 2023 at 02:55:06PM +0700, Bagas Sanjaya wrote: > > > > The culprit seems to be commit c7d80059b086c4986cd994a1973ec7a5d75f8eea, which introduces a new 'color' attribute for led sysfs class devices. The problem is that the system76-acpi platform driver tries to create the exact same sysfs attribute itself for the system76_acpi::kbd_backlight device, leading to the conflict. For testing purposes, I've just rebuilt the kernel with the system76-apci color attribute renamed to kb_color, and that fixes the issue. > > > > > > Jean-Jacques Hiblot, would you like to take a look on this regression, > > > since you authored the culprit? > > Hi, > > > > The offending commit stores the color in struct led_classdev and exposes it > > via sysfs. It was part of a series that create a RGB leds from multiple > > single-color LEDs. for this series, we need the color information but we > > don't really need to expose it it via sysfs. In order to fix the issue, we > > can remove the 'color' attribute from the sysfs. > > > > OK, see you in the patch! Is there a patch available? This bug hits for a few Logitech keyboard models, too, and it makes 6.6 kernel unsable for them, as hid-lg-g15 driver probe fails due to this bug: https://bugzilla.kernel.org/show_bug.cgi?id=218155 We need a quick fix for 6.6.x. Thanks! Takashi