Hi all. I’m new to Linux and have encountered problems with the built-in microphone - it doesn’t work, and I can’t select it in the sound settings. After researching forums on the Internet, I found information that it is necessary to make changes to the kernel configuration and this could theoretically solve my problem.
- Plz, tell me how I can make changes to the kernel configuration?
- Or perhaps someone can tell me how to solve this problem in another way?
to enable the snd_pci_acp6x
driver and it’s DMIC support in my kernel config:
CONFIG_SND_SOC=y
CONFIG_SND_SOC_AMD_ACP6x=y
CONFIG_SND_SOC_AMD_YC_MACH=y
System info:
Kernel: 6.6.2-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
root=UUID=12ef720e-82e2-4dbf-99b2-110013001e9d rw
resume=UUID=ffcdaf15-8d67-4927-a1e1-52140d376e53 resume_offset=37429248
quiet splash apparmor=1 security=apparmor udev.log_priority=3
Desktop: GNOME v: 45.1 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM v: 45.0.1
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: ASUSTeK product: Vivobook_ASUSLaptop M5602RA_M5602RA
v: 1.0 serial: <superuser required>
Mobo: ASUSTeK model: M5602RA v: 1.0 serial: <superuser required>
UEFI: American Megatrends LLC. v: M5602RA.301 date: 07/30/2022
CPU:
Info: model: AMD Ryzen 7 6800H with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 3+ gen: 4 level: v3 note: check built: 2022 process: TSMC n6 (7nm)
Graphics:
Device-1: AMD Rembrandt [Radeon 680M] vendor: ASUSTeK driver: amdgpu
v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22
Display: wayland server: Xorg v: 1.21.1.9 with: Xwayland v: 23.2.2
compositor: gnome-shell driver: gpu: amdgpu display-ID: 0
Audio:
Device-1: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.1
chip-ID: 1002:1640 class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK
driver: snd_pci_acp6x v: kernel alternate: snd_pci_acp3x, snd_rn_pci_acp3x,
snd_pci_acp5x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh pcie: gen: 4
speed: 16 GT/s lanes: 16 bus-ID: 03:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.6
chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.6.2-1-MANJARO status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 0.3.85 status: active with: 1: pipewire-pulse
status: active 2: pipewire-media-session status: active 3: pipewire-alsa
type: plugin 4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli
Additional data:
inxi -Fxxz | grep Audio
Audio:
Device-1: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK <-- *this is my micro*
Device-3: AMD Family 17h/19h HD Audio vendor: ASUSTeK
pactl list cards | grep ‘.(card_name|description)’
device.description = "Rembrandt Radeon High Definition Audio Controller"
alsa.card_name = "HD-Audio Generic"
device.description = "Family 17h/19h HD Audio Controller"
alsa.card_name = "HD-Audio Generic"
dmesg | grep ‘(acp6x|DMIC)’
snd_pci_acp6x 0000:03:00.5: enabling device (0000 -> 0002)
arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Generic_1 [HD-Audio Generic], device 0: ALC294 Analog [ALC294 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 2: ALC294 Alt Analog [ALC294 Alt Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
zgrep CONFIG_SND_SOC_AMD_ACP /proc/config.gz
CONFIG_SND_SOC_AMD_ACP=m
CONFIG_SND_SOC_AMD_ACP3x=m
CONFIG_SND_SOC_AMD_ACP5x=m
CONFIG_SND_SOC_AMD_ACP6x=m
Thank you in advance!