You are not logged in.
Pages: 1
Hi, I installed Arch on my Lenovo IdeaPad 5 Pro 14IRH8 laptop and ran into a problem with no sound or microphone, the audio card is not displayed anywhere as I understand, the audio chip is Realtek ALC 3306
[thekryfe@archlinux ~]$ aplay -lL
arecord -l
pactl list cards
pactl list sinks
pactl list sources
null
Discard all samples (playback) or generate zero samples (capture)
lavrate
Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
Rate Converter Plugin Using Samplerate Library
speexrate
Rate Converter Plugin Using Speex Resampler
jack
JACK Audio Connection Kit
oss
Open Sound System
pipewire
PipeWire Sound Server
pulse
PulseAudio Sound Server
speex
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
default
Default ALSA Output (currently PipeWire Media Server)
aplay: device_list:279: no soundcards found...
arecord: device_list:279: no soundcards found...
Sink #138
State: SUSPENDED
Name: auto_null
Description: Холостой выход
Driver: PipeWire
Sample Specification: float32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB
balance 0,00
Base Volume: 65536 / 100% / 0,00 dB
Monitor Source: auto_null.monitor
Latency: 0 usec, configured 0 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
node.name = "auto_null"
device.description = "Холостой выход"
audio.rate = "48000"
audio.channels = "2"
audio.position = "FL,FR"
media.class = "Audio/Sink"
factory.name = "support.null-audio-sink"
node.virtual = "true"
monitor.channel-volumes = "true"
factory.id = "19"
clock.quantum-limit = "8192"
client.id = "33"
node.driver = "true"
port.group = "stream.0"
node.loop.name = "data-loop.0"
library.name = "audioconvert/libspa-audioconvert"
object.id = "58"
object.serial = "138"
Formats:
pcm
Source #138
State: SUSPENDED
Name: auto_null.monitor
Description: Monitor of Холостой выход
Driver: PipeWire
Sample Specification: float32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB
balance 0,00
Base Volume: 65536 / 100% / 0,00 dB
Monitor of Sink: auto_null
Latency: 0 usec, configured 0 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
node.name = "auto_null"
device.description = "Холостой выход"
audio.rate = "48000"
audio.channels = "2"
audio.position = "FL,FR"
media.class = "Audio/Sink"
factory.name = "support.null-audio-sink"
node.virtual = "true"
monitor.channel-volumes = "true"
factory.id = "19"
clock.quantum-limit = "8192"
client.id = "33"
node.driver = "true"
port.group = "stream.0"
node.loop.name = "data-loop.0"
library.name = "audioconvert/libspa-audioconvert"
object.id = "58"
object.serial = "138"
device.class = "monitor"
Formats:
pcm
If you need more info let me know and if anyone can help that would be great.
Last edited by thekryfe (2025-07-26 19:16:01)
Offline
Please wrap outputs in [code][/code] tags
What does
sudo dmesg | grep -iE 'snd|sof'
give you? is sof-firmware installed? which kernel?
Offline
Thanks for the reply, sorry for the late reply, I was at work
I have sof-firmware installed, kernel 6.15.7
[thekryfe@archlinux ~]$ sudo dmesg | grep -iE 'snd|sof'
[sudo] пароль для thekryfe:
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=90f0f32b-3fd2-4128-88e6-a23299c90999 rw zswap.enabled=0 rootfstype=ext4 loglevel=3 quiet snd_intel_dspcfg.dsp_driver=1,
[ 0.047169] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=90f0f32b-3fd2-4128-88e6-a23299c90999 rw zswap.enabled=0 rootfstype=ext4 loglevel=3 quiet snd_intel_dspcfg.dsp_driver=1,
[ 0.050982] software IO TLB: area num 32.
[ 0.847705] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.847705] software IO TLB: mapped [mem 0x000000002ef70000-0x0000000032f70000] (64MB)
[ 0.966778] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[ 0.966796] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[ 4.393001] snd_intel_dspcfg: `1,' invalid for parameter `dsp_driver'
[ 4.468354] snd_intel_dspcfg: `1,' invalid for parameter `dsp_driver'
[ 4.508612] snd_intel_dspcfg: `1,' invalid for parameter `dsp_driver'
[ 68.688177] Modules linked in: snd_seq_dummy snd_hrtimer rfcomm snd_seq snd_seq_device ccm algif_aead crypto_null des3_ede_x86_64 des_generic libdes cmac algif_skcipher md4 bnep algif_hash af_alg vfat fat hid_sensor_custom hid_sensor_hub intel_ishtp_hid soundwire_bus snd_soc_sdca crc8 intel_uncore_frequency intel_uncore_frequency_common intel_tcc_cooling x86_pkg_temp_thermal intel_powerclamp coretemp snd_soc_core snd_compress kvm_intel ac97_bus snd_pcm_dmaengine kvm joydev mousedev irqbypass polyval_clmulni polyval_generic uvcvideo ghash_clmulni_intel sha512_ssse3 videobuf2_vmalloc sha256_ssse3 snd_intel_sdw_acpi uvc sha1_ssse3 videobuf2_memops snd_hda_codec btusb
aesni_intel videobuf2_v4l2 processor_thermal_device_pci btrtl crypto_simd processor_thermal_device snd_hda_core videobuf2_common btintel processor_thermal_wt_hint iTCO_wdt snd_hwdep btbcm cryptd processor_thermal_rfim intel_pmc_bxt videodev snd_pcm mei_hdcp hid_multitouch iTCO_vendor_support rapl btmtk processor_thermal_rapl mei_pxp intel_cstate
[ 68.688332] intel_rapl_msr bluetooth intel_uncore spi_nor ucsi_acpi snd_timer intel_rapl_common intel_lpss_pci mc i2c_i801 mei_me wmi_bmof lenovo_wmi_hotkey_utilities typec_ucsi pcspkr intel_ish_ipc mtd processor_thermal_wt_req snd intel_lpss thunderbolt i2c_smbus typec processor_thermal_power_floor mei intel_ishtp soundcore idma64
i2c_mux processor_thermal_mbox intel_pmc_core igen6_edac roles i2c_hid_acpi ideapad_laptop i2c_hid intel_hid platform_profile int3400_thermal pmt_telemetry int3403_thermal acpi_thermal_rel sparse_keymap pinctrl_tigerlake acpi_pad int340x_thermal_zone acpi_tad pmt_class mac_hid rtw89_8852be rtw89_8852b rtw89_8852b_common rtw89_pci rtw89_core mac80211 libarc4 cfg80211 rfkill pkcs8_key_parser crypto_user loop dm_mod nfnetlink zram 842_decompress 842_compress lz4hc_compress lz4_compress ip_tables x_tables
xe drm_suballoc_helper drm_gpusvm nouveau i915 mxm_wmi drm_ttm_helper sdhci_pci gpu_sched drm_gpuvm sdhci_uhs2 drm_exec sdhci drm_buddy i2c_algo_bit ttm cqhci intel_gtt
nvme
[ 84.048900] Modules linked in: snd_seq_dummy snd_hrtimer rfcomm snd_seq snd_seq_device ccm algif_aead crypto_null des3_ede_x86_64 des_generic libdes cmac algif_skcipher md4 bnep algif_hash af_alg vfat fat hid_sensor_custom hid_sensor_hub intel_ishtp_hid soundwire_bus snd_soc_sdca crc8 intel_uncore_frequency intel_uncore_frequency_common intel_tcc_cooling x86_pkg_temp_thermal intel_powerclamp coretemp snd_soc_core snd_compress kvm_intel ac97_bus snd_pcm_dmaengine kvm joydev mousedev irqbypass polyval_clmulni polyval_generic uvcvideo ghash_clmulni_intel sha512_ssse3 videobuf2_vmalloc sha256_ssse3 snd_intel_sdw_acpi uvc sha1_ssse3 videobuf2_memops snd_hda_codec btusb
aesni_intel videobuf2_v4l2 processor_thermal_device_pci btrtl crypto_simd processor_thermal_device snd_hda_core videobuf2_common btintel processor_thermal_wt_hint iTCO_wdt snd_hwdep btbcm cryptd processor_thermal_rfim intel_pmc_bxt videodev snd_pcm mei_hdcp hid_multitouch iTCO_vendor_support rapl btmtk processor_thermal_rapl mei_pxp intel_cstate
[ 84.049067] intel_rapl_msr bluetooth intel_uncore spi_nor ucsi_acpi snd_timer intel_rapl_common intel_lpss_pci mc i2c_i801 mei_me wmi_bmof lenovo_wmi_hotkey_utilities typec_ucsi pcspkr intel_ish_ipc mtd processor_thermal_wt_req snd intel_lpss thunderbolt i2c_smbus typec processor_thermal_power_floor mei intel_ishtp soundcore idma64
i2c_mux processor_thermal_mbox intel_pmc_core igen6_edac roles i2c_hid_acpi ideapad_laptop i2c_hid intel_hid platform_profile int3400_thermal pmt_telemetry int3403_thermal acpi_thermal_rel sparse_keymap pinctrl_tigerlake acpi_pad int340x_thermal_zone acpi_tad pmt_class mac_hid rtw89_8852be rtw89_8852b rtw89_8852b_common rtw89_pci rtw89_core mac80211 libarc4 cfg80211 rfkill pkcs8_key_parser crypto_user loop dm_mod nfnetlink zram 842_decompress 842_compress lz4hc_compress lz4_compress ip_tables x_tables
xe drm_suballoc_helper drm_gpusvm nouveau i915 mxm_wmi drm_ttm_helper sdhci_pci gpu_sched drm_gpuvm sdhci_uhs2 drm_exec sdhci drm_buddy i2c_algo_bit ttm cqhci intel_gtt
nvme
[ 199.227335] Modules linked in: tun snd_seq_dummy snd_hrtimer rfcomm snd_seq snd_seq_device ccm algif_aead crypto_null des3_ede_x86_64 des_generic libdes cmac algif_skcipher md4 bnep algif_hash af_alg vfat fat hid_sensor_custom hid_sensor_hub intel_ishtp_hid soundwire_bus snd_soc_sdca crc8 intel_uncore_frequency intel_uncore_frequency_common intel_tcc_cooling x86_pkg_temp_thermal intel_powerclamp coretemp snd_soc_core snd_compress kvm_intel ac97_bus snd_pcm_dmaengine kvm joydev mousedev irqbypass polyval_clmulni polyval_generic uvcvideo ghash_clmulni_intel sha512_ssse3 videobuf2_vmalloc sha256_ssse3 snd_intel_sdw_acpi uvc sha1_ssse3 videobuf2_memops snd_hda_codec btusb aesni_intel videobuf2_v4l2 processor_thermal_device_pci btrtl crypto_simd processor_thermal_device snd_hda_core videobuf2_common btintel processor_thermal_wt_hint iTCO_wdt snd_hwdep btbcm cryptd processor_thermal_rfim intel_pmc_bxt videodev snd_pcm mei_hdcp hid_multitouch iTCO_vendor_support rapl btmtk processor_thermal_rapl mei_pxp intel_cstate
[ 199.227439] intel_rapl_msr bluetooth intel_uncore spi_nor ucsi_acpi snd_timer intel_rapl_common intel_lpss_pci mc i2c_i801 mei_me wmi_bmof lenovo_wmi_hotkey_utilities typec_ucsi pcspkr intel_ish_ipc mtd processor_thermal_wt_req snd intel_lpss thunderbolt i2c_smbus typec processor_thermal_power_floor mei intel_ishtp soundcore idma64
i2c_mux processor_thermal_mbox intel_pmc_core igen6_edac roles i2c_hid_acpi ideapad_laptop i2c_hid intel_hid platform_profile int3400_thermal pmt_telemetry int3403_thermal acpi_thermal_rel sparse_keymap pinctrl_tigerlake acpi_pad int340x_thermal_zone acpi_tad pmt_class mac_hid rtw89_8852be rtw89_8852b rtw89_8852b_common rtw89_pci rtw89_core mac80211 libarc4 cfg80211 rfkill pkcs8_key_parser crypto_user loop dm_mod nfnetlink zram 842_decompress 842_compress lz4hc_compress lz4_compress ip_tables x_tables
xe drm_suballoc_helper drm_gpusvm nouveau i915 mxm_wmi drm_ttm_helper sdhci_pci gpu_sched drm_gpuvm sdhci_uhs2 drm_exec sdhci drm_buddy i2c_algo_bit ttm cqhci intel_gtt
nvme
Offline
[ 4.393001] snd_intel_dspcfg: `1,' invalid for parameter `dsp_driver'
[ 4.468354] snd_intel_dspcfg: `1,' invalid for parameter `dsp_driver'
[ 4.508612] snd_intel_dspcfg: `1,' invalid for parameter `dsp_driver'
=> Fix the kernel commandline
Especially if that doesn't solve it but maybe in general, there're also either kernel warnings or oopses, please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.st
Offline
I fixed the lines, now the sound card is visible, the speakers work, but the microphone does not
Offline
июл 26 23:54:49 archlinux kernel: snd_hda_codec_realtek hdaudioC1D0: ALC287: picked fixup for PCI SSID 17aa:0000
июл 26 23:54:49 archlinux kernel: snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC287: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
июл 26 23:54:49 archlinux kernel: snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
июл 26 23:54:49 archlinux kernel: snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
июл 26 23:54:49 archlinux kernel: snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0
июл 26 23:54:49 archlinux kernel: snd_hda_codec_realtek hdaudioC1D0: inputs:
июл 26 23:54:49 archlinux kernel: snd_hda_codec_realtek hdaudioC1D0: Mic=0x19
microphone seems there, please define "does not work", https://bbs.archlinux.org/viewtopic.php?id=57855
Offline
Sorry, I don't know how else to explain it, if I open pavucontrol in the "input devices" section there is a microphone, but it says disabled "microphone (disabled)". If I go to some application, for example, discord, then in the microphone selection I have nothing
Offline
If you set dsp_driver=1 you configure it for the HDA interface, which is known to break the digital mics that are used in these kinds of systems. So removing that kernel param and looking at the resultant crashes/potentially opening sof-firmware bug reports would be the proper way to get the mic working correctly. That it gets disabled when switching to HDA init is sadly generally expected.
Offline
If I delete dsp_driver=1, my microphone, as I understand it, is not detected anywhere
Offline
So removing that kernel param and looking at the resultant crashes/potentially opening sof-firmware bug reports
ie. remove the parameter and produce an updated journal so we can see the SOF situation.
Offline
Offline
июл 27 22:03:03 archlinux kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware paths/files for ipc type 0:
июл 27 22:03:03 archlinux kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware file: intel/sof/sof-rpl.ri
июл 27 22:03:03 archlinux kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Topology file: intel/sof-tplg/sof-hda-generic-2ch.tplg
июл 27 22:03:03 archlinux kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
июл 27 22:03:03 archlinux kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1
июл 27 22:03:07 archlinux kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: hda_cl_copy_fw: timeout with rom_status_reg (0x80000) read
июл 27 22:03:07 archlinux kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ DSP dump start ]------------
июл 27 22:03:07 archlinux kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware download failed
июл 27 22:03:07 archlinux kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: fw_state: SOF_FW_BOOT_IN_PROGRESS (3)
июл 27 22:03:07 archlinux kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: 0x80000012: module: ROM, state: CSE_VALIDATE_IMAGE_REQUEST, not running
июл 27 22:03:07 archlinux kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error code: 0x2c (error: signature verification failed)
июл 27 22:03:07 archlinux kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: extended rom status: 0x80000012 0x2c 0x0 0x0 0x0 0x0 0x256053e 0x0
июл 27 22:03:07 archlinux kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ DSP dump end ]------------
июл 27 22:03:07 archlinux kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Failed to start DSP
https://forum.up-community.org/discussi … ment_13059 is the *only* google match for your error.
In the end solved w/ a BIOS update (the previous ones apparently botched, see last post there)
Offline
Pages: 1