You are not logged in.
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
So you need sof-firmware? Is it installed?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
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
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
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
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
Last edited by seth (2023-08-20 13:49:19)
Offline
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
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
Offline
The error is the old one from 5h ago. Maybe try to reboot…
Offline
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
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
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
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