Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

[Solved] Comet lake-Pch-lp-CaVS no sound

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
22 posts • Page 1 of 1
Author
Message
jb1277976_
n00b
n00b
User avatar
Posts: 35
Joined: Mon Oct 30, 2023 3:50 am

[Solved] Comet lake-Pch-lp-CaVS no sound

  • Quote

Post by jb1277976_ » Thu Jan 04, 2024 4:43 am

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: Select all

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.
Top
flexibeast
l33t
l33t
Posts: 679
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Thu Jan 04, 2024 11:06 pm

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`.
Top
jb1277976_
n00b
n00b
User avatar
Posts: 35
Joined: Mon Oct 30, 2023 3:50 am

  • Quote

Post by jb1277976_ » Thu Jan 04, 2024 11:19 pm

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
Top
flexibeast
l33t
l33t
Posts: 679
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Thu Jan 04, 2024 11:55 pm

Thanks for sharing that all that

The output of `pa-info` contains:

Code: Select all

Default Sink: auto_null
Default Source: auto_null.monitor
Then, the output of `alsactl info` contains:

Code: Select all

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: Select all

[    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: Select all

[    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: Select all

[    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: Select all

[    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.
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Fri Jan 05, 2024 12:23 am

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.
Top
garrison
Apprentice
Apprentice
Posts: 276
Joined: Tue Mar 18, 2003 9:23 am

Re: Comet lake-Pch-lp-CaVS no sound

  • Quote

Post by garrison » Fri Jan 05, 2024 12:28 am

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.
Top
pietinger
Moderator
Moderator
Posts: 6608
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Fri Jan 05, 2024 12:36 am

I have also no immediate leads, but I have seen it is a:

Code: Select all

[    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 --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
jb1277976_
n00b
n00b
User avatar
Posts: 35
Joined: Mon Oct 30, 2023 3:50 am

  • Quote

Post by jb1277976_ » Fri Jan 05, 2024 12:58 am

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
Top
jb1277976_
n00b
n00b
User avatar
Posts: 35
Joined: Mon Oct 30, 2023 3:50 am

  • Quote

Post by jb1277976_ » Fri Jan 05, 2024 1:53 am

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
Top
pietinger
Moderator
Moderator
Posts: 6608
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Fri Jan 05, 2024 2:37 am

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 --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
jb1277976_
n00b
n00b
User avatar
Posts: 35
Joined: Mon Oct 30, 2023 3:50 am

  • Quote

Post by jb1277976_ » Fri Jan 05, 2024 3:23 am

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 ?
Top
flexibeast
l33t
l33t
Posts: 679
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Fri Jan 05, 2024 4:12 am

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: Select all

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.
Top
jb1277976_
n00b
n00b
User avatar
Posts: 35
Joined: Mon Oct 30, 2023 3:50 am

  • Quote

Post by jb1277976_ » Fri Jan 05, 2024 4:26 am

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: Select all

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?
Top
flexibeast
l33t
l33t
Posts: 679
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Fri Jan 05, 2024 5:28 am

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.)
Top
jb1277976_
n00b
n00b
User avatar
Posts: 35
Joined: Mon Oct 30, 2023 3:50 am

  • Quote

Post by jb1277976_ » Fri Jan 05, 2024 5:55 am

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
Top
garrison
Apprentice
Apprentice
Posts: 276
Joined: Tue Mar 18, 2003 9:23 am

Re: Comet lake-Pch-lp-CaVS no sound

  • Quote

Post by garrison » Fri Jan 05, 2024 7:10 am

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?
Top
jb1277976_
n00b
n00b
User avatar
Posts: 35
Joined: Mon Oct 30, 2023 3:50 am

Re: Comet lake-Pch-lp-CaVS no sound

  • Quote

Post by jb1277976_ » Fri Jan 05, 2024 9:23 am

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
Top
garrison
Apprentice
Apprentice
Posts: 276
Joined: Tue Mar 18, 2003 9:23 am

  • Quote

Post by garrison » Fri Jan 05, 2024 9:35 am

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.
Top
jb1277976_
n00b
n00b
User avatar
Posts: 35
Joined: Mon Oct 30, 2023 3:50 am

  • Quote

Post by jb1277976_ » Fri Jan 05, 2024 5:28 pm

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!
Top
garrison
Apprentice
Apprentice
Posts: 276
Joined: Tue Mar 18, 2003 9:23 am

  • Quote

Post by garrison » Fri Jan 05, 2024 6:26 pm

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/Softwa ... /Profiles/ similar thing applies to pipewire sound server too.
Or check if pipewire pro audio profile does the job for you.
Top
jb1277976_
n00b
n00b
User avatar
Posts: 35
Joined: Mon Oct 30, 2023 3:50 am

  • Quote

Post by jb1277976_ » Fri Jan 05, 2024 7:39 pm

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/Softwa ... /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!
Top
jb1277976_
n00b
n00b
User avatar
Posts: 35
Joined: Mon Oct 30, 2023 3:50 am

  • Quote

Post by jb1277976_ » Sat Jan 13, 2024 12:37 am

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/Softwa ... /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 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
Top
Post Reply

22 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy