LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Deepin (https://www.linuxquestions.org/questions/linux-deepin-101/)
-   -   Internal mic not detected by "pulseaudio volume control" but works fine in "audacity" (https://www.linuxquestions.org/questions/linux-deepin-101/internal-mic-not-detected-by-pulseaudio-volume-control-but-works-fine-in-audacity-4175701480/)

kalwardin 10-04-2021 12:44 PM

Internal mic not detected by "pulseaudio volume control" but works fine in "audacity"
 
I have Lenovo IdeaPad 3 15ITL6, internal mic is not detected by "pavucontrol" but in "audacity" its working fine.

Code:

OS: Deepin 20.2.4 x86_64
Host: 82H8 IdeaPad 3 15ITL6
Kernel: 5.13.13-amd64-desktop
CPU: 11th Gen Intel TSEEEPSGA (4) @ 4.100GHz
GPU: Intel Device 9a78

output of aplay -l
Code:

**** 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

output of dmesg | grep snd
Code:

[    3.826293] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    3.826313] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    4.184926] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC257: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    4.184931] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.184933] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    4.184935] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[    4.184936] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[    4.184938] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
[    4.454616] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[    4.454628] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten

output of dmesg | grep sof-hda
Code:

[    4.540287] input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input12
[    4.540342] input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input13
[    4.540404] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input14
[    4.540500] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input15
[    4.540905] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input16

output of pacmd list-sources
Code:

2 source(s) available.
    index: 7
        name: <alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.stereo-fallback.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 1030
        volume: front-left: 32768 /  50% / -18.06 dB,  front-right: 32768 /  50% / -18.06 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max rewind: 0 KiB
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                    Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
        monitor_of: 6
        card: 0 <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
        module: 6
        properties:
                device.description = "Monitor of sof-hda-dsp Stereo"
                device.class = "monitor"
                alsa.card = "0"
                alsa.card_name = "sof-hda-dsp"
                alsa.long_card_name = "LENOVO-82H8-IdeaPad315ITL6-LNVNB161216"
                alsa.driver_name = "snd_soc_skl_hda_dsp"
                device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a0c8"
                device.string = "0"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
  * index: 9
        name: <alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.multichannel-input>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9030
        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
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max rewind: 0 KiB
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                    Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
        card: 0 <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
        module: 6
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = ""
                alsa.id = "HDA Analog (*)"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "sof-hda-dsp"
                alsa.long_card_name = "LENOVO-82H8-IdeaPad315ITL6-LNVNB161216"
                alsa.driver_name = "snd_soc_skl_hda_dsp"
                device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a0c8"
                device.string = "hw:0"
                device.buffering.buffer_size = "65536"
                device.buffering.fragment_size = "16384"
                device.access_mode = "mmap+timer"
                device.profile.name = "multichannel-input"
                device.profile.description = "Multichannel"
                device.description = "sof-hda-dsp Multichannel"
                alsa.mixer_name = "Realtek ALC257"
                alsa.components = "HDA:80862812,80860101,00100000 HDA:10ec0257,17aa38b5,00100001 cfg-dmics:2"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                multichannel-input: Multichannel Input (priority 0, latency offset 0 usec, available: unknown)
                        properties:

        active port: <multichannel-input>

Thanks in advance....

aus9 10-11-2021 08:21 AM

Hi

until you get a better reply notice that you have a alc 257.

https://mjmwired.net/kernel/Document...dio-Models.txt

try in turn, create a /etc/modprobe.d/sound.conf with root powers and then on each reboot try contents

options snd_intel_hda model=string

but string will be first=laptop-amic and then laptop-dmic

ideally on each boot you would like to see the capture device first by

Code:

arecord -l # not aplay -l

kalwardin 10-19-2021 12:45 PM

Thanks aus9 :)
I solved the issue from arch wiki as i didn't load the module.


All times are GMT -5. The time now is 09:56 AM.