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 8BFD3C61DA4 for ; Sat, 11 Feb 2023 08:37:58 +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 C89D583D; Sat, 11 Feb 2023 09:37:05 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C89D583D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1676104675; bh=S29BtDiBm4k96NjnbHsYlRNKd1LCGp7R18AHCLsxBNc=; h=Date:From:To:Subject:In-Reply-To:References:CC:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=MazcVJFDqRHFZtxBgVMbL5nDmzNSYGm++HjN9SmeP0E1vKxJn5onboNARiyOhXbn+ GyckLyanXPnhHARr/hJ2EGf4sjWgp4YbjnbvwsvkN4SQGZVMAzktOjPi9E4hLXI3uo VYh7XbyagjlXvFwrXCMaQgL554ri2+80FIR0eXV0= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 18254F800E4; Sat, 11 Feb 2023 09:36:40 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 32076F800E4; Sat, 11 Feb 2023 09:35:33 +0100 (CET) Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) (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 C3606F80094 for ; Sat, 11 Feb 2023 09:35:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C3606F80094 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=XK36eDyr; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=0ParIfZf Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 2AF9C336B1; Sat, 11 Feb 2023 08:35:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1676104526; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lYYbM+0K88ZfEa+fPiCpOondX4x4SsOQ3u8gjmVtKqw=; b=XK36eDyrE593l5T3J4SldZo0/jYEQGMme7ATKK1bn7wazY4CMPHDtBBD6DOoIayiySjYHi WFpXA2rNNQ/3tFbO4AuxZmzeaAsEUTNiBRk3t4yZX5YBPZsdJy018QXvKxVaKZ8NRC+lmL FtTWrG6A+OiI+bS3/iCL5HCsp3tIfAY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1676104526; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lYYbM+0K88ZfEa+fPiCpOondX4x4SsOQ3u8gjmVtKqw=; b=0ParIfZfEQyHZAh4roHsHmuH77U/u3/RcNolZWZkiiV4V58u4UUC6YX+BpbovUPyNkaKAR /9PVYmwGfn3TG3Bw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 0A60113A1F; Sat, 11 Feb 2023 08:35:26 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Op7BAU5T52N8DAAAMHmgww (envelope-from ); Sat, 11 Feb 2023 08:35:26 +0000 Date: Sat, 11 Feb 2023 09:35:25 +0100 Message-ID: <87zg9kha5u.wl-tiwai@suse.de> From: Takashi Iwai To: Mike FABIAN Subject: Re: No sound on HDMI by default on Lenovo T14s using Fedora 37 In-Reply-To: References: <87k01j6cw6.wl-tiwai@suse.de> <877cxj65s3.wl-tiwai@suse.de> <87zgaerfqv.wl-tiwai@suse.de> <87bkmtpft5.wl-tiwai@suse.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-2022-JP Message-ID-Hash: 3RNYY6XUBZIJFF2JPNYDH2AFTO2R6DRE X-Message-ID-Hash: 3RNYY6XUBZIJFF2JPNYDH2AFTO2R6DRE X-MailFrom: tiwai@suse.de 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 CC: alsa-devel@alsa-project.org, Takashi Iwai 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: On Sat, 11 Feb 2023 09:20:31 +0100, Mike FABIAN wrote: > > Now it suddenly stopped working again after a reboot although I did not > change anything with the module options. > > The output of alsa-info.sh for the non-working state I have now is > attached. Thanks. Through a quick glance, there is no significant difference between both outputs. > Takashi Iwai さんはかきました: > > > Please check /proc/asound/card0/eld#* (for the card number 0, as > > found in /proc/asound/cards as sof-hda-dsp). One of them should have > > a valid ELD entry. This is the first step. If no proper monitor and > > ELD is found in those, something wrong at the detection in the > > kernel. > > $ cat /proc/asound/card0/eld#2.21 > monitor_present 1 > eld_valid 1 > codec_pin_nid 0xc > codec_dev_id 0x1 > codec_cvt_nid 0x3 > monitor_name LG ULTRAFINE > connection_type DisplayPort > eld_version [0x2] CEA-861D or below > edid_version [0x3] CEA-861-B, C or D > manufacture_id 0x6d1e > product_id 0x5bc2 > port_id 0x0 > support_hdcp 0 > support_ai 0 > audio_sync_delay 0 > speakers [0x1] FL/FR > sad_count 1 > sad0_coding_type [0x1] LPCM > sad0_channels 2 > sad0_rates [0xe0] 32000 44100 48000 > sad0_bits [0xe0000] 16 20 24 > mfabian@hathi:~ > $ > > That is OK, right? Yes, looks so. > $ cat /proc/asound/cards > 0 [sofhdadsp ]: sof-hda-dsp - sof-hda-dsp > LENOVO-20WNS1F81R-ThinkPadT14sGen2i > 1 [USB ]: USB-Audio - ThinkPad Thunderbolt 3 Dock USB > Lenovo ThinkPad Thunderbolt 3 Dock USB at usb-0000:52:00.0-2.1.1.2, full speed This is fine. > > The next is to test aplay directly with the device. > > "aplay -L" will show the possible option, and you can try like > > > > % apaly -Dhdmi:CARD=xxx,DEV=x -vv foo.wav > > > > for a WAV file in a format matching with the supported device > > (typically 2 channel stereo 44.1kHz or 48kHz 16 or 32bit format). > > If this gets a busy error, stop wireplumber once during the test: > > % systemctl --user stop wireplumber > > % aplay .... > > % systemctl --user start wireplumber > > > > If the aplay test doesn't work, again, it means that there's something > > wrong in the kernel. > > $ file /usr/share/ibus-typing-booster/data/coin9.wav > /usr/share/ibus-typing-booster/data/coin9.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 44100 Hz > mfabian@hathi:~ > $ aplay -Dhdmi:CARD=sofhdadsp,DEV=0 -vv /usr/share/ibus-typing-booster/data/coin9.wav > ALSA lib conf.c:5671:(snd_config_expand) Unknown parameters CARD=sofhdadsp,DEV=0 > ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM hdmi:CARD=sofhdadsp,DEV=0 > aplay: main:831: audio open error: 無効な引数です > > I don’t know what that means. Check the output of "aplay -L". It'll list the possible device arguments. If you still get an error, try like % aplay -Dhw:0,3 -vv foo.wav thanks, Takashi