Cannon Lake PCH cAVS (ALC892) not detected by kernel driver
Pierre-Louis Bossart
pierre-louis.bossart at linux.intel.com
Sat Feb 12 20:42:28 CET 2022
On 2/12/22 05:33, dmummenschanz at web.de wrote:
> I did some more digging into the code to find out what goes boink.
> For comparison I took my wife's desktop wich has a Cannon Lake chipset
> as well along with a working a ALC892 AVS device.
>
> It seems there is a codec mask issue selected in the chip->bus struct.
> Inside the function
>
> static int azx_probe_continue(struct azx *chip)
>
> of hda_intel.c the bus->codec_mask on my wife's pc contains the integer
> value "5" and both ALC892 and the HDMI is found. On my device it is "4"
> and only the HDMI is found.
>
> /* create codec instances */
> if (bus->codec_mask) {
> err = azx_probe_codecs(chip, azx_max_codecs[chip->driver_type]);
> if (err < 0)
> goto out_free;
> }
>
> After forcing the falue before probing: "bus->codec_mask = 5;" the
> ALC892 is finally detected on my system and I have sound! alsa-info
> below: Please pardon the trash printk's in the log ;-)
>
> http://alsa-project.org/db/?f=057aac1a0e9591de3847dca5ebc424dd65c8a221
>
> I'll do some more digging into it next week but it would probably
> save tons of time if someone could point me is the right direction
> where to look further?
Adding Kai and Takashi, in case they haven't see this codec_mask issue.
I personally don't recall having seen this before.
More information about the Alsa-devel
mailing list