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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 05837C4338F for ; Fri, 20 Aug 2021 14:11:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D2901601FD for ; Fri, 20 Aug 2021 14:11:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240733AbhHTOMD (ORCPT ); Fri, 20 Aug 2021 10:12:03 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:47184 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238242AbhHTOMC (ORCPT ); Fri, 20 Aug 2021 10:12:02 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 4387F221B1; Fri, 20 Aug 2021 14:11:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1629468683; 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=7GaTEj+nLF/pVbFBAQ7GIWL2RhL7o2Bafz4fFD/xuVc=; b=xlcfo1X/llIopFhO8nF3cEML2OB+0+axU1AAK+t6bi0E2+HNFCzIRpM+6ZnPnSY4ZDiBO7 BjLPMWs3aC+ccLT2qa7bbqYyF4ef9ViXq/Zkc766SH6TCt3AsFB87slQ1zb5K6S9fc/Pkh ZgXRgkthANGGrMVC4DnrLPmIntmEV94= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1629468683; 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=7GaTEj+nLF/pVbFBAQ7GIWL2RhL7o2Bafz4fFD/xuVc=; b=nHKlxCjBPoSxn63IMqxJzJPOr+5K5jcYmQPCgTvaFBiGqfqs5gaLeNFojymcW4c3GbasAC 3gnLSh8SheHjRaBg== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 38729A3B8B; Fri, 20 Aug 2021 14:11:23 +0000 (UTC) Date: Fri, 20 Aug 2021 16:11:23 +0200 Message-ID: From: Takashi Iwai To: Randy Dunlap Cc: alsa-devel@alsa-project.org, LKML Subject: Re: HDA codec problem In-Reply-To: <12443ca6-99dd-aea3-c35b-4c68ad0e0b31@infradead.org> References: <12bbf54b-3ef6-8fa8-37fc-5f1e8d134bba@infradead.org> <12443ca6-99dd-aea3-c35b-4c68ad0e0b31@infradead.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Also, just to be sure: did you install both pulseaudio and pipewire? They may conflict. Takashi