You are not logged in.

#1 2023-08-20 12:42:39

sirred
Member
Registered: 2023-08-20
Posts: 8

[solved] my audio drivers are unable to recognize my sound card

I'm trying to setup audio drivers on my newly installed arch linux on my laptop, but it seems that its not able to recognize my hardware/sound card. I setup pipewire and alsamixer as mentioned on other sources but its not working.

I ran "lspci | grep -i audio" and the output was "0000:00:1f.3 Multimedia audio controller: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)" but when I ran "sudo cat /proc/asound/cards" and "aplay -l" the output was "--- no soundcards ---" and "aplay: device_list:277: no soundcards found..." respectively, which made me think the drivers arent able to recognize my hardware.

also I ran "dmesg | grep -i audio" and it says
"[    5.456805] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    5.456880] sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    5.456907] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
[    5.457056] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    5.457110] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    5.463957] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[    5.533181] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
[    5.533183] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    5.533185] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[    5.533207] sof-audio-pci-intel-tgl 0000:00:1f.3: Direct firmware load for intel/sof/sof-adl.ri failed with error -2
[    5.533208] sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof firmware file is missing, you might need to
[    5.533209] sof-audio-pci-intel-tgl 0000:00:1f.3:        download it from https://github.com/thesofproject/sof-bin/
[    5.533209] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load DSP firmware -2
[    5.533552] sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof_probe_work failed err: -2"

my device is VivoBook_ASUSLaptop K3402ZA_S3402ZA 1.0

kindly help

Last edited by sirred (2023-08-20 15:50:33)

Offline

#2 2023-08-20 12:59:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,348
Website

Re: [solved] my audio drivers are unable to recognize my sound card

So you need sof-firmware?  Is it installed?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2023-08-20 13:00:12

espritlibre
Member
Registered: 2022-12-15
Posts: 133

Re: [solved] my audio drivers are unable to recognize my sound card

looks like you need to install sof-firmware

sudo pacman -S sof-firmware

EDIT:
ninjaed by Trilby

Last edited by espritlibre (2023-08-20 13:01:03)

Offline

#4 2023-08-20 13:45:36

sirred
Member
Registered: 2023-08-20
Posts: 8

Re: [solved] my audio drivers are unable to recognize my sound card

yes i tried installing sof-firmware. I downloaded it from github and ran the install.sh script, it seemed like it worked, there was /lib/firmware/intel/sof and /lib/firmware/intel/sof-tplg though the error in the dmesg still persist. I also ran "sudo pacman -S sof-firmware" it downloaded without any error but the dmesg error still persist.

Last edited by sirred (2023-08-20 13:49:03)

Offline

#5 2023-08-20 13:47:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,348
Website

Re: [solved] my audio drivers are unable to recognize my sound card

sirred wrote:

yes i tried installing sof-firmware. I downloaded it from github and ran the install.sh script

That is not how you install packages on a linux system - certainly not on arch.  Undo whatever that script did and install it properly.

EDIT: Also, given there's no install.sh in the upstream sof-firmware github repo, you clearly did not even do that.

Last edited by Trilby (2023-08-20 13:50:59)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2023-08-20 13:48:32

seth
Member
Registered: 2012-09-03
Posts: 62,564

Re: [solved] my audio drivers are unable to recognize my sound card

D'ohh, https://archlinux.org/packages/extra/x8 … -firmware/
Then post an updated system journal

Edit: The parrot is slashing it's way through the forum wink

Last edited by seth (2023-08-20 13:49:19)

Offline

#7 2023-08-20 14:03:04

sirred
Member
Registered: 2023-08-20
Posts: 8

Re: [solved] my audio drivers are unable to recognize my sound card

I removed the sof-firmware i installed using script and used pacman to install it, but the dmesg still persist.

system journal:
"Aug 20 19:29:01 SirSeberron sudo[20092]:   sirred : TTY=pts/0 ; PWD=/home/sirred ; USER=root ; COMMAND=/usr/bin/pacman -S sof-firmware
Aug 20 19:29:01 SirSeberron sudo[20092]: pam_unix(sudo:session): session opened for user root(uid=0) by sirred(uid=1000)
Aug 20 19:29:06 SirSeberron sudo[20092]: pam_unix(sudo:session): session closed for user root"

and dmesg:
"[    5.456805] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    5.456880] sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    5.456907] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
[    5.457056] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    5.457110] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    5.463957] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[    5.533181] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
[    5.533183] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    5.533185] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[    5.533207] sof-audio-pci-intel-tgl 0000:00:1f.3: Direct firmware load for intel/sof/sof-adl.ri failed with error -2
[    5.533208] sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof firmware file is missing, you might need to
[    5.533209] sof-audio-pci-intel-tgl 0000:00:1f.3:        download it from https://github.com/thesofproject/sof-bin/
[    5.533209] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load DSP firmware -2
[    5.533552] sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof_probe_work failed err: -2"

Offline

#8 2023-08-20 14:07:33

seth
Member
Registered: 2012-09-03
Posts: 62,564

Re: [solved] my audio drivers are unable to recognize my sound card

find /usr/lib/firmware -name 'sof-adl.ri'

Then please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#9 2023-08-20 14:09:34

sirred
Member
Registered: 2023-08-20
Posts: 8

Re: [solved] my audio drivers are unable to recognize my sound card

Offline

#10 2023-08-20 14:24:53

seth
Member
Registered: 2012-09-03
Posts: 62,564

Re: [solved] my audio drivers are unable to recognize my sound card

The error is the old one from 5h ago. Maybe try to reboot…

Offline

#11 2023-08-20 14:36:39

sirred
Member
Registered: 2023-08-20
Posts: 8

Re: [solved] my audio drivers are unable to recognize my sound card

yes yes yes!!! that worked. Thankyou you all, thankyou very much. also now my drivers are working and I can hear something out of my first arch install, thanks.


dmesg:
http://0x0.st/HLYh.txt

Offline

#12 2023-08-20 14:49:34

seth
Member
Registered: 2012-09-03
Posts: 62,564

Re: [solved] my audio drivers are unable to recognize my sound card

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#13 2024-12-15 08:22:05

LegionX95
Member
Registered: 2024-12-15
Posts: 1

Re: [solved] my audio drivers are unable to recognize my sound card

http://0x0.st/XFW1.txt

I have a similar error, if you look at the logs you will see that it is an HP Chromebook X360 14c, i3 12th CPU, so I use Intel Alder Lake PCH-P High Definition Audio, but the audio does not work.

<code>
inxi -Axxz && aplay -l
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio
    driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3 chip-ID: 8086:51c8
  API: ALSA v: k6.8.0-50-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: wireplumber status: active
  Server-2: PulseAudio v: 16.1 status: off (using pipewire-pulse)
**** Lista de PLAYBACK dispositivos hardware ****
tarjeta 0: sofrt5682 [sof-rt5682], dispositivo 0: Speakers (*) []
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0
tarjeta 0: sofrt5682 [sof-rt5682], dispositivo 1: Headset (*) []
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0
tarjeta 0: sofrt5682 [sof-rt5682], dispositivo 2: HDMI1 (*) []
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0
tarjeta 0: sofrt5682 [sof-rt5682], dispositivo 3: HDMI2 (*) []
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0
tarjeta 0: sofrt5682 [sof-rt5682], dispositivo 4: HDMI3 (*) []
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0
tarjeta 0: sofrt5682 [sof-rt5682], dispositivo 5: HDMI4 (*) []
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0
tarjeta 0: sofrt5682 [sof-rt5682], dispositivo 7: Bluetooth (*) []
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0
</code>

```
uname -a
Linux ChromebookX360 6.8.0-50-generic
```

Last edited by LegionX95 (2024-12-15 08:23:46)

Offline

#14 2024-12-15 12:17:23

seth
Member
Registered: 2012-09-03
Posts: 62,564

Re: [solved] my audio drivers are unable to recognize my sound card

Please use [code][/code] tags, the BBS predates mardown by your age. Edit your post in this regard.
Also please don't necrobump solved threads

Linux ChromebookX360 6.8.0-50-generic

That's not archlinux and a really old kernel.
https://bbs.archlinux.org/misc.php?action=rules - Ubuntu isn't supported here.

Also the OP lacked the sof firmware where you

dic 15 02:43:35 ChromebookX360 kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware paths/files for ipc type 0:
dic 15 02:43:35 ChromebookX360 kernel: sof-audio-pci-intel-tgl 0000:00:1f.3:  Firmware file:     intel/sof/community/sof-adl.ri
dic 15 02:43:35 ChromebookX360 kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
dic 15 02:43:35 ChromebookX360 kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0

don't.

Your problem is

dic 15 02:43:36 ChromebookX360 kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
dic 15 02:43:36 ChromebookX360 kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
dic 15 02:43:36 ChromebookX360 kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -5

https://www.google.com/search?q=%22ipc% … 3A%20-5%22
There's a github bug and an lkml thread about this.

Offline

Board footer

Powered by FluxBB