Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2116258rdf; Mon, 6 Nov 2023 05:19:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZHTepFEc9vfp9pu4julfVd3J5rLID1+3BbLmoGbR7FJovCm5Ntn5qhJGHGh+sEDMrXL/a X-Received: by 2002:a05:6a20:d404:b0:15c:cb69:8e64 with SMTP id il4-20020a056a20d40400b0015ccb698e64mr24317425pzb.25.1699276774629; Mon, 06 Nov 2023 05:19:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699276774; cv=none; d=google.com; s=arc-20160816; b=EVor/W4eR3qdRpswPkNgqnnXue6nYMsm+ejNs7yM5bJicvSTWdfOYqKmy+JLxj5Vzz Y+8u90MYnw650BpNqzjGSPuFUrXuJ2KoYhxbxTN1H6fWMBE1selE/22LzmKpPUtJ9tVw RFkrD9ywJqGhvPH7XIXjHUe6bQlLAvXGbtf5uOzLrt9wTqAR0kp8Qq+YaUGidIPMu6vk RlvI0I9rTsTO6KXLCY/GRbPu4dzEOfFtXs5Xz4v7XCzz8MGwU3nhnPchH/WHQhhnfy3Q Ngbetyfr54q/fFQoRQmP3QGGGYjYpYPL0CLXPUi9VFrP3uGkN1zEA7F0GynFOGJKripX jDvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=chBp0c2H1AOjgpm073E/0LSCNHycI9DtFBsa1gzati8=; fh=PUMuR1e1xP16l9U2N4au+7mkhlpA2SS3/qX15Rls3+8=; b=Fck9G7Ox3EaWjQhi4uW1gSpF76YtEP9afkUKTxDiVt7dyXzXJqJCjixsvaCoxcJK80 CN5HUqHO9RIiAJNayrtOjkQ5ssANZ6b2mXt8NnNgYNU69wIMccYdtPvrnUq7fepfVCVp RxJ76z43jDml5mwuvh1pSfHTX4Hf+OaMS9SgFj7F3rqWvyWRqJgM5zuk//lJLCmF1CPh ieBGO6EuKR36ZHxR89j8NmI5++YT8Ixo0WqfS4cDttvxLTQgvspx01cTHWUSrpbWn1Os qXfHsX/EmPfXxbiDVvy4mUJ9afWGhIlQIpGtgeN1hKwpndIPlNJcWQyK8GZBybmF7TUK Dddw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SEr3Of3R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id l10-20020a170902f68a00b001cc55bca838si8572751plg.576.2023.11.06.05.19.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 05:19:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SEr3Of3R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id A2BA980A8008; Mon, 6 Nov 2023 05:19:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232298AbjKFNTS (ORCPT + 99 others); Mon, 6 Nov 2023 08:19:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231924AbjKFNTQ (ORCPT ); Mon, 6 Nov 2023 08:19:16 -0500 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A18394; Mon, 6 Nov 2023 05:19:14 -0800 (PST) Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-6b2018a11efso4598203b3a.0; Mon, 06 Nov 2023 05:19:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699276754; x=1699881554; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=chBp0c2H1AOjgpm073E/0LSCNHycI9DtFBsa1gzati8=; b=SEr3Of3RGXMLwBoAgJ3DYl1yRA1Ee6Vqt9BiTHL4vLIDntPgqcdJuQ9OcXTqD0hgzp KbG1UBtV6d/h+JSG0F2LLnoay83krMwedPQ6abhYVzOjr8yNbweVSTKRxQ6PqKMYfUoR avUmrFAI3fpevv+dDzqdGj9LDIsI6eJePEQxEFPhnPNF2jhJUOCDOX3cMGAOxLNk7h3y XH9twf2lX3l4mQ02HVWLX1fF5IIkIPdIH+wa1T++yboS4S3ZgHWZ8B1JJOqLBJElO0+t gy4Paw9rqKFwRdExPu9+fMGqbmKO2ktpWB5TGZv5Lxa1nsOT5jvSVsgW3gSwkxBe/dqV ZvlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699276754; x=1699881554; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=chBp0c2H1AOjgpm073E/0LSCNHycI9DtFBsa1gzati8=; b=tsrHe2c45AcJ+kHrDbvqrhIMKaTcJVdRSzDO8Yz0f7mRDLOFVOiTSsTMMc31zERR5m KLInyoY21kHgNWnRaTnrvZMzRR5dC1FtVAw2amns0FamYMMv0W88j82VBkgExODWFmcu QSRr3cWbG1hb2L66FR7/m4mpx9xBwsEnksdrD2DqbmvzsgC4+Un/xWDpJLNlZj6/7n+/ CYPSFdbsM+K/QQPHV6SkQeBvQABFVUzI+HTOOPE/dnj4fVT1+vH8LZRNvejyfPSZjEMj 4PXfzgLCsPkpps/LZVRDMWWfQOo74bQRf6pqz6lpBU3FjgSlnkISJkr/KJ6n0Cmq11gA OHHA== X-Gm-Message-State: AOJu0Yy6S2pCVze+Im5ZM/G+tNhSX/tXGMrk+b8mtHJdeB6EDsKzuzzR hqjATrgTM7XYdOz2h83CAGo= X-Received: by 2002:a05:6a21:6da2:b0:17e:2afd:407b with SMTP id wl34-20020a056a216da200b0017e2afd407bmr38264150pzb.9.1699276753788; Mon, 06 Nov 2023 05:19:13 -0800 (PST) Received: from debian.me ([103.131.18.64]) by smtp.gmail.com with ESMTPSA id 13-20020a17090a004d00b0027782f611d1sm6096806pjb.36.2023.11.06.05.19.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 05:19:13 -0800 (PST) Received: by debian.me (Postfix, from userid 1000) id EB878815BAB0; Mon, 6 Nov 2023 20:19:08 +0700 (WIB) Date: Mon, 6 Nov 2023 20:19:08 +0700 From: Bagas Sanjaya To: Jean-Jacques Hiblot , Linux Kernel Mailing List , Linux Regressions , Linux LEDs Cc: Tim Crawford , Jeremy Soller , System76 Product Development , Lee Jones , Pavel Machek , Johannes =?utf-8?Q?Pen=C3=9Fel?= Subject: Re: Fwd: sysfs: cannot create duplicate filename .../system76_acpi::kbd_backlight/color Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mLSYxFe79vSgKXQn" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 groat.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 (groat.vger.email [0.0.0.0]); Mon, 06 Nov 2023 05:19:29 -0800 (PST) --mLSYxFe79vSgKXQn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 04, 2023 at 01:01:56PM +0100, Jean-Jacques Hiblot wrote: >=20 >=20 > 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 c7d80059b086c4986cd994a1973ec7a5d75f8e= ea, which introduces a new 'color' attribute for led sysfs class devices. T= he problem is that the system76-acpi platform driver tries to create the ex= act same sysfs attribute itself for the system76_acpi::kbd_backlight device= , leading to the conflict. For testing purposes, I've just rebuilt the kern= el with the system76-apci color attribute renamed to kb_color, and that fix= es the issue. > >=20 > > Jean-Jacques Hiblot, would you like to take a look on this regression, > > since you authored the culprit? > Hi, >=20 > 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. >=20 OK, see you in the patch! --=20 An old man doll... just what I always wanted! - Clara --mLSYxFe79vSgKXQn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCZUjnyAAKCRD2uYlJVVFO o00MAP46Ar3NgVvRankXk1V4h3zoLCr89KoQ1Lfibtd5doJaUQD/cn2uxDs4aSlz /9jB4eJEcHBWxonDhaWcpvJGoxYoRgw= =lEvF -----END PGP SIGNATURE----- --mLSYxFe79vSgKXQn--