built-in Microphone is also not working on my Acer Swift 3 SF314-43-R2LX

2»

Answers

  • Marty11
    Marty11 Member Posts: 119 Skilled Fixer WiFi Icon

    @xat

    Thank you for your in-depth answer.

    I tested my configuration in order to compare it to yours. It looks like my rig has different hardware than yours.

    My rig is equipped with an [AMD/ATI] Renoir Radeon High Definition Audio Controller [1002:1637]. I'm running with kernel version 5.15.0-102-generic. I have a different type Audio Processor [1025:1537]
    with kernel driver in use: snd_rn_pci_acp3x. I'm not sure if the new driver that you mentioned is applicable for it. What kernel version are you running on?

    Here are my findings:

    Kernel version:

    $ uname -a
    Linux 5.15.0-102-generic #112-Ubuntu SMP Tue Mar 5 16:50:32 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
    $ cat /etc/*-release
    DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"
    …
    

    $ cat /etc/*-release
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=22.04
    DISTRIB_CODENAME=jammy
    DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"
    PRETTY_NAME="Ubuntu 22.04.4 LTS"
    NAME="Ubuntu"
    VERSION_ID="22.04"
    VERSION="22.04.4 LTS (Jammy Jellyfish)"
    VERSION_CODENAME=jammy
    ID=ubuntu
    ID_LIKE=debian
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
    UBUNTU_CODENAME=jammy

    $ cat /proc/asound/card*/codec* | grep Codec
    Codec: ATI R6xx HDMI
    Codec: Realtek ALC255
    $ lspci -knn | grep Audio -A3
    03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller [1002:1637]
    Subsystem: Acer Incorporated [ALI] Renoir Radeon High Definition Audio Controller [1025:1537]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
    $ inxi -aA
    Audio:
    Device-1: AMD Renoir Radeon High Definition Audio
    vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.1
    chip-ID: 1002:1637 class-ID: 0403
    Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
    vendor: Acer Incorporated ALI driver: snd_rn_pci_acp3x v: kernel
    alternate: snd_pci_acp3x,snd_pci_acp5x,snd_pci_acp6x pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.5
    chip-ID: 1022:15e2 class-ID: 0480
    Device-3: AMD Family 17h HD Audio vendor: Acer Incorporated ALI
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.6 chip-ID: 1022:15e3
    class-ID: 0403
    Sound Server-1: ALSA v: k5.15.0-102-generic running: yes
    Sound Server-2: PulseAudio v: 15.99.1 running: yes
    Sound Server-3: PipeWire v: 0.3.48 running: yes

  • Marty11
    Marty11 Member Posts: 119 Skilled Fixer WiFi Icon
    edited April 15

    I did a deep dive on the audio hardware that is contained in the Acer SF314-43 from a Linux perspective.

    I found the following devices (source: Hardware for Linux):

    • BUS ID / Class Vendor Device Type Driver
    • PCI 1002:1637:1025:1537 »
      / 04-03 Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller sound snd_hda_intel »
    • PCI 1022:15e3:1025:1537 »
      / 04-03Advanced Micro Devices, Inc. [AMD]Family 17h/19h HD Audio Controllersound snd_hda_intel
    • PCI 1022:15e2:1025:1537 »
      / 04-80Advanced Micro Devices, Inc. [AMD]ACP/ACP3X/ACP6x Audio Coprocessormultimedia controller snd_pci_acp3x, snd_rn_pci...

    The https://linux-hardware.org/?id=pci:1002-1637-1025-1537 is supported by Linux Kernel driver: snd_hda_intel.

    There is another device: https://linux-hardware.org/?id=pci:1022-15e3-1025-1537 that is also supported by driver: snd_hda_intel.

    Finally there is the https://linux-hardware.org/?id=pci:1022-15e2-1025-1537 that is supported by a list of drivers: snd_pci-acp3x, snd_rn-pci-acp3x, snd_pci-acp5x, snd_pci-acp6x, snd_pci-rn, acp-pci, snd_rpl-pci-acp6x, snd_pci-ps, and pci-rmb.

    Currently in use are the drivers:

    • Kernel driver in use: snd_hda_intel
    • Kernel modules: snd_hda_intel
    • Kernel driver in use: snd_rn_pci_acp3x
    • Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x

    In this configuration the internal microphones do not work.

    How would I get and how would I go about to configure: snd_pci_ps to be used ?

    Extra info:

    $ inxi -Aa
    Audio:
    Device-1: AMD Renoir Radeon High Definition Audio
    vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.1
    chip-ID: 1002:1637 class-ID: 0403
    Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
    vendor: Acer Incorporated ALI driver: snd_rn_pci_acp3x v: kernel
    alternate: snd_pci_acp3x,snd_pci_acp5x,snd_pci_acp6x pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.5
    chip-ID: 1022:15e2 class-ID: 0480
    Device-3: AMD Family 17h HD Audio vendor: Acer Incorporated ALI
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.6 chip-ID: 1022:15e3
    class-ID: 0403
    Sound Server-1: ALSA v: k5.15.0-102-generic running: yes
    Sound Server-2: PulseAudio v: 15.99.1 running: yes
    Sound Server-3: PipeWire v: 0.3.48 running: yes

  • Marty11
    Marty11 Member Posts: 119 Skilled Fixer WiFi Icon
    Answer ✓

    I found the problem!

    Sound Server PipeWire and Sound Server PulseAudio interfere with each other.

    If they are both running (verify with command: $ inxi -Aa) then you can disable PipeWire with command:

    $ systemctl --user mask --now pipewire.socket && systemctl --user stop pipewire.service
    

    Then stereo recording works (only the left and right mic recording channels are switched.)

  • Axxo
    Axxo Member, Ally Posts: 830

    click on start - settings - system – sound – You will see chose your output and input device 

    On the " chose your output device " - chose headset or speakers as you desire..

    On the "chose your input device" - click on drop down menu - chose microphone as the input. 

    On type here to search on the lower left corner 

    type microphone privacy 

    go to microphone privacy settings on the top

    check whether Allow access to the microphone on this device is on 

    If it is off - click on change and turn it on

    Allow apps to access your microphone is on 

    Scroll down - chose which microsoft store apps can access your microphone

    check the apps escpecially zoom, skype , camera to on

    Allow Desktop apps to access your microphone to on. It should work fine.