View previous topic :: View next topic |
Author |
Message |
jb1277976_ n00b
Joined: 30 Oct 2023 Posts: 29
|
Posted: Thu Jan 04, 2024 4:43 am Post subject: [Solved] Comet lake-Pch-lp-CaVS no sound |
|
|
HEllo,
I've been up and down the forums i've reinstalled 2 times and have downgraded 5 kernels and still no sound. One downgrade helped me get my device detected but still no sound. i noticed in a lot of post that there are things i need to post like logs. Just tell me and i will provide it. I have pulseaudio and alsa installed
Code: |
sys-kernel/gentoo-kernel-bin
Available versions:
(5.10.203) 5.10.203^tu
(5.10.204) ~5.10.204^tu
(5.10.205) ~5.10.205^tu
(5.15.142) 5.15.142^tu
(5.15.143) ~5.15.143^tu
(5.15.144) ~5.15.144^tu
(5.15.145) ~5.15.145^tu
(6.1.66) 6.1.66^tu
(6.1.67) 6.1.67^tu
(6.1.68) ~6.1.68^tu
|
I have 6.1.67, 6.1.66, 5.15.142 and 5.10.203. 5.15.142 gave me the best results but still no sound.
Please help
Last edited by jb1277976_ on Fri Jan 05, 2024 8:52 pm; edited 1 time in total |
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 425 Location: Naarm/Melbourne, Australia
|
Posted: Thu Jan 04, 2024 11:06 pm Post subject: |
|
|
Firstly, if you've not already done so, please install the `alsa-utils` package. Also, please run the lastest kernel you have installed, and use that kernel consistently during this process of trying to figure out what's going on; futzing around with various kernels won't help if the kernel isn't the actual source of the problem.
Then, can you run 'alsamixer` and confirm that playback is not muted or at a very low volume?
Once you've done that, please provide the following, by uploading each to pastebin.com and sharing the links:
* The output of running `emerge --info`.
* The output of running `dmesg`.
* The output of running `alsactl info`.
* The output of running `pa-info`. |
|
Back to top |
|
|
jb1277976_ n00b
Joined: 30 Oct 2023 Posts: 29
|
Posted: Thu Jan 04, 2024 11:19 pm Post subject: |
|
|
flexibeast wrote: | Firstly, if you've not already done so, please install the `alsa-utils` package. Also, please run the lastest kernel you have installed, and use that kernel consistently during this process of trying to figure out what's going on; futzing around with various kernels won't help if the kernel isn't the actual source of the problem.
Then, can you run 'alsamixer` and confirm that playback is not muted or at a very low volume?
Once you've done that, please provide the following, by uploading each to pastebin.com and sharing the links:
* The output of running `emerge --info`.
* The output of running `dmesg`.
* The output of running `alsactl info`.
* The output of running `pa-info`. |
Hello,
I apologize for not posting all this info already but here we are.
1. I have alsa-utils installed already
2. Running the latest kernel
3. Alsamixer has master at 100 yet pavucontrol has me at a Dummy Output
4 Emerge info - https://bpa.st/BRRA
5. dmesg - https://termbin.com/9i7c
6. alsactl info - https://bpa.st/KNAA
7. pa-info - https://termbin.com/xpxi
I hope that is enough. if not let me know |
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 425 Location: Naarm/Melbourne, Australia
|
Posted: Thu Jan 04, 2024 11:55 pm Post subject: |
|
|
Thanks for sharing that all that
The output of `pa-info` contains:
Code: | Default Sink: auto_null
Default Source: auto_null.monitor |
Then, the output of `alsactl info` contains:
Code: | longname: HP-Dragonair-rev4
driver_name: sof-rt5682
mixer_name: Intel Kabylake HDMI |
So looking at the output of `dmesg`, some relevant sections are:
Code: | [ 4.038033] rt5682 i2c-10EC5682:00: Using default DAI clk names: rt5682-dai-wclk, rt5682-dai-bclk
[ 4.038622] rt5682 i2c-10EC5682:00: supply AVDD not found, using dummy regulator
[ 4.039248] rt5682 i2c-10EC5682:00: supply MICVDD not found, using dummy regulator
[ 4.039255] rt5682 i2c-10EC5682:00: supply VBAT not found, using dummy regulator
[ 4.041398] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 |
Code: | [ 4.778335] snd_soc_skl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 4.798704] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 4.798856] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 4.813121] sof-audio-pci-intel-cnl 0000:00:1f.3: bound 0000:00:02.0 (ops __SCT__tp_func_intel_frontbuffer_flush [i915])
[ 4.820394] sof-audio-pci-intel-cnl 0000:00:1f.3: use msi interrupt mode
[ 4.833437] sof-audio-pci-intel-cnl 0000:00:1f.3: NHLT table not found
[ 4.833487] sof-audio-pci-intel-cnl 0000:00:1f.3: hda codecs found, mask 4
[ 4.833500] Loading firmware: intel/sof/community/sof-cml.ri
[ 4.841486] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[ 4.841490] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[ 4.841494] sof-audio-pci-intel-cnl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30 |
Code: | [ 4.953459] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[ 4.953474] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0 |
Code: | [ 4.981604] Loading firmware: intel/sof-tplg/sof-cml-rt5682-max98357a.tplg
[ 4.983762] sof-audio-pci-intel-cnl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0
[ 4.984615] sof_rt5682 sof_rt5682: ASoC: Parent card not yet available, widget card binding deferred
[ 5.014845] snd_hda_codec_hdmi ehdaudio0D2: ASoC: sink widget AIF1TX overwritten
[ 5.014856] snd_hda_codec_hdmi ehdaudio0D2: ASoC: source widget AIF1RX overwritten
[ 5.030574] input: sof-rt5682 Headset Jack as /devices/pci0000:00/0000:00:1f.3/sof_rt5682/sound/card0/input27
[ 5.030651] input: sof-rt5682 HDMI/DP,pcm=2 as /devices/pci0000:00/0000:00:1f.3/sof_rt5682/sound/card0/input28
[ 5.030719] input: sof-rt5682 HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sof_rt5682/sound/card0/input29
[ 5.030819] input: sof-rt5682 HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/sof_rt5682/sound/card0/input30 |
Hopefully someone with knowledge and/or experience of this hardware can comment on whether any of this indicates a problem, and if so, what needs to be done to fix it. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22578
|
Posted: Fri Jan 05, 2024 12:23 am Post subject: |
|
|
I have no immediate leads, but I want to point out a common pitfall. PulseAudio / PipeWire rely on ALSA internally. If your ALSA setup is not right, then PulseAudio cannot work. If your ALSA setup is right, then PulseAudio may or may not work, depending on whether it is configured properly. Therefore, the first step in pursuing this should be to determine which layers are and are not working. If ALSA is not working, then there is no point to examining PulseAudio (yet). If ALSA is working, then PulseAudio should be examined. |
|
Back to top |
|
|
garrison Apprentice
Joined: 18 Mar 2003 Posts: 265
|
Posted: Fri Jan 05, 2024 12:28 am Post subject: Re: Comet lake-Pch-lp-CaVS no sound |
|
|
jb1277976_ wrote: | I have pulseaudio and alsa installed |
Try selecting "Stereo Output + Stereo Input" profile in pavucontrol "Configuration" tab (even though that is probably listed as 'unavailable') and post updated pa-info output. This chromebook (which model?) probably needs some attention in alsa-ucm-conf. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5036 Location: Bavaria
|
Posted: Fri Jan 05, 2024 12:36 am Post subject: |
|
|
I have also no immediate leads, but I have seen it is a:
Code: | [ 0.000000] DMI: Google Dragonair/Dragonair, BIOS MrChromebox-4.21.0 09/30/2023 |
These kind of machines can be problematic. I would boot an UbuntuLiveCD and check if sound works there. If not, it is unlikely we get it working with Gentoo. _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
jb1277976_ n00b
Joined: 30 Oct 2023 Posts: 29
|
Posted: Fri Jan 05, 2024 12:58 am Post subject: |
|
|
Thanks all for the information.
I will boot into the LMDE usb that i install gentoo from and test. if it fails then we know its the chromebooks fault |
|
Back to top |
|
|
jb1277976_ n00b
Joined: 30 Oct 2023 Posts: 29
|
Posted: Fri Jan 05, 2024 1:53 am Post subject: |
|
|
Guys really quick
I know this is a Chromebook and used a custom bios that is uefi
I've been able to run almost all Linux distros out there. Debian, void, arch, and sound has worked on all of them all I need is sof-firmware
The only distro/is I haven't got sound to work is freeBSD and openbsd doesn't even run
Just fyi |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5036 Location: Bavaria
|
Posted: Fri Jan 05, 2024 2:37 am Post subject: |
|
|
So, if it works with other Linux distribution it should work also with our binary dist-kernel. Maybe ... you will need the newest (unstable) sys-firmware/sof-firmware-2023.12 ? (Its worth a try). _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
jb1277976_ n00b
Joined: 30 Oct 2023 Posts: 29
|
Posted: Fri Jan 05, 2024 3:23 am Post subject: |
|
|
pietinger wrote: | So, if it works with other Linux distribution it should work also with our binary dist-kernel. Maybe ... you will need the newest (unstable) sys-firmware/sof-firmware-2023.12 ? (Its worth a try). |
Still new to Gentoo
Do I need to unmask to get the latest unstable firmware?
If so is there a guide to unmask unstable ? |
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 425 Location: Naarm/Melbourne, Australia
|
Posted: Fri Jan 05, 2024 4:12 am Post subject: |
|
|
One can unmask specific packages. In this instance, you could create a directory /etc/portage/package.accept_keywords/, and then create a file in that directory called e.g. 'misc' (though the file can be called whatever you want), containing:
Code: | sys-firmware/sof-firmware ~amd64 |
which will allow you to install the latest ~amd64 version of the sof-firmware package.
More details in this page on the wiki. |
|
Back to top |
|
|
jb1277976_ n00b
Joined: 30 Oct 2023 Posts: 29
|
Posted: Fri Jan 05, 2024 4:26 am Post subject: |
|
|
flexibeast wrote: | One can unmask specific packages. In this instance, you could create a directory /etc/portage/package.accept_keywords/, and then create a file in that directory called e.g. 'misc' (though the file can be called whatever you want), containing:
Code: | sys-firmware/sof-firmware ~amd64 |
which will allow you to install the latest ~amd64 version of the sof-firmware package.
More details in this page on the wiki. |
Thanks for all this valuable information.
When I install the unstable sof-firmware what will happen to the original? Does it overwrite it? |
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 425 Location: Naarm/Melbourne, Australia
|
Posted: Fri Jan 05, 2024 5:28 am Post subject: |
|
|
When you install the unstable version, it will replace the stable version, i.e. the stable version will be removed. However, you can get the old version back by removing (or commenting out, with an initial '#') the line containing the "~amd64", and then re-running 'emerge @world', which will 'downgrade' to the latest stable version.
(A clean such downgrade isn't necessarily possible for all packages. For example, don't expect to be able to do something like this with glibc.) |
|
Back to top |
|
|
jb1277976_ n00b
Joined: 30 Oct 2023 Posts: 29
|
Posted: Fri Jan 05, 2024 5:55 am Post subject: |
|
|
I'm back
so i enabled unstable sof-firmware and re-emerged world with -uavDU and still getting dummy output. am i missing a step?
Thanks |
|
Back to top |
|
|
garrison Apprentice
Joined: 18 Mar 2003 Posts: 265
|
Posted: Fri Jan 05, 2024 7:10 am Post subject: Re: Comet lake-Pch-lp-CaVS no sound |
|
|
garrison wrote: | jb1277976_ wrote: | I have pulseaudio and alsa installed |
Try selecting "Stereo Output + Stereo Input" profile in pavucontrol "Configuration" tab (even though that is probably listed as 'unavailable') and post updated pa-info output. This chromebook (which model?) probably needs some attention in alsa-ucm-conf. |
Any results with this suggested change? |
|
Back to top |
|
|
jb1277976_ n00b
Joined: 30 Oct 2023 Posts: 29
|
Posted: Fri Jan 05, 2024 9:23 am Post subject: Re: Comet lake-Pch-lp-CaVS no sound |
|
|
garrison wrote: | garrison wrote: | jb1277976_ wrote: | I have pulseaudio and alsa installed |
Try selecting "Stereo Output + Stereo Input" profile in pavucontrol "Configuration" tab (even though that is probably listed as 'unavailable') and post updated pa-info output. This chromebook (which model?) probably needs some attention in alsa-ucm-conf. |
Any results with this suggested change? |
Here is the requested information from pa-info https://termbin.com/wzzg
Also this is a Hp Chromebook x360 14c Dragonair
Still no sound after changing the configuration in pavucontrol
Thanks |
|
Back to top |
|
|
garrison Apprentice
Joined: 18 Mar 2003 Posts: 265
|
Posted: Fri Jan 05, 2024 9:35 am Post subject: |
|
|
Ok that worked but does not see the speaker on card 0 device 5.
Please try this: 'speaker-test -Dhw:0,5 -t wav -c 2'
If that works you can ask for help with UCM configuration https://github.com/alsa-project/alsa-ucm-conf/issues or can add custom alsa card profile for pulseaudio which would reference card subdevice 5 as output.
You probably can also make your speakers work in pipewire sound server in pro audio profile which provides access to bare devices. |
|
Back to top |
|
|
jb1277976_ n00b
Joined: 30 Oct 2023 Posts: 29
|
Posted: Fri Jan 05, 2024 5:28 pm Post subject: |
|
|
garrison wrote: | Ok that worked but does not see the speaker on card 0 device 5.
Please try this: 'speaker-test -Dhw:0,5 -t wav -c 2'
If that works you can ask for help with UCM configuration https://github.com/alsa-project/alsa-ucm-conf/issues or can add custom alsa card profile for pulseaudio which would reference card subdevice 5 as output.
You probably can also make your speakers work in pipewire sound server in pro audio profile which provides access to bare devices. |
Speaker test worked beautifully
What do you recommend i do next? i know you gave me two options but i don't want to go down rabbit holes and get stuck again. I know its proably a good lesson since i'm finding out about my system. but just don't want to hit dead ends.
Thanks for the progress we are making! |
|
Back to top |
|
|
garrison Apprentice
Joined: 18 Mar 2003 Posts: 265
|
Posted: Fri Jan 05, 2024 6:26 pm Post subject: |
|
|
You probably can just file an issue to alsa-ucm-conf providing the info from this thread + result of speaker-test for 'hw:0,5'
To create custom alsa card profile for pulseaudio see https://www.freedesktop.org/wiki/Software/PulseAudio/Backends/ALSA/Profiles/ similar thing applies to pipewire sound server too.
Or check if pipewire pro audio profile does the job for you. |
|
Back to top |
|
|
jb1277976_ n00b
Joined: 30 Oct 2023 Posts: 29
|
Posted: Fri Jan 05, 2024 7:39 pm Post subject: |
|
|
garrison wrote: | You probably can just file an issue to alsa-ucm-conf providing the info from this thread + result of speaker-test for 'hw:0,5'
To create custom alsa card profile for pulseaudio see https://www.freedesktop.org/wiki/Software/PulseAudio/Backends/ALSA/Profiles/ similar thing applies to pipewire sound server too.
Or check if pipewire pro audio profile does the job for you. |
OMG you fixed it!!!
It created a Pro Profile
So i installed pipewire right and did everything from https://wiki.gentoo.org/wiki/PipeWire in order
I rebooted and now have profiles
for speakers i have
1. Comet Lake PCH-LP cAVS Pro 5
For Micrphone i have
1. Comet Lake PCH-LP cAVS Pro 8
Don't know but everything is working. This is beautiful
Thanks for walking me through all this..
Here is pa-info again so you can see what happend - https://termbin.com/j46i
Thanks once again! |
|
Back to top |
|
|
jb1277976_ n00b
Joined: 30 Oct 2023 Posts: 29
|
Posted: Sat Jan 13, 2024 12:37 am Post subject: |
|
|
garrison wrote: | You probably can just file an issue to alsa-ucm-conf providing the info from this thread + result of speaker-test for 'hw:0,5'
To create custom alsa card profile for pulseaudio see https://www.freedesktop.org/wiki/Software/PulseAudio/Backends/ALSA/Profiles/ similar thing applies to pipewire sound server too.
Or check if pipewire pro audio profile does the job for you. |
Sorry for the late response.
Yes in this post i marked this as resolved https://forums.gentoo.org/viewtopic-p-8812339.html#8812339 but in actuallity it wasn't resolved because i had to use pipewire. it worked i got sound out of speakers and mic but not headphones. after trial and error i had to run a custom script for chromebooks that just worked.. It fixed it in seconds. I forgot i need that script for chromebooks to work.
Thanks for everything.
This is issue is resolved
~ Joe B |
|
Back to top |
|
|
|