From where do you have the dmesg time index 3.836353 ?
I have news. I'm running Ubuntu in a LiveUSB and voila, sound is there. Some commands:
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*)  Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*)  Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*)  Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*)  Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*)  Subdevices: 1/1 Subdevice #0: subdevice #0
0 [sofhdadsp ]: sof-hda-dsp - sof-hda-dsp HP-HPEliteBook840G6--8549
Module Size Used by rfcomm 81920 4 cmac 16384 3 algif_hash 16384 1 algif_skcipher 16384 1 af_alg 24576 6 algif_hash,algif_skcipher bnep 24576 2 zfs 4030464 6 zunicode 331776 1 zfs zavl 16384 1 zfs icp 286720 1 zfs zcommon 90112 2 zfs,icp znvpair 81920 2 zfs,zcommon spl 126976 5 zfs,icp,znvpair,zcommon,zavl zlua 147456 1 zfs snd_soc_skl_hda_dsp 24576 5 snd_hda_codec_hdmi 61440 1 snd_soc_hdac_hdmi 36864 1 snd_soc_skl_hda_dsp snd_hda_codec_realtek 118784 1 snd_hda_codec_generic 81920 1 snd_hda_codec_realtek snd_soc_dmic 16384 1 snd_sof_pci 20480 0 snd_sof_intel_hda_common 69632 1 snd_sof_pci snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common snd_sof_intel_byt 20480 1 snd_sof_pci snd_sof_intel_ipc 20480 1 snd_sof_intel_byt snd_sof 106496 4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_byt,snd_sof_intel_ipc snd_sof_xtensa_dsp 16384 1 snd_sof_pci snd_hda_ext_core 28672 4 snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda snd_soc_acpi_intel_match 32768 2 snd_sof_pci,snd_sof_intel_hda_common snd_soc_acpi 16384 2 snd_sof_pci,snd_soc_acpi_intel_match ledtrig_audio 16384 3 snd_hda_codec_generic,snd_hda_codec_realtek,snd_sof snd_soc_core 245760 6 snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_dmic,snd_soc_skl_hda_dsp snd_compress 24576 1 snd_soc_core ac97_bus 16384 1 snd_soc_core snd_pcm_dmaengine 16384 1 snd_soc_core snd_hda_intel 53248 0 snd_intel_dspcfg 24576 3 snd_hda_intel,snd_sof_pci,snd_sof_intel_hda_common snd_hda_codec 131072 6 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl_hda_dsp snd_hda_core 90112 11 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda,snd_soc_skl_hda_dsp snd_hwdep 20480 1 snd_hda_codec snd_pcm 106496 9 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_core,snd_hda_core,snd_pcm_dmaengine snd_seq_midi 20480 0 snd_seq_midi_event 16384 1 snd_seq_midi mei_hdcp 24576 0 intel_rapl_msr 20480 0 snd_rawmidi 36864 1 snd_seq_midi iwlmvm 380928 0 x86_pkg_temp_thermal 20480 0 intel_powerclamp 20480 0 coretemp 20480 0 mac80211 843776 1 iwlmvm kvm_intel 286720 0 snd_seq 69632 2 snd_seq_midi,snd_seq_midi_event snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi snd_timer 36864 2 snd_seq,snd_pcm libarc4 16384 1 mac80211 kvm 663552 1 kvm_intel intel_cstate 20480 0 intel_rapl_perf 20480 0 joydev 24576 0 hid_sensor_als 20480 1 intel_wmi_thunderbolt 20480 0 btusb 57344 0 hp_wmi 16384 0 hid_sensor_trigger 20480 2 hid_sensor_als btrtl 24576 1 btusb snd 90112 24 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_soc_skl_hda_dsp,snd_rawmidi sparse_keymap 16384 1 hp_wmi industrialio_triggered_buffer 16384 1 hid_sensor_als btbcm 16384 1 btusb btintel 24576 1 btusb serio_raw 20480 0 wmi_bmof 16384 0 kfifo_buf 16384 1 industrialio_triggered_buffer iwlwifi 331776 1 iwlmvm uvcvideo 98304 0 bluetooth 581632 31 btrtl,btintel,btbcm,bnep,btusb,rfcomm soundcore 16384 1 snd hid_sensor_iio_common 20480 2 hid_sensor_trigger,hid_sensor_als videobuf2_vmalloc 20480 1 uvcvideo videobuf2_memops 20480 1 videobuf2_vmalloc industrialio 73728 5 industrialio_triggered_buffer,hid_sensor_trigger,kfifo_buf,hid_sensor_als videobuf2_v4l2 24576 1 uvcvideo videobuf2_common 49152 2 videobuf2_v4l2,uvcvideo input_leds 16384 0 videodev 225280 3 videobuf2_v4l2,uvcvideo,videobuf2_common mei_me 40960 1 processor_thermal_device 24576 0 mc 53248 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common intel_rapl_common 24576 2 intel_rapl_msr,processor_thermal_device mei 106496 3 mei_hdcp,mei_me hid_multitouch 28672 0 cfg80211 704512 3 iwlmvm,iwlwifi,mac80211 ecdh_generic 16384 2 bluetooth ecc 28672 1 ecdh_generic cros_ec_ishtp 20480 0 intel_soc_dts_iosf 20480 1 processor_thermal_device cros_ec 20480 1 cros_ec_ishtp intel_pch_thermal 16384 0 ucsi_acpi 16384 0 typec_ucsi 40960 1 ucsi_acpi typec 45056 1 typec_ucsi mac_hid 16384 0 int3403_thermal 16384 0 int340x_thermal_zone 16384 2 int3403_thermal,processor_thermal_device acpi_pad 184320 0 int3400_thermal 20480 0 hp_wireless 16384 0 acpi_thermal_rel 16384 1 int3400_thermal sch_fq_codel 20480 2 parport_pc 40960 0 ppdev 24576 0 lp 20480 0 parport 53248 3 parport_pc,lp,ppdev ip_tables 32768 0 x_tables 40960 1 ip_tables autofs4 45056 2 overlay 114688 1 nls_utf8 16384 1 isofs 49152 1 nls_iso8859_1 16384 0 dm_mirror 24576 0 dm_region_hash 20480 1 dm_mirror dm_log 20480 2 dm_region_hash,dm_mirror usbhid 57344 0 hid_sensor_hub 24576 3 hid_sensor_trigger,hid_sensor_iio_common,hid_sensor_als intel_ishtp_loader 24576 0 intel_ishtp_hid 24576 0 uas 28672 0 usb_storage 77824 3 uas crct10dif_pclmul 16384 1 hid_generic 16384 0 crc32_pclmul 16384 0 i915 1986560 19 ghash_clmulni_intel 16384 0 aesni_intel 372736 4 i2c_algo_bit 16384 1 i915 crypto_simd 16384 1 aesni_intel drm_kms_helper 184320 1 i915 syscopyarea 16384 1 drm_kms_helper cryptd 24576 3 crypto_simd,ghash_clmulni_intel glue_helper 16384 1 aesni_intel sysfillrect 16384 1 drm_kms_helper sysimgblt 16384 1 drm_kms_helper i2c_i801 32768 0 psmouse 155648 0 e1000e 258048 0 nvme 49152 0 fb_sys_fops 16384 1 drm_kms_helper i2c_hid 28672 0 drm 491520 9 drm_kms_helper,i915 hid 131072 6 i2c_hid,usbhid,hid_multitouch,hid_sensor_hub,intel_ishtp_hid,hid_generic nvme_core 102400 1 nvme intel_lpss_pci 20480 0 thunderbolt 167936 0 intel_lpss 16384 1 intel_lpss_pci intel_ish_ipc 24576 0 idma64 20480 0 virt_dma 20480 1 idma64 intel_ishtp 49152 4 cros_ec_ishtp,intel_ishtp_hid,intel_ish_ipc,intel_ishtp_loader wmi 32768 3 hp_wmi,intel_wmi_thunderbolt,wmi_bmof pinctrl_cannonlake 36864 1 video 49152 1 i915 pinctrl_intel 28672 1 pinctrl_cannonlake
From this, would you have any tip for making sound work on Manjaro KDE?
HP 'specifications' for laptop are not very informative, but does have one clue:
support.hp.com - hp-elitebook-840-g6-notebook-pc
Multi-array microphone (integrated)
Integrated stereo speakers
multi-array microphone will be IntelSST DMIC array, which is not supported by the usual
ALSA cannot detect the dmic correctly and reports 'no devices detected'
and if Pulseaudio cannot detect any ALSA devices for playback, it creates the Dummy Device
simple way to get audio working is to disable detection of the internal dmic to allow the rest of the audio codec to work with snd_hda_intel driver
use this command to add kernel option for audio:
echo 'options snd-intel-dspcfg dsp_driver=1' | sudo tee etc/modprobe.d/alsa-base.conf
once it can be confirmed that the audio codec works without internal dmic, user can try to enable the internal dmic (and load new driver sof-hda_dsp to support it) by changing the kernel option to
options snd-intel-dspcfg dsp_driver=3
but not all systems can support the new driver yet so this may not work for your system yet
echo 'options snd-intel-dspcfg dsp_driver=1' | sudo tee etc/modprobe.d/alsa-base.conf is returning the following:
tee: etc/modprobe.d/alsa-base.conf: Datei oder Verzeichnis nicht gefunden options snd-intel-dspcfg dsp_driver=1
There is no alsa-base.conf. Should I simply create the file and add the line
options snd-intel-dspcfg dsp_driver=1 to it?
Should I simply create the file and add the line
options snd-intel-dspcfg dsp_driver=1to it?
yes - you can create the file and add the line and it will work the same
i was trying for brevity, but missed an option in command (should have been
sudo tee -a )
Ok, audio worked with
dsp_driver=1. Then I altered the file to
dsp_driver=3 and it returned to "dummy-output". Neither audio or mic.
To be sure, I've run again the LiveUSB with Ubuntu and I confirm that both audio and mic work fine there.
just out of curiosity: is the
sof-firmware package installed? if not, you could install it and it should work. maybe you need to use
pulseaudio-git as well. i have the same laptop and this solved it for me...
I didn't have any of these packages. I installed both, but it didn't make a difference. Actually, with
pulseaudio-git, I wasn't able to have audio with the kernel option described by @nikgnomic anymore, so I had to uninstall it and install
sof-firmware is still there, but AFAIK makes no difference in the behavior.
Still no solution for mic in Manjaro in this laptop...
yes, this sounds like the issue me and others had. this thread seems to cover the problem. Manjaro Gnome - on fresh installation internal microphone doesn't work
in short, this is what i would suggest:
- make sure, sof-firmware is installed
- revert any kernel options you have set so far.
- install pulseaudio-git
- run the commands in the last post of the thread i linked here to make sure, pulseaudio starts when you login.
this should enable the microphone and solve the issue that pulseaudio thinks your soundcard is not available when no headphones are plugged in.
Wow, everything works fine now.
What I did following your @thht steps:
- Reverted kernel back to 5.6.16
- Removed file
- Checked whether
sof-firmwarewas still installed and it was
- Installed again
systemctl --user daemon-reload systemctl --user enable pulseaudio pulseaudio.socket systemctl --user restart pulseaudio pulseaudio.socket
- Selected "speaker" as standard device, as HDMI was selected as standard
Now I can confirm that both audio and mic work fine. I'll mark this post as solved.
I'm in trouble again. Since the last Manjaro stable update, my laptop has had issues with the docking station (here: [Stable Update] 2020-07-19 - Kernels, KDE, LibreOffice, Mesa, Cinnamon, Deepin, Pamac, Browsers). I've realised that, while I'm having this issue with the update kernel 5.6.19-2, things are fine if I downgrade to kernel 5.4.52-1 LTS. But then mic doesn't work anymore, though audio works. I'm wondering if it would be easier to get mic working again (but now through kernel 5.4) than the issue with the docking station. FYI, I've run again @thht's steps with kernel 5.4 and it didn't work. I've tried also @nikgnomic's workaround and nothing.
try to upgrade to the current 5.7.9 kernel version and try again, please.
if that does not work, please provide the output of
inxi -Fxc0 and
I failed to mention that I had tried the 5.7.9 kernel and had the same problem with my docking station. So, audio and mic are fine (as they are on 5.6.19), but the problem with the docking station remains. That is why I downgraded it to the first version that works with the docking station, and this is the 5.4, but then I have the mic issues.
kernel v5.6 was marked End Of Life in latest update
earlier kernels do not support
sof-firmware drivers for internal microphone array
kernel v5.4 probably does not recognise the new modprobe option
before SOF support was available for older kernels, some systems needed an older modprobe option to disable internal microphone array -
option options snd_hda_intel.dmic_detect=0
(Discord Screen Share Audio Not Working)
I'm running Ubuntu in a LiveUSB and voila, sound is there
latest Ubuntu 20.04 LTS is using pulseaudio v13.99
this is a release candidate version with most of the fixes for SOF drivers due for pulseaudio v14.0
pulseaudio-git for later version of pulseaudio was a confirmed solution for a Lenovo laptop
Lenovo ThinkPad X1 Carbon (Gen 7)
This means: either 5.7 or 5.4 LTS would be better options from now on, right?
In my laptop this is working only from kernel 5.6 on. On kernel 5.4, although I have pulseaudio-git (v. 13.99), mic is not recognised.
sorry, it somehow slipped my attention that you were talking about the docking station. which one do you have? the ultraslim dock? i have that one and i have not yet managed to get any audio working via that one (neither input nor output). however, that one does not have a builtin microphone.
and at least for me, the internal mic as well as the combined headphone/mic jack of the notebook itself keeps working on the current kernel with the pulseaudio-git version when it is in the docking station....
so, what kind of docking station do you have and what exactly do you mean when you say the mic is not working?
and yes, most probably, 5.4 is not an optimal kernel for your laptop but 5.7 is.
Yeah, it seems to be that one.
Actually I'm not trying to make audio/mic work through it. I was expecting audio/mic directly from the laptop. And this works under kernels 5.6 and 5.7 after those instructions you gave me (and also connected to the docking station). The problem is that, since the latest Manjaro stable release, the laptop is not loading SDDM in the boot with these kernels if connected to the docking station (it used to with kernel 5.6). So I had the idea to downgrade the kernel to 5.4 and the laptop managed to successfully boot, but then I have no mic anymore. I was wondering what is easier to solve: the boot thing with kernels 5.6 and 5.7 or the mic with kernel 5.4.
Ok. I've just installed it again and will try to find out how to boot (and load SDDM) with it. Thanks!
support for built-in digital microphones was not added until kernel v5.5 so i do not think there is a way to get microphone working on v5.4 kernel
if the boot problem can be resolved for kernel v5.7 microphone should be no problem
Thanks! Yes, this is the thing I'm trying now here. Mic works fine with kernel v5.7, so I just need to solve the booting thing with docking station.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.