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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 9C957EB64D7 for ; Mon, 26 Jun 2023 10:56:59 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 7EAAD7F8; Mon, 26 Jun 2023 12:56:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7EAAD7F8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1687777012; bh=qUgAx6lNlwJITv/VT/xn5Dmy0wElRS5NZO3nAk7J2eI=; h=Date:To:From:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=f0aFF2/kD15xM5z6jsRXe5v8a2n48mgjGoGZ2NQYQIubekn29TLGJ+5s4BoTcbY1R JFHBkowyYPpRLUg5iirVP5HB9PG3X8mzLXEyGBTTYLl14ovYKzb3SOlQyFay4ISD9z gUC+nMG9A4NW5kDY8FA/J+9PzZJ5LJn6BX4jyep0= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9392AF8053B; Mon, 26 Jun 2023 12:55:41 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 1DF00F80093; Mon, 26 Jun 2023 12:55:41 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 921AEF80246; Mon, 26 Jun 2023 12:55:37 +0200 (CEST) Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 668CFF80093 for ; Mon, 26 Jun 2023 12:55:35 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 668CFF80093 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=mailbox.org header.i=@mailbox.org header.a=rsa-sha256 header.s=mail20150812 header.b=gS1DFhis Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4QqPrg2Fxjz9sSH for ; Mon, 26 Jun 2023 12:55:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1687776931; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LcpsA4D0QQ24CxFZCXLkOsAY+9lFdm4PKosQZNqxAvI=; b=gS1DFhisX+5UuLavBLdBzQcfc6NXa4BRmEQSYRDgPAUzMUkIGkWIJAR/jUvy3ekIgGgV2J fRgJi62sTXywKqrwlakk2SDdvzSPd3KgHzFJaOJ+LDThSEeHwid6ke/4H5XmWMp0EmF/zl gccAvCUi4K66kw3zDZEz4NVW+mv14a5EmTgkabbb4ZZsguu9zQHs8JI79+dLEmqCHPAlMb ZZferaGTT3EmKulEslzz4PzToBVO4OyuM7SGLw1IHeA0fGmwmGxZGk0UyXcaTBznjSkW5A Eo845yGChU7Z0auffXpKxkIdmSnZdjilDG+RRxo0JZuSg7NLiRNmv0lEz5aLWg== Message-ID: <500bdcb8-6a63-3086-02c6-e25cadccc017@mailbox.org> Date: Mon, 26 Jun 2023 12:55:30 +0200 MIME-Version: 1.0 To: alsa-devel@alsa-project.org Content-Language: en-US From: Carlos Rafael Giani Subject: udev attributes to detect compress-offload devices Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-MBO-RS-ID: 27e68e27c27850f925f X-MBO-RS-META: r5d4j4f4kykqbf3nm4ekghh3aiees4rm Message-ID-Hash: YIWLMUQL7MENOEK4MTXMFASCO2547BBP X-Message-ID-Hash: YIWLMUQL7MENOEK4MTXMFASCO2547BBP X-MailFrom: crg7475@mailbox.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Are there attributes in udev that allow for unambiguously detect a compress-offload device? Currently, I have the problem that I can't autodetect compress-offload devices reliably, because I see nothing in udev that identifies a device as such. The next best thing thus far has to be to rely on the /dev/snd/comprC*D* name. But, these device nodes can be renamed, can't they?