AMD ACP/ACP3X/ACP6x Audio Coprocessor driver not detected

Let me introduce myself, I’m new to this, I wanted to know what you recommend to resolve this issue, which is that the AMD ACP/ACP3X/ACP6x does not have a driver detected yet, although by the kernel, it should be detected.

inxi -Azy  127 ✘
Audio:
Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: N/A
Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
API: ALSA v: k6.6.8-2-MANJARO status: kernel-api
Server-1: PipeWire v: 1.0.0 status: active

1 Like

Hello @alestriker01 and welcome :wink:

Probably you are one of the lucky people who need a quirk on kernel level because the vendor does something different. Read the whole thread:

1 Like

Same problem with my ASUS Vivobook Go 14 laptop (Ryzen 3 7320U). Tried different kernels (from 5.5 to 6.7-rc) and distros, it really looks like we need to recompile the kernel module. Is there any more simple way? Tried to modprobe diffent modules - no way

UPDATE:
Hi there, guys! I solved the problem. @megavolt was right - you need to recompile the kernel module or the kernel itself. I downloaded and modified new 6.6.10 kernel, then compiled and booted it. The microphone is now working!

@alestriker01 Please, provide me an output of sudo dmidecode -t baseboard command, so I’ll compile a kernel for you (just for test). And also what PC do you have?

a thinkpad e14 gen 2 with ryzen 5 4500u

Please, provide me “Manufacturer” and “Product Name” values from sudo dmidecode -t baseboard

1 Like
Handle 0x0010, DMI type 2, 15 bytes
Base Board Information
	Manufacturer: LENOVO
	Product Name: 20T7S1M200
	Version: Not Defined
	Serial Number: L1HF16R001Y
	Asset Tag: Not Available
	Features:
		Board is a hosting board
		Board is replaceable
	Location In Chassis: Not Available
	Chassis Handle: 0x0000
	Type: Motherboard
	Contained Object Handles: 0

Handle 0x0027, DMI type 10, 6 bytes
On Board Device Information
	Type: Video
	Status: Enabled
	Description: AMD Carrizo FP4 GPU

Handle 0x0028, DMI type 10, 6 bytes
On Board Device Information
	Type: Sound
	Status: Enabled
	Description: AZALIA HD Audio

Handle 0x0029, DMI type 10, 6 bytes
On Board Device Information
	Type: SATA Controller
	Status: Enabled
	Description: AMD Carrizo FP4

Handle 0x002A, DMI type 10, 6 bytes
On Board Device Information
	Type: Unknown
	Status: Enabled
	Description: ST TPM ST33TPMF12SPI

Okay! Here we go:

  1. Download and unpack zip - Linux-6.6.10-RAD
  2. Copy boot contents to your /boot dir (Carefully! You need root rights to do this)
  3. Copy lib/modules/6.6.10-RAD dir to your /lib/modules
  4. Update your grub configuration: sudo grub-mkconfig -o /boot/grub/grub.cfg
  5. Restart
  6. Check what kernel is running: uname -r. You should see 6.6.10-RAD
  7. Check if microphone is working

Notice: I am not responsible for possible damage to your data, all actions are performed at your own peril and risk. However, I compiled and booted this kernel and everything works fine.

Screenshot

It didn’t work, I’m with the same kernel

Please, show me contents of your /boot directory

Hello guys, i have the same pb with this config :
$ sudo dmidecode -t baseboard

# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.5.0 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
	Manufacturer: ASUSTeK COMPUTER INC.
	Product Name: E1404FA
	Version: 1.0
	Serial Number: R623NBCV008DCMMB
	Asset Tag: ATN12345678901234567
	Features:
		Board is a hosting board
		Board is replaceable
	Location In Chassis: Default string
	Chassis Handle: 0x0003
	Type: Motherboard
	Contained Object Handles: 0

Handle 0x0004, DMI type 10, 6 bytes
On Board Device Information
	Type: Unknown
	Status: Enabled
	Description: Device 1

Handle 0x0031, DMI type 41, 11 bytes
Onboard Device
	Reference Designation: Realtek
	Type: Ethernet
	Status: Disabled
	Type Instance: 1
	Bus Address: 0000:00:02.4

Handle 0x0032, DMI type 41, 11 bytes
Onboard Device
	Reference Designation: Realtek ALC256
	Type: Sound
	Status: Enabled
	Type Instance: 1
	Bus Address: 0000:03:00.6

OS: Manjaro Linux x86_64 
██████████████████  ████████   Host: Vivobook Go E1404FA_E1404FA 1.0 
████████            ████████   Kernel: 6.6.10-1-MANJARO 
████████  ████████  ████████   Uptime: 20 mins 
████████  ████████  ████████   Packages: 1290 (pacman), 11 (flatpak) 
████████  ████████  ████████   Shell: zsh 5.9 
████████  ████████  ████████   Resolution: 1920x1080 
████████  ████████  ████████   DE: GNOME 45.3 
████████  ████████  ████████   WM: Mutter 
████████  ████████  ████████   WM Theme: Custom-Accent-Colors 
████████  ████████  ████████   Theme: Adw-dark [GTK2/3] 
████████  ████████  ████████   Icons: Papirus-Dark-Maia [GTK2/3] 
                               Terminal: gnome-terminal 
                               CPU: AMD Ryzen 5 7520U with Radeon Graphics (8) @ 4.384GHz 
                               GPU: AMD ATI 03:00.0 Mendocino 
                               Memory: 2298MiB / 15268MiB

is it the same way to fix the pb please ?

Follow my guide.
It’s 100% working

1 Like

If the patch for sound/soc/amd/yc/acp6x-mach.c works it should be submitted to kernel.bugzilla.org to be included in future kernel releases

Suggest copy this previous request and edit the Product Name and arecord -l
218216 – Builtin microphone doesn't work on ASUS Vivobook S 16x IPS M5602RA

Super Radioman, it works perfectly. But it’s not my computer. Will it last over time? How will it behave with kernel updates?

If you update the system kernel, the microphone will stop working again. So don’t update the linux package (add to pacman/pamac exceptions), kernel update can be done manually following my guide. This will have to be done until our model is added to the source code of the kernel module. On the other hand, it makes no sense to update the kernel every two weeks, it can be done every six months.

Yes indeed. Thanks.

However, I have a problem that I can’t solve. With the previous kernel, the wifi dongle (realtek 0bda:c820 / 14.01.24) could only be recognized by installing :

  • base-devel, linux66-headers, linux-firmware & rtl8821cu-morrownr-dkms-git 5.12.0.4.120.7d16a68-1 (+12 0.62) (AUR).

But now with kernel 6.6.10-RAD, I don’t know how to reactivate the dongle. I tried to reinstall the 3 kernels packages without success.

$ sudo pacman -Syu base-devel                                                    1 ✘  11s  
:: Synchronisation des bases de données de paquets…
 core est à jour
 extra est à jour
 multilib est à jour
avertissement : base-devel-1-2 est à jour -- réinstallation
:: Début de la mise à jour complète du système…
résolution des dépendances…
recherche des conflits entre paquets…

Paquets (1) base-devel-1-2


:: Procéder à l’installation ? [O/n] 
(1/1) vérification des clés dans le trousseau                  [##################################] 100%
(1/1) vérification de l’intégrité des paquets                  [##################################] 100%
(1/1) chargement des fichiers des paquets                      [##################################] 100%
(1/1) analyse des conflits entre fichiers                      [##################################] 100%
(1/1) vérification de l’espace disque disponible               [##################################] 100%
:: Exécution des crochets (« hooks ») de pré-transaction…
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Traitement des changements du paquet…
(1/1) réinstallation base-devel                                [##################################] 100%

$ sudo pacman -Syu linux-firmware                                             
:: Synchronisation des bases de données de paquets…
 core est à jour
 extra est à jour
 multilib est à jour
avertissement : linux-firmware-20231211.f2e52a1c-1 est à jour -- réinstallation
:: Début de la mise à jour complète du système…
résolution des dépendances…
recherche des conflits entre paquets…

Paquets (1) linux-firmware-20231211.f2e52a1c-1

Taille totale installée :      524,37 MiB
Taille de mise à jour nette :    0,00 MiB

:: Procéder à l’installation ? [O/n] 
(1/1) vérification des clés dans le trousseau                  [##################################] 100%
(1/1) vérification de l’intégrité des paquets                  [##################################] 100%
(1/1) chargement des fichiers des paquets                      [##################################] 100%
(1/1) analyse des conflits entre fichiers                      [##################################] 100%
(1/1) vérification de l’espace disque disponible               [##################################] 100%
:: Exécution des crochets (« hooks ») de pré-transaction…
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Traitement des changements du paquet…
(1/1) réinstallation linux-firmware                            [##################################] 100%
:: Exécution des crochets (« hooks ») de post-transaction…
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64.img --microcode /boot/amd-ucode.img
==> Starting build: '6.6.10-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [kms]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.6-x86_64.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64-fallback.img -S autodetect --microcode /boot/amd-ucode.img
==> Starting build: '6.6.10-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.6-x86_64-fallback.img'
==> Image generation successful
 
$ sudo pacman -Syu linux66-headers                                           
:: Synchronisation des bases de données de paquets…
 core est à jour
 extra est à jour
 multilib est à jour
avertissement : linux66-headers-6.6.10-1 est à jour -- réinstallation
:: Début de la mise à jour complète du système…
résolution des dépendances…
recherche des conflits entre paquets…

Paquets (1) linux66-headers-6.6.10-1

Taille totale installée :      119,16 MiB
Taille de mise à jour nette :    0,00 MiB

:: Procéder à l’installation ? [O/n] 
(1/1) vérification des clés dans le trousseau                  [##################################] 100%
(1/1) vérification de l’intégrité des paquets                  [##################################] 100%
(1/1) chargement des fichiers des paquets                      [##################################] 100%
(1/1) analyse des conflits entre fichiers                      [##################################] 100%
(1/1) vérification de l’espace disque disponible               [##################################] 100%
:: Exécution des crochets (« hooks ») de pré-transaction…
(1/2) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
(2/2) Remove upgraded DKMS modules
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/88XXau_ohd/5.2.20.2.r845.g08dd315/source/dkms.conf)
==> dkms remove --no-depmod 88x2bu_ohd/5.13.1.r218.ge3738e9 -k 6.6.10-1-MANJARO
==> dkms remove --no-depmod 88XXau_ohd/5.2.20.2.r845.g08dd315 -k 6.6.10-1-MANJARO
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/88XXau_ohd/5.2.20.2.r845.g08dd315/source/dkms.conf)
==> dkms remove --no-depmod rtl8821cu/5.12.0.4.176.a41ef7c -k 6.6.10-1-MANJARO
==> dkms remove --no-depmod rtl88xxau/r1283.a3e0c0b -k 6.6.10-1-MANJARO
==> dkms remove --no-depmod rtw89/r843.6dc9441 -k 6.6.10-1-MANJARO
:: Traitement des changements du paquet…
(1/1) réinstallation linux66-headers                           [##################################] 100%
:: Exécution des crochets (« hooks ») de post-transaction…
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating module dependencies...
(3/3) Install DKMS modules
==> dkms install --no-depmod rtl8822bu/5.8.7.4 -k 6.6.10-1-MANJARO
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/rtl8822bu/5.8.7.4/source/dkms.conf)
Error! Bad return status for module build on kernel: 6.6.10-1-MANJARO (x86_64)
Consult /var/lib/dkms/rtl8822bu/5.8.7.4/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8822bu/5.8.7.4 -k 6.6.10-1-MANJARO' exited 10
==> dkms install --no-depmod rtl88xxau/r1283.a3e0c0b -k 6.6.10-1-MANJARO
==> dkms install --no-depmod 88x2bu_ohd/5.13.1.r218.ge3738e9 -k 6.6.10-1-MANJARO
==> dkms install --no-depmod rtw89/r843.6dc9441 -k 6.6.10-1-MANJARO
==> dkms install --no-depmod 88XXau_ohd/5.2.20.2.r845.g08dd315 -k 6.6.10-1-MANJARO
Deprecated feature: REMAKE_INITRD (/usr/src/88XXau_ohd-5.2.20.2.r845.g08dd315/dkms.conf)
==> dkms install --no-depmod rtl8821cu/5.12.0.4.176.a41ef7c -k 6.6.10-1-MANJARO
==> depmod 6.6.10-1-MANJARO

After I tried that :

$ sudo dkms install --no-depmod rtl8821cu/5.12.0.4.176.a41ef7c -k 6.6.10-RAD
Error! Your kernel headers for kernel 6.6.10-RAD cannot be found at /usr/lib/modules/6.6.10-RAD/build or /usr/lib/modules/6.6.10-RAD/source.
Please install the linux-headers-6.6.10-RAD package or use the --kernelsourcedir option to tell DKMS where it's located.

But it’s don’t work

You need my kernel headers to install your DKMS module. Unfortunately, I have already deleted all the sources of the old version of the kernel. I think you should compile the kernel yourself according to my guide, then everything will definitely work fine.

Thanks RadioMan, I’ve managed to compile a 6.6.17-RAD kernel thanks to your guide but then I can’t inject the right drivers for my wifi dongle to be recognized. I’m stuck on the linux-firmware step specific to my kernel.
In fact, I made my friend buy this dongle because the Vivobook’s internal wifi card isn’t recognized. As I see you have the same machine, how did you solve this problem?

My internal wifi is working good out of the box. But alternatively I used this module. I just cloned this repo and executed makepkg -si command

Many many many thanks. It’s works. With the dongle but wifi is works…
I’ll be able to return the pc to my friend ! Have a nice day guy !

The optimal solution for Audio Coprocessor support is to get the acp6x-mach.c patch added to kernel upstream (request to kernel.bugzilla.org) so users do not have to build kernels and additional modules and no risk from not updating kernel