Bug 208555 - No sound from speakers using Realtek ALC287
Summary: No sound from speakers using Realtek ALC287
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-14 19:42 UTC by pyronavi
Modified: 2021-04-13 15:51 UTC (History)
49 users (show)

See Also:
Kernel Version: 5.7.9
Tree: Mainline
Regression: No


Attachments
Top half of top level audio level (116.08 KB, image/jpeg)
2020-09-13 18:13 UTC, Cameron
Details
bottom half of the top level audio menu (107.18 KB, image/jpeg)
2020-09-13 18:13 UTC, Cameron
Details
Me too, but this may help (645 bytes, text/plain)
2021-03-09 20:38 UTC, Ian
Details

Description pyronavi 2020-07-14 19:42:17 UTC
I get no sound via the speakers of my Lenovo Legion 7i laptop, which alsamixer tells me is using a Realtek ALC287.

I have tried various Linux distros and kernel combinations, including Ubuntu 16.04, 18.04, and 20.04, with both the default and mainline kernels (5.7.x & 5.8.x), and Manjaro with 5.6.x, 5.7.x and 5.8.x kernels.

In each case, I made sure to disable Auto-Mute in alsamixer, and turn all volume levels to maximum. In all cases, I get no sounds from the speakers (running speaker-test, playing music, etc.). I *am* able to get sound via headphones and HDMI (though I believe HDMI is via a different sound card).

Also, I can see that there is some kind of sound activity occurring when I look at pavucontrol (the reddish-orange bar that indicates a sound is playing), but there is no actual sound produced from the speakers.

My alsa-info.sh results (from Manjaro on 5.6.15) are here:

http://alsa-project.org/db/?f=ba86fe76a9d9cf1cced56600edf82eb206a36a72

I am happy to run the script again (or any other tool) from a different distro/kernel combination, please just let me know what would be helpful.
Comment 1 pyronavi 2020-07-18 19:13:51 UTC
Update using more recent kernel:

http://alsa-project.org/db/?f=4272343a3590cc08f192f98113dedfc0418afe52

In order to provide better information, I have run alsa-info.sh from Ubuntu 20.04 running the latest mainline kernel 5.7.9-050709-generic. I have also updated the "Kernel Version" field in this bug report to reflect this.
Comment 2 pyronavi 2020-07-18 20:28:36 UTC
I also tried with kernel 5.8.0-050800rc5-generic. Same result, no sound via speakers.
Comment 3 Guido 2020-07-30 20:58:01 UTC
I can confirm, same thing is happening to me, using manjaro with kernel 5.6.19-2-MANJARO
Comment 4 Cameron 2020-08-07 21:16:58 UTC
Can confirm here with Kubuntu 20.04 with kernel 5.4.0-40-generic and kernel 5.7.14... Sound works through head phones (using either bluetooth or a analog 3.5 mm cable). I did notice that playback via bluetooth stopped once... After putting the laptop to sleep then waking it back up, audio via bluetooth resumed.

I do not know if I am able to get audio via HDMI, I'm unsure how to use that setting (or is an external HDMI monitor needed for that?).
Comment 5 Ryan 2020-08-20 05:54:41 UTC
+1 for this on Manjaro with kernel 5.7.14.
Comment 6 contact 2020-08-31 00:05:23 UTC
Same issue.
I tested Manjaro with kernel 5.8.4.
Also tested Mint 20 with kernel 5.4.0-42, Ubuntu 20.04, Fedora 32 and PopOS.
Working with 3.5mm audio jack, bluetooth and docking station on USB-C.
Comment 7 Cameron 2020-08-31 00:12:46 UTC
Is everyone experiencing this on machines other than the Lenovo Legion 7i? Or is everyone on this same machine so far?
Comment 8 contact 2020-08-31 11:42:29 UTC
Forgot to mentioned it, Legion 7i for me.
Comment 9 Vincent Tavernier 2020-08-31 12:58:36 UTC
Experiencing this issue (no sound on speakers, but headphones and other outputs work fine) on a Legion 7i too on my side, on Fedora 32, kernel 5.8.4-200.fc32.x86_64.
Comment 10 Fab 2020-09-09 13:29:23 UTC
I have the exact same issue on Linux version 5.4.0-47-generic (buildd@lcy01-amd64-014) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)), with Lenovo Legion 7 81YT. I tried the same things as everybody else and could not get these speakers to work. I am a bit confused because some specs I found online for the the Legion 7 mention ALC 3306 -https://psref.lenovo.com/syspool/Sys/PDF/Legion/Lenovo_Legion_7_15IMHg05/Lenovo_Legion_7_15IMHg05_Spec.pdf (could not find any driver related to it) Vs ALC 287 identified by alsamixer. Speakers work just fine on Windows 10.
Comment 11 kernel.org 2020-09-13 10:15:01 UTC
(In reply to Cameron from comment #7)
> Is everyone experiencing this on machines other than the Lenovo Legion 7i?
> Or is everyone on this same machine so far?

My issues are also present on Legion 7i (Legion 7-15IMH05 Type 81YT).

Here is my alsa-info: http://alsa-project.org/db/?f=f74d2b20683de3bc0daab8c4740f34a66955ba70

A notable thing is that i *DID* have speaker audio for a couple of weeks (headphones have  always worked), until it suddenly stopped working again. My guess is that there might have been regression due to some package being updated but I could not find any meaningful culprit. 

I can paste the hidden BIOS HD audio settings for this configuration if that's of any use.

Kernel is 5.4.0-47-generic #51-Ubuntu SMP Fri Sep 4 19:50:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.1 LTS
Comment 12 pyronavi 2020-09-13 14:53:28 UTC
(In reply to kernel.org from comment #11)
> (In reply to Cameron from comment #7)
> > Is everyone experiencing this on machines other than the Lenovo Legion 7i?
> > Or is everyone on this same machine so far?
> 
> My issues are also present on Legion 7i (Legion 7-15IMH05 Type 81YT).
> 
> Here is my alsa-info:
> http://alsa-project.org/db/?f=f74d2b20683de3bc0daab8c4740f34a66955ba70
> 
> A notable thing is that i *DID* have speaker audio for a couple of weeks
> (headphones have  always worked), until it suddenly stopped working again.
> My guess is that there might have been regression due to some package being
> updated but I could not find any meaningful culprit. 
> 
> I can paste the hidden BIOS HD audio settings for this configuration if
> that's of any use.
> 
> Kernel is 5.4.0-47-generic #51-Ubuntu SMP Fri Sep 4 19:50:52 UTC 2020 x86_64
> x86_64 x86_64 GNU/Linux
> 
> Distributor ID:       Ubuntu
> Description:  Ubuntu 20.04.1 LTS

Do you have any details for the time period that you did have sound? Was it a fresh install of Ubuntu 20.04.1? Did you allow internet updates during install? If you still have the ISO you used, I'd also like to confirm the hash of the file. If we can reproduce it, we'll be a lot closer to a solution.
Comment 13 pyronavi 2020-09-13 14:54:26 UTC
Also, regarding the advanced BIOS settings, there are several sound modes you switch the laptop into.

I tried a few but didn't get anything to work. I'm not very knowledgeable in this area though.

Accessing advanced BIOS is documented here:

>Advanced BIOS options can be accessed by going into more settings, hold down
>Fn and press each key horizontally from q to p, a to l, then z to m, let go of
>Fn and press F10. Click save changes and reboot into BIOS. Advanced settings
>will now be available.

https://wiki.archlinux.org/index.php/Lenovo_Legion_7i
Comment 14 Cameron 2020-09-13 18:09:44 UTC
For convenience, here's how to navigate to the audio settings under the advanced BIOS settings:
Advanced -> PCH-IO -> HD Audio Configuration

I going to attach pictures showing the top level Audio menu. There's quite a bit more settings under the sub-menus though.

It's worth mentioning that in my experience that many settings available under the advance BIOS settings do not seem to work. I haven't tried any of the audio settings yet (and there are quite a few), but in general many settings probably only apply to certain models of laptop aside from the Legion 7i. Presumably at least some of the audio settings should work though.
Comment 15 Cameron 2020-09-13 18:13:16 UTC
Created attachment 292497 [details]
Top half of top level audio level
Comment 16 Cameron 2020-09-13 18:13:45 UTC
Created attachment 292499 [details]
bottom half of the top level audio menu
Comment 17 Cameron 2020-09-14 19:41:14 UTC
About how long have you had your Legion? I've had mine since August 6th IIRC, and I've always had this problem. Could help narrow down the window.

Could this be possibly related to a BIOS update?

> A notable thing is that i *DID* have speaker audio for a couple of weeks
> (headphones have  always worked), until it suddenly stopped working again.
> My guess is that there might have been regression due to some package being
> updated but I could not find any meaningful culprit.
Comment 18 kernel.org 2020-09-14 20:10:22 UTC
(In reply to Cameron from comment #17)
> About how long have you had your Legion? I've had mine since August 6th
> IIRC, and I've always had this problem. Could help narrow down the window.
> 
> Could this be possibly related to a BIOS update?
> 
> > A notable thing is that i *DID* have speaker audio for a couple of weeks
> > (headphones have  always worked), until it suddenly stopped working again.
> > My guess is that there might have been regression due to some package being
> > updated but I could not find any meaningful culprit.

I got mine in the beginning of August. Updated immediately to 2.02 BIOS.

I had already prepared for not having sound as I had read the Arch Wiki page, and was really struck with a surprise as one day after playing with merely the ubuntu sound settings (fiddling with system sound volume) the speakers suddenly started working. I did not make any notes of the occasion as I assumed there might have been a recent kernel or some other package update, and did not expect any regressions to occur. But they did a couple of weeks later and that's when I found this ticket for ALC287.

What makes tracking this down a bit trickier than just booting with earlier kernel packages is that I have fiddled with both alsa and pulse on the system (e.g. tried different kernel module options for snd-hda-intel) so my working state was never a vanilla install with some updates. I will nevertheless try to get back to a working configuration with some kernel and report back.
Comment 19 Cameron 2020-09-14 20:31:04 UTC
I immediately upgraded to 2.02 as well... But tried reverting to the previous version (2.01 probably?) to test something unrelated. That didn't fix my issues.

Anyway, might be worth looking at /var/log/dpkg.log* to see what had been installed/updated around that time frame. I've skimmed through and so far the only thing that stands out are some pulse audio updates on July 23rd. So unless you don't update frequently, that's probably not it.

> What makes tracking this down a bit trickier than just booting with earlier
> kernel packages is that I have fiddled with both alsa and pulse on the
> system (e.g. tried different kernel module options for snd-hda-intel) so my
> working state was never a vanilla install with some updates. I will
> nevertheless try to get back to a working configuration with some kernel and
> report back.
Comment 20 bno1 2020-09-24 11:43:27 UTC
I'm having the same issue on a Lenovo Legion 7-15IMHg05. I just got it this week (22nd september) and installed Arch Linux on it straight away. I tried fiddling with alsamixer and pavucontrol settings, no change. I tried different kernel packages (linux 5.8.10, linux-lts 5.4.66, linux-xanmod 5.8.10/11), no dice. I did  not update the BIOS yet and the current version is "E9CN32WW(V2.00)", so this probably rules out a BIOS regression.

My alsa-info: http://alsa-project.org/db/?f=60beb004225ca38c49bb6a1495e6cd713a1a4f1e

I did not test the laptop with Windows yet, but I will try to do this soon.
Comment 21 pyronavi 2020-09-26 02:38:45 UTC
Perhaps there is a way to force ALSA to recognize the card as an ALC3306. As Fab mentioned, the specs do seem to indicate that as the sound device.
Comment 22 Cameron 2020-09-26 04:15:05 UTC
Did you find this in the documentation? I haven't found any references 
to ALC3306 on my system

Doing a quick search for ALC3306, the only references that come up are 
for the Lenovo Legion 7 and the Yoga Slim 7.  The ALC3306 seems to be 
pretty uncommon and pretty new.

Doing a bit of research, sounds like audio works on the Yoga Slim 7. 
Possibly a red herring..?

On 9/25/20 7:38 PM, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> --- Comment #21 from pyronavi@gmail.com ---
> Perhaps there is a way to force ALSA to recognize the card as an ALC3306. As
> Fab mentioned, the specs do seem to indicate that as the sound device.
>
Comment 23 pyronavi 2020-09-26 14:43:15 UTC
(In reply to Cameron from comment #22)
> Did you find this in the documentation? I haven't found any references 
> to ALC3306 on my system
> 
> Doing a quick search for ALC3306, the only references that come up are 
> for the Lenovo Legion 7 and the Yoga Slim 7.  The ALC3306 seems to be 
> pretty uncommon and pretty new.
> 
> Doing a bit of research, sounds like audio works on the Yoga Slim 7. 
> Possibly a red herring..?
> 
> On 9/25/20 7:38 PM, bugzilla-daemon@bugzilla.kernel.org wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=208555
> >
> > --- Comment #21 from pyronavi@gmail.com ---
> > Perhaps there is a way to force ALSA to recognize the card as an ALC3306.
> As
> > Fab mentioned, the specs do seem to indicate that as the sound device.
> >

My mistake. I must have seen "Legion 7" and mistaken it for the 7i.

Also, I have just sent an email to the members of the ALSA team. Hopefully someone will reply soon.
Comment 24 bno1 2020-09-26 18:34:46 UTC
> I did not test the laptop with Windows yet, but I will try to do this soon.

Tested now, it works fine on Windows. I also updated the bios to E9CN58WW(V4.03), still doesn't work on Linux.
Comment 25 Cameron 2020-09-26 19:25:47 UTC
I think the 7 and 7i are the same. In the case of the Legion 5/5i, the i 
differentiates between the AMD and Intel versions. However, I believe 
there's still no plans to make an AMD version of the Legion 7.

My point was that sound seems to work on the Yoga 7 under Linux, which 
also has the ALC3306 so maybe it's not related to the ALC3306 codec.

On 9/26/2020 7:43 AM, bugzilla-daemon@bugzilla.kernel.org wrote:
> My mistake. I must have seen "Legion 7" and mistaken it for the 7i.
Comment 26 eadali 2020-10-13 08:33:05 UTC
I am having same issue with Lenovo Legion 7. Another friend that use the same laptop also having that problem too. I hope they can fix this issue.
Comment 27 Fodor Zoltan 2020-10-30 18:06:46 UTC
I am also facing same issue on Ubuntu 20.04 with Legion 7i. Never worked on Linux. 

Alsa info http://alsa-project.org/db/?f=286348226d62d73c2aa3987794adfde7ef78095e
Linux archy-Lenovo-Legion-7-15IMHg05 5.9.2-050902-generic #202010290646 SMP Thu Oct 29 11:11:09 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Comment 28 Joe 2020-11-14 20:18:33 UTC
have same problem. yoga 7i.  have tried numerous kernels and distros.
Comment 29 pmensik 2020-11-19 16:35:35 UTC
I can confirm that the same problem is happening on Ubuntu 18.04 with Lenovo Legion 7, I would be really grateful for the fix.
Comment 30 Cameron 2020-11-19 17:41:33 UTC
Kubuntu 20.10 still has the same problem. Both with the vendor kernel, 5.8.18, and through 5.9.9.
Comment 31 Guido 2020-11-23 16:16:13 UTC
Tried on Pop_OS! with kernel 5.8.0 with same result. 
Is there anything we can do to help for this to be prioritized? I really want to get rid of that awful windows partition :/
Comment 32 Gorgo 2020-11-24 12:35:41 UTC
I'm abount to buy a Legion 7 but this problem worries me a bit. Any chance to have audio on Linux?
Comment 33 Cameron 2020-11-24 16:07:06 UTC
(In reply to gorghino from comment #32)
> I'm abount to buy a Legion 7 but this problem worries me a bit. Any chance
> to have audio on Linux?

If Linux is important to you, I would absolutely avoid this laptop. There seems to be zero interest in having this issue fixed I'm afraid.
Comment 34 Gorgo 2020-11-24 16:19:39 UTC
(In reply to Cameron from comment #33)
> (In reply to gorghino from comment #32)
> > I'm abount to buy a Legion 7 but this problem worries me a bit. Any chance
> > to have audio on Linux?
> 
> If Linux is important to you, I would absolutely avoid this laptop. There
> seems to be zero interest in having this issue fixed I'm afraid.

Well, the bug has been assigned to Jaroslav Kysela even if it's still not critical (are we too few?). Did you try to contact him for debugging?
Here(https://unix.stackexchange.com/questions/611530/how-can-i-get-my-unsupported-sound-card-to-work-with-alsa) and here (https://www.alsa-project.org/wiki/Help_To_Debug_Intel_HDA) there are some hints to start debugging the codec. I'd do it myself but I haven't bought it (yet? :D)
Comment 35 Gorgo 2020-11-24 17:46:37 UTC
Plus, are you sure that the Legion 7 15IMHg05 works with ALC287? PSREF from Lenovo website reports ALC3306 that is actually missing in sound/pci/hda/patch_realtek.c
Comment 36 Cameron 2020-11-24 19:49:26 UTC
I came across this today:
https://github.com/alsa-project/alsa-lib/issues/76

The last posts suggests that "amplifier chips for the integrated speakers" might be in use here which need to potentially initialized. That could explain why 3.5mm and bluetooth audio work: They don't need any such initialization.
Comment 37 Gorgo 2020-11-24 23:38:08 UTC
I guess perexg is Jaroslav Kysela though. (His email is perex[at]perex.cz) :)
@perex Any progress so far? I emailed kailang[at]realtek.com who actively commits on the kernel mainline with realtek updates.
Comment 38 blairduncan10 2020-12-15 16:37:50 UTC
Same problem for me on Legion 7i with Manjaro.
Comment 39 darnellkeithj 2020-12-16 01:44:23 UTC
Same here. No Audio from the speakers. I've tried multiple distros and upgrading to the latest 5.10 kernel. I'm using Lenovo Yoga Duet 7i
Comment 40 perish25 2020-12-18 04:46:15 UTC
Same here, Ubuntu 18.04, Lenovo Legion 7i, kernel v5.3, sound chip Realtek ACL287
Comment 41 Max 2020-12-20 19:58:40 UTC
Ubuntu 20.04, Legion 7i, the same issue with no sound from speakers
Comment 42 darnellkeithj 2020-12-20 21:00:44 UTC
I left Ubuntu for ArcoLinux and sound works. I installed their LTS Linux kernel and Intel microcode and sound came out of the left speaker only. Then, Lenovo pushed a firmware update this morning and sound works in both speakers. I don't know why an Arch fresh install works but the "easy windows conversion Linux OS" doesn't.
Comment 43 Jaroslav Kysela 2020-12-20 21:04:51 UTC
Guys, don't spam me (e-mail).

I don't have the detailed information about your hardware and it seems that the hardware vendors are using the amplifier chips for the integrated speakers on recent hardware which must be initialized, too. The linux support depends on the BIOS initialization (if any) at the moment.

The HDA codec setup in first comments for Legion 7i looks fine, but Realtek use many hidden (undocumented) registers to set some configuration parameters and may be some other chips (amplifiers) behind.

Contact Lenovo, if you can, for help (BIOS - Linux support). They are supporting more the non-gaming hardware in Linux (ThinkPad/ThinkStation series).

Also, adding David Ober from Lenovo to Cc.
Comment 44 Cameron 2020-12-20 23:47:14 UTC
(In reply to darnellkeithj from comment #42)
> I left Ubuntu for ArcoLinux and sound works. I installed their LTS Linux
> kernel and Intel microcode and sound came out of the left speaker only.
> Then, Lenovo pushed a firmware update this morning and sound works in both
> speakers. I don't know why an Arch fresh install works but the "easy windows
> conversion Linux OS" doesn't.

I downloaded the latest ISO and running it from USB with the latest BIOS update, sound still doesn't work at all for me. But maybe that's because their live image doesn't have the latest LTS kernel, firmware, microcode, etc?

With the latest BIOS, sound still doesn't for me under Kubuntu 20.10.
Comment 45 Cameron 2020-12-21 00:26:54 UTC
Seems the latest BIOS (E9CN60WW/v4.05) broke sound completely. I couldn't even get audio over my bluetooth speaker. Reverting back fixed it for me, however.
Comment 46 darnellkeithj 2020-12-21 01:50:03 UTC
(In reply to Cameron from comment #44)
> (In reply to darnellkeithj from comment #42)
> > I left Ubuntu for ArcoLinux and sound works. I installed their LTS Linux
> > kernel and Intel microcode and sound came out of the left speaker only.
> > Then, Lenovo pushed a firmware update this morning and sound works in both
> > speakers. I don't know why an Arch fresh install works but the "easy
> windows
> > conversion Linux OS" doesn't.
> 
> I downloaded the latest ISO and running it from USB with the latest BIOS
> update, sound still doesn't work at all for me. But maybe that's because
> their live image doesn't have the latest LTS kernel, firmware, microcode,
> etc?
> 
> With the latest BIOS, sound still doesn't for me under Kubuntu 20.10.

I can confirm that if you "install" or dual boot Arcolinux that sound will work. I just did a reinstall not less than an hour ago. Sound doesn't work from the live USB but will work if you install Arcolinux with the LTS kernel. However, I'm using the Yoga Duet 7i.
Comment 47 darnellkeithj 2020-12-21 01:55:05 UTC
(In reply to darnellkeithj from comment #46)
> (In reply to Cameron from comment #44)
> > (In reply to darnellkeithj from comment #42)
> > > I left Ubuntu for ArcoLinux and sound works. I installed their LTS Linux
> > > kernel and Intel microcode and sound came out of the left speaker only.
> > > Then, Lenovo pushed a firmware update this morning and sound works in
> both
> > > speakers. I don't know why an Arch fresh install works but the "easy
> > windows
> > > conversion Linux OS" doesn't.
> > 
> > I downloaded the latest ISO and running it from USB with the latest BIOS
> > update, sound still doesn't work at all for me. But maybe that's because
> > their live image doesn't have the latest LTS kernel, firmware, microcode,
> > etc?
> > 
> > With the latest BIOS, sound still doesn't for me under Kubuntu 20.10.
> 
> I can confirm that if you "install" or dual boot Arcolinux that sound will
> work. I just did a reinstall not less than an hour ago to make sure. Sound
> doesn't work from the live USB but will work if you install to hardware "with
> the LTS kernel". 
I'm using the Yoga Duet 7i and I don't know what the difference is between the LTS Kernel with Arch and Ubuntu's LTS version - but devs should be able to tell us pretty quickly.
Comment 48 Cameron 2020-12-21 02:08:49 UTC
On a related note, can you share the output of "uname -r"?

On 12/20/20 5:55 PM, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> --- Comment #47 from darnellkeithj@gmail.com ---
> (In reply to darnellkeithj from comment #46)
>> (In reply to Cameron from comment #44)
>>> (In reply to darnellkeithj from comment #42)
>>>> I left Ubuntu for ArcoLinux and sound works. I installed their LTS Linux
>>>> kernel and Intel microcode and sound came out of the left speaker only.
>>>> Then, Lenovo pushed a firmware update this morning and sound works in
>> both
>>>> speakers. I don't know why an Arch fresh install works but the "easy
>>> windows
>>>> conversion Linux OS" doesn't.
>>> I downloaded the latest ISO and running it from USB with the latest BIOS
>>> update, sound still doesn't work at all for me. But maybe that's because
>>> their live image doesn't have the latest LTS kernel, firmware, microcode,
>>> etc?
>>>
>>> With the latest BIOS, sound still doesn't for me under Kubuntu 20.10.
>> I can confirm that if you "install" or dual boot Arcolinux that sound will
>> work. I just did a reinstall not less than an hour ago to make sure. Sound
>> doesn't work from the live USB but will work if you install to hardware
>> "with
>> the LTS kernel".
> I'm using the Yoga Duet 7i and I don't know what the difference is between
> the
> LTS Kernel with Arch and Ubuntu's LTS version - but devs should be able to
> tell
> us pretty quickly.
>
Comment 49 darnellkeithj 2020-12-21 02:19:25 UTC
(In reply to Cameron from comment #48)
> On a related note, can you share the output of "uname -r"?
> 
> On 12/20/20 5:55 PM, bugzilla-daemon@bugzilla.kernel.org wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=208555
> >
> > --- Comment #47 from darnellkeithj@gmail.com ---
> > (In reply to darnellkeithj from comment #46)
> >> (In reply to Cameron from comment #44)
> >>> (In reply to darnellkeithj from comment #42)
> >>>> I left Ubuntu for ArcoLinux and sound works. I installed their LTS Linux
> >>>> kernel and Intel microcode and sound came out of the left speaker only.
> >>>> Then, Lenovo pushed a firmware update this morning and sound works in
> >> both
> >>>> speakers. I don't know why an Arch fresh install works but the "easy
> >>> windows
> >>>> conversion Linux OS" doesn't.
> >>> I downloaded the latest ISO and running it from USB with the latest BIOS
> >>> update, sound still doesn't work at all for me. But maybe that's because
> >>> their live image doesn't have the latest LTS kernel, firmware, microcode,
> >>> etc?
> >>>
> >>> With the latest BIOS, sound still doesn't for me under Kubuntu 20.10.
> >> I can confirm that if you "install" or dual boot Arcolinux that sound will
> >> work. I just did a reinstall not less than an hour ago to make sure. Sound
> >> doesn't work from the live USB but will work if you install to hardware
> >> "with
> >> the LTS kernel".
> > I'm using the Yoga Duet 7i and I don't know what the difference is between
> > the
> > LTS Kernel with Arch and Ubuntu's LTS version - but devs should be able to
> > tell
> > us pretty quickly.
> >

5.4.84-1-lts
Comment 50 Seblint 2020-12-24 07:54:08 UTC
Same thing here on my 2 yo Legion Y730. Sound-wise everything worked fine for 18 month when i was running ubuntu 18.10, then still good on 20.04.1 for a few weeks and about three weeks ago internal speakers stopped working (but sound works fine on headphones or bluetooth).
My kernel is 5.4.0-58 and sound chip Realtek ALC298.
Bios version : 8XCN24WW(V1.07)
Comment 51 David Ober 2020-12-24 08:08:39 UTC
Created attachment 294325 [details]
attachment-14871-0.html

I am on Holiday and will be returning on Jan 4 2021
Comment 52 Brian Long 2020-12-31 14:25:27 UTC
I have had the same problem since I got this laptop in late November.  It is a Yoga 7i.  I am on Ubuntu 20.10 with kernel 5.8.0.29.  I have tried 5.9.10 and 5.9.12 mainline kernels.

Everything appears "normal" except the sound just isn't coming out of the speakers.  It registers the card, shows up in pavucontrol as expected.  The sound output indicator even shows as if audio is playing.

I have dabbled with development of kernel modules in the past, but know nothing about audio codecs.  Let me know if you need any help from someone with the hardware and kernel experience.

It sounds like you may already know the culprit, but that it is not fixable without some specs.
Comment 53 Max 2021-01-06 21:20:39 UTC
Any updates so far?

There are several users who have the laptops with no-speaker-sound and a ready to help with hardware info if needed. Either Lenovo provided laptops for testing or the solution search is stuck

Please provide the approximate ETA
Comment 54 sski 2021-01-08 01:22:56 UTC
Joining the party. Just got Lenovo Legion 7i 15 w/ Realtek ALC287, speakers do not work. Very glad I found this thread -- I have tried so many things at this point.

I'm able to use my headphones at least.

Do we have any solutions ? Or updates?
Comment 55 QuantumTwitch 2021-01-13 01:37:12 UTC
Yay so glad I found this after all the stuff I tried before (documented here: https://forums.fedoraforum.org/showthread.php?325363-Lenovo-Thinkbook-no-sound-over-speakers-with-Fedora-33/page1).

Mine is a Thinkbook 13s with a Tiger Lake chip and High Definition (HD) Audio, Realtek® ALC3306 codec according to the spec sheet (https://psref.lenovo.com/syspool/Sys/PDF/ThinkBook/ThinkBook_13s_G2_ITL/ThinkBook_13s_G2_ITL_Spec.PDF). Same problem the built in speakers have no sound output even though the headphones and HDMI output sound just fine.

I even tried the latest vanilla kernel: 5.11.0-0.rc2.20210108gitf5e6c330254a.119.vanilla.1.fc33.x86_64 but still no sound from the speakers.
Comment 56 darnellkeithj 2021-01-16 01:38:25 UTC
Lastest LTS Kernel 5.4.89 breaks ACL287 on Lenovo Yoga Duet 7i. Until now, the only distro and kernel I've found to work with this model is Arch Linux, ArcoLinux to be specific, and 5.4.88-1-lts. I'm assuming this should also work for Legion 7i too.
Comment 57 Grigory Malivenko 2021-01-17 12:37:00 UTC
The same problem with Lenovo Legion 7 15IMH05 (ALC287). Any updates?
Comment 58 chenyh570 2021-01-18 02:10:01 UTC
Yoga 7i with alc287 audio, Ubuntu 20.04, latest stable kernel 5.10.7, no sound, same problem.
Comment 59 Jason Kukurudziak 2021-01-19 13:56:40 UTC
Same issue, 4 users in our company are getting these, tried Ubuntu and Arch with latest kernel. No joy. We can work around for now.
Comment 60 TT 2021-01-19 21:19:52 UTC
Same issue here.
Ubuntu 20.04 on Legion 7i 15IMH05.
http://alsa-project.org/db/?f=67c03acf4f5a5f3fd4da996c6955f79f0d4734b8
Comment 61 chenyh570 2021-01-21 18:43:10 UTC
Also confirmed that yoga 7i 15inch with ubuntu 20.04 lts, 5.8.0 kernel has no sound as well.
Comment 62 Max 2021-02-03 16:16:16 UTC
Are there any updates? Cause, as I see, the issue appears to be not only 7i Legion notebooks and there are no updates for almost 7 month
Comment 63 chenyh570 2021-02-04 16:25:35 UTC
(In reply to Max from comment #62)
> Are there any updates? Cause, as I see, the issue appears to be not only 7i
> Legion notebooks and there are no updates for almost 7 month

Hi, I an curious too, as these models don't look like some rare model it seems. And I don't know why hasn't there be any solution nor updates yet, sadly alas.
Comment 64 Brian Long 2021-02-04 16:34:02 UTC
I want to reiterate my offer from an earlier comment to assist in any way to fix this.  Even give me hints at what source file and general changes would be required may be enough.  I can check it out and do some trial'n'error.
Comment 65 Jason Kukurudziak 2021-02-04 16:38:40 UTC
Created attachment 295069 [details]
attachment-20930-0.html

I think it was mentioned earlier that the sound chip uses some bits to
enable the amplifier section.  Bluetooth and the headphone jack are
unaffected.  You would have to probe the chip to find what bits have been
turned on in Windows to make the same changes in the linux driver.

On Thu, Feb 4, 2021 at 11:34 AM <bugzilla-daemon@bugzilla.kernel.org> wrote:

> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> --- Comment #64 from Brian Long (brian@yateslong.us) ---
> I want to reiterate my offer from an earlier comment to assist in any way
> to
> fix this.  Even give me hints at what source file and general changes
> would be
> required may be enough.  I can check it out and do some trial'n'error.
>
> --
> You may reply to this email to add a comment.
>
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 66 TT 2021-02-04 17:09:10 UTC
This link (https://www.kernel.org/doc/html/v5.8/sound/alsa-configuration.html#module-snd-hda-inte) says the following:

If the default configuration doesn’t work and one of the above matches with your device, report it together with alsa-info.sh output (with --no-upload option) to kernel bugzilla or alsa-devel ML (see the section Links and Addresses).

Has anyone sent this to the alsa-devel mailing list?
Comment 67 TT 2021-02-04 17:38:11 UTC
There has been some kernel fixes for ALC287 codec and Lenovo in December 2020
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c72b9bfe0f914639cc475585f45722a3eb57a56d).


It looks like the author Hui Wang <hui.wang@canonical.com> has experience with HDA codecs:


https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/?qt=author&q=Hui+Wang


Maybe he's the one to help us out investigating this bug.
Comment 68 Brian Long 2021-02-04 18:23:37 UTC
(In reply to TT from comment #67)
> There has been some kernel fixes for ALC287 codec and Lenovo in December 2020
> (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/
> ?id=c72b9bfe0f914639cc475585f45722a3eb57a56d).
> 
> 
> It looks like the author Hui Wang <hui.wang@canonical.com> has experience
> with HDA codecs:
> 
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/
> ?qt=author&q=Hui+Wang
> 
> 
> Maybe he's the one to help us out investigating this bug.

I saw those fixes from Hui back when I was trying out different kernel versions in Dec.  I feel he would ultimately fix this issue in time.  But time has gone on a bit too long.  So I wanted to see if it was more of lacking sample hardware that might be holding it back.

I see that the change is probably just a couple lines in this file: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/sound/pci/hda/patch_realtek.c?h=v5.10.13.

I just need to know the pins/values to try.  There are Thinkpad C940 quirks and the HP ALC287 quirk.  This one is different, but they serve as a good template.  Now, where do I get those pins?  My system is dual boot, so I can go into Windows.  Is there a tool I can run to enumerate possible pins/values?  Or do I reuse ones I am seeing here with subtle logic guesses?
Comment 69 TT 2021-02-04 18:33:24 UTC
So which pins are you specifically talking about?

What about comparing to the Arch Linux configuration?
People mentioned here that the sound works with Arch Linux fresh installation.
Comment 70 Grigory Malivenko 2021-02-06 16:18:45 UTC
(In reply to TT from comment #69)
> So which pins are you specifically talking about?
> 
> What about comparing to the Arch Linux configuration?
> People mentioned here that the sound works with Arch Linux fresh
> installation.

I tried Arch Linux fresh installation + Lenovo Legion 7 15IMH05 and speakers don't work.
Comment 71 darnellkeithj 2021-02-07 18:31:20 UTC
(In reply to Grigory Malivenko from comment #70)
> (In reply to TT from comment #69)
> > So which pins are you specifically talking about?
> > 
> > What about comparing to the Arch Linux configuration?
> > People mentioned here that the sound works with Arch Linux fresh
> > installation.
> 
> I tried Arch Linux fresh installation + Lenovo Legion 7 15IMH05 and speakers
> don't work.

On my system, the Lenovo Yoga Duet 7i, volume doesn't work out of the box. I've not found any arch systems that have sound working out of the box. You must use earlier an earlier LTS kernel "5.4.88-1-lts". Upgrading to 5.4.89-1-lts and newer will break sound again. I'm not sure why this is such a big deal now since I've mentioned this. Devs could just use whatever works in 5.4.88 LTS and add it to newer kernels. Or tell us how to do it and I'll try myself.
Comment 72 Cameron 2021-02-07 20:24:49 UTC
Vanilla 5.4.88 doesn't resolve the issue, at least not for me on Kubuntu 
20.10. Earlier 5.4 kernels that I've tested in the past have not fixed 
the issue.

I'm not really familiar with Arch... but if I can find the Arch patchset 
for 5.4.88, I'll try it out and report back.

On 2/7/21 10:31 AM, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> --- Comment #71 from darnellkeithj@gmail.com ---
> (In reply to Grigory Malivenko from comment #70)
>> (In reply to TT from comment #69)
>>> So which pins are you specifically talking about?
>>>
>>> What about comparing to the Arch Linux configuration?
>>> People mentioned here that the sound works with Arch Linux fresh
>>> installation.
>> I tried Arch Linux fresh installation + Lenovo Legion 7 15IMH05 and speakers
>> don't work.
> On my system, the Lenovo Yoga Duet 7i, volume doesn't work out of the box.
> I've
> not found any arch systems that have sound working out of the box. You must
> use
> earlier an earlier LTS kernel "5.4.88-1-lts". Upgrading to 5.4.89-1-lts and
> newer will break sound again. I'm not sure why this is such a big deal now
> since I've mentioned this. Devs could just use whatever works in 5.4.88 LTS
> and
> add it to newer kernels. Or tell us how to do it and I'll try myself.
>
Comment 73 darnellkeithj 2021-02-07 20:52:14 UTC
(In reply to Cameron from comment #72)
> Vanilla 5.4.88 doesn't resolve the issue, at least not for me on Kubuntu 
> 20.10. Earlier 5.4 kernels that I've tested in the past have not fixed 
> the issue.
> 
> I'm not really familiar with Arch... but if I can find the Arch patchset 
> for 5.4.88, I'll try it out and report back.
> 
> On 2/7/21 10:31 AM, bugzilla-daemon@bugzilla.kernel.org wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=208555
> >
> > --- Comment #71 from darnellkeithj@gmail.com ---
> > (In reply to Grigory Malivenko from comment #70)
> >> (In reply to TT from comment #69)
> >>> So which pins are you specifically talking about?
> >>>
> >>> What about comparing to the Arch Linux configuration?
> >>> People mentioned here that the sound works with Arch Linux fresh
> >>> installation.
> >> I tried Arch Linux fresh installation + Lenovo Legion 7 15IMH05 and
> speakers
> >> don't work.
> > On my system, the Lenovo Yoga Duet 7i, volume doesn't work out of the box.
> > I've
> > not found any arch systems that have sound working out of the box. You must
> > use
> > earlier an earlier LTS kernel "5.4.88-1-lts". Upgrading to 5.4.89-1-lts and
> > newer will break sound again. I'm not sure why this is such a big deal now
> > since I've mentioned this. Devs could just use whatever works in 5.4.88 LTS
> > and
> > add it to newer kernels. Or tell us how to do it and I'll try myself.
> >

Then there must be some other differences with sound for the Legion 7i and the Yoga Duet 7i. Try removing sof-firmware and make sure it isn't muted in pavucontrol
Comment 74 Cameron 2021-02-07 21:20:35 UTC
I used the arch patches and kernel config to build the exact equivalent 
of 5.4.88-1-lts. This did not fix anything as expected as the 3 Arch 
patches were all unrelated to audio/alsa so this is not a surprise (one 
was to the documentation). Of course, I checked pavucontrol, alsamixer, 
etc. Made sure nothing was muted, played with the volumes in case it 
would "unstick" anything.

Either there are some differences between Yoga Duet 7i and the Lenovo 
Legion 7i and/or there's some important userspace differences. I suspect 
the former. But even if the Duet 7i has its sound issues addressed 
first, this could potentially go a long way towards helping to figure 
out what the Legion 7i needs. Can someone with a Duet confirm that 
vanilla 5.4.88 works and 5.4.89 does not? If so, bisecting should narrow 
down the issue.

On 2/7/21 12:52 PM, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> --- Comment #73 from darnellkeithj@gmail.com ---
> (In reply to Cameron from comment #72)
>> Vanilla 5.4.88 doesn't resolve the issue, at least not for me on Kubuntu
>> 20.10. Earlier 5.4 kernels that I've tested in the past have not fixed
>> the issue.
>>
>> I'm not really familiar with Arch... but if I can find the Arch patchset
>> for 5.4.88, I'll try it out and report back.
>>
>> On 2/7/21 10:31 AM, bugzilla-daemon@bugzilla.kernel.org wrote:
>>> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>>>
>>> --- Comment #71 from darnellkeithj@gmail.com ---
>>> (In reply to Grigory Malivenko from comment #70)
>>>> (In reply to TT from comment #69)
>>>>> So which pins are you specifically talking about?
>>>>>
>>>>> What about comparing to the Arch Linux configuration?
>>>>> People mentioned here that the sound works with Arch Linux fresh
>>>>> installation.
>>>> I tried Arch Linux fresh installation + Lenovo Legion 7 15IMH05 and
>> speakers
>>>> don't work.
>>> On my system, the Lenovo Yoga Duet 7i, volume doesn't work out of the box.
>>> I've
>>> not found any arch systems that have sound working out of the box. You must
>>> use
>>> earlier an earlier LTS kernel "5.4.88-1-lts". Upgrading to 5.4.89-1-lts and
>>> newer will break sound again. I'm not sure why this is such a big deal now
>>> since I've mentioned this. Devs could just use whatever works in 5.4.88 LTS
>>> and
>>> add it to newer kernels. Or tell us how to do it and I'll try myself.
>>>
> Then there must be some other differences with sound for the Legion 7i and
> the
> Yoga Duet 7i. Try removing sof-firmware and make sure it isn't muted in
> pavucontrol
>
Comment 75 TT 2021-02-07 21:53:43 UTC
What is the codec of the yoga duet 7i?
Is it also Realtek ALC287?

-Thiago

> On Feb 7, 2021, at 3:20 PM, bugzilla-daemon@bugzilla.kernel.org wrote:
> 
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
> 
> --- Comment #74 from Cameron (cam@neo-zeon.de) ---
> I used the arch patches and kernel config to build the exact equivalent 
> of 5.4.88-1-lts. This did not fix anything as expected as the 3 Arch 
> patches were all unrelated to audio/alsa so this is not a surprise (one 
> was to the documentation). Of course, I checked pavucontrol, alsamixer, 
> etc. Made sure nothing was muted, played with the volumes in case it 
> would "unstick" anything.
> 
> Either there are some differences between Yoga Duet 7i and the Lenovo 
> Legion 7i and/or there's some important userspace differences. I suspect 
> the former. But even if the Duet 7i has its sound issues addressed 
> first, this could potentially go a long way towards helping to figure 
> out what the Legion 7i needs. Can someone with a Duet confirm that 
> vanilla 5.4.88 works and 5.4.89 does not? If so, bisecting should narrow 
> down the issue.
> 
>> On 2/7/21 12:52 PM, bugzilla-daemon@bugzilla.kernel.org wrote:
>> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>> 
>> --- Comment #73 from darnellkeithj@gmail.com ---
>> (In reply to Cameron from comment #72)
>>> Vanilla 5.4.88 doesn't resolve the issue, at least not for me on Kubuntu
>>> 20.10. Earlier 5.4 kernels that I've tested in the past have not fixed
>>> the issue.
>>> 
>>> I'm not really familiar with Arch... but if I can find the Arch patchset
>>> for 5.4.88, I'll try it out and report back.
>>> 
>>> On 2/7/21 10:31 AM, bugzilla-daemon@bugzilla.kernel.org wrote:
>>>> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>>>> 
>>>> --- Comment #71 from darnellkeithj@gmail.com ---
>>>> (In reply to Grigory Malivenko from comment #70)
>>>>> (In reply to TT from comment #69)
>>>>>> So which pins are you specifically talking about?
>>>>>> 
>>>>>> What about comparing to the Arch Linux configuration?
>>>>>> People mentioned here that the sound works with Arch Linux fresh
>>>>>> installation.
>>>>> I tried Arch Linux fresh installation + Lenovo Legion 7 15IMH05 and
>>> speakers
>>>>> don't work.
>>>> On my system, the Lenovo Yoga Duet 7i, volume doesn't work out of the box.
>>>> I've
>>>> not found any arch systems that have sound working out of the box. You
>>>> must
>>>> use
>>>> earlier an earlier LTS kernel "5.4.88-1-lts". Upgrading to 5.4.89-1-lts
>>>> and
>>>> newer will break sound again. I'm not sure why this is such a big deal now
>>>> since I've mentioned this. Devs could just use whatever works in 5.4.88
>>>> LTS
>>>> and
>>>> add it to newer kernels. Or tell us how to do it and I'll try myself.
>>>> 
>> Then there must be some other differences with sound for the Legion 7i and
>> the
>> Yoga Duet 7i. Try removing sof-firmware and make sure it isn't muted in
>> pavucontrol
>> 
> 
> -- 
> You may reply to this email to add a comment.
> 
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 76 juliusvonkohout 2021-02-12 17:42:04 UTC
Sound works partially with updated fedora 33 on Yoga slim 7i 15 (Yoga Slim 7-15ITL05)
https://github.com/alsa-project/alsa-ucm-conf/issues/83
Comment 77 Jim33 2021-02-14 21:27:27 UTC
(In reply to Jaroslav Kysela from comment #43)

> Contact Lenovo, if you can, for help (BIOS - Linux support). They are
> supporting more the non-gaming hardware in Linux (ThinkPad/ThinkStation
> series).

I don't think there is much help to expect from Lenovo. I contacted support and after a detailed email explaining the issue on my dual boot Win/Linux system I got this:

"Thank you for your E-Mail. I will gladly help you.
Our devices are all tested to work with only windows, and no other OS.
If you have any other questions, I will gladly answer them."

Good that he will "gladly help me"...  ;-)

I have a Legion 7i running Ubuntu 20.04 default kernel.
If I would have knew this issue before I would have probably bought another laptop.
Comment 78 darnellkeithj 2021-02-14 22:20:34 UTC
(In reply to Jim33 from comment #77)
> (In reply to Jaroslav Kysela from comment #43)
> 
> > Contact Lenovo, if you can, for help (BIOS - Linux support). They are
> > supporting more the non-gaming hardware in Linux (ThinkPad/ThinkStation
> > series).
> 
> I don't think there is much help to expect from Lenovo. I contacted support
> and after a detailed email explaining the issue on my dual boot Win/Linux
> system I got this:
> 
> "Thank you for your E-Mail. I will gladly help you.
> Our devices are all tested to work with only windows, and no other OS.
> If you have any other questions, I will gladly answer them."
> 
> Good that he will "gladly help me"...  ;-)
> 
> I have a Legion 7i running Ubuntu 20.04 default kernel.
> If I would have knew this issue before I would have probably bought another
> laptop.

There needs to be a push by the linux community and possible litigation to force companies to provide documentation
Comment 79 Cameron 2021-02-14 23:24:57 UTC
Alas, I doubt litigation is on the table.

I also absolutely would not have purchased this laptop had I known sound 
support would have been an issue in Linux (or at least returned it 
within the first 30 days had I known 6 months later this would still be 
ongoing). I received mine back in August... Now I'm starting to eye new 
laptops already because I don't have any sound. However, now I'm also 
concerned that comparatively spec'ed laptops may also have sound issues 
potentially due to amplifier sound chips that could result in the same 
problem.

At some point in the near future, I may resort to purchasing new laptops 
and returning them within 30 days if there are any issues under Linux, 
because I simply can't assume they'll be addressed.

Lenovo not wanting to put any developer time into drivers doesn't 
necessarily mean they're refusing documentation. Perhaps a code bounty 
could work? I'd be willing to donate to that cause.

On 2/14/21 2:20 PM, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> --- Comment #78 from darnellkeithj@gmail.com ---
> (In reply to Jim33 from comment #77)
>> (In reply to Jaroslav Kysela from comment #43)
>>
>>> Contact Lenovo, if you can, for help (BIOS - Linux support). They are
>>> supporting more the non-gaming hardware in Linux (ThinkPad/ThinkStation
>>> series).
>> I don't think there is much help to expect from Lenovo. I contacted support
>> and after a detailed email explaining the issue on my dual boot Win/Linux
>> system I got this:
>>
>> "Thank you for your E-Mail. I will gladly help you.
>> Our devices are all tested to work with only windows, and no other OS.
>> If you have any other questions, I will gladly answer them."
>>
>> Good that he will "gladly help me"...  ;-)
>>
>> I have a Legion 7i running Ubuntu 20.04 default kernel.
>> If I would have knew this issue before I would have probably bought another
>> laptop.
> There needs to be a push by the linux community and possible litigation to
> force companies to provide documentation
>
Comment 80 darnellkeithj 2021-02-14 23:39:35 UTC
(In reply to Cameron from comment #79)
> Alas, I doubt litigation is on the table.
> 
> I also absolutely would not have purchased this laptop had I known sound 
> support would have been an issue in Linux (or at least returned it 
> within the first 30 days had I known 6 months later this would still be 
> ongoing). I received mine back in August... Now I'm starting to eye new 
> laptops already because I don't have any sound. However, now I'm also 
> concerned that comparatively spec'ed laptops may also have sound issues 
> potentially due to amplifier sound chips that could result in the same 
> problem.
> 
> At some point in the near future, I may resort to purchasing new laptops 
> and returning them within 30 days if there are any issues under Linux, 
> because I simply can't assume they'll be addressed.
> 
> Lenovo not wanting to put any developer time into drivers doesn't 
> necessarily mean they're refusing documentation. Perhaps a code bounty 
> could work? I'd be willing to donate to that cause.
> 
> On 2/14/21 2:20 PM, bugzilla-daemon@bugzilla.kernel.org wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=208555
> >
> > --- Comment #78 from darnellkeithj@gmail.com ---
> > (In reply to Jim33 from comment #77)
> >> (In reply to Jaroslav Kysela from comment #43)
> >>
> >>> Contact Lenovo, if you can, for help (BIOS - Linux support). They are
> >>> supporting more the non-gaming hardware in Linux (ThinkPad/ThinkStation
> >>> series).
> >> I don't think there is much help to expect from Lenovo. I contacted
> support
> >> and after a detailed email explaining the issue on my dual boot Win/Linux
> >> system I got this:
> >>
> >> "Thank you for your E-Mail. I will gladly help you.
> >> Our devices are all tested to work with only windows, and no other OS.
> >> If you have any other questions, I will gladly answer them."
> >>
> >> Good that he will "gladly help me"...  ;-)
> >>
> >> I have a Legion 7i running Ubuntu 20.04 default kernel.
> >> If I would have knew this issue before I would have probably bought
> another
> >> laptop.
> > There needs to be a push by the linux community and possible litigation to
> > force companies to provide documentation
> >

Do try to install Archlinux and use the kernel https://gitlab.com/manfromva/manfromva/-/tree/master/Kernels

I have a Duet 7i with the same sound system and I currently have sound. It didn't work for me on endeavoros but works with Arcolinux and Garuda so far.
Comment 81 TT 2021-02-15 15:20:27 UTC
(In reply to darnellkeithj from comment #80)
> (In reply to Cameron from comment #79)
> > Alas, I doubt litigation is on the table.
> > 
> > I also absolutely would not have purchased this laptop had I known sound 
> > support would have been an issue in Linux (or at least returned it 
> > within the first 30 days had I known 6 months later this would still be 
> > ongoing). I received mine back in August... Now I'm starting to eye new 
> > laptops already because I don't have any sound. However, now I'm also 
> > concerned that comparatively spec'ed laptops may also have sound issues 
> > potentially due to amplifier sound chips that could result in the same 
> > problem.
> > 
> > At some point in the near future, I may resort to purchasing new laptops 
> > and returning them within 30 days if there are any issues under Linux, 
> > because I simply can't assume they'll be addressed.
> > 
> > Lenovo not wanting to put any developer time into drivers doesn't 
> > necessarily mean they're refusing documentation. Perhaps a code bounty 
> > could work? I'd be willing to donate to that cause.
> > 
> > On 2/14/21 2:20 PM, bugzilla-daemon@bugzilla.kernel.org wrote:
> > > https://bugzilla.kernel.org/show_bug.cgi?id=208555
> > >
> > > --- Comment #78 from darnellkeithj@gmail.com ---
> > > (In reply to Jim33 from comment #77)
> > >> (In reply to Jaroslav Kysela from comment #43)
> > >>
> > >>> Contact Lenovo, if you can, for help (BIOS - Linux support). They are
> > >>> supporting more the non-gaming hardware in Linux (ThinkPad/ThinkStation
> > >>> series).
> > >> I don't think there is much help to expect from Lenovo. I contacted
> > support
> > >> and after a detailed email explaining the issue on my dual boot
> Win/Linux
> > >> system I got this:
> > >>
> > >> "Thank you for your E-Mail. I will gladly help you.
> > >> Our devices are all tested to work with only windows, and no other OS.
> > >> If you have any other questions, I will gladly answer them."
> > >>
> > >> Good that he will "gladly help me"...  ;-)
> > >>
> > >> I have a Legion 7i running Ubuntu 20.04 default kernel.
> > >> If I would have knew this issue before I would have probably bought
> > another
> > >> laptop.
> > > There needs to be a push by the linux community and possible litigation
> to
> > > force companies to provide documentation
> > >
> 
> Do try to install Archlinux and use the kernel
> https://gitlab.com/manfromva/manfromva/-/tree/master/Kernels
> 
> I have a Duet 7i with the same sound system and I currently have sound. It
> didn't work for me on endeavoros but works with Arcolinux and Garuda so far.

Do you mind posting the results of alsa-info?
I could not access the kernel link. Is it a private project?
Comment 82 darnellkeithj 2021-02-15 16:08:24 UTC
Try now. I had it on private for some reason. That is the official kernel and headers from arch Linux - arcolinux to be exact. I added them on gitlab because it's difficult to get older arch kernels. It Can be used with any Arch distro but I just ran into a bug where my speakers won't work after I connect Bluetooth headphones with Garuda Linux. I'm installing RebornOS Linux now and will try there. Worked just fine with Arcolinux and several other Arch distros.
Comment 83 darnellkeithj 2021-02-15 18:29:52 UTC
(In reply to TT from comment #81)
> (In reply to darnellkeithj from comment #80)
> > (In reply to Cameron from comment #79)
> > > Alas, I doubt litigation is on the table.
> > > 
> > > I also absolutely would not have purchased this laptop had I known sound 
> > > support would have been an issue in Linux (or at least returned it 
> > > within the first 30 days had I known 6 months later this would still be 
> > > ongoing). I received mine back in August... Now I'm starting to eye new 
> > > laptops already because I don't have any sound. However, now I'm also 
> > > concerned that comparatively spec'ed laptops may also have sound issues 
> > > potentially due to amplifier sound chips that could result in the same 
> > > problem.
> > > 
> > > At some point in the near future, I may resort to purchasing new laptops 
> > > and returning them within 30 days if there are any issues under Linux, 
> > > because I simply can't assume they'll be addressed.
> > > 
> > > Lenovo not wanting to put any developer time into drivers doesn't 
> > > necessarily mean they're refusing documentation. Perhaps a code bounty 
> > > could work? I'd be willing to donate to that cause.
> > > 
> > > On 2/14/21 2:20 PM, bugzilla-daemon@bugzilla.kernel.org wrote:
> > > > https://bugzilla.kernel.org/show_bug.cgi?id=208555
> > > >
> > > > --- Comment #78 from darnellkeithj@gmail.com ---
> > > > (In reply to Jim33 from comment #77)
> > > >> (In reply to Jaroslav Kysela from comment #43)
> > > >>
> > > >>> Contact Lenovo, if you can, for help (BIOS - Linux support). They are
> > > >>> supporting more the non-gaming hardware in Linux
> (ThinkPad/ThinkStation
> > > >>> series).
> > > >> I don't think there is much help to expect from Lenovo. I contacted
> > > support
> > > >> and after a detailed email explaining the issue on my dual boot
> > Win/Linux
> > > >> system I got this:
> > > >>
> > > >> "Thank you for your E-Mail. I will gladly help you.
> > > >> Our devices are all tested to work with only windows, and no other OS.
> > > >> If you have any other questions, I will gladly answer them."
> > > >>
> > > >> Good that he will "gladly help me"...  ;-)
> > > >>
> > > >> I have a Legion 7i running Ubuntu 20.04 default kernel.
> > > >> If I would have knew this issue before I would have probably bought
> > > another
> > > >> laptop.
> > > > There needs to be a push by the linux community and possible litigation
> > to
> > > > force companies to provide documentation
> > > >
> > 
> > Do try to install Archlinux and use the kernel
> > https://gitlab.com/manfromva/manfromva/-/tree/master/Kernels
> > 
> > I have a Duet 7i with the same sound system and I currently have sound. It
> > didn't work for me on endeavoros but works with Arcolinux and Garuda so
> far.
> 
> Do you mind posting the results of alsa-info?
> I could not access the kernel link. Is it a private project?

RebornOS didn't work for me but it may be to the lxqt version I installed. Manjaro works fine though.

http://alsa-project.org/db/?f=7a8ff2aaf9d780f1c2c68bc129db27a54d9e99d4
Comment 84 gurpreetsinghwalia5 2021-02-17 15:13:34 UTC
I have a lenovo yoga 7i. No sound from the in build speaker in ubuntu 20.10. Is there a solution for this ???
Comment 85 juliusvonkohout 2021-02-17 18:32:49 UTC
(In reply to gurpreetsinghwalia5 from comment #84)
> I have a lenovo yoga 7i. No sound from the in build speaker in ubuntu 20.10.
> Is there a solution for this ???

Yes, install fedora 33 and update everything. Then at least the bottom speakers will work.
Comment 86 gurpreetsinghwalia5 2021-02-17 19:30:06 UTC
(In reply to juliusvonkohout from comment #85)
> (In reply to gurpreetsinghwalia5 from comment #84)
> > I have a lenovo yoga 7i. No sound from the in build speaker in ubuntu
> 20.10.
> > Is there a solution for this ???
> 
> Yes, install fedora 33 and update everything. Then at least the bottom
> speakers will work.

Is there a debian distro that works ??? Need debian for work.
Comment 87 zbeckr 2021-02-17 21:33:41 UTC
(In reply to gurpreetsinghwalia5 from comment #86)
> (In reply to juliusvonkohout from comment #85)
> > (In reply to gurpreetsinghwalia5 from comment #84)
> > > I have a lenovo yoga 7i. No sound from the in build speaker in ubuntu
> > 20.10.
> > > Is there a solution for this ???
> > 
> > Yes, install fedora 33 and update everything. Then at least the bottom
> > speakers will work.
> 
>  there a debian distro that works ??? Need debian for work.

if your using a legion 7 (that's what I have).  My understanding is that there is no kernel support (I could be very wrong about this so anyone feel free to correct me).  I have used a few distros on my laptop and I use arco linux (its not debian I know) on the latest zen kernel.  I still don't have sound out the speakers, but headphones work.  So if you are fine with using headphones, any distro will work
Comment 88 Dan 2021-02-19 22:42:58 UTC
Hello,
I have same issue on my Lenovo-Legion-7-15IMH05.no sound on my speakers but are my analog headphones working... I have I7 10th gen.
Details info:
This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.

  dmesg
  lspci
  aplay
  amixer
  alsactl
  rpm, dpkg
  /proc/asound/
  /sys/class/sound/
  ~/.asoundrc (etc.)

See '/usr/sbin/alsa-info --help' for command line options.

dmesg: read kernel buffer failed: Operation not permitted
Automatically upload ALSA information to www.alsa-project.org? [y/N] : y
Uploading information to www.alsa-project.org ... Done!

Your ALSA information is located at http://alsa-project.org/db/?f=4bde2ad92ca50dd71b38208c0580a40393503a0f
Please inform the person helping you

daniel@pop-os:~$ inxi -fxz
CPU:
Info: 6-Core model: Intel Core i7-10750H bits: 64 type: MT MCP arch: N/A
L2 cache: 12.0 MiB bogomips: 62399
Speed: 900 MHz min/max: 800/2600 MHz Core speeds (MHz): 1: 884 2: 866
3: 899 4: 809 5: 888 6: 885 7: 897 8: 878 9: 894 10: 864 11: 892 12: 897
Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs
ibrs_enhanced ida intel_pt invpcid invpcid_single lahf_lm lm mca mce
md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx ospke pae pat
pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts
rdrand rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1
sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt
xsaves xtopology xtpr
daniel@pop-os:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC287 Analog [ALC287 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
daniel@pop-os:~$

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC287 Analog [ALC287 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
daniel@pop-os:~$ pacmd list-sinks
1 sink(s) available.
* index: 4
name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9039
volume: front-left: 35030 / 53% / -16.32 dB, front-right: 35030 / 53% / -16.32 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 5
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
card: 1 <alsa_card.pci-0000_00_1f.3>
module: 24
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC287 Analog"
alsa.id = "ALC287 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0x6014108000 irq 180"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "06c8"
device.product.name = "Comet Lake PCH cAVS"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "384000"
device.buffering.fragment_size = "192000"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Built-in Audio Analog Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-speakers"
analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: yes)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-headphones>
Comment 89 Memin 2021-03-02 14:56:21 UTC
Unfortunately I got the same issue. My headphones work on Ubuntu 20.04 but speakers didn't. In Windows 10 everything with sound is perfect.

OS: Ubuntu 20.04
description: Notebook
    product: 82EH (LENOVO_MT_82EH_BU_idea_FM_C7 15IMH05)
    vendor: LENOVO
    version: Lenovo C7 15IMH05
     *-firmware
          description: BIOS
          vendor: LENOVO
          physical id: 0
          version: E9CN62WW(V4.07)
          date: 01/21/2021
     *-cpu
          description: CPU
          product: Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz
          vendor: Intel Corp.
          physical id: 4
          bus info: cpu@0
          version: Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz
Comment 90 Ian 2021-03-09 20:38:01 UTC
Created attachment 295777 [details]
Me too, but this may help
Comment 91 Jack S 2021-03-10 17:10:43 UTC
I also have this issue on (one version of) the Lenovo Yoga Slim 7 --- this model 82A3005RUK to be precise.  Happy to provide more details if needed.  Is it likely that this will be fixed in the near future?  I have to decide whether to wait or try to return the laptop.
Comment 92 Cameron 2021-03-10 17:49:17 UTC
You typically have 30 days to return a brand new laptop so keep that in 
mind.

If you do end up returning it, please be clear in your communication 
that it's due to the lack of working audio in Linux.  :)

On 3/10/21 9:10 AM, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> --- Comment #91 from Jack S (jack.shotton@gmail.com) ---
> I also have this issue on (one version of) the Lenovo Yoga Slim 7 --- this
> model 82A3005RUK to be precise.  Happy to provide more details if needed.  Is
> it likely that this will be fixed in the near future?  I have to decide
> whether
> to wait or try to return the laptop.
>
Comment 93 Jack S 2021-03-10 17:55:46 UTC
(In reply to Cameron from comment #92)
> You typically have 30 days to return a brand new laptop so keep that in 
> mind.
> 
> If you do end up returning it, please be clear in your communication 
> that it's due to the lack of working audio in Linux.  :)
> 
> On 3/10/21 9:10 AM, bugzilla-daemon@bugzilla.kernel.org wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=208555
> >
> > --- Comment #91 from Jack S (jack.shotton@gmail.com) ---
> > I also have this issue on (one version of) the Lenovo Yoga Slim 7 --- this
> > model 82A3005RUK to be precise.  Happy to provide more details if needed. 
> Is
> > it likely that this will be fixed in the near future?  I have to decide
> > whether
> > to wait or try to return the laptop.
> >

Thank you!  The third answer here: https://askubuntu.com/questions/1253498/no-sound-on-headphones-with-sof-hda-dsp-audio-on-ubuntu-and-variants to add the line

options snd-hda-intel model=auto

to

/etc/modprobe.d/alsa-base.conf

seems to have fixed it, so perhaps this is not the same bug after all (and I get to keep my laptop!).
Comment 94 Jaroslav Kysela 2021-03-10 18:59:42 UTC
(In reply to Jack S from comment #93)

> options snd-hda-intel model=auto

> seems to have fixed it, so perhaps this is not the same bug after all (and I
> get to keep my laptop!).

Something seems broken with the autodetection. Could you attach your 'alsa-info.sh --no-upload' output?
Comment 95 Jack S 2021-03-10 19:15:43 UTC
(In reply to Jaroslav Kysela from comment #94)
> (In reply to Jack S from comment #93)
> 
> > options snd-hda-intel model=auto
> 
> > seems to have fixed it, so perhaps this is not the same bug after all (and
> I
> > get to keep my laptop!).
> 
> Something seems broken with the autodetection. Could you attach your
> 'alsa-info.sh --no-upload' output?

Certainly -- here it is!

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.5.0
!!################################

!!Script ran on: Wed Mar 10 19:14:12 UTC 2021


!!Linux Distribution
!!------------------

Ubuntu 20.10 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 20.10" NAME="Ubuntu" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.10" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=groovy


!!DMI Information
!!---------------

Manufacturer:      LENOVO
Product Name:      82A3
Product Version:   Yoga Slim 7 14ITL05
Firmware Version:  FBCN19WW
System SKU:        LENOVO_MT_82A3_BU_idea_FM_Yoga Slim 7 14ITL05
Board Vendor:      LENOVO
Board Name:        LNVNB161216


!!ACPI Device Status Information
!!---------------

/sys/bus/acpi/devices/ACPI000C:00/status 	 15
/sys/bus/acpi/devices/ACPI000E:00/status 	 15
/sys/bus/acpi/devices/ELAN0000:00/status 	 15
/sys/bus/acpi/devices/IDEA2002:00/status 	 15
/sys/bus/acpi/devices/IDEA2004:00/status 	 15
/sys/bus/acpi/devices/INT33A1:00/status 	 15
/sys/bus/acpi/devices/INT33D5:00/status 	 15
/sys/bus/acpi/devices/INT340E:00/status 	 15
/sys/bus/acpi/devices/INT34C5:00/status 	 15
/sys/bus/acpi/devices/INT3F0D:00/status 	 15
/sys/bus/acpi/devices/INTC1040:00/status 	 15
/sys/bus/acpi/devices/INTC1043:00/status 	 15
/sys/bus/acpi/devices/INTC1043:01/status 	 15
/sys/bus/acpi/devices/INTC6000:00/status 	 15
/sys/bus/acpi/devices/LHK2019:00/status 	 15
/sys/bus/acpi/devices/LNXPOWER:00/status 	 1
/sys/bus/acpi/devices/LNXPOWER:01/status 	 1
/sys/bus/acpi/devices/LNXPOWER:02/status 	 1
/sys/bus/acpi/devices/LNXPOWER:03/status 	 1
/sys/bus/acpi/devices/LNXPOWER:05/status 	 1
/sys/bus/acpi/devices/MSFT0001:00/status 	 15
/sys/bus/acpi/devices/PNP0103:00/status 	 15
/sys/bus/acpi/devices/PNP0C02:02/status 	 11
/sys/bus/acpi/devices/PNP0C02:04/status 	 11
/sys/bus/acpi/devices/PNP0C09:00/status 	 15
/sys/bus/acpi/devices/PNP0C0A:00/status 	 31
/sys/bus/acpi/devices/PRP00001:00/status 	 11
/sys/bus/acpi/devices/PRP00001:01/status 	 11
/sys/bus/acpi/devices/USBC000:00/status 	 15
/sys/bus/acpi/devices/VPC2004:00/status 	 15
/sys/bus/acpi/devices/device:00/status 	 15
/sys/bus/acpi/devices/device:17/status 	 15
/sys/bus/acpi/devices/device:24/status 	 15
/sys/bus/acpi/devices/device:25/status 	 15
/sys/bus/acpi/devices/device:26/status 	 15
/sys/bus/acpi/devices/device:95/status 	 15
/sys/bus/acpi/devices/device:96/status 	 15
/sys/bus/acpi/devices/device:97/status 	 15
/sys/bus/acpi/devices/device:99/status 	 15
/sys/bus/acpi/devices/device:9a/status 	 15
/sys/bus/acpi/devices/device:9b/status 	 15
/sys/bus/acpi/devices/device:a0/status 	 15
/sys/bus/acpi/devices/device:a8/status 	 15
/sys/bus/acpi/devices/device:aa/status 	 15
/sys/bus/acpi/devices/device:ac/status 	 15


!!Kernel Information
!!------------------

Kernel release:    5.8.0-44-generic
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         x86_64
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     k5.8.0-44-generic
Library version:    1.2.3.2
Utilities version:  1.2.3


!!Loaded ALSA modules
!!-------------------

snd_soc_skl_hda_dsp (card 0)
snd_usb_audio (card 1)


!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [sofhdadsp      ]: sof-hda-dsp - sof-hda-dsp
                      LENOVO-82A3-YogaSlim714ITL05-LNVNB161216
 1 [Device         ]: USB-Audio - USB Advanced Audio Device
                      C-Media Electronics Inc. USB Advanced Audio Device at usb-0000:00:14.0-3, full 


!!PCI Soundcards installed in the system
!!--------------------------------------

00:1f.3 Multimedia audio controller [0401]: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller [8086:a0c8] (rev 20)
	Subsystem: Lenovo Tiger Lake-LP Smart Sound Technology Audio Controller [17aa:3809]


!!Modprobe options (Sound related)
!!--------------------------------

snd_pcsp: index=-2
snd_usb_audio: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_usb_audio: index=-2
snd_usb_caiaq: index=-2
snd_usb_ua101: index=-2
snd_usb_us122l: index=-2
snd_usb_usx2y: index=-2
snd_cmipci: mpu_port=0x330 fm_port=0x388
snd_pcsp: index=-2
snd_usb_audio: index=-2
snd_hda_intel: model=auto 


!!Loaded sound module options
!!---------------------------

!!Module: snd_soc_skl_hda_dsp
	* : 

!!Module: snd_usb_audio
	autoclock : Y
	delayed_register : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	device_setup : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	ignore_ctl_error : N
	index : -2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	pid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	quirk_alias : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	skip_validation : N
	use_vmalloc : Y
	vid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1


!!Sysfs card info
!!---------------

!!Card: /sys/class/sound/card0
Driver: /sys/bus/platform/drivers/skl_hda_dsp_generic
Tree:
	/sys/class/sound/card0
	|-- controlC0
	|   |-- dev
	|   |-- device -> ../../card0
	|   |-- power
	|   |-- subsystem -> ../../../../../../../class/sound
	|   `-- uevent
	|-- device -> ../../../skl_hda_dsp_generic
	|-- hwC0D0
	|   |-- afg
	|   |-- chip_name
	|   |-- clear
	|   |-- dev
	|   |-- device -> ../../card0
	|   |-- driver_pin_configs
	|   |-- hints
	|   |-- init_pin_configs
	|   |-- init_verbs
	|   |-- mfg
	|   |-- modelname
	|   |-- power
	|   |-- power_off_acct
	|   |-- power_on_acct
	|   |-- reconfig
	|   |-- revision_id
	|   |-- subsystem -> ../../../../../../../class/sound
	|   |-- subsystem_id
	|   |-- uevent
	|   |-- user_pin_configs
	|   |-- vendor_id
	|   `-- vendor_name
	|-- hwC0D2
	|   |-- afg
	|   |-- chip_name
	|   |-- clear
	|   |-- dev
	|   |-- device -> ../../card0
	|   |-- driver_pin_configs
	|   |-- hints
	|   |-- init_pin_configs
	|   |-- init_verbs
	|   |-- mfg
	|   |-- modelname
	|   |-- power
	|   |-- power_off_acct
	|   |-- power_on_acct
	|   |-- reconfig
	|   |-- revision_id
	|   |-- subsystem -> ../../../../../../../class/sound
	|   |-- subsystem_id
	|   |-- uevent
	|   |-- user_pin_configs
	|   |-- vendor_id
	|   `-- vendor_name
	|-- id
	|-- input43
	|   |-- capabilities
	|   |-- device -> ../../card0
	|   |-- event18
	|   |-- id
	|   |-- modalias
	|   |-- name
	|   |-- phys
	|   |-- power
	|   |-- properties
	|   |-- subsystem -> ../../../../../../../class/input
	|   |-- uevent
	|   `-- uniq
	|-- input44
	|   |-- capabilities
	|   |-- device -> ../../card0
	|   |-- event19
	|   |-- id
	|   |-- modalias
	|   |-- name
	|   |-- phys
	|   |-- power
	|   |-- properties
	|   |-- subsystem -> ../../../../../../../class/input
	|   |-- uevent
	|   `-- uniq
	|-- input45
	|   |-- capabilities
	|   |-- device -> ../../card0
	|   |-- event20
	|   |-- id
	|   |-- modalias
	|   |-- name
	|   |-- phys
	|   |-- power
	|   |-- properties
	|   |-- subsystem -> ../../../../../../../class/input
	|   |-- uevent
	|   `-- uniq
	|-- input46
	|   |-- capabilities
	|   |-- device -> ../../card0
	|   |-- event21
	|   |-- id
	|   |-- modalias
	|   |-- name
	|   |-- phys
	|   |-- power
	|   |-- properties
	|   |-- subsystem -> ../../../../../../../class/input
	|   |-- uevent
	|   `-- uniq
	|-- input47
	|   |-- capabilities
	|   |-- device -> ../../card0
	|   |-- event22
	|   |-- id
	|   |-- modalias
	|   |-- name
	|   |-- phys
	|   |-- power
	|   |-- properties
	|   |-- subsystem -> ../../../../../../../class/input
	|   |-- uevent
	|   `-- uniq
	|-- number
	|-- pcmC0D0c
	|   |-- dev
	|   |-- device -> ../../card0
	|   |-- pcm_class
	|   |-- power
	|   |-- subsystem -> ../../../../../../../class/sound
	|   `-- uevent
	|-- pcmC0D0p
	|   |-- dev
	|   |-- device -> ../../card0
	|   |-- pcm_class
	|   |-- power
	|   |-- subsystem -> ../../../../../../../class/sound
	|   `-- uevent
	|-- pcmC0D1c
	|   |-- dev
	|   |-- device -> ../../card0
	|   |-- pcm_class
	|   |-- power
	|   |-- subsystem -> ../../../../../../../class/sound
	|   `-- uevent
	|-- pcmC0D1p
	|   |-- dev
	|   |-- device -> ../../card0
	|   |-- pcm_class
	|   |-- power
	|   |-- subsystem -> ../../../../../../../class/sound
	|   `-- uevent
	|-- pcmC0D3p
	|   |-- dev
	|   |-- device -> ../../card0
	|   |-- pcm_class
	|   |-- power
	|   |-- subsystem -> ../../../../../../../class/sound
	|   `-- uevent
	|-- pcmC0D4p
	|   |-- dev
	|   |-- device -> ../../card0
	|   |-- pcm_class
	|   |-- power
	|   |-- subsystem -> ../../../../../../../class/sound
	|   `-- uevent
	|-- pcmC0D5p
	|   |-- dev
	|   |-- device -> ../../card0
	|   |-- pcm_class
	|   |-- power
	|   |-- subsystem -> ../../../../../../../class/sound
	|   `-- uevent
	|-- pcmC0D6c
	|   |-- dev
	|   |-- device -> ../../card0
	|   |-- pcm_class
	|   |-- power
	|   |-- subsystem -> ../../../../../../../class/sound
	|   `-- uevent
	|-- pcmC0D7c
	|   |-- dev
	|   |-- device -> ../../card0
	|   |-- pcm_class
	|   |-- power
	|   |-- subsystem -> ../../../../../../../class/sound
	|   `-- uevent
	|-- power
	|   |-- async
	|   |-- autosuspend_delay_ms
	|   |-- control
	|   |-- runtime_active_kids
	|   |-- runtime_active_time
	|   |-- runtime_enabled
	|   |-- runtime_status
	|   |-- runtime_suspended_time
	|   `-- runtime_usage
	|-- subsystem -> ../../../../../../class/sound
	`-- uevent

!!Card: /sys/class/sound/card1
Driver: /sys/bus/usb/drivers/snd-usb-audio
Tree:
	/sys/class/sound/card1
	|-- controlC1
	|   |-- dev
	|   |-- device -> ../../card1
	|   |-- power
	|   |-- subsystem -> ../../../../../../../../../class/sound
	|   `-- uevent
	|-- device -> ../../../3-3:1.0
	|-- id
	|-- number
	|-- pcmC1D0c
	|   |-- dev
	|   |-- device -> ../../card1
	|   |-- pcm_class
	|   |-- power
	|   |-- subsystem -> ../../../../../../../../../class/sound
	|   `-- uevent
	|-- pcmC1D0p
	|   |-- dev
	|   |-- device -> ../../card1
	|   |-- pcm_class
	|   |-- power
	|   |-- subsystem -> ../../../../../../../../../class/sound
	|   `-- uevent
	|-- power
	|   |-- async
	|   |-- autosuspend_delay_ms
	|   |-- control
	|   |-- runtime_active_kids
	|   |-- runtime_active_time
	|   |-- runtime_enabled
	|   |-- runtime_status
	|   |-- runtime_suspended_time
	|   `-- runtime_usage
	|-- subsystem -> ../../../../../../../../class/sound
	`-- uevent


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Realtek ALC287
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0287
Subsystem Id: 0x17aa3809
Revision Id: 0x100002
No Modem Function Group found
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D1 D2 D3 D3cold CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=5, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x4f 0x4f]
  Converter: stream=1, channel=0
  PCM:
    rates [0x40]: 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x57 0x57]
  Converter: stream=1, channel=0
  PCM:
    rates [0x40]: 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x411: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x40]: 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x97 0x97]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x40]: 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x24
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x97 0x97]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x97 0x97]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x40]: 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x25
Node 0x0b [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0d [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00010014: OUT EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x02
Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x17 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x02* 0x03 0x06 0x08
Node 0x18 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000024: IN Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x19 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00003724: IN Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x03a11030: [Jack] Mic at Ext Left
    Conn = 1/8, Color = Black
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1a [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00003724: IN Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00013734: IN OUT EAPD Detect
    Vref caps: HIZ 50 GRD 80 100
  EAPD 0x2: EAPD
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x02* 0x03
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x40471a6d: [N/A] SPDIF Out at Ext N/A
    Conn = Analog, Color = Black
    DefAssociation = 0x6, Sequence = 0xd
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400501: Stereo
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=142
Node 0x21 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x03211020: [Jack] HP Out at Ext Left
    Conn = 1/8, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x02 0x03*
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 5
     0x19 0x1a 0x1b 0x1d 0x13
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 5
     0x19 0x1a 0x1b 0x1d 0x12
Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x12* 0x13 0x18
Node 0x25 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x12* 0x13
Codec: Intel Tigerlake HDMI
Address: 2
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x80862812
Subsystem Id: 0x80860101
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D3 CLKSTOP EPSS
  Power: setting=D0, actual=D0, Clock-stop-OK
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x03 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled KAE
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1a]: 16 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0b000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Devices: 0
  Connection: 0
Node 0x05 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled KAE
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1a]: 16 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x06 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0b000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Devices: 0
  Connection: 0
Node 0x07 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled KAE
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1a]: 16 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x08 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0b000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Devices: 0
  Connection: 0
Node 0x09 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled KAE
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1a]: 16 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x0a [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0b000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Devices: 0
  Connection: 0
Node 0x0b [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0b000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Devices: 0
  Connection: 0
Node 0x0c [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0b000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Devices: 0
  Connection: 0
Node 0x0d [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0b000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Devices: 0
  Connection: 0
Node 0x0e [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0b000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Devices: 0
  Connection: 0
Node 0x0f [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0b000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Devices: 0
  Connection: 0
--endcollapse--


!!USB Descriptors
!!---------------
--startcollapse--

Bus 003 Device 002: ID 0d8c:016c C-Media Electronics, Inc. USB Advanced Audio Device
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        16
  idVendor           0x0d8c C-Media Electronics, Inc.
  idProduct          0x016c 
  bcdDevice            1.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0103
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength       0x006a
        bInCollection           2
        baInterfaceNr(0)        1
        baInterfaceNr(1)        2
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             2
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             6
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID               9
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             7
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               8
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      5 (SELECTOR_UNIT)
        bUnitID                 8
        bNrInPins               1
        baSourceID(0)          10
        iSelector               0 
      AudioControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 9
        bSourceID              15
        bControlSize            2
        bmaControls(0)     0x0001
          Mute Control
        bmaControls(1)     0x0002
          Volume Control
        bmaControls(2)     0x0002
          Volume Control
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                10
        bSourceID               2
        bControlSize            1
        bmaControls(0)       0x01
          Mute Control
        bmaControls(1)       0x02
          Volume Control
        bmaControls(2)       0x02
          Volume Control
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                13
        bSourceID               2
        bControlSize            1
        bmaControls(0)       0x01
          Mute Control
        bmaControls(1)       0x02
          Volume Control
        bmaControls(2)       0x02
          Volume Control
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                14
        bDescriptorType        36
        bDescriptorSubtype      4 (MIXER_UNIT)
        bUnitID                15
        bNrInPins               2
        baSourceID(0)           1
        baSourceID(1)          13
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        bmControls(0)        0x00
        iMixer                  0 
      Warning: Junk at end of descriptor (1 bytes):
        00 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           1
        bDelay                  1 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                14
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            2 Discrete
        tSamFreq[ 0]        44100
        tSamFreq[ 1]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes           13
          Transfer Type            Isochronous
          Synch Type               Synchronous
          Usage Type               Data
        wMaxPacketSize     0x00c8  1x 200 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           7
        bDelay                  1 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                14
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            2 Discrete
        tSamFreq[ 0]        44100
        tSamFreq[ 1]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x00c8  1x 200 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     104
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               2
--endcollapse--


!!USB Stream information
!!----------------------
--startcollapse--

C-Media Electronics Inc. USB Advanced Audio Device at usb-0000:00:14.0-3, full  : USB Audio

Playback:
  Status: Stop
  Interface 1
    Altset 1
    Format: S16_LE
    Channels: 2
    Endpoint: 1 OUT (SYNC)
    Rates: 44100, 48000
    Bits: 16
    Channel map: FL FR

Capture:
  Status: Stop
  Interface 2
    Altset 1
    Format: S16_LE
    Channels: 2
    Endpoint: 2 IN (ASYNC)
    Rates: 44100, 48000
    Bits: 16
    Channel map: FL FR
--endcollapse--


!!USB Mixer information
!!---------------------
--startcollapse--

USB Mixer: usb_id=0x0d8c016c, ctrlif=0, ctlerr=0
Card: C-Media Electronics Inc. USB Advanced Audio Device at usb-0000:00:14.0-3, full 
  Unit: 9
    Control: name="Speaker Playback Volume", index=0
    Info: id=9, control=2, cmask=0x3, channels=2, type="S16"
    Volume: min=-10240, max=0, dBmin=-4000, dBmax=0
  Unit: 9
    Control: name="Speaker Playback Switch", index=0
    Info: id=9, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 10
    Control: name="Mic Capture Volume", index=0
    Info: id=10, control=2, cmask=0x3, channels=2, type="S16"
    Volume: min=0, max=8704, dBmin=0, dBmax=3400
  Unit: 10
    Control: name="Mic Capture Switch", index=0
    Info: id=10, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 13
    Control: name="Mic Playback Volume", index=0
    Info: id=13, control=2, cmask=0x3, channels=2, type="S16"
    Volume: min=-2560, max=5632, dBmin=-1000, dBmax=2200
  Unit: 13
    Control: name="Mic Playback Switch", index=0
    Info: id=13, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw----+ 1 root audio 116, 16 Mar 10 17:40 /dev/snd/controlC0
crw-rw----+ 1 root audio 116,  4 Mar 10 17:40 /dev/snd/controlC1
crw-rw----+ 1 root audio 116, 15 Mar 10 17:40 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116, 14 Mar 10 17:40 /dev/snd/hwC0D2
crw-rw----+ 1 root audio 116,  8 Mar 10 17:40 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  7 Mar 10 19:14 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116, 10 Mar 10 17:40 /dev/snd/pcmC0D1c
crw-rw----+ 1 root audio 116,  9 Mar 10 17:40 /dev/snd/pcmC0D1p
crw-rw----+ 1 root audio 116, 11 Mar 10 17:41 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116, 12 Mar 10 17:40 /dev/snd/pcmC0D4p
crw-rw----+ 1 root audio 116, 13 Mar 10 17:40 /dev/snd/pcmC0D5p
crw-rw----+ 1 root audio 116,  5 Mar 10 17:40 /dev/snd/pcmC0D6c
crw-rw----+ 1 root audio 116,  6 Mar 10 17:40 /dev/snd/pcmC0D7c
crw-rw----+ 1 root audio 116,  3 Mar 10 17:41 /dev/snd/pcmC1D0c
crw-rw----+ 1 root audio 116,  2 Mar 10 17:41 /dev/snd/pcmC1D0p
crw-rw----+ 1 root audio 116,  1 Mar 10 17:40 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Mar 10 17:40 /dev/snd/timer

/dev/snd/by-id:
total 0
drwxr-xr-x 2 root root  60 Mar 10 17:40 .
drwxr-xr-x 4 root root 420 Mar 10 17:40 ..
lrwxrwxrwx 1 root root  12 Mar 10 17:40 usb-C-Media_Electronics_Inc._USB_Advanced_Audio_Device-00 -> ../controlC1

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  80 Mar 10 17:40 .
drwxr-xr-x 4 root root 420 Mar 10 17:40 ..
lrwxrwxrwx 1 root root  12 Mar 10 17:40 pci-0000:00:14.0-usb-0:3:1.0 -> ../controlC1
lrwxrwxrwx 1 root root  12 Mar 10 17:40 pci-0000:00:1f.3-platform-skl_hda_dsp_generic -> ../controlC0


!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Device [USB Advanced Audio Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 6: DMIC48kHz (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 7: DMIC16kHz (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Device [USB Advanced Audio Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card sofhdadsp

Card hw:0 'sofhdadsp'/'LENOVO-82A3-YogaSlim714ITL05-LNVNB161216'
  Mixer name	: 'Realtek ALC287'
  Components	: 'HDA:80862812,80860101,00100000 HDA:10ec0287,17aa3809,00100002 cfg-dmics:2'
  Controls      : 46
  Simple ctrls  : 18
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
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] [off]
  Front Right: Playback 87 [100%] [0.00dB] [off]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 79 [91%] [-6.00dB] [on]
  Front Right: Playback 79 [91%] [-6.00dB] [on]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 0 [0%] [-17.25dB] [off]
  Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Dmic0',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 70
  Front Left: Capture 50 [71%] [0.00dB] [on]
  Front Right: Capture 50 [71%] [0.00dB] [on]
Simple mixer control 'Dmic1',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 70
  Front Left: Capture 50 [71%] [0.00dB]
  Front Right: Capture 50 [71%] [0.00dB]
Simple mixer control 'PGA1.0 1 Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]
Simple mixer control 'PGA2.0 2 Master',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 80
  Front Left: Capture 50 [62%] [0.00dB]
  Front Right: Capture 50 [62%] [0.00dB]
Simple mixer control 'PGA3.0 3 Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]
Simple mixer control 'PGA4.0 4 Master',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 80
  Front Left: Capture 50 [62%] [0.00dB]
  Front Right: Capture 50 [62%] [0.00dB]
Simple mixer control 'PGA7.0 7 Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]
Simple mixer control 'PGA8.0 8 Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]
Simple mixer control 'PGA9.0 9 Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]

!!-------Mixer controls for card Device

Card hw:1 'Device'/'C-Media Electronics Inc. USB Advanced Audio Device at usb-0000:00:14.0-3, full '
  Mixer name	: 'USB Mixer'
  Components	: 'USB0d8c:016c'
  Controls      : 9
  Simple ctrls  : 2
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 40
  Mono:
  Front Left: Playback 20 [50%] [-20.00dB] [on]
  Front Right: Playback 20 [50%] [-20.00dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume cvolume pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 32 Capture 0 - 34
  Front Left: Playback 10 [31%] [0.00dB] [off] Capture 34 [100%] [34.00dB] [on]
  Front Right: Playback 10 [31%] [0.00dB] [off] Capture 34 [100%] [34.00dB] [on]


!!Alsactl output
!!--------------

--startcollapse--
state.sofhdadsp {
	control.1 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 87
		value.1 87
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 87'
			dbmin -6525
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.2 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 79
		value.1 79
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 87'
			dbmin -6525
			dbmax 0
			dbvalue.0 -600
			dbvalue.1 -600
		}
	}
	control.4 {
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Disabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.6 {
		iface MIXER
		name 'Capture Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 63'
			dbmin -1725
			dbmax 3000
			dbvalue.0 -1725
			dbvalue.1 -1725
		}
	}
	control.7 {
		iface MIXER
		name 'Capture Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.8 {
		iface MIXER
		name 'Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.9 {
		iface MIXER
		name 'Master Playback Volume'
		value 87
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 87'
			dbmin -6525
			dbmax 0
			dbvalue.0 0
		}
	}
	control.10 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.11 {
		iface CARD
		name 'Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.12 {
		iface CARD
		name 'Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.13 {
		iface CARD
		name 'Speaker Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.14 {
		iface CARD
		name 'HDMI/DP,pcm=3 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.15 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.16 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.17 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.18 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.19 {
		iface PCM
		device 3
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.20 {
		iface CARD
		name 'HDMI/DP,pcm=4 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.21 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.22 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.23 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.24 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.25 {
		iface PCM
		device 4
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.26 {
		iface CARD
		name 'HDMI/DP,pcm=5 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.27 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 2
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.28 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 2
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.29 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 2
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.30 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 2
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.31 {
		iface PCM
		device 5
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.32 {
		iface PCM
		device 3
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access 'read write'
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
	control.33 {
		iface PCM
		device 4
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access 'read write'
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
	control.34 {
		iface PCM
		device 5
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access 'read write'
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
	control.35 {
		iface MIXER
		name 'PGA1.0 1 Master Playback Volume'
		value.0 32
		value.1 32
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 32'
			dbmin -9999999
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.36 {
		iface MIXER
		name 'PGA2.0 2 Master Capture Volume'
		value.0 50
		value.1 50
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 80'
			dbmin -9999999
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.37 {
		iface MIXER
		name 'PGA3.0 3 Master Playback Volume'
		value.0 32
		value.1 32
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 32'
			dbmin -9999999
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.38 {
		iface MIXER
		name 'PGA4.0 4 Master Capture Volume'
		value.0 50
		value.1 50
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 80'
			dbmin -9999999
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.39 {
		iface MIXER
		name 'PGA7.0 7 Master Playback Volume'
		value.0 32
		value.1 32
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 32'
			dbmin -9999999
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.40 {
		iface MIXER
		name 'PGA8.0 8 Master Playback Volume'
		value.0 32
		value.1 32
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 32'
			dbmin -9999999
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.41 {
		iface MIXER
		name 'PGA9.0 9 Master Playback Volume'
		value.0 32
		value.1 32
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 32'
			dbmin -9999999
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.42 {
		iface MIXER
		name 'Dmic0 Capture Volume'
		value.0 50
		value.1 50
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 70'
			dbmin -9999999
			dbmax 2000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.43 {
		iface MIXER
		name 'Dmic0 Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.45 {
		iface MIXER
		name 'Dmic1 Capture Volume'
		value.0 50
		value.1 50
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 70'
			dbmin -9999999
			dbmax 2000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
}
state.Device {
	control.1 {
		iface PCM
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.2 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.3 {
		iface MIXER
		name 'Mic Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'Mic Playback Volume'
		value.0 10
		value.1 10
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 32'
			dbmin -1000
			dbmax 2200
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.5 {
		iface MIXER
		name 'Speaker Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.6 {
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 20
		value.1 20
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 40'
			dbmin -4000
			dbmax 0
			dbvalue.0 -2000
			dbvalue.1 -2000
		}
	}
	control.7 {
		iface MIXER
		name 'Mic Capture Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'Mic Capture Volume'
		value.0 34
		value.1 34
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 34'
			dbmin 0
			dbmax 3400
			dbvalue.0 3400
			dbvalue.1 3400
		}
	}
	control.9 {
		iface CARD
		name 'Keep Interface'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------

ac97_bus
acpi_pad
acpi_tad
acpi_thermal_rel
aesni_intel
af_alg
algif_hash
algif_skcipher
autofs4
bluetooth
bnep
btbcm
btintel
btrtl
btusb
ccm
cec
cfg80211
cmac
coretemp
crc32_pclmul
crct10dif_pclmul
cros_ec
cros_ec_ishtp
cryptd
crypto_simd
drm
drm_kms_helper
ecc
ecdh_generic
efi_pstore
elan_i2c
fb_sys_fops
ghash_clmulni_intel
glue_helper
hid
hid_generic
hid_logitech_dj
hid_logitech_hidpp
hid_multitouch
hid_sensor_als
hid_sensor_custom
hid_sensor_hub
hid_sensor_iio_common
hid_sensor_trigger
i2c_algo_bit
i2c_hid
i2c_i801
i2c_smbus
i915
ideapad_laptop
idma64
industrialio
industrialio_triggered_buffer
input_leds
int3400_thermal
int3403_thermal
int340x_thermal_zone
intel_cstate
intel_hid
intel_ish_ipc
intel_ishtp
intel_ishtp_hid
intel_ishtp_loader
intel_lpss
intel_lpss_pci
intel_powerclamp
intel_rapl_common
intel_rapl_msr
intel_soc_dts_iosf
ip_tables
iwlmvm
iwlwifi
joydev
kfifo_buf
kvm
kvm_intel
ledtrig_audio
libarc4
lp
mac80211
mac_hid
mc
mei
mei_hdcp
mei_me
nls_iso8859_1
nvme
nvme_core
parport
parport_pc
pinctrl_intel
pinctrl_tigerlake
ppdev
processor_thermal_device
rc_core
rfcomm
sch_fq_codel
serio_raw
snd
snd_compress
snd_hda_codec
snd_hda_codec_generic
snd_hda_codec_hdmi
snd_hda_codec_realtek
snd_hda_core
snd_hda_ext_core
snd_hda_intel
snd_hwdep
snd_intel_dspcfg
snd_pcm
snd_pcm_dmaengine
snd_rawmidi
snd_seq
snd_seq_device
snd_seq_midi
snd_seq_midi_event
snd_soc_acpi
snd_soc_acpi_intel_match
snd_soc_core
snd_soc_dmic
snd_soc_hdac_hda
snd_soc_hdac_hdmi
snd_soc_skl_hda_dsp
snd_sof
snd_sof_intel_byt
snd_sof_intel_hda
snd_sof_intel_hda_common
snd_sof_intel_ipc
snd_sof_pci
snd_sof_xtensa_dsp
snd_timer
snd_usb_audio
snd_usbmidi_lib
soundcore
sparse_keymap
syscopyarea
sysfillrect
sysimgblt
thunderbolt
typec
typec_ucsi
ucsi_acpi
usbhid
uvcvideo
video
videobuf2_common
videobuf2_memops
videobuf2_v4l2
videobuf2_vmalloc
videodev
virt_dma
wacom
wmi
wmi_bmof
x86_pkg_temp_thermal
x_tables
xhci_pci
xhci_pci_renesas


!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D0/init_pin_configs:
0x12 0x411111f0
0x13 0x411111f0
0x14 0x90170110
0x17 0x411111f0
0x18 0x411111f0
0x19 0x03a11030
0x1a 0x411111f0
0x1b 0x411111f0
0x1d 0x40471a6d
0x1e 0x411111f0
0x21 0x03211020

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D0/hints:

/sys/class/sound/hwC0D2/init_pin_configs:
0x04 0x18560010
0x06 0x18560010
0x08 0x18560010
0x0a 0x18560010
0x0b 0x18560010
0x0c 0x18560010
0x0d 0x18560010
0x0e 0x18560010
0x0f 0x18560010

/sys/class/sound/hwC0D2/driver_pin_configs:

/sys/class/sound/hwC0D2/user_pin_configs:

/sys/class/sound/hwC0D2/init_verbs:

/sys/class/sound/hwC0D2/hints:


!!ALSA/HDA dmesg
!!--------------



!!Packages installed
!!--------------------

ii  alsa-topology-conf                         1.2.3-1                             all          ALSA topology configuration files
ii  alsa-ucm-conf                              1.2.2-1ubuntu5                      all          ALSA Use Case Manager configuration files
ii  alsa-utils                                 1.2.3-1ubuntu1                      amd64        Utilities for configuring and using ALSA
Comment 96 Jack S 2021-03-10 19:17:51 UTC
(In reply to Jack S from comment #95)
> (In reply to Jaroslav Kysela from comment #94)
> > (In reply to Jack S from comment #93)
> > 
> > > options snd-hda-intel model=auto
> > 
> > > seems to have fixed it, so perhaps this is not the same bug after all
> (and
> > I
> > > get to keep my laptop!).
> > 
> > Something seems broken with the autodetection. Could you attach your
> > 'alsa-info.sh --no-upload' output?
> 
> Certainly -- here it is!
> 

PS this is after applying the fix, let me know if you need me to unfix it and do the same.
Comment 97 wave 2021-03-14 13:43:55 UTC
I'm running Arch (5.11.5-arch1-1) on a Lenovo Yoga 7i and I managed to get audio to work with Realtek ALC287 under certain circumstances.

It works only after I suspend to RAM, and it disappears within around 7 seconds of not playing any audio (playing it muted is enough to keep it alive). I also have to start the playback within 7 seconds of resuming from suspend, or alternatively keep it running when suspending.

It does not work after suspending to disk, suspending to idle, or rebooting, but hybrid-sleep works. I did not have to blacklist or otherwise configure related kernel modules in /etc/modprobe.d, but I did have to enable S3 sleep by manipulating the DSDT table following https://wiki.archlinux.org/index.php/DSDT. Now I did not really know what I was doing because the patch in the article did not apply to the table on my system; I only changed a line reading "Name (SS3, Zero)" into "Name (SS3, One)", but it worked.

Incidentally my brightness keys are only recognized when suspending to RAM or disk, so it seems like there is some necessary initialization going on that are only correctly carried out during certain sleep states.

Here is a dmesg log, where I did the following:
start playing some audio (no sound)
# echo s2idle > /sys/power/mem_sleep
# echo mem > /sys/power/state
waking up (no sound)
# echo deep > /sys/power/mem_sleep
# echo mem > /sys/power/state
waking up (audio starts playing)
pausing and resuming after 7 seconds (no sound)

[ 2694.326411] PM: suspend entry (s2idle)
[ 2694.327335] Filesystems sync: 0.000 seconds
[ 2694.328229] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 2694.330054] OOM killer disabled.
[ 2694.330055] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 2694.331250] printk: Suspending console(s) (use no_console_suspend to debug)
[ 2695.134660] ACPI: EC: interrupt blocked
[ 2697.927155] ACPI: EC: interrupt unblocked
[ 2698.778671] pcieport 10000:e0:1d.0: can't derive routing for PCI INT A
[ 2698.778677] nvme 10000:e1:00.0: PCI INT A: no GSI
[ 2698.784394] nvme nvme0: 8/0/0 default/read/poll queues
[ 2699.383146] OOM killer enabled.
[ 2699.383149] Restarting tasks ... 
[ 2699.384141] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[ 2699.385242] done.
[ 2699.581393] thermal thermal_zone6: failed to read out thermal zone (-61)
[ 2699.582054] PM: suspend exit
[ 2716.865106] PM: suspend entry (deep)
[ 2716.866184] Filesystems sync: 0.001 seconds
[ 2716.866842] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 2716.868785] OOM killer disabled.
[ 2716.868786] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 2716.870059] printk: Suspending console(s) (use no_console_suspend to debug)
[ 2717.755405] ACPI: EC: interrupt blocked
[ 2717.793696] ACPI: Preparing to enter system sleep state S3
[ 2717.807740] ACPI: EC: event blocked
[ 2717.807741] ACPI: EC: EC stopped
[ 2717.807742] PM: Saving platform NVS memory
[ 2717.807869] Disabling non-boot CPUs ...
[ 2717.808450] migrate_one_irq: 4 callbacks suppressed
[ 2717.808454] IRQ149: set affinity failed(-22).
[ 2717.809504] smpboot: CPU 1 is now offline
[ 2717.811931] IRQ149: set affinity failed(-22).
[ 2717.812998] smpboot: CPU 2 is now offline
[ 2717.814258] IRQ149: set affinity failed(-22).
[ 2717.815316] smpboot: CPU 3 is now offline
[ 2717.817558] IRQ149: set affinity failed(-22).
[ 2717.818601] smpboot: CPU 4 is now offline
[ 2717.820319] IRQ149: set affinity failed(-22).
[ 2717.821351] smpboot: CPU 5 is now offline
[ 2717.823171] IRQ149: set affinity failed(-22).
[ 2717.824199] smpboot: CPU 6 is now offline
[ 2717.824753] IRQ149: set affinity failed(-22).
[ 2717.825784] smpboot: CPU 7 is now offline
[ 2717.832642] ACPI: Low-level resume complete
[ 2717.832773] ACPI: EC: EC started
[ 2717.832774] PM: Restoring platform NVS memory
[ 2717.833866] Enabling non-boot CPUs ...
[ 2717.833920] x86: Booting SMP configuration:
[ 2717.833921] smpboot: Booting Node 0 Processor 1 APIC 0x2
[ 2717.834897] CPU1 is up
[ 2717.834930] smpboot: Booting Node 0 Processor 2 APIC 0x4
[ 2717.836021] CPU2 is up
[ 2717.836051] smpboot: Booting Node 0 Processor 3 APIC 0x6
[ 2717.837138] CPU3 is up
[ 2717.837169] smpboot: Booting Node 0 Processor 4 APIC 0x1
[ 2717.838265] CPU4 is up
[ 2717.838287] smpboot: Booting Node 0 Processor 5 APIC 0x3
[ 2717.839239] CPU5 is up
[ 2717.839269] smpboot: Booting Node 0 Processor 6 APIC 0x5
[ 2717.840327] CPU6 is up
[ 2717.840348] smpboot: Booting Node 0 Processor 7 APIC 0x7
[ 2717.841434] CPU7 is up
[ 2717.843982] ACPI: Waking up from system sleep state S3
[ 2717.847213] ACPI: EC: interrupt unblocked
[ 2718.095228] ACPI: EC: event unblocked
[ 2718.095906] pcieport 10000:e0:1d.0: can't derive routing for PCI INT A
[ 2718.095911] nvme 10000:e1:00.0: PCI INT A: no GSI
[ 2718.108513] usb usb1: root hub lost power or was reset
[ 2718.108526] usb usb2: root hub lost power or was reset
[ 2718.166723] nvme nvme0: 8/0/0 default/read/poll queues
[ 2718.348451] usb 3-9: reset high-speed USB device number 3 using xhci_hcd
[ 2718.611863] usb 3-10: reset full-speed USB device number 4 using xhci_hcd
[ 2718.660745] ish-hid {33AECD58-B679-4E54-9BD9-A04D34F0C226}: [hid-ish]: enum_devices_done OK, num_hid_devices=2
[ 2718.875230] usb 3-8: reset high-speed USB device number 2 using xhci_hcd
[ 2719.032790] acpi LNXPOWER:06: Turning OFF
[ 2719.034182] OOM killer enabled.
[ 2719.034184] Restarting tasks ... done.
[ 2719.035966] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[ 2719.036941] thermal thermal_zone6: failed to read out thermal zone (-61)
[ 2719.081890] audit: type=1130 audit(1615728121.246:123): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2719.131666] PM: suspend exit
[ 2719.132650] Bluetooth: hci0: Bootloader revision 0.4 build 0 week 30 2018
[ 2719.133690] Bluetooth: hci0: Device revision is 2
[ 2719.133696] Bluetooth: hci0: Secure boot is enabled
[ 2719.133698] Bluetooth: hci0: OTP lock is enabled
[ 2719.133700] Bluetooth: hci0: API lock is enabled
[ 2719.133701] Bluetooth: hci0: Debug lock is disabled
[ 2719.133702] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 2719.133986] Bluetooth: hci0: Found device firmware: intel/ibt-19-0-4.sfi
[ 2720.728153] Bluetooth: hci0: Waiting for firmware download to complete
[ 2720.728635] Bluetooth: hci0: Firmware loaded in 1559382 usecs
[ 2720.728662] Bluetooth: hci0: Waiting for device to boot
[ 2720.746620] Bluetooth: hci0: Device booted in 17562 usecs
[ 2720.746648] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-19-0-4.ddc
[ 2720.748628] Bluetooth: hci0: Applying Intel DDC parameters completed
[ 2720.751627] Bluetooth: hci0: Firmware revision 0.0 build 26 week 3 2021
[ 2724.086521] audit: type=1131 audit(1615728126.250:124): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2750.480471] audit: type=1101 audit(1615728152.643:125): pid=66993 uid=1000 auid=1000 ses=1 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="p" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/5 res=success'
[ 2750.481116] audit: type=1110 audit(1615728152.643:126): pid=66993 uid=1000 auid=1000 ses=1 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/5 res=success'
[ 2750.481311] audit: type=1105 audit(1615728152.646:127): pid=66993 uid=1000 auid=1000 ses=1 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/5 res=success'

alsa-info.sh: http://alsa-project.org/db/?f=301a28d975ddbb2e2ea6631dcf59a236db05467d
Comment 98 Priyaranjan Sharma 2021-04-03 16:01:43 UTC
I don't have any sound on my Lenovo Yoga 7i 15" with Fedora 33. 
Tried Suse, Ubuntu and Mint as well and it is same result.
Comment 99 lauchgott 2021-04-07 19:30:18 UTC
i would like to attach myself to the problem. 

New Lenovo Legion 7, no Sound on Manjaro or Ubuntu, not on Live-USB, not on installed OS. Headphones working perfectly, Speakers giving no sound at all. 
Has there been any kind of solution by now?

I am still in my 30-days trial-period, am very happy with this machine, but do all my development for work on linux. if possible, i would love to avoid sending it back and buy another machine.
Comment 100 wave 2021-04-08 19:31:14 UTC
Did anyone else with the problem try my "workaround" from comment #97? It's actually not too bad, I just suspend whenever I need audio from my speakers and play some music muted in the background in a loop to keep it alive in case playback is interrupted. Not perfect but usable.
Comment 101 Cameron 2021-04-08 20:59:44 UTC
This workaround doesn't work with the Legion 7i, unfortunately.

On 4/8/21 12:31 PM, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> --- Comment #100 from wave (zanto98@yahoo.de) ---
> Did anyone else with the problem try my "workaround" from comment #97? It's
> actually not too bad, I just suspend whenever I need audio from my speakers
> and
> play some music muted in the background in a loop to keep it alive in case
> playback is interrupted. Not perfect but usable.
>
Comment 102 wave 2021-04-09 06:22:12 UTC
(In reply to Cameron from comment #101)
> This workaround doesn't work with the Legion 7i, unfortunately.
> 
> On 4/8/21 12:31 PM, bugzilla-daemon@bugzilla.kernel.org wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=208555
> >
> > --- Comment #100 from wave (zanto98@yahoo.de) ---
> > Did anyone else with the problem try my "workaround" from comment #97? It's
> > actually not too bad, I just suspend whenever I need audio from my speakers
> > and
> > play some music muted in the background in a loop to keep it alive in case
> > playback is interrupted. Not perfect but usable.
> >

But you do get S3 sleep when suspending or managed to activate it?
Comment 103 Cameron 2021-04-09 15:48:04 UTC
Yes:
[122708.265368] ACPI: Preparing to enter system sleep state S3
[122708.333271] ACPI: Waking up from system sleep state S3
Comment 104 chenyh570 2021-04-09 17:57:58 UTC
(In reply to wave from comment #100)
> Did anyone else with the problem try my "workaround" from comment #97? It's
> actually not too bad, I just suspend whenever I need audio from my speakers
> and play some music muted in the background in a loop to keep it alive in
> case playback is interrupted. Not perfect but usable.

I have 14inch yoga 7i, and unfortunately it doesn't work for me. I am running 5.10 kernel
Comment 105 wave 2021-04-10 07:00:45 UTC
(In reply to chenyh570 from comment #104)
> (In reply to wave from comment #100)
> > Did anyone else with the problem try my "workaround" from comment #97? It's
> > actually not too bad, I just suspend whenever I need audio from my speakers
> > and play some music muted in the background in a loop to keep it alive in
> > case playback is interrupted. Not perfect but usable.
> 
> I have 14inch yoga 7i, and unfortunately it doesn't work for me. I am
> running 5.10 kernel

I have the same model and it worked with the same kernel on Arch. Which OS did you try?
Unfortunately kernel 5.11.12 broke my S3 sleep again and my previous fix doesn't work, completely breaking speaker audio for me again.
Comment 106 chenyh570 2021-04-10 15:58:45 UTC
(In reply to wave from comment #105)
> (In reply to chenyh570 from comment #104)
> > (In reply to wave from comment #100)
> > > Did anyone else with the problem try my "workaround" from comment #97?
> It's
> > > actually not too bad, I just suspend whenever I need audio from my
> speakers
> > > and play some music muted in the background in a loop to keep it alive in
> > > case playback is interrupted. Not perfect but usable.
> > 
> > I have 14inch yoga 7i, and unfortunately it doesn't work for me. I am
> > running 5.10 kernel
> 
> I have the same model and it worked with the same kernel on Arch. Which OS
> did you try?
> Unfortunately kernel 5.11.12 broke my S3 sleep again and my previous fix
> doesn't work, completely breaking speaker audio for me again.

I am running Ubuntu 20.04.2LTS, and I rolled back to kernel version 5.10.04 recently from 5.11, as the 5.11.12 made my microphone un-usable.
Comment 107 wave 2021-04-11 07:12:34 UTC
(In reply to chenyh570 from comment #106)
> (In reply to wave from comment #105)
> > (In reply to chenyh570 from comment #104)
> > > (In reply to wave from comment #100)
> > > > Did anyone else with the problem try my "workaround" from comment #97?
> > It's
> > > > actually not too bad, I just suspend whenever I need audio from my
> > speakers
> > > > and play some music muted in the background in a loop to keep it alive
> in
> > > > case playback is interrupted. Not perfect but usable.
> > > 
> > > I have 14inch yoga 7i, and unfortunately it doesn't work for me. I am
> > > running 5.10 kernel
> > 
> > I have the same model and it worked with the same kernel on Arch. Which OS
> > did you try?
> > Unfortunately kernel 5.11.12 broke my S3 sleep again and my previous fix
> > doesn't work, completely breaking speaker audio for me again.
> 
> I am running Ubuntu 20.04.2LTS, and I rolled back to kernel version 5.10.04
> recently from 5.11, as the 5.11.12 made my microphone un-usable.

And what does
cat /sys/power/mem_sleep
say?
Comment 108 chenyh570 2021-04-11 15:31:29 UTC
it saids "[s2idle]"
Comment 109 wave 2021-04-11 15:53:56 UTC
(In reply to chenyh570 from comment #108)
> it saids "[s2idle]"

In this case S3 sleep is deactivated. You could try to follow the section "Manual method" in https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Yoga_(Gen_3)#Enabling_S3_(with_BIOS_version_1.33_and_after), but instead of the patch it says there just replace
   Name (SS3, Zero)
with
   Name (SS3, One)
and in a line at the top like
   DefinitionBlock ("", "DSDT", 2, "LENOVO", "CB-01   ", 0x00000002)
you need to increment the last number (change it to 0x00000003 in this case). This is what it took for me to get S3 sleep working, and then right after suspending the speakers work if playback is started within a magical window of a few seconds.

Note You need to log in before you can comment on or make changes to this bug.