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 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 059B6EB64D9 for ; Tue, 4 Jul 2023 18:07:34 +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 B48711D7; Tue, 4 Jul 2023 20:06:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B48711D7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1688494052; bh=CM++rz1PbRfywdn1gZCBikP/gK4AxB2huLNBauE/8CA=; h=From:To:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=q6FL8xmb57LZIu+DwfzO+bpHPiJ7gQ/KijPwKHyPZXHFeu3B/qcjCE/+M6yvScMuP +vWYUQHlxgNELecZpg0ZAIzXd+LmLUJIofXL4woDL4ZrUqY2d4SyGj9ejgM1s6ttvu /AzkHBn3S7tEJf35Un1WqNwFFCQP7KdHAZYCDl2o= Received: by alsa1.perex.cz (Postfix, from userid 50401) id B3181F80132; Tue, 4 Jul 2023 20:06:16 +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 432A9F80125; Tue, 4 Jul 2023 20:06:16 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1E79EF80125; Tue, 4 Jul 2023 20:06:13 +0200 (CEST) Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) (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 397F4F80104 for ; Tue, 4 Jul 2023 20:06:06 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 397F4F80104 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=ap2c.com header.i=@ap2c.com header.a=rsa-sha256 header.s=ap2cCom header.b=Y42Ge6nN Received: from 82-65-29-218.subs.proxad.net (unknown [IPv6:2a01:e0a:5ef:1450:250:fcff:fe42:7bed]) by smtp5-g21.free.fr (Postfix) with ESMTP id 55B115FFAF for ; Tue, 4 Jul 2023 20:06:07 +0200 (CEST) Received: from berkelium.ap2c.org (localhost [127.0.0.1]) by 82-65-29-218.subs.proxad.net (Postfix) with ESMTP id 1C5225E1 for ; Tue, 4 Jul 2023 20:06:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ap2c.com; s=ap2cCom; t=1688493966; bh=CM++rz1PbRfywdn1gZCBikP/gK4AxB2huLNBauE/8CA=; h=From:To:Subject:Date; b=Y42Ge6nNT9VnDaQNs9eSWTCRWoTgl21gOaxUfuUJT4vmodaykXPr8fjXPH0S8Z0yI bSLOuipoe47+Dy93aNHYqEnfh2w9zz2VRW2quAzMtWyULl+kD1AYSC50wfHi6tnVhO ZHfD6dXpPzNYqrhyXGPLq5flU+ciNqlyBltlxeEs= X-Virus-Scanned: amavisd-new at ap2c.org Received: from 82-65-29-218.subs.proxad.net ([127.0.0.1]) by berkelium.ap2c.org (berkelium.ap2c.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GIx-iVo1WtYi for ; Tue, 4 Jul 2023 20:06:05 +0200 (CEST) Received: from antimony.ap2c.org (unknown [IPv6:2a01:e0a:91b:86f0:eaee:9e47:2c1b:535]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by 82-65-29-218.subs.proxad.net (Postfix) with ESMTPSA for ; Tue, 4 Jul 2023 20:06:05 +0200 (CEST) From: =?ISO-8859-1?Q?Aur=E9lien?= To: alsa-devel@alsa-project.org Subject: Garbage returned while reading unused S/PDIF, A CM106 like sound card Date: Tue, 04 Jul 2023 20:06:04 +0200 Message-ID: <5962046.lOV4Wx5bFT@antimony.ap2c.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Message-ID-Hash: QOYEBYXS6QE5L3MCSETUCOPCFT4ROMDV X-Message-ID-Hash: QOYEBYXS6QE5L3MCSETUCOPCFT4ROMDV X-MailFrom: aurelien@ap2c.com 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: Hello,=20 I encounter troubles while using S/PDIF input on an CM106 like sound card=20 (vendor 0x0d8c, device 0x0102) when the remote device which is connected by= S/ PDIF to the sound card is powered off. In that case garbage data are reading from the S/PDIF rather than.. nothing It is really boring since this S/PDIF input is connected to the output=20 speakers and once the remote deviced is powered off it emits a really=20 disturbing sound. Since there is no input on the S/PDIF I guess that it could be a driver bug? If it's an hardware bug (I don't encounter the problem under windows..) is = it=20 possible to make a hack in order to distinguish between real data and noise= on=20 the S/PDIF input? Unfortunately this test is performed on an embedded device which runs linux= =20 5.16.17-sun50iw6. I don't know if this problem still occurs with newer alsa= =20 version. Thank you in advance for your help. Regards,=20 Aur=E9lien