You are not logged in.

#1 2024-09-09 12:06:26

SmileYik
Member
Registered: 2024-09-09
Posts: 2

Internal mic not work, AMD laptop, MSI Alpha 17 C7V

I got a new AMD laptop these days and installed archlinux on it. And i found that the internal mic can't record voice.

I tried any suggestion on wiki but they are not work. After that, I found some post like https://bbs.archlinux.org/viewtopic.php?id=278886, https://forum.manjaro.org/t/built-in-mi … x/152373/2.

The issue in the post is similar with mine, and I try to patch kernel as same as these posts, but it is not work to me, too.

After i tried patch kernel, I found that their driver of “AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor” is different to me, theirs is snd_pci_acp6x, mine is snd_rpl_pci_acp6x. sad

Please let me know if you have any suggestions on how to approach this further. smile

arecord -l
**** List of CAPTURE Hardware Devices ****
card 2: Generic_1 [HD-Audio Generic], device 0: ALC274 Analog [ALC274 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
lsmod | grep soc
soc_button_array       24576  0
snd_soc_ps_mach        12288  0
snd_soc_acp6x_mach     32768  0
snd_soc_core          479232  4 snd_soc_acp6x_mach,snd_sof,snd_soc_ps_mach,soundwire_amd
snd_compress           28672  1 snd_soc_core
ac97_bus               12288  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_pcm               233472  13 snd_sof_amd_acp,snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_hda_codec,snd_sof,snd_compress,snd_soc_core,snd_sof_utils,soundwire_amd,snd_hda_core,snd_pci_ps,snd_pcm_dmaengine
snd                   163840  21 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_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm
snd_soc_acpi           16384  3 snd_sof_amd_acp,snd_acp_config,snd_pci_ps
inxi -Aaxxx
Audio:
  Device-1: NVIDIA AD106M High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.1 chip-ID: 10de:22bd
    class-ID: 0403
  Device-2: AMD Rembrandt Radeon High Definition Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 05:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Micro-Star MSI
    driver: snd_rpl_pci_acp6x v: kernel alternate: snd_pci_acp3x,
    snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_pci_ps,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh,
    snd_sof_amd_acp63 pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 05:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-4: AMD Family 17h/19h HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.10.9-zen1-1-zen-custom status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.2.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
wpctl status
PipeWire 'pipewire-0' [1.2.3, smileyik@smileyikpc, cookie:3187362510]
 └─ Clients:
        32. kwin_wayland                        [1.2.3, smileyik@smileyikpc, pid:1029]
        33. WirePlumber                         [1.2.3, smileyik@smileyikpc, pid:1084]
        41. WirePlumber [export]                [1.2.3, smileyik@smileyikpc, pid:1084]
        63. pipewire                            [1.2.3, smileyik@smileyikpc, pid:1271]
        64. libcanberra                         [1.2.3, smileyik@smileyikpc, pid:1155]
        65. xdg-desktop-portal                  [1.2.3, smileyik@smileyikpc, pid:1036]
        66. kded6                               [1.2.3, smileyik@smileyikpc, pid:1155]
        67. plasmashell                         [1.2.3, smileyik@smileyikpc, pid:1210]
        68. libcanberra                         [1.2.3, smileyik@smileyikpc, pid:1210]
        69. KDE Connect守护进程             [1.2.3, smileyik@smileyikpc, pid:1455]
        70.                                     [1.2.3, smileyik@smileyikpc, pid:1210]
        72. LibreWolf                           [1.2.3, smileyik@smileyikpc, pid:1884]
        81. wpctl                               [1.2.3, smileyik@smileyikpc, pid:4775]
        82. LibreWolf                           [1.2.3, smileyik@smileyikpc, pid:1884]

Audio
 ├─ Devices:
 │      42. AD106M High Definition Audio Controller [alsa]
 │      43. Rembrandt Radeon High Definition Audio Controller [alsa]
 │      44. Family 17h/19h HD Audio Controller  [alsa]
 │  
 ├─ Sinks:
 │  *   56. Family 17h/19h HD Audio Controller 模拟立体声 [vol: 0.66]
 │  
 ├─ Sources:
 │      57. Family 17h/19h HD Audio Controller 模拟立体声 [vol: 1.00]
 │  
 ├─ Filters:
 │  
 └─ Streams:

Video
 ├─ Devices:
 │      58. HD Webcam                           [v4l2]
 │      59. HD Webcam                           [v4l2]
 │  
 ├─ Sinks:
 │  
 ├─ Sources:
 │  *   49. HD Webcam (V4L2)                   
 │  
 ├─ Filters:
 │  
 └─ Streams:

Settings
 └─ Default Configured Devices:
         0. Audio/Sink    alsa_output.pci-0000_05_00.6.analog-stereo
         1. Audio/Source  alsa_input.pci-0000_05_00.6.analog-stereo
dmesg | grep -E 'audio|jack|pipewire|pulse|alsa'
[    7.319054] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    7.319169] snd_hda_intel 0000:05:00.1: Handle vga_switcheroo audio client
[    7.344092] snd_hda_intel 0000:05:00.1: bound 0000:05:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    7.355024] snd_hda_codec_realtek hdaudioC2D0: autoconfig for ALC274: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    7.355030] snd_hda_codec_realtek hdaudioC2D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    7.355032] snd_hda_codec_realtek hdaudioC2D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    7.355035] snd_hda_codec_realtek hdaudioC2D0:    mono: mono_out=0x0
[    7.355036] snd_hda_codec_realtek hdaudioC2D0:    inputs:
[    7.355037] snd_hda_codec_realtek hdaudioC2D0:      Mic=0x19
dmesg | grep '\(acp6x\|DMIC\)'
[    7.312283] snd_rpl_pci_acp6x 0000:05:00.5: enabling device (0000 -> 0002)

Last edited by SmileYik (2024-09-09 12:07:45)

Offline

#2 2024-09-09 13:09:42

SmileYik
Member
Registered: 2024-09-09
Posts: 2

Re: Internal mic not work, AMD laptop, MSI Alpha 17 C7V

After I put snd_rpl_pci_acp6x to blacklist.  It's noting changed but driver of "AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor" turned to N/A.
It's there has some way to change it's driver to "snd_pci_acp6x"? I really don't know how to solve it sad

dmesg | grep -E 'audio|jack|pipewire|pulse|alsa|snd'
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux-zen-custom root=UUID=c0438052-6019-4ed8-bd4c-d53aa103433b rw loglevel=3 quiet nvidia_drm.modeset=1 modprobe.blacklist=snd_rpl_pci_acp6x
[    0.029252] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-zen-custom root=UUID=c0438052-6019-4ed8-bd4c-d53aa103433b rw loglevel=3 quiet nvidia_drm.modeset=1 modprobe.blacklist=snd_rpl_pci_acp6x
[    7.198423] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    7.198493] snd_hda_intel 0000:01:00.1: Disabling MSI
[    7.198500] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    7.198612] snd_hda_intel 0000:05:00.1: enabling device (0000 -> 0002)
[    7.198666] snd_hda_intel 0000:05:00.1: Handle vga_switcheroo audio client
[    7.198727] snd_hda_intel 0000:05:00.6: enabling device (0000 -> 0002)
[    7.209060] snd_hda_intel 0000:05:00.1: bound 0000:05:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    7.224586] snd_hda_codec_realtek hdaudioC2D0: autoconfig for ALC274: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    7.224591] snd_hda_codec_realtek hdaudioC2D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    7.224593] snd_hda_codec_realtek hdaudioC2D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    7.224595] snd_hda_codec_realtek hdaudioC2D0:    mono: mono_out=0x0
[    7.224596] snd_hda_codec_realtek hdaudioC2D0:    inputs:
[    7.224597] snd_hda_codec_realtek hdaudioC2D0:      Mic=0x19
inxi -Aaxxx
Audio:
  Device-1: NVIDIA AD106M High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 8
    bus-ID: 01:00.1 chip-ID: 10de:22bd class-ID: 0403
  Device-2: AMD Rembrandt Radeon High Definition Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 05:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Micro-Star MSI
    driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x,
    snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh,
    snd_sof_amd_acp63 pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 05:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-4: AMD Family 17h/19h HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.10.9-zen1-1-zen-custom status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.2.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl

Offline

#3 2026-01-06 03:22:07

ftworld
Member
Registered: 2026-01-06
Posts: 2

Re: Internal mic not work, AMD laptop, MSI Alpha 17 C7V

Hi, did you ever get this working, I have the same problem. After long hours, I've noticed that even though we have the same device id as the snd_pci_acp6x driver, we don't have the same revision which I'm my case it's 62 and I'm yours it must be since snd_rpl_pci_acp6x there is a hardcoded revision check. Although I've searched I can't seem to find an answer, although I'm on day 2 on this journey, but now the kernel is 6.18.3 and it's still doesn't seem to work. Just for completeness I'm running an HP omen 16 AMD 8940hx laptop.

Offline

Board footer

Powered by FluxBB