ACP invalid audio mode

Discussion in 'UDOO BOLT' started by jpsollie, Sep 10, 2020.

  1. jpsollie

    jpsollie UDOOer

    Joined:
    Jul 27, 2020
    Messages:
    11
    Likes Received:
    2
    [ 2.420200] snd_pci_acp3x 0000:03:00.5: enabling device (0000 -> 0002)
    [ 2.420373] snd_pci_acp3x 0000:03:00.5: Invalid ACP audio mode : 2
    [ 2.589650] acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517
    [ 2.589745] acp_pdm_mach acp_pdm_mach.0: dmic-hifi <-> acp_rn_pdm_dma.0 mapping ok
    [ 24.092970] acp_rn_pdm_dma acp_rn_pdm_dma.0: ASoC: error at snd_soc_pcm_dai_trigger on acp_rn_pdm_dma.0: -110


    Any ideas what this might be?
     
  2. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Please some more information about your system.
    what is your OS and version?
    Does this error happen allways during boot?
    Dou you have something extra audio hardware installed?
    Do you have also Windows installed?
    Do you have the same issue if you boot from a Ubuntu live USB disk?
     
  3. wind.gmbh

    wind.gmbh UDOOer

    Joined:
    Sep 4, 2020
    Messages:
    5
    Likes Received:
    3
    I can confirm two of these messages for Fedora 32 Server (Minimal Installation) with Kernel 5.8.6-201.fc32.x86_64, installed to eMMC, with BIOS 1.08 at default settings, no external hardware attached:

    Code:
    [    4.302988] snd_pci_acp3x 0000:05:00.5: enabling device (0000 -> 0002)
    [    4.303721] snd_pci_acp3x 0000:05:00.5: Invalid ACP audio mode : 2
    [...]
    [    4.659578] acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517
    [    4.659637] acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517
    [    4.675003] acp_pdm_mach acp_pdm_mach.0: dmic-hifi <-> acp_rn_pdm_dma.0 mapping ok
    
    The 'acp_rn_pdm_dma acp_rn_pdm_dma.0'-concerning issue does not emerge. On Fedora 32 Workstation Live (Kernel 5.6.6.fc32.x86_64) booting from an USB-C-Stick the 'acp_pdm_mach acp_pdm_mach.0' does not as well.

    As far as the 'snd_pci_acp3x'-concerning error message goes, I dare to claim that I have seen it across other Linux-based distributions such as Ubuntu 20.04 Server and Alpine Linux 3.12.
     
  4. jpsollie

    jpsollie UDOOer

    Joined:
    Jul 27, 2020
    Messages:
    11
    Likes Received:
    2
    Gentoo Linux 17.1, kernel version 5.8.7
    Yes, even when I blacklist the renoir ACP module, the ACP3x module gives the same error
    No, aside from WiFi, an SATA SSD and HDMI adapter + USB keyboard / mouse, nothing is connected
    no
    [/QUOTE]
    AFAIK, ubuntu live ships with a pretty old kernel version. does it make sense to compare it against a 5.8.7? using the 5.7 series, the output is:

    [ 2.271857] snd_pci_acp3x 0000:03:00.5: enabling device (0000 -> 0002)
    [ 2.272071] snd_pci_acp3x 0000:03:00.5: Invalid ACP audio mode : 2


    And yes, I am using the latest BIOS (1.08)
     
  5. ccs_hello

    ccs_hello UDOOer

    Joined:
    Apr 15, 2017
    Messages:
    536
    Likes Received:
    194
    Not sure.
    Gut feeling is related to "audio over HDMI" support on a specific HDMI monitor.
    Try replacing with another HDMI monitor or a plain vanilla one without any audio capability at all to see if these msgs go away.
     
  6. jpsollie

    jpsollie UDOOer

    Joined:
    Jul 27, 2020
    Messages:
    11
    Likes Received:
    2
    No idea where this comes from... But in 5.8,this pci I'd seems to be registered
     
  7. jpsollie

    jpsollie UDOOer

    Joined:
    Jul 27, 2020
    Messages:
    11
    Likes Received:
    2
    sorry, wrong button, what I meant is:
    In 5.8 the ACP renoir module was introduced. This module also supports the PCI ID 1022:15e2, thereby being loaded instead of acp3x. This may or may not be a mistake of the kernel developers, I'll file a bug for that.
    I also googled around a bit, and apparently, we should not expect too much of this device:
    https://linux-hardware.org/index.php?id=pci:1022-15e2-103c-8433

    guess we'll have to wait until it becomes up-and-running :(
     
  8. jpsollie

    jpsollie UDOOer

    Joined:
    Jul 27, 2020
    Messages:
    11
    Likes Received:
    2
    I fixed it:

    https://bugzilla.kernel.org/show_bug.cgi?id=208699
    Seems to be a chip for the "AMD TrueAudio" technology.
    However, we still have to wait for an application to use it ... currently looking at ffmpeg + amd media framework, but not sure
     
    wind.gmbh and waltervl like this.

Share This Page