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 X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0450C4338F for ; Sat, 21 Aug 2021 19:14:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 86F086023D for ; Sat, 21 Aug 2021 19:14:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230024AbhHUTOv (ORCPT ); Sat, 21 Aug 2021 15:14:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbhHUTOu (ORCPT ); Sat, 21 Aug 2021 15:14:50 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54812C061575 for ; Sat, 21 Aug 2021 12:14:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:References:Cc:To:From: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=N4q9WgqQeFeuuMy24N7bgAYr2tshBXp+VeO7mSioem8=; b=Q7Wn6+cOW//TIL0h720KsxS0GB XWiUYvIbFKh0vNX7P/TPBmZGChqt7IP9GU3Gr6TNGWUvjGumLAzR009RacPfQOCaKNEoL2o5hS06H n0CDBN1Xnbdk1OUZyAsiFbXRJG+JituvFWeZPV2VfZe7jVBkQUDrYdKRJUrfmHg90Z6gmNrSTUzGx mmppdohV/zSYq3dedO706P1KivVQ+MutyY1FAqopC4NabmmkvumfXDFFd2I7uLtdCUnTimKstj9Ch bayrdTo8uF9p6qKJ7X1nfUIlXUtckp2CZ/JJ7FufSn2WXBOrvI93xV95GytZOsD66sKk/7xDk5vW/ rmeOycDg==; Received: from [2601:1c0:6280:3f0::aa0b] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mHWRV-00D7ME-Gn; Sat, 21 Aug 2021 19:14:09 +0000 Subject: Re: HDA codec problem From: Randy Dunlap To: Takashi Iwai Cc: alsa-devel@alsa-project.org, LKML References: <12bbf54b-3ef6-8fa8-37fc-5f1e8d134bba@infradead.org> <12443ca6-99dd-aea3-c35b-4c68ad0e0b31@infradead.org> <775793c5-979a-169b-3634-e08e62284b36@infradead.org> Message-ID: <9bd68132-7a91-6a4e-79c2-8adacf016bb9@infradead.org> Date: Sat, 21 Aug 2021 12:14:07 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <775793c5-979a-169b-3634-e08e62284b36@infradead.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/20/21 7:43 AM, Randy Dunlap wrote: > On 8/20/21 7:11 AM, Takashi Iwai wrote: >> On Fri, 20 Aug 2021 15:54:51 +0200, >> Randy Dunlap wrote: >>> >>> On 8/19/21 11:44 PM, Takashi Iwai wrote: >>>> On Fri, 20 Aug 2021 07:08:34 +0200, >>>> Randy Dunlap wrote: >>>>> >>>>> Hi, >>>>> >>>>> I am having problems getting audio working on my computer: >>>>> >>>>> 00:1f.3 Audio device: Intel Corporation Device f1c8 >>>>> >>>>> I did an internet search that said that I would need 5.13 or later to >>>>> have support for this device. >>>> >>>> The above is Cometlake-H, and it pretty much depends on the machine >>>> configuration. >>>> >>>>> openSUSE 15.3 kernel 5.3.18-59.19-default says: >>>>> >>>>> snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC233: line_outs=1 (0x1b/0x0/0x0/0x0/0x0) type:line >>>>> snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) >>>>> snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0) >>>>> snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0 >>>>> snd_hda_codec_realtek hdaudioC0D0:    inputs: >>>>> snd_hda_codec_realtek hdaudioC0D0:      Mic=0x1a >>>>> snd_hda_codec_realtek hdaudioC0D0:      Mic=0x19 >>>>> >>>>> but produces no sound output. >>>> >>>> FWIW, openSUSE Leap 15.3 kernel is based on 5.3 but got tons of >>>> backports, hence its HD-audio part is almost equivalent with 5.13 or >>>> later kernel (except for the recently changed mute-LED handling -- >>>> which must be irrelevant with your problem). >>>> >>>> The above indicates that the codec is detected and set up.  The rest >>>> part is often some vendor-specific quirks.  For that, details are >>>> missing completely.  At best please give alsa-info.sh output (run the >>>> script with --no-upload and attach the output). >>>> >>> >>> Oh, of course. Now attached. >> >> I see that the Headphone mixer switch is off by some reason. >> But it should have been toggled by PulseAudio. >> >> You can test like: >>    amixer -c0 set "Headphone" unmute > > Simple mixer control 'Headphone',0 >   Capabilities: pvolume pswitch >   Playback channels: Front Left - Front Right >   Limits: Playback 0 - 87 >   Mono: >   Front Left: Playback 87 [100%] [0.00dB] [on] >   Front Right: Playback 87 [100%] [0.00dB] [on] > > >> Also, just to be sure: did you install both pulseaudio and pipewire? >> They may conflict. > > Yes. pipewire is now gone. > > Still no sound but I might need to restart... Rebooting didn't help any. I didn't know what to try next, so I did the easy thing: use Yast Sound to delete the device configuration and then reconfigure it. Fortunately that fixed it and the sound device is now working. I had not use Yast Sound to configure the device. Maybe pipewire did that automatically? although I never ran pipewire. Anyway, it is all good now. Thanks for your help. -- ~Randy