Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26004267rwd; Mon, 3 Jul 2023 04:16:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlGEicCMqZPzQzd+SUCb7vnQygeJUTylkKF3zxm+XrYV4pyrSHZSk3vff7rpBS/ufFgQ+pUN X-Received: by 2002:a17:90b:2353:b0:263:931b:bb5f with SMTP id ms19-20020a17090b235300b00263931bbb5fmr5954824pjb.14.1688383003812; Mon, 03 Jul 2023 04:16:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688383003; cv=none; d=google.com; s=arc-20160816; b=wWKcfeUqpMFPSbJYcgvDBNIM7AuNYqJ5JcXhNiLnU1ZgBxwCxJAi7y+gHAQaDYdqUv fvsVl1wWr7Lon+2Ge8SO7x2nJJtu11MKl9BEmeDnd2mri3n3pg9EjhujJC5n9T83DEoL eNsmBoXqHco6g9BOeMqNoCKsmKZBoV2xqOV5N/7DFPcM2tMFFKAz2I438VbqzGceCp2B r3tLYU16nj31toXaDRIvMEZtsPcOtv74Vi6vqcDH8GIfplDJIlyK/7pgSIkTjJKPlTU3 u+Wi5eZE1fr15AQqmORGJU6hXWdzionw5WkwO+u/85lIky0i7W3be56VN/zM25yaGRnb emCA== 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=ixKZPqjMUtYmaa1DZf59STOffMkhoGUDgvvQ1w9gmxU=; fh=OIJBt4+ZDidUoKTk+CJaQz+0Z7z1wgo++DZ5rmFdRvI=; b=A5Gm1K4We9tq+F9v+bL1hwOXPy0GQej9ecPOIDOQ3xOa+mOyEQWKyMTZjhYQyI07us KdhvbwCvOtr8QbpI/WentsrAFrUGwqgw5X5SV7zFP5Tezf+MKasqp+bKLwwRk/8gAecZ PK+qfVTWe0d1hZrwdKQuP8LcoesddMjGSt9c381HP9PEvBO2cxij8Is0dqJC1wREELyf ZEjhnYwokV2nCGAoR68vzXjGLWBSILAGhvrNIz6TVWxaPcx0PDOgsE4j2mQQGHGhvqFS RL/tIErHsBgiwUYKPIWAr6aly15aCsvpjYlw8TocuBWOr+Coq7zmn1POpytlG3IpgOLl 6gLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pz0dwk4A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w20-20020a17090aea1400b0025bf45ac365si11976459pjy.82.2023.07.03.04.16.27; Mon, 03 Jul 2023 04:16:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pz0dwk4A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230338AbjGCKg2 (ORCPT + 99 others); Mon, 3 Jul 2023 06:36:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230171AbjGCKgZ (ORCPT ); Mon, 3 Jul 2023 06:36:25 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22CEFC7 for ; Mon, 3 Jul 2023 03:36:24 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-31427ddd3fbso2822672f8f.0 for ; Mon, 03 Jul 2023 03:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688380582; x=1690972582; 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=ixKZPqjMUtYmaa1DZf59STOffMkhoGUDgvvQ1w9gmxU=; b=pz0dwk4ABASU/bsaehINWP2hrWKMVGOli4cj08a0jsh3za/q/rasrg6XpxZRlZ/cc5 n1eawc3Rp+oltxx6Y/8NogISdO2UbMJ0JzROiR6FMN9/mmrXb27Ad+F3ch5UZ1lFS2oR BTuyqyz80hrUkr1a578tKS+0vAOAEq//koWS6aZIVyaeE21CAOlo8pqxWHuaduD0FojJ OM2HWmX0P0SFSgnlx+FVEX+P3tyni1cNBO06taAKgbzCK+fpjKyjhtQQnr9JjcVOSYTx +UW69hVXfDMnYDDkhi9OnDsQHBq3yfR8YpiXGwBCO4iSs1KvayYKZGz1FXjuKSQhaKmq 2Wkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688380582; x=1690972582; 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=ixKZPqjMUtYmaa1DZf59STOffMkhoGUDgvvQ1w9gmxU=; b=H3hyXWpfjBoDZh1SNqwElTBm0yI7VvgVQgikEwPEcY6PJQUSefHjKAEUZCeb3sMzPm NJoUeIW6kagsWDnlfL3khuJMoKSvcPJaN2fWv2gwLN+ErwKRihNfnilS9u8UKyE6NFUQ Vkyq2hIq5L408pAvX/sYIQaRbjnkIDdxXrLT6F0s6+lDrsOCZUJVY5ptfnV5OuNqEihS fbO+TfpEBlw5zI16ZjnyrYhPERx1UYRVFuB/8OzR08aH339pgDinspYX6ehf6weRzIZS b4Mj18zSbmdXjHlDHpEog34p8uAeR7PpLWaw0JsX/mvAnzg3csn9ZT0ZygBlvfHUnlIC nW5A== X-Gm-Message-State: ABy/qLZr52Mdmz733wqRq7+n1osAHD7x7GDJk86PmBAGOJLKTLEZrHKQ GhG3o6XWFwCbUPJ/ieQBRFwhhw== X-Received: by 2002:adf:cd87:0:b0:313:edaa:24fd with SMTP id q7-20020adfcd87000000b00313edaa24fdmr7691744wrj.21.1688380582578; Mon, 03 Jul 2023 03:36:22 -0700 (PDT) Received: from aspen.lan (aztw-34-b2-v4wan-166919-cust780.vm26.cable.virginm.net. [82.37.195.13]) by smtp.gmail.com with ESMTPSA id fa12-20020a05600c518c00b003fbb1ce274fsm10250195wmb.0.2023.07.03.03.36.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 03:36:21 -0700 (PDT) Date: Mon, 3 Jul 2023 11:36:20 +0100 From: Daniel Thompson To: Julius Zint Cc: Lee Jones , Jingoo Han , Helge Deller , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org Subject: Re: [PATCH 0/1] Backlight driver for the Apple Studio Display Message-ID: <20230703103620.GB4328@aspen.lan> References: <20230701120806.11812-1-julius@zint.sh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230701120806.11812-1-julius@zint.sh> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 01, 2023 at 02:08:02PM +0200, Julius Zint wrote: > I have been using and testing this as a DKMS for 6 months now without > any known issues. It bothers me, that it needs to be part of the > initramfs instead of just working out of the box. Maybe someone else > here knows, how to tell the USB HID driver, that this is not a HID device > and it should keep its fingers from it. If is says it is a HID device and is uses HID reports for control then it *is* a HID device! In other words you need your driver to register as a HID driver instead of sending raw HID frames using the USB stack. If you do that then the HID core infrastructure will ensure the right driver gets loaded (it has special logic to automatically unregister hid-generic and load the better driver as soon as one becomes available). Daniel.