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,330
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: 132

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,330
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: 58,807

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: 58,807

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: 58,807

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: 58,807

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

Board footer

Powered by FluxBB