[SOLVED] Microphone partially working in CentOS 8.3.2011
Posted: 2021/04/30 18:02:26
I have recently installed 8.3 onto a Kuu laptop. This is a cheapish Chinese product originally installed with Windows 10. But it's got 8Gb RAM and 256GB SSD, so it's really quite whizzy compared to my older hardware.
Installation and initial updates went fine. I installed KDE without issue. However, when I tried a Zoom call earlier today, the Zoom client couldn't pick up the microphone and the call was silent from my end (the speakers were working and I could hear my colleague quite clearly).
I've been following this thread, viewtopic.php?f=55&t=74980 , and have tried to glean as much info as possible before posting this request. I hope this is relevant.
Try this:
Playback test1.wav
Worked!
And
/var/log/messages shows
In other tests, Zoom and Audacity still can't detect the microphone.
So I'm at a bit of a loss. I had thought something as simple as a microphone would be a no-brainer but obviously there's something missing. I have a sneaking suspicion that I'm missing something obvious but I can't put my finger on it.
Any suggestions or comments would be very useful.
Regards,
Colin
Installation and initial updates went fine. I installed KDE without issue. However, when I tried a Zoom call earlier today, the Zoom client couldn't pick up the microphone and the call was silent from my end (the speakers were working and I could hear my colleague quite clearly).
I've been following this thread, viewtopic.php?f=55&t=74980 , and have tried to glean as much info as possible before posting this request. I hope this is relevant.
Code: Select all
[root@kuu ~]# lsmod | grep -E "snd|audio"
snd_seq_dummy 16384 0
snd_soc_skl_hda_dsp 24576 13
snd_hda_codec_hdmi 69632 1
snd_soc_hdac_hdmi 32768 1 snd_soc_skl_hda_dsp
snd_hda_codec_realtek 122880 1
snd_hda_codec_generic 86016 1 snd_hda_codec_realtek
snd_soc_dmic 16384 1
snd_sof_pci 20480 0
snd_sof_intel_byt 16384 1 snd_sof_pci
snd_sof_intel_ipc 16384 1 snd_sof_intel_byt
snd_sof_intel_hda_common 81920 1 snd_sof_pci
snd_soc_hdac_hda 20480 1 snd_sof_intel_hda_common
snd_sof_xtensa_dsp 16384 2 snd_sof_intel_hda_common,snd_sof_intel_byt
snd_sof_intel_hda 16384 1 snd_sof_intel_hda_common
snd_sof 118784 4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_byt,snd_sof_intel_ipc
ledtrig_audio 16384 3 snd_hda_codec_generic,snd_hda_codec_realtek,snd_sof
snd_soc_skl 172032 0
snd_soc_sst_ipc 16384 1 snd_soc_skl
snd_soc_sst_dsp 36864 1 snd_soc_skl
snd_hda_ext_core 28672 5 snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_acpi_intel_match 40960 3 snd_sof_pci,snd_sof_intel_hda_common,snd_soc_skl
snd_soc_acpi 16384 4 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_sof_intel_byt,snd_soc_skl
snd_soc_core 262144 7 snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_skl,snd_soc_dmic,snd_soc_skl_hda_dsp
snd_compress 24576 1 snd_soc_core
snd_hda_intel 49152 0
snd_intel_dspcfg 24576 4 snd_hda_intel,snd_sof_pci,snd_sof_intel_hda_common,snd_soc_skl
snd_hda_codec 151552 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 98304 12 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_soc_skl,snd_sof_intel_hda,snd_soc_skl_hda_dsp
snd_hwdep 16384 1 snd_hda_codec
snd_seq 81920 1 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
snd_pcm 118784 10 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core
snd_timer 40960 2 snd_seq,snd_pcm
snd 94208 39 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
soundcore 16384 1 snd
[root@kuu ~]#
Code: Select all
[root@kuu ~]# arecord -l
**** List of CAPTURE Hardware Devices ****
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 6: DMIC (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 7: DMIC16kHz (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
[root@kuu ~]#
[root@kuu ~]# arecord -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=sofhdadsp
sof-hda-dsp,
Default Audio Device
[root@kuu ~]#
Code: Select all
[root@kuu ~]# aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
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
[root@kuu ~]#
[root@kuu ~]# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=sofhdadsp
sof-hda-dsp,
Default Audio Device
[root@kuu ~]#
Code: Select all
[root@kuu ~]# dnf list installed | grep -E 'audio|alsa'
alsa-lib.x86_64 1.2.3.2-1.el8 @AppStream
alsa-plugins-pulseaudio.x86_64 1.1.9-1.el8 @AppStream
alsa-sof-firmware.noarch 1.5-2.el8 @anaconda
alsa-ucm.noarch 1.2.3.2-1.el8 @AppStream
alsa-utils.x86_64 1.2.3-1.el8 @AppStream
jack-audio-connection-kit.x86_64 1.9.14-4.el8 @epel
kde-settings-pulseaudio.noarch 32.0-3.el8 @epel
pcaudiolib.x86_64 1.1-2.el8 @AppStream
portaudio.x86_64 19-30.el8 @epel
pulseaudio.x86_64 13.99.1-1.el8 @AppStream
pulseaudio-libs.x86_64 13.99.1-1.el8 @AppStream
pulseaudio-libs-glib2.x86_64 13.99.1-1.el8 @AppStream
pulseaudio-module-bluetooth.x86_64 13.99.1-1.el8 @AppStream
pulseaudio-module-x11.x86_64 13.99.1-1.el8 @AppStream
pulseaudio-utils.x86_64 13.99.1-1.el8 @AppStream
webrtc-audio-processing.x86_64 0.3-9.el8 @AppStream
[root@kuu ~]#
Code: Select all
[root@kuu ~]# lspci -vv | grep -i audio
00:1f.3 Audio device: Intel Corporation Comet Lake PCH-LP cAVS (prog-if 80)
Kernel driver in use: sof-audio-pci
[root@kuu ~]#
Code: Select all
[root@kuu ~]# tree /proc/asound -L 2
/proc/asound
├── card0
│ ├── codec#0
│ ├── codec#2
│ ├── eld#2.0
│ ├── eld#2.1
│ ├── eld#2.2
│ ├── eld#2.3
│ ├── eld#2.4
│ ├── eld#2.5
│ ├── eld#2.6
│ ├── eld#2.7
│ ├── eld#2.8
│ ├── id
│ ├── pcm0c
│ ├── pcm0p
│ ├── pcm1c
│ ├── pcm1p
│ ├── pcm3p
│ ├── pcm4p
│ ├── pcm5p
│ ├── pcm6c
│ └── pcm7c
├── cards
├── devices
├── hwdep
├── modules
├── oss
│ ├── devices
│ └── sndstat
├── pcm
├── seq
│ ├── clients
│ ├── drivers
│ ├── queues
│ └── timer
├── sofhdadsp -> card0
├── timers
└── version
13 directories, 25 files
[root@kuu ~]#
Code: Select all
[root@kuu ~]# lshw -class multimedia
*-usb:1
description: Video
product: USB 2.0 Camera: USB 2.0 Camera
vendor: Alcor Micro, Corp.
physical id: 4
bus info: usb@1:4
logical name: input10
logical name: /dev/input/event10
version: 0.03
capabilities: usb-2.00 usb
configuration: driver=uvcvideo maxpower=200mA speed=480Mbit/s
*-multimedia
description: Audio device
product: Comet Lake PCH-LP cAVS
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
logical name: card0
logical name: /dev/snd/controlC0
logical name: /dev/snd/hwC0D0
logical name: /dev/snd/hwC0D2
logical name: /dev/snd/pcmC0D0c
logical name: /dev/snd/pcmC0D0p
logical name: /dev/snd/pcmC0D1c
logical name: /dev/snd/pcmC0D1p
logical name: /dev/snd/pcmC0D3p
logical name: /dev/snd/pcmC0D4p
logical name: /dev/snd/pcmC0D5p
logical name: /dev/snd/pcmC0D6c
logical name: /dev/snd/pcmC0D7c
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=sof-audio-pci latency=32
resources: irq:130 memory:b1110000-b1113fff memory:b1000000-b10fffff
[root@kuu ~]#
Code: Select all
[root@kuu ~]# lspci | grep audio
[root@kuu ~]#
[b]Interesting. No results listed. But as a guess copied from the above thread:[/b]
[root@kuu ~]# lspci -s 00:1f.3 -v
00:1f.3 Audio device: Intel Corporation Comet Lake PCH-LP cAVS (prog-if 80)
DeviceName: Onboard - Sound
Subsystem: Realtek Semiconductor Co., Ltd. Device 119e
Flags: bus master, fast devsel, latency 32, IRQ 130
Memory at b1110000 (64-bit, non-prefetchable) [size=16K]
Memory at b1000000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: sof-audio-pci
Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci
[root@kuu ~]#
Code: Select all
[root@kuu ~]# arecord -f S16_LE -c 2 -d 5 -r 44100 --device="hw:0,0" /tmp/test1.wav
Recording WAVE '/tmp/test1.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz)
please, try the plug plugin
[root@kuu ~]#
[b]/tmp/test1.wav has been created:
[/b]
[root@kuu ~]# ls -l /tmp/test1.wav
-rw-r--r--. 1 root root 882044 Apr 30 17:46 /tmp/test1.wav
[root@kuu ~]#
Code: Select all
[root@kuu ~]# aplay --device="hw:0,0" /tmp/test1.wav
Playing WAVE '/tmp/test1.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
[root@kuu ~]#
And
Code: Select all
[root@kuu ~]# arecord -f S16_LE -c 2 -d 5 -r 44100 --device="hw:0,1" /tmp/test2.wav
arecord: main:830: audio open error: Invalid argument
[root@kuu ~]#
Code: Select all
Apr 30 17:47:21 kuu kernel: snd_hda_codec_realtek ehdaudio0D0: didn't find PCM for DAI Digital Codec DAI
Apr 30 17:47:21 kuu kernel: snd_hda_codec_realtek ehdaudio0D0: ASoC: can't open DAI Digital Codec DAI: -22
Apr 30 17:47:21 kuu kernel: snd_hda_codec_realtek ehdaudio0D0: didn't find PCM for DAI Digital Codec DAI
Apr 30 17:47:21 kuu kernel: Digital Playback and Capture: ASoC: BE open failed -22
Apr 30 17:47:21 kuu kernel: HDA Digital: ASoC: failed to start some BEs -22
So I'm at a bit of a loss. I had thought something as simple as a microphone would be a no-brainer but obviously there's something missing. I have a sneaking suspicion that I'm missing something obvious but I can't put my finger on it.
Any suggestions or comments would be very useful.
Regards,
Colin