Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Intel Jasper Lake HD Audio device doesn't work

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
Chidakasha
n00b
n00b
Posts: 15
Joined: Fri Mar 27, 2020 9:07 pm

Intel Jasper Lake HD Audio device doesn't work

  • Quote

Post by Chidakasha » Sun Dec 25, 2022 10:17 am

Hi everyone

I few days ago I bought this mini computer.

So far I've been unable to get the sound to work.

inxi -A returns this :

Code: Select all

Audio:
  Device-1: Intel Jasper Lake HD Audio driver: sof-audio-pci-intel-icl
  Sound Server-1: ALSA v: k5.15.80-gentoo-x86_64 running: yes
As you see, I had to install sys-firmware/sof-firmware

The card apparently gets recognized. the command aplay -l returns this (sorry for the output in french) :

Code: Select all

carte 0 : sofhdadsp [sof-hda-dsp], périphérique 1 : HDMI1 (*) []
  Sous-périphériques : 1/1
  Sous-périphérique #0 : subdevice #0
carte 0 : sofhdadsp [sof-hda-dsp], périphérique 2 : HDMI2 (*) []
  Sous-périphériques : 1/1
  Sous-périphérique #0 : subdevice #0
carte 0 : sofhdadsp [sof-hda-dsp], périphérique 3 : HDMI3 (*) []
  Sous-périphériques : 1/1
  Sous-périphérique #0 : subdevice #0
I'm currently using kernel 5.15.80 and in the boot journal I can see this :

Code: Select all

déc 25 10:19:37 palantir kernel: sof-audio-pci-intel-icl 0000:00:1f.3: Firmware info: version 2:2:0-57864
déc 25 10:19:37 palantir kernel: sof-audio-pci-intel-icl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:18:0
déc 25 10:19:37 palantir kernel: sof-audio-pci-intel-icl 0000:00:1f.3: warn: FW ABI is more recent than kernel
déc 25 10:19:37 palantir kernel: Loading firmware: intel/sof-tplg/sof-hda-generic-idisp.tplg
déc 25 10:19:37 palantir kernel: sof-audio-pci-intel-icl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:18:0
déc 25 10:19:37 palantir kernel: sof-audio-pci-intel-icl 0000:00:1f.3: warn: topology ABI is more recent than kernel
déc 25 10:19:37 palantir kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
déc 25 10:19:37 palantir kernel: skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
déc 25 10:19:37 palantir kernel: skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 4
déc 25 10:19:37 palantir kernel: input: sof-hda-dsp HDMI/DP,pcm=1 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input12
déc 25 10:19:37 palantir kernel: input: sof-hda-dsp HDMI/DP,pcm=2 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input13
déc 25 10:19:37 palantir kernel: input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input14
déc 25 10:19:37 palantir kernel: sdhci-pci 0000:00:14.5: SDHCI controller found [8086:4df8] (rev 1)
déc 25 10:19:37 palantir systemd[1]: Starting alsa-restore.service...
déc 25 10:19:37 palantir systemd[1]: alsa-state.service was skipped because of an unmet condition check (ConditionPathExists=/etc/alsa/state-daemon.conf).
déc 25 10:19:37 palantir systemd[1]: Finished alsa-restore.service.
déc 25 10:19:37 palantir systemd[1]: Reached target sound.target.
I get this warning about the topology ABI being more recent than the kernel ABI but I'm not sure if that's really a problem or not.


I would greatly appreciate if someone could help me. Thank you in advance if you take the time.
Top
Hu
Administrator
Administrator
Posts: 24398
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Dec 25, 2022 5:00 pm

v5.15.80 is somewhat old. There are several newer releases in the v5.15.x series, and there are several newer major series, too. When very new hardware does not work, testing a new kernel should be an early troubleshooting step, because support may have been improved in more recent releases. Does this card work better if you use Linux kernel v6.1.x or newer? As of this writing, v6.1.1 is out.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Dec 25, 2022 6:00 pm

Chidakasha,

Sound drivers are in two pieces.

The PCI part that shows up in lspci and the CODEC part that in not detectable without correct kernel support.
When you have the second part, there is no need to detect it.

Make friends with wgetpaste.
Use it to share the output of dmesg ... all of it.
Your kernel .config file.

There are two sets of CODECS in the kernel. You need the -SOF- codecs.
You probably need two. The HDMI for digital sound out and another one (which we can't guess) for analogue.

There in another wrinkle.
All the parts of the sound driver must be available when the kernel initialises the code. Make all the parts loadable modules.
That avoids the requirement to build SOF firmware into the kernel.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Chidakasha
n00b
n00b
Posts: 15
Joined: Fri Mar 27, 2020 9:07 pm

  • Quote

Post by Chidakasha » Mon Dec 26, 2022 12:16 am

Hi guys thanks for taking the time to answer me.

Alright, I now have a fully updated ~amd64 system with gentoo-sources 6.1.1 compiled with "genkernel all"


Here's my dmesg output : https://pastebin.com/d5pBeHyN


The strange thing is that it looks like it working even less than before now. The card doesn't seem to be detected at all now. Here's what I get when I try to run alsamixer with this newer Kernel :

Code: Select all

ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.8-r1/work/alsa-lib-1.2.8/src/confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.8-r1/work/alsa-lib-1.2.8/src/conf.c:5180:(_snd_config_evaluate) function snd_func_card_inum returned error: Aucun fichier ou dossier de ce type
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.8-r1/work/alsa-lib-1.2.8/src/confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.8-r1/work/alsa-lib-1.2.8/src/conf.c:5180:(_snd_config_evaluate) function snd_func_concat returned error: Aucun fichier ou dossier de ce type
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.8-r1/work/alsa-lib-1.2.8/src/confmisc.c:1334:(snd_func_refer) error evaluating name
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.8-r1/work/alsa-lib-1.2.8/src/conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: Aucun fichier ou dossier de ce type
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.8-r1/work/alsa-lib-1.2.8/src/conf.c:5703:(snd_config_expand) Evaluate error: Aucun fichier ou dossier de ce type
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.8-r1/work/alsa-lib-1.2.8/src/control/control.c:1528:(snd_ctl_open_noupdate) Invalid CTL default

Thanks in advance
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Dec 26, 2022 10:02 am

Chidakasha,

Its not working differently now.

The PCIe driver and firmware come together and dmesg says

Code: Select all

[    5.616133] sof-audio-pci-intel-icl 0000:00:1f.3: hda codecs found, mask 4
but there is no sign of the codec drivers.

Code: Select all

Linux version 6.1.1-gentoo-x86_64
is encouraging though.

Please share your kernel .config file. Its also at /proc/config.gz but you need to decompress it before you wgetpaste it.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Chidakasha
n00b
n00b
Posts: 15
Joined: Fri Mar 27, 2020 9:07 pm

  • Quote

Post by Chidakasha » Mon Dec 26, 2022 10:29 am

Here it is : https://pastebin.com/5uJNPr4W

I didn't configure the kernel myself. I used "genkernel all" instead as I already mentioned.

Thanks again for your help.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Dec 26, 2022 1:03 pm

Chidakasha,

Sound support for Jasper Lake appears to have been added to the kernel on 01-Dec-22. It won't have been back ported to any LTS kernel as its i new feature, not a security or bug fix.
You really need the Gentoo testing kernel.

Genkernel closes its eyes, drops a preset config file into your kernel, crosses its fingers and hopes for the best.
Sometimes, it needs a little help.

The kernel looks good. The old dmesg mentioned HDMI ... the new one does not, so in that respect its a step back.
However, it looks like the kernel is OK ... including, the HDMI support but its not in dmesg.

Code: Select all

CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC:                                               │  
  │                                                                                   │  
  │ This adds support for HDAudio codecs with Sound Open Firmware                     │  
  │ for Intel(R) platforms.                                                           │  
  │ Say Y if you want to enable HDAudio codecs with SOF.                              │  
  │ If unsure select "N".                                                             │  
  │                                                                                   │  
  │ Symbol: SND_SOC_SOF_HDA_AUDIO_CODEC [=y]                                          │  
  │ Type  : bool                                                                      │  
  │ Defined at sound/soc/sof/intel/Kconfig:288                                        │  
  │   Prompt: SOF support for HDAudio codecs                                          │  
  │   Depends on: SOUND [=y] && !UML && SND [=m] && SND_SOC [=m] && \                 │  
  │ SND_SOC_SOF_TOPLEVEL [=y] && SND_SOC_SOF_INTEL_TOPLEVEL [=y] && \                 │  
  │ SND_SOC_SOF_PCI [=m] && SND_SOC_SOF_HDA_COMMON [=m] && \                          │  
  │ SND_SOC_SOF_HDA_LINK [=y]                                                         │  
  │   Location:                                                                       │  
  │     -> Device Drivers                                                             │  
  │       -> Sound card support (SOUND [=y])                                          │  
  │         -> Advanced Linux Sound Architecture (SND [=m])                           │  
  │           -> ALSA for SoC audio support (SND_SOC [=m])                            │  
  │             -> Sound Open Firmware Support (SND_SOC_SOF_TOPLEVEL [=y])            │  
  │               -> SOF support for Intel audio DSPs (SND_SOC_SOF_INTEL_TOPLEVEL [=y │  
  │                 -> SOF support for HDA Links(HDA/HDMI) (SND_SOC_SOF_HDA_LINK [=y] │  
  │                   -> SOF support for HDAudio codecs (SND_SOC_SOF_HDA_AUDIO_CODEC  │ 
What do you have in

Code: Select all

lsmod
Everything is modular in your kernel, so I'm wondering if a module that you need is not loaded.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Chidakasha
n00b
n00b
Posts: 15
Joined: Fri Mar 27, 2020 9:07 pm

  • Quote

Post by Chidakasha » Mon Dec 26, 2022 1:31 pm

Here's my lsmod output : https://pastebin.com/dMqGyjps
Top
Post Reply

8 posts • Page 1 of 1

Return to “Kernel & Hardware”

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

 

 

magic