You are not logged in.

#1 2023-04-03 12:38:42

SolarChutney
Member
Registered: 2023-04-03
Posts: 2

Audio not working new install, no soundcards or only HDMI soundcards

I've been trying to fix this for days with no avail. The Sound is not working on my laptop with new arch install.
I'm using a chromebook asus c434 with MrChromebox's uefi installed (so no chromeos, just arch).

I've been through the wiki and tried a lot of things from many forums.
I'm not a very experienced linux user so I will post the output of various commands I have seen on other threads discussing similar issues.
I have alsa, pulseaudio, alsa-firmware, sof-firmware, alsa-ucm-conf, as recommneded by forums and the wiki.

With these packages installed I get

> aplay -l

aplay: device_list:274: no soundcards found...
> pacmd list-cards                                                              
0 card(s) available.

list-sinks only lists one sink, the dummy output

> lspci -nnk | grep -A3 Audio                                                   ~
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d71] (rev 21)
        DeviceName: Multimedia audio controller
        Kernel driver in use: snd_soc_skl
        Kernel modules: snd_hda_intel, snd_soc_skl, snd_soc_avs
> sudo dmesg | grep sof                                                         
[    0.052595] software IO TLB: area num 4.
[    0.392109] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.392111] software IO TLB: mapped [mem 0x00000000751be000-0x00000000791be000] (64MB)
> sudo dmesg | grep snd                                                         ~
[    6.625466] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    6.971783] snd_soc_skl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    6.972522] snd_soc_skl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    7.036301] snd_soc_skl 0000:00:1f.3: Direct firmware load for 9d71-GOOGLE-RAMMUS-0-tplg.bin failed with error -2
[    7.036307] snd_soc_skl 0000:00:1f.3: tplg fw 9d71-GOOGLE-RAMMUS-0-tplg.bin load failed with -2, trying alternative tplg name kbl_da7219_max98927-tplg.bin
[    7.036342] snd_soc_skl 0000:00:1f.3: Direct firmware load for kbl_da7219_max98927-tplg.bin failed with error -2
[    7.036345] snd_soc_skl 0000:00:1f.3: tplg kbl_da7219_max98927-tplg.bin failed with -2, falling back to dfw_sst.bin
[    7.036376] snd_soc_skl 0000:00:1f.3: Direct firmware load for dfw_sst.bin failed with error -2
[    7.036378] snd_soc_skl 0000:00:1f.3: Fallback tplg fw dfw_sst.bin load failed with -2
[    7.036379] snd_soc_skl 0000:00:1f.3: Failed to init topology!
[    7.036380] snd_soc_skl 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -2

I see people suggested  adding to modprobe

> options snd-intel-dspcfg dsp_driver=1

with this i do get sound cards, but only hdmi which I can't test as I dont have a HDMI port (or a usb-c doc with a port). I don't see any analogue or digital cards like in other people's output.

> aplay -l                                                                      ~
**** List of PLAYBACK Hardware Devices ****
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
> lspci -nnk | grep -A3 Audio                                                   ~
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d71] (rev 21)
        DeviceName: Multimedia audio controller
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_soc_skl, snd_soc_avs
> sudo dmesg | grep snd                                                         ~
[    6.970003] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
> sudo dmesg | grep sof                                                         ~
[    0.053093] software IO TLB: area num 4.
[    0.375653] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.375657] software IO TLB: mapped [mem 0x00000000751be000-0x00000000791be000] (64MB)
> cat /proc/asound/card0/codec* | grep Codec                                ~
Codec: Intel Kabylake HDMI

again, list-sinks only lists the dummy output

> pacmd list-cards                                                              ~
1 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_00_1f.3>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0x9112c000 irq 127"
                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 = "9d71"
                device.product.name = "Sunrise Point-LP HD Audio"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "Built-in Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
                off: Off (priority 0, available: unknown)
        active profile: <off>
        ports:
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"

Any help would be greatly appreciated, sorry if I am missing output from a command I should have tried.

Offline

#2 2023-04-24 20:49:23

regid
Member
Registered: 2016-06-06
Posts: 207

Re: Audio not working new install, no soundcards or only HDMI soundcards

  1. How do you test whether audio is working?

  2. Did I correctly understand that only with

    > options snd-intel-dspcfg dsp_driver=1

    you get

    > aplay -l                                                                      ~
    **** List of PLAYBACK Hardware Devices ****
    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

    ?

Last edited by regid (2023-04-24 21:02:20)


powerofforreboot.efi (AUR): Utilities to be used from within a UEFI boot manager or shell.

Offline

#3 2023-04-25 07:20:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: Audio not working new install, no soundcards or only HDMI soundcards

Chromebooks very often use custom firmware that hasn't been upstreamed to any of the standard locations, you need to find firmware specific to your exact chromebook model. And additionally it's likely the UCM config/pin layout is undocumented and hasn't gotten fixed yet, see e.g. : https://www.reddit.com/r/chrultrabook/c … flip_c434/

Last edited by V1del (2023-04-25 07:20:50)

Offline

#4 2023-04-25 17:54:30

SolarChutney
Member
Registered: 2023-04-03
Posts: 2

Re: Audio not working new install, no soundcards or only HDMI soundcards

@regid
Yes, I only get that output when I add

options snd-intel-dspcfg dsp_driver=1

to modprobe, otherwise I get no devices listed. I tested audio by selecting the cards that appeared with alsamixer, putting up the volume, and running speaker-test.

@V1del
So, I would have to compile or obtain chromeOS for my specific board, and copy over the relevant firmware that deals with audio into the kernel? I found this
audio stuff that matches my specific board: https://chromium.googlesource.com/chrom … vana/audio
I can't say I understand anything about these files, but would this be on the right track?

I find it remarkable the rest of the system works so flawlessly, the camera, buttons, ports, bluetooth, wifi, etc; only the audio doesn't work. Why is it that these do not need me to get custom firmware too?

Offline

Board footer

Powered by FluxBB