From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 40CDEC4725D for ; Fri, 19 Jan 2024 12:09:48 +0000 (UTC) Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.97.1) (envelope-from ) id 1rQngw-000000001pB-3wuY for kernelnewbies@archiver.kernel.org; Fri, 19 Jan 2024 07:09:46 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1rQnfF-000000008Gs-2Z9b for kernelnewbies@kernelnewbies.org; Fri, 19 Jan 2024 07:08:01 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id E0A5E5C0082; Fri, 19 Jan 2024 07:07:43 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 19 Jan 2024 07:07:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1705666063; x=1705752463; bh=mnGGenXu2b 1O7JRBVTh+ITUkHxbnwptR8dGoaSqAb9M=; b=TjEpprSyRu3+MlkgoPliYNeFbZ gVvnnqvg58XL40ewF/1PIJGyqcoMVKOmWpGNIOKMQnF924hd1FgdZ6I1+ZMcymNR bAxqE/j45SDXK4Sk/cp5kqX+ZWMZjgrZzdVW7EzxVgi3yI20pf3uVLF3WjOvcD8i UHwB5KrLTpji9ZXNkAXxvKbbrH33icdiK5pkBZ/eUVxDxfC8aGbFzuKLuDULCT/V buQm96Gk3XVzCKjCaxfR2ZRbURGwr4Pnw1vM9ArjWfAQtEWFqauHCbadeDHDZdkc RIuqNDUIexTdD7/R9XG4ctqNvGPX29+xX7q6aoP5M3HwMMltypqbGOlDFm3Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1705666063; x=1705752463; bh=mnGGenXu2b1O7JRBVTh+ITUkHxbn wptR8dGoaSqAb9M=; b=prkh04kWyDdfe80wAB1p1klTVfuFTb77E6+f3g+0MWzb kn53useQTkqVJWJJp2c/7tl5pmTyoc7b+SsW9U6kWsw6eSsO6uAnukiOr67/8SlM 3u4zWOaL1uP3hRL9CI6bbcBC8wSs01/ZrGJ/E96rOnNtwbCUWGjY6/be4k1bBOmj kQZj0hlvROl8iudu/56ymrXjmqQ944sxmRMnfr56Rgj/ipMpbKn9pg2FMdizNeLr QLtvfCfpZQQvORAcLJ58pzP41hYIfRP2sizxFovMKUF3LBMHxYNoXx2Qy/nfoSHy F2hjVvnKvmDk9PSCSjhr9mn6sKNyho7jPE8mb7RiZg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdektddgfeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvvefukfhfgggtuggjsehttd ertddttddvnecuhfhrohhmpefirhgvghcumffjuceoghhrvghgsehkrhhorghhrdgtohhm qeenucggtffrrghtthgvrhhnpeehgedvvedvleejuefgtdduudfhkeeltdeihfevjeekje euhfdtueefhffgheekteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehgrhgvgheskhhrohgrhhdrtghomh X-ME-Proxy: Feedback-ID: i787e41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 19 Jan 2024 07:07:43 -0500 (EST) Date: Fri, 19 Jan 2024 13:07:42 +0100 From: Greg KH To: Kirill Yatsenko Subject: Re: Generic USB LED HID driver Message-ID: <2024011912-flask-jawless-e8e4@gregkh> References: <2024011939-geologist-manual-8471@gregkh> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces+kernelnewbies=archiver.kernel.org@kernelnewbies.org On Fri, Jan 19, 2024 at 12:45:52PM +0100, Kirill Yatsenko wrote: > Hello Greg, > > Thanks for the suggestions! > Yes, it will be better to implement the communication from the userspace. > > However, I was curious if the kernel implements some generic LED HID > interface already, > without the need to write custom code. Similarly, as it's done for example > for the HID multitouch, > where the device only needs to report the correct report descriptor. I do not think there is a generic HID description yet, is there? If so, the kernel should support it, otherwise it is all vendor-specific stuff that belongs in userspace. thanks, greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies