That's where I got the idea to edit /etc/pulse/default.pa from which enables the microphone but makes the speakers disappear. This is what happens:
I don't think anything else on that page applies to me. Or am I missing something?
I just posted it as a good place to start. There are lots of reports of problems with this model:
Do not know what to suggest, but good luck!
there seems to be a lot of laptops with
Intel Cannon Lake PCH cAVS having issues just now - may be a common cause
suggest get ALSA data with
alsa-info.sh --upload and post URL link here
may give some more clues
suggestion from archwiki might be halfway to a workaround
if microphone source can be added should also be able to add an output sink
load-module module-alsa-source device=hw:0,0 load-module module-alsa-sink device=hw:0,0
and also comment out next section of default.pa for udev and module detection
### Automatically load driver modules depending on the hardware available #.ifexists module-udev-detect.so #load-module module-udev-detect #.else ### Use the static hardware detection module (for systems that lack udev support) #load-module module-detect #.endif
and restart pulseaudio -
systemctl --user restart pulseaudio
The good news is that
load-module module-alsa-sink device=hw:0,0 does indeed give me the speakers back.
The bad news is that I was wrong and
load-module module-alsa-source device=hw:0,0 doesn't fix the microphone. It only shows up in the audio configuration but doesn't record any audio (checked alsamixer again to see if its not muted and also tried with and without commenting the above-mentioned section in default.pa). Sorry for not checking that earlier.
Here is the dump from alsa-info.sh (run with modified default.pa) http://alsa-project.org/db/?f=8352cc234981814791cd30229bf470afc856249d
Many thanks for your time everyone!
after a lot of digging, i think i have found the source of the problem
but not sure about correct route to a solution
there is a new audio driver i knew nothing about
Sound Open Firmware SOF
driver for Intel SST mic arrays (DMIC) on intel laptops
according to this bug report the new driver was included in v5.2 kernel but disabled
it was enabled briefly for v5.4 kernel and it appears Arch disabled it again
but suspect that Manjaro kernel has not disabled it
bugs.archlinux.org - No sound after upgrading to linux 5.4.1
rolling back to v5.3 kernel would probably get sound working again
but suggestion from bug report may work for this system to get microphone working on v5.4 kernel:
add GRUB boot parameter 'snd_hda_intel.dmic_detect=0'
(so normal driver ignores microphone)
sudo nano /etc/default/grub
add parameter to end of 'GRUB_CMDLINE_LINUX_DEFAULT='
save and exit
load-module module-alsa-source device=hw:0,0
audio playback should show usual 'HDA Intel PCH' for playback in
working microphone should show new driver 'sklhdacard' or similar in
Sorry to say this but neither kernel 5.3 nor sof-firmware with the grub edit seem to make any difference I double-checked everything but the microphone still does not show up nor am I able to record audio.
That being said, (again) many thanks for your help. The microphones in my bluetooth and wired headsets work so it won't be tragic if this isn't fixed.
comment on Archwiki from yesterday:
Patch is applied to 5.5.2 which is currently in the testing repo
Just installed it from there, Sound Restored
kernel 5.5.2 also released in Manjaro [Testing Update] 2020-02-05
should be available in stable repository with next update
Thanks! I'll check it out as soon as its out in stable.
Manjaro released 5.5.2 kernel in an update yesterday
and one user confirmed update got audio working for Cannon Lake device
Sadly it doesn't help in my case.
5.5.2-1 on its own (none of the above-mentioned changes) yields no speaker sand no microphone (HDA Intel PCH is also gone from alsamixer).
snd_hda_intel.dmic_detect=0 restores the speakers under 5.5.2 but the microphone is still missing. sof-firmware and/or default.pa edits on top change nothing.
snd_hda_intel.dmic_detect=0 disables detection of the DMIC
edit GRUB boot command to remove it temporarily for booting system
and comment out any changes made in default.pa configuration for pulseaudio
that will allow 5.5.2 kernel and sof-firmware to detect DMIC
get new ALSA data with
alsa-info.sh --upload and post URL link
another user posted information about new audio driver sof-hda-dsp 4 hours ago and has confirmed audio is working - No sound card detect on laptop after kernel update
That's what I did. Without the GRUB parameter (with or without sof-firmware) I have neither speakers nor microphone. All the default.pa changes are reverted.
Here's the alsa-info.sh dump:
ALSA data only shows HDMI audio out; no capture devices; and ALSA/HDA dmesg data is absent/empty, so not possible to see clearly what is going on
only driver shown as loaded is snd_hda_intel not the new sof drivers
suggest clear pulseaudio databases again
mv ~/.config/pulse ~/.config/pulse-old
modprobe.blacklist=snd_hda_intel added to kernel command line for boot
Similar to before. No input, no output, no devices in alsamixer.. Here's the alsa-info after adding the blacklist parameter:
So far (under 5.5.2) the only thing that at least gives me back the speakers is snd_hda_intel.dmic_detect=0.
now no devices at all, and still nothing in dmesg
sof drivers are listed as 'Loaded Modules' but not loading
problem appears to be similar to this bug report for HP Omen 17
Yeah, it sounds similar. I'll keep an eye on it. Thanks!
A post was split to a new topic: No audio from mic
from this it appears still need
snd_hda_intel.dmic_detect=0 with Manjaro kernel v5.5.6
but may be able to get microphone working with v5.5.7
Sorry for the late reply. I've jumped to 5.5.8, re-added
snd_hda_intel.dmic_detect=0 (had no sound without it) but the microphone is still absent. Learned to live with this in the meantime. External microphones and the one in my Bluetooth headset work fine. The Omen's in-build device seems to be a peculiar one and I wasn't able to get it working on Windows either until I downloaded drivers from HP (shows up as a microphone array in in Windows).