All of lore.kernel.org
 help / color / mirror / Atom feed
* Ryzen 9 7950x sound module does not not build
@ 2023-09-26  1:20 Sid Boyce
  2023-09-26  1:48 ` Randy Dunlap
  0 siblings, 1 reply; 14+ messages in thread
From: Sid Boyce @ 2023-09-26  1:20 UTC (permalink / raw)
  To: LKML Mailing List

Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: N/A
  Mobo: ASUSTeK model: PRIME B650M-A WIFI II v: Rev 1.xx
    serial: 221214156800233 UEFI: American Megatrends v: 1634 date: 
07/21/2023
CPU:
  Info: 16-core model: AMD Ryzen 9 7950X bits: 64 type: MT MCP cache:
    L2: 16 MiB
slipstream:/usr/src/linux-6.6.0-rc3 # grep 
CONFIG_SND_SOC_AMD_RPL_ACP6x=m .config
CONFIG_SND_SOC_AMD_RPL_ACP6x=m


This module never gets built, so only USB audio works.
# dmesg -T|grep snd
[Sun Sep 24 23:48:08 2023] snd_hda_intel 0000:01:00.1: Disabling MSI
[Sun Sep 24 23:48:08 2023] snd_hda_intel 0000:01:00.1: Handle 
vga_switcheroo audio client
[Sun Sep 24 23:48:08 2023] snd_hda_intel 0000:0b:00.6: enabling device 
(0000 -> 0002)
[Sun Sep 24 23:48:08 2023] snd_hda_intel 0000:01:00.1: bound 
0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
[Sun Sep 24 23:48:08 2023] usbcore: registered new interface driver 
snd-usb-audio
[Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0: autoconfig 
for ALC897: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0: 
    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0: 
    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:    mono: 
mono_out=0x0
[Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0: 
    dig-out=0x11/0x0
[Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:    inputs:
[Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:      Front 
Mic=0x19
[Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:      Rear 
Mic=0x18
[Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0: 
      Line=0x1a


# fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  lancelot   3738 F.... wireplumber
/dev/snd/controlC1:  lancelot   3738 F.... wireplumber
/dev/snd/controlC2:  lancelot   3738 F.... wireplumber
/dev/snd/pcmC0D0p:   lancelot   3737 F...m pipewire
/dev/snd/seq:        lancelot   3737 F.... pipewire

Regards

Sid.

-- 
Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot
Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist
Microsoft Windows Free Zone - Linux used for all Computing Tasks


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Ryzen 9 7950x sound module does not not build
  2023-09-26  1:20 Ryzen 9 7950x sound module does not not build Sid Boyce
@ 2023-09-26  1:48 ` Randy Dunlap
  2023-09-26 12:23   ` Sid Boyce
  0 siblings, 1 reply; 14+ messages in thread
From: Randy Dunlap @ 2023-09-26  1:48 UTC (permalink / raw)
  To: sboyce, LKML Mailing List

Hi,

On 9/25/23 18:20, Sid Boyce wrote:
> Machine:
>  Type: Desktop System: ASUS product: N/A v: N/A serial: N/A
>  Mobo: ASUSTeK model: PRIME B650M-A WIFI II v: Rev 1.xx
>    serial: 221214156800233 UEFI: American Megatrends v: 1634 date: 07/21/2023
> CPU:
>  Info: 16-core model: AMD Ryzen 9 7950X bits: 64 type: MT MCP cache:
>    L2: 16 MiB
> slipstream:/usr/src/linux-6.6.0-rc3 # grep CONFIG_SND_SOC_AMD_RPL_ACP6x=m .config
> CONFIG_SND_SOC_AMD_RPL_ACP6x=m
> 
> 
> This module never gets built, so only USB audio works.
> # dmesg -T|grep snd
> [Sun Sep 24 23:48:08 2023] snd_hda_intel 0000:01:00.1: Disabling MSI
> [Sun Sep 24 23:48:08 2023] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
> [Sun Sep 24 23:48:08 2023] snd_hda_intel 0000:0b:00.6: enabling device (0000 -> 0002)
> [Sun Sep 24 23:48:08 2023] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
> [Sun Sep 24 23:48:08 2023] usbcore: registered new interface driver snd-usb-audio
> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0: autoconfig for ALC897: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:    mono: mono_out=0x0
> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:    dig-out=0x11/0x0
> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:    inputs:
> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:      Front Mic=0x19
> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:      Rear Mic=0x18
> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:      Line=0x1a
> 
> 
> # fuser -v /dev/snd/*
>                     USER        PID ACCESS COMMAND
> /dev/snd/controlC0:  lancelot   3738 F.... wireplumber
> /dev/snd/controlC1:  lancelot   3738 F.... wireplumber
> /dev/snd/controlC2:  lancelot   3738 F.... wireplumber
> /dev/snd/pcmC0D0p:   lancelot   3737 F...m pipewire
> /dev/snd/seq:        lancelot   3737 F.... pipewire
> 
> Regards
> 
> Sid.

It builds for me:

  CC [M]  sound/soc/amd/rpl/rpl-pci-acp6x.o
  LD [M]  sound/soc/amd/rpl/snd-rpl-pci-acp6x.o
  CC [M]  sound/soc/amd/rpl/snd-rpl-pci-acp6x.mod.o
  LD [M]  sound/soc/amd/rpl/snd-rpl-pci-acp6x.ko

and the object file subdirectory contains:

-rw-r--r-- 1 rdunlap rdunlap    34 Sep 25 18:37 snd-rpl-pci-acp6x.mod
-rw-r--r-- 1 rdunlap rdunlap  9360 Sep 25 18:37 rpl-pci-acp6x.o
-rw-r--r-- 1 rdunlap rdunlap  9616 Sep 25 18:37 snd-rpl-pci-acp6x.o
-rw-r--r-- 1 rdunlap rdunlap    38 Sep 25 18:37 modules.order
-rw-r--r-- 1 rdunlap rdunlap   777 Sep 25 18:38 snd-rpl-pci-acp6x.mod.c
-rw-r--r-- 1 rdunlap rdunlap  3104 Sep 25 18:38 snd-rpl-pci-acp6x.mod.o
-rw-r--r-- 1 rdunlap rdunlap 11816 Sep 25 18:38 snd-rpl-pci-acp6x.ko


You might need to post your failing .config file.

-- 
~Randy

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Ryzen 9 7950x sound module does not not build
  2023-09-26  1:48 ` Randy Dunlap
@ 2023-09-26 12:23   ` Sid Boyce
  2023-09-26 13:01     ` Bagas Sanjaya
  0 siblings, 1 reply; 14+ messages in thread
From: Sid Boyce @ 2023-09-26 12:23 UTC (permalink / raw)
  To: Randy Dunlap, LKML Mailing List

On 26/09/2023 02:48, Randy Dunlap wrote:
> Hi,
>
> On 9/25/23 18:20, Sid Boyce wrote:
>> Machine:
>>   Type: Desktop System: ASUS product: N/A v: N/A serial: N/A
>>   Mobo: ASUSTeK model: PRIME B650M-A WIFI II v: Rev 1.xx
>>     serial: 221214156800233 UEFI: American Megatrends v: 1634 date: 07/21/2023
>> CPU:
>>   Info: 16-core model: AMD Ryzen 9 7950X bits: 64 type: MT MCP cache:
>>     L2: 16 MiB
>> slipstream:/usr/src/linux-6.6.0-rc3 # grep CONFIG_SND_SOC_AMD_RPL_ACP6x=m .config
>> CONFIG_SND_SOC_AMD_RPL_ACP6x=m
>>
>>
>> This module never gets built, so only USB audio works.
>> # dmesg -T|grep snd
>> [Sun Sep 24 23:48:08 2023] snd_hda_intel 0000:01:00.1: Disabling MSI
>> [Sun Sep 24 23:48:08 2023] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
>> [Sun Sep 24 23:48:08 2023] snd_hda_intel 0000:0b:00.6: enabling device (0000 -> 0002)
>> [Sun Sep 24 23:48:08 2023] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
>> [Sun Sep 24 23:48:08 2023] usbcore: registered new interface driver snd-usb-audio
>> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0: autoconfig for ALC897: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
>> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
>> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
>> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:    mono: mono_out=0x0
>> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:    dig-out=0x11/0x0
>> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:    inputs:
>> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:      Front Mic=0x19
>> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:      Rear Mic=0x18
>> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:      Line=0x1a
>>
>>
>> # fuser -v /dev/snd/*
>>                      USER        PID ACCESS COMMAND
>> /dev/snd/controlC0:  lancelot   3738 F.... wireplumber
>> /dev/snd/controlC1:  lancelot   3738 F.... wireplumber
>> /dev/snd/controlC2:  lancelot   3738 F.... wireplumber
>> /dev/snd/pcmC0D0p:   lancelot   3737 F...m pipewire
>> /dev/snd/seq:        lancelot   3737 F.... pipewire
>>
>> Regards
>>
>> Sid.
> It builds for me:
>
>    CC [M]  sound/soc/amd/rpl/rpl-pci-acp6x.o
>    LD [M]  sound/soc/amd/rpl/snd-rpl-pci-acp6x.o
>    CC [M]  sound/soc/amd/rpl/snd-rpl-pci-acp6x.mod.o
>    LD [M]  sound/soc/amd/rpl/snd-rpl-pci-acp6x.ko
>
> and the object file subdirectory contains:
>
> -rw-r--r-- 1 rdunlap rdunlap    34 Sep 25 18:37 snd-rpl-pci-acp6x.mod
> -rw-r--r-- 1 rdunlap rdunlap  9360 Sep 25 18:37 rpl-pci-acp6x.o
> -rw-r--r-- 1 rdunlap rdunlap  9616 Sep 25 18:37 snd-rpl-pci-acp6x.o
> -rw-r--r-- 1 rdunlap rdunlap    38 Sep 25 18:37 modules.order
> -rw-r--r-- 1 rdunlap rdunlap   777 Sep 25 18:38 snd-rpl-pci-acp6x.mod.c
> -rw-r--r-- 1 rdunlap rdunlap  3104 Sep 25 18:38 snd-rpl-pci-acp6x.mod.o
> -rw-r--r-- 1 rdunlap rdunlap 11816 Sep 25 18:38 snd-rpl-pci-acp6x.ko
>
>
> You might need to post your failing .config file.
>
Thanks Randy,

I've since rebooted and did a modprobe. No idea why it isn't 
automatically loaded.

#modinfo snd-rpl-pci-acp6x
filename: 
       /usr/lib/modules/6.6.0-rc3-vanilla/kernel/sound/soc/amd/rpl/snd-rpl-pci-acp6x.ko.gz
license:        GPL v2
description:    AMD ACP RPL PCI driver
srcversion:     0F909BC61165681426ECEEB
alias:          pci:v00001022d000015E2sv*sd*bc04sc80i00*
depends:
retpoline:      Y
intree:         Y
name:           snd_rpl_pci_acp6x
vermagic:       6.6.0-rc3-vanilla SMP preempt mod_unload modversions

# modprobe snd-rpl-pci-acp6x

#lsmod|grep snd
snd_rpl_pci_acp6x      16384  0
snd_seq_dummy          12288  0
snd_hrtimer            12288  1
snd_seq               131072  7 snd_seq_dummy
snd_hda_codec_realtek   192512  1
snd_hda_codec_hdmi     94208  1
snd_hda_codec_generic   110592  1 snd_hda_codec_realtek
snd_hda_intel          65536  2
snd_usb_audio         458752  2
snd_intel_dspcfg       40960  1 snd_hda_intel
snd_intel_sdw_acpi     16384  1 snd_intel_dspcfg
snd_hda_codec         233472  4 
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek 

snd_usbmidi_lib        49152  1 snd_usb_audio
snd_hda_core          147456  5 
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek 

snd_ump                36864  1 snd_usb_audio
snd_rawmidi            57344  2 snd_usbmidi_lib,snd_ump
snd_seq_device         16384  3 snd_seq,snd_ump,snd_rawmidi
mc                     94208  1 snd_usb_audio
snd_hwdep              20480  2 snd_usb_audio,snd_hda_codec
snd_pcm               225280  6 
snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
ledtrig_audio          12288  2 snd_hda_codec_generic,asus_wmi
snd                  163840  23 
snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_ump,snd_pcm,snd_rawmidi 

soundcore              16384  1 snd
usbcore               446464  6 
xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,btusb,xhci_pci

Regards

Sid.

-- 
Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot
Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist
Microsoft Windows Free Zone - Linux used for all Computing Tasks


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Ryzen 9 7950x sound module does not not build
  2023-09-26 12:23   ` Sid Boyce
@ 2023-09-26 13:01     ` Bagas Sanjaya
  2023-09-26 14:58       ` Sid Boyce
  2023-09-26 19:17       ` Sid Boyce
  0 siblings, 2 replies; 14+ messages in thread
From: Bagas Sanjaya @ 2023-09-26 13:01 UTC (permalink / raw)
  To: Sid Boyce, Randy Dunlap, Linux Kernel Mailing List, Linux ALSA
  Cc: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai

[-- Attachment #1: Type: text/plain, Size: 2832 bytes --]

[also Cc'ing alsa ML and related maintainers]

On Tue, Sep 26, 2023 at 01:23:13PM +0100, Sid Boyce wrote:
> I've since rebooted and did a modprobe. No idea why it isn't automatically
> loaded.
> 
> #modinfo snd-rpl-pci-acp6x
> filename:       /usr/lib/modules/6.6.0-rc3-vanilla/kernel/sound/soc/amd/rpl/snd-rpl-pci-acp6x.ko.gz
> license:        GPL v2
> description:    AMD ACP RPL PCI driver
> srcversion:     0F909BC61165681426ECEEB
> alias:          pci:v00001022d000015E2sv*sd*bc04sc80i00*
> depends:
> retpoline:      Y
> intree:         Y
> name:           snd_rpl_pci_acp6x
> vermagic:       6.6.0-rc3-vanilla SMP preempt mod_unload modversions
> 
> # modprobe snd-rpl-pci-acp6x
> 
> #lsmod|grep snd
> snd_rpl_pci_acp6x      16384  0
> snd_seq_dummy          12288  0
> snd_hrtimer            12288  1
> snd_seq               131072  7 snd_seq_dummy
> snd_hda_codec_realtek   192512  1
> snd_hda_codec_hdmi     94208  1
> snd_hda_codec_generic   110592  1 snd_hda_codec_realtek
> snd_hda_intel          65536  2
> snd_usb_audio         458752  2
> snd_intel_dspcfg       40960  1 snd_hda_intel
> snd_intel_sdw_acpi     16384  1 snd_intel_dspcfg
> snd_hda_codec         233472  4
> snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
> 
> snd_usbmidi_lib        49152  1 snd_usb_audio
> snd_hda_core          147456  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
> 
> snd_ump                36864  1 snd_usb_audio
> snd_rawmidi            57344  2 snd_usbmidi_lib,snd_ump
> snd_seq_device         16384  3 snd_seq,snd_ump,snd_rawmidi
> mc                     94208  1 snd_usb_audio
> snd_hwdep              20480  2 snd_usb_audio,snd_hda_codec
> snd_pcm               225280  6
> snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
> snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
> ledtrig_audio          12288  2 snd_hda_codec_generic,asus_wmi
> snd                  163840  23 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_ump,snd_pcm,snd_rawmidi
> 
> soundcore              16384  1 snd
> usbcore               446464  6
> xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,btusb,xhci_pci
> 

Any errors on dmesg when loading snd-rpl-pci-acp6x module?

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Ryzen 9 7950x sound module does not not build
  2023-09-26 13:01     ` Bagas Sanjaya
@ 2023-09-26 14:58       ` Sid Boyce
  2023-09-26 19:17       ` Sid Boyce
  1 sibling, 0 replies; 14+ messages in thread
From: Sid Boyce @ 2023-09-26 14:58 UTC (permalink / raw)
  To: Bagas Sanjaya, Randy Dunlap, Linux Kernel Mailing List, Linux ALSA
  Cc: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai

On 26/09/2023 14:01, Bagas Sanjaya wrote:
> [also Cc'ing alsa ML and related maintainers]
>
> On Tue, Sep 26, 2023 at 01:23:13PM +0100, Sid Boyce wrote:
>> I've since rebooted and did a modprobe. No idea why it isn't automatically
>> loaded.
>>
>> #modinfo snd-rpl-pci-acp6x
>> filename:       /usr/lib/modules/6.6.0-rc3-vanilla/kernel/sound/soc/amd/rpl/snd-rpl-pci-acp6x.ko.gz
>> license:        GPL v2
>> description:    AMD ACP RPL PCI driver
>> srcversion:     0F909BC61165681426ECEEB
>> alias:          pci:v00001022d000015E2sv*sd*bc04sc80i00*
>> depends:
>> retpoline:      Y
>> intree:         Y
>> name:           snd_rpl_pci_acp6x
>> vermagic:       6.6.0-rc3-vanilla SMP preempt mod_unload modversions
>>
>> # modprobe snd-rpl-pci-acp6x
>>
>> #lsmod|grep snd
>> snd_rpl_pci_acp6x      16384  0
>> snd_seq_dummy          12288  0
>> snd_hrtimer            12288  1
>> snd_seq               131072  7 snd_seq_dummy
>> snd_hda_codec_realtek   192512  1
>> snd_hda_codec_hdmi     94208  1
>> snd_hda_codec_generic   110592  1 snd_hda_codec_realtek
>> snd_hda_intel          65536  2
>> snd_usb_audio         458752  2
>> snd_intel_dspcfg       40960  1 snd_hda_intel
>> snd_intel_sdw_acpi     16384  1 snd_intel_dspcfg
>> snd_hda_codec         233472  4
>> snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
>>
>> snd_usbmidi_lib        49152  1 snd_usb_audio
>> snd_hda_core          147456  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
>>
>> snd_ump                36864  1 snd_usb_audio
>> snd_rawmidi            57344  2 snd_usbmidi_lib,snd_ump
>> snd_seq_device         16384  3 snd_seq,snd_ump,snd_rawmidi
>> mc                     94208  1 snd_usb_audio
>> snd_hwdep              20480  2 snd_usb_audio,snd_hda_codec
>> snd_pcm               225280  6
>> snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
>> snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
>> ledtrig_audio          12288  2 snd_hda_codec_generic,asus_wmi
>> snd                  163840  23 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_ump,snd_pcm,snd_rawmidi
>>
>> soundcore              16384  1 snd
>> usbcore               446464  6
>> xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,btusb,xhci_pci
>>
> Any errors on dmesg when loading snd-rpl-pci-acp6x module?
>
No errors, no mention of the module. Booted with the USB dongle removed.

kmix only lists Playback Devices: Family 17h/19h HD Audio Controller 
Digital Stereo (IEC958).

Capture Devices: Family 17h/19h HD Audio Controller Analog Stereo.

With USB dongle plugged it uses it as the default.

#fuser -v /dev/snd/*

                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  lancelot   2618 F.... wireplumber
/dev/snd/controlC1:  lancelot   2618 F.... wireplumber
/dev/snd/controlC2:  lancelot   2618 F.... wireplumber
/dev/snd/pcmC0D0p:   lancelot   2617 F...m pipewire
/dev/snd/seq:        lancelot   2617 F.... pipewire


#dmesg -T |grep snd
[Tue Sep 26 15:30:12 2023] snd_hda_intel 0000:01:00.1: Disabling MSI
[Tue Sep 26 15:30:12 2023] snd_hda_intel 0000:01:00.1: Handle 
vga_switcheroo audio client
[Tue Sep 26 15:30:12 2023] snd_hda_intel 0000:0b:00.6: enabling device 
(0000 -> 0002)
[Tue Sep 26 15:30:12 2023] snd_hda_codec_realtek hdaudioC2D0: autoconfig 
for ALC897: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[Tue Sep 26 15:30:12 2023] snd_hda_codec_realtek hdaudioC2D0: 
    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[Tue Sep 26 15:30:12 2023] snd_hda_codec_realtek hdaudioC2D0: 
    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[Tue Sep 26 15:30:12 2023] snd_hda_codec_realtek hdaudioC2D0:    mono: 
mono_out=0x0
[Tue Sep 26 15:30:12 2023] snd_hda_codec_realtek hdaudioC2D0: 
    dig-out=0x11/0x0
[Tue Sep 26 15:30:12 2023] snd_hda_codec_realtek hdaudioC2D0:    inputs:
[Tue Sep 26 15:30:12 2023] snd_hda_codec_realtek hdaudioC2D0:      Front 
Mic=0x19
[Tue Sep 26 15:30:12 2023] snd_hda_codec_realtek hdaudioC2D0:      Rear 
Mic=0x18
[Tue Sep 26 15:30:12 2023] snd_hda_codec_realtek hdaudioC2D0: 
      Line=0x1a
[Tue Sep 26 15:30:12 2023] snd_hda_intel 0000:01:00.1: bound 
0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])

I had to use modprobe:

#lsmod|grep snd_rpl_pci_acp6x
snd_rpl_pci_acp6x     16384  0

dmesg does not report it.

Regards

Sid.

-- 
Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot
Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist
Microsoft Windows Free Zone - Linux used for all Computing Tasks


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Ryzen 9 7950x sound module does not not build
  2023-09-26 13:01     ` Bagas Sanjaya
  2023-09-26 14:58       ` Sid Boyce
@ 2023-09-26 19:17       ` Sid Boyce
  2023-09-26 22:13         ` Randy Dunlap
  1 sibling, 1 reply; 14+ messages in thread
From: Sid Boyce @ 2023-09-26 19:17 UTC (permalink / raw)
  To: Bagas Sanjaya, Randy Dunlap, Linux Kernel Mailing List, Linux ALSA
  Cc: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai

[-- Attachment #1: Type: text/plain, Size: 3041 bytes --]

On 26/09/2023 14:01, Bagas Sanjaya wrote:
> [also Cc'ing alsa ML and related maintainers]
>
> On Tue, Sep 26, 2023 at 01:23:13PM +0100, Sid Boyce wrote:
>> I've since rebooted and did a modprobe. No idea why it isn't automatically
>> loaded.
>>
>> #modinfo snd-rpl-pci-acp6x
>> filename:       /usr/lib/modules/6.6.0-rc3-vanilla/kernel/sound/soc/amd/rpl/snd-rpl-pci-acp6x.ko.gz
>> license:        GPL v2
>> description:    AMD ACP RPL PCI driver
>> srcversion:     0F909BC61165681426ECEEB
>> alias:          pci:v00001022d000015E2sv*sd*bc04sc80i00*
>> depends:
>> retpoline:      Y
>> intree:         Y
>> name:           snd_rpl_pci_acp6x
>> vermagic:       6.6.0-rc3-vanilla SMP preempt mod_unload modversions
>>
>> # modprobe snd-rpl-pci-acp6x
>>
>> #lsmod|grep snd
>> snd_rpl_pci_acp6x      16384  0
>> snd_seq_dummy          12288  0
>> snd_hrtimer            12288  1
>> snd_seq               131072  7 snd_seq_dummy
>> snd_hda_codec_realtek   192512  1
>> snd_hda_codec_hdmi     94208  1
>> snd_hda_codec_generic   110592  1 snd_hda_codec_realtek
>> snd_hda_intel          65536  2
>> snd_usb_audio         458752  2
>> snd_intel_dspcfg       40960  1 snd_hda_intel
>> snd_intel_sdw_acpi     16384  1 snd_intel_dspcfg
>> snd_hda_codec         233472  4
>> snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
>>
>> snd_usbmidi_lib        49152  1 snd_usb_audio
>> snd_hda_core          147456  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
>>
>> snd_ump                36864  1 snd_usb_audio
>> snd_rawmidi            57344  2 snd_usbmidi_lib,snd_ump
>> snd_seq_device         16384  3 snd_seq,snd_ump,snd_rawmidi
>> mc                     94208  1 snd_usb_audio
>> snd_hwdep              20480  2 snd_usb_audio,snd_hda_codec
>> snd_pcm               225280  6
>> snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
>> snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
>> ledtrig_audio          12288  2 snd_hda_codec_generic,asus_wmi
>> snd                  163840  23 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_ump,snd_pcm,snd_rawmidi
>>
>> soundcore              16384  1 snd
>> usbcore               446464  6
>> xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,btusb,xhci_pci
>>
> Any errors on dmesg when loading snd-rpl-pci-acp6x module?
>
The full .config.


-- 
Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot
Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist
Microsoft Windows Free Zone - Linux used for all Computing Tasks

[-- Attachment #2: .config --]
[-- Type: application/x-config, Size: 269911 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Ryzen 9 7950x sound module does not not build
  2023-09-26 19:17       ` Sid Boyce
@ 2023-09-26 22:13         ` Randy Dunlap
  2023-09-27 11:27           ` Sid Boyce
  0 siblings, 1 reply; 14+ messages in thread
From: Randy Dunlap @ 2023-09-26 22:13 UTC (permalink / raw)
  To: sboyce, Bagas Sanjaya, Linux Kernel Mailing List, Linux ALSA
  Cc: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai



On 9/26/23 12:17, Sid Boyce wrote:
> On 26/09/2023 14:01, Bagas Sanjaya wrote:
>> [also Cc'ing alsa ML and related maintainers]
>>
>> On Tue, Sep 26, 2023 at 01:23:13PM +0100, Sid Boyce wrote:
>>> I've since rebooted and did a modprobe. No idea why it isn't automatically
>>> loaded.
>>>
>>> #modinfo snd-rpl-pci-acp6x
>>> filename:       /usr/lib/modules/6.6.0-rc3-vanilla/kernel/sound/soc/amd/rpl/snd-rpl-pci-acp6x.ko.gz
>>> license:        GPL v2
>>> description:    AMD ACP RPL PCI driver
>>> srcversion:     0F909BC61165681426ECEEB
>>> alias:          pci:v00001022d000015E2sv*sd*bc04sc80i00*
>>> depends:
>>> retpoline:      Y
>>> intree:         Y
>>> name:           snd_rpl_pci_acp6x
>>> vermagic:       6.6.0-rc3-vanilla SMP preempt mod_unload modversions
>>>
>>> # modprobe snd-rpl-pci-acp6x
>>>
>>> #lsmod|grep snd
>>> snd_rpl_pci_acp6x      16384  0
>>> snd_seq_dummy          12288  0
>>> snd_hrtimer            12288  1
>>> snd_seq               131072  7 snd_seq_dummy
>>> snd_hda_codec_realtek   192512  1
>>> snd_hda_codec_hdmi     94208  1
>>> snd_hda_codec_generic   110592  1 snd_hda_codec_realtek
>>> snd_hda_intel          65536  2
>>> snd_usb_audio         458752  2
>>> snd_intel_dspcfg       40960  1 snd_hda_intel
>>> snd_intel_sdw_acpi     16384  1 snd_intel_dspcfg
>>> snd_hda_codec         233472  4
>>> snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
>>>
>>> snd_usbmidi_lib        49152  1 snd_usb_audio
>>> snd_hda_core          147456  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
>>>
>>> snd_ump                36864  1 snd_usb_audio
>>> snd_rawmidi            57344  2 snd_usbmidi_lib,snd_ump
>>> snd_seq_device         16384  3 snd_seq,snd_ump,snd_rawmidi
>>> mc                     94208  1 snd_usb_audio
>>> snd_hwdep              20480  2 snd_usb_audio,snd_hda_codec
>>> snd_pcm               225280  6
>>> snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
>>> snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
>>> ledtrig_audio          12288  2 snd_hda_codec_generic,asus_wmi
>>> snd                  163840  23 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_ump,snd_pcm,snd_rawmidi
>>>
>>> soundcore              16384  1 snd
>>> usbcore               446464  6
>>> xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,btusb,xhci_pci
>>>
>> Any errors on dmesg when loading snd-rpl-pci-acp6x module?
>>
> The full .config.

Your .config file also builds with no problems, so I guess that the issue
is not about building but about auto-loading and finding the device.

I think that what we are missing (first) is the output of 'lspci -vv',
at least for the PCI sound device in question.
The snd-rpl-pci-acp6x driver only supports
vendor=0x1022, device=0x15e2, and PCI revision=0x62.


-- 
~Randy

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Ryzen 9 7950x sound module does not not build
  2023-09-26 22:13         ` Randy Dunlap
@ 2023-09-27 11:27           ` Sid Boyce
  2023-09-27 15:40             ` Randy Dunlap
  2023-09-27 16:26             ` Jaroslav Kysela
  0 siblings, 2 replies; 14+ messages in thread
From: Sid Boyce @ 2023-09-27 11:27 UTC (permalink / raw)
  To: Randy Dunlap, Bagas Sanjaya, Linux Kernel Mailing List, Linux ALSA
  Cc: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai

On 26/09/2023 23:13, Randy Dunlap wrote:
> lspci -vv


01:00.1 Audiodevice: NVIDIA Corporation Device 10fa (rev a1)
        Subsystem: NVIDIA Corporation Device 1f82
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin B routed to IRQ 80
        IOMMU group: 11
        Region 0: Memory at fc080000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [60] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [78] Express (v2) Endpoint, MSI 00
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s 
unlimited, L1 <64us
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- 
SlotPowerLimit 75W
                DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+
                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 256 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ 
AuxPwr- TransPend-
                LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, 
Exit Latency L0s <512ns, L1 <4us
                        ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- 
CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s (downgraded), Width x16
                        TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Range AB, TimeoutDis+ 
NROPrPrP- LTR+
                         10BitTagComp- 10BitTagReq- OBFF Via message, 
ExtFmt- EETLPPrefix-
                         EmergencyPowerReduction Not Supported, 
EmergencyPowerReductionInit-
                         FRS- TPHComp- ExtTPHComp-
                         AtomicOpsCap: 32bit- 64bit- 128bitCAS-
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- 
LTR- 10BitTagReq- OBFF Disabled,
                         AtomicOpsCtl: ReqEn-
                LnkSta2: Current De-emphasis Level: -3.5dB, 
EqualizationComplete- EqualizationPhase1-
                         EqualizationPhase2- EqualizationPhase3- 
LinkEqualizationRequest-
                         Retimer- 2Retimers- CrosslinkRes: unsupported
        Capabilities: [100 v2] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- 
UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- 
UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- 
UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- 
AdvNonFatalErr-
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- 
AdvNonFatalErr+
                AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- 
ECRCChkCap- ECRCChkEn-
                        MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
                HeaderLog: 00000000 00000000 00000000 00000000
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

0b:00.6 Audiodevice: Advanced Micro Devices, Inc. [AMD] Family 17h/19h 
HD AudioController
        DeviceName: Realtek ALC897 Audio
        Subsystem: ASUSTeK Computer Inc. Device 87fb
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin C routed to IRQ 81
        IOMMU group: 24
        Region 0: Memory at fc500000 (32-bit, non-prefetchable) [size=32K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [64] Express (v2) Endpoint, MSI 00
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s 
<4us, L1 unlimited
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- 
SlotPowerLimit 0W
                DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 256 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- 
AuxPwr- TransPend-
                LnkCap: Port #0, Speed 16GT/s, Width x16, ASPM L0s L1, 
Exit Latency L0s <64ns, L1 <1us
                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 16GT/s, Width x16
                        TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ 
NROPrPrP- LTR-
                         10BitTagComp+ 10BitTagReq- OBFF Not Supported, 
ExtFmt+ EETLPPrefix+, MaxEETLPPrefixes 1
                         EmergencyPowerReduction Not Supported, 
EmergencyPowerReductionInit-
                         FRS- TPHComp- ExtTPHComp-
                         AtomicOpsCap: 32bit- 64bit- 128bitCAS-
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- 
LTR- 10BitTagReq- OBFF Disabled,
                         AtomicOpsCtl: ReqEn-
                LnkSta2: Current De-emphasis Level: -3.5dB, 
EqualizationComplete- EqualizationPhase1-
                         EqualizationPhase2- EqualizationPhase3- 
LinkEqualizationRequest-
                         Retimer- 2Retimers- CrosslinkRes: unsupported
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
                Address: 00000000fee00000  Data: 0000
        Capabilities: [100 v1] Vendor Specific Information: ID=0001 
Rev=1 Len=010 <?>
        Capabilities: [2a0 v1] Access Control Services
                ACSCap: SrcValid- TransBlk- ReqRedir- CmpltRedir- 
UpstreamFwd- EgressCtrl- DirectTrans-
                ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- 
UpstreamFwd- EgressCtrl- DirectTrans-
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel




-- 
Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot
Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist
Microsoft Windows Free Zone - Linux used for all Computing Tasks


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Ryzen 9 7950x sound module does not not build
  2023-09-27 11:27           ` Sid Boyce
@ 2023-09-27 15:40             ` Randy Dunlap
  2023-09-27 16:23               ` Sid Boyce
                                 ` (2 more replies)
  2023-09-27 16:26             ` Jaroslav Kysela
  1 sibling, 3 replies; 14+ messages in thread
From: Randy Dunlap @ 2023-09-27 15:40 UTC (permalink / raw)
  To: sboyce, Bagas Sanjaya, Linux Kernel Mailing List, Linux ALSA
  Cc: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai



On 9/27/23 04:27, Sid Boyce wrote:
> On 26/09/2023 23:13, Randy Dunlap wrote:

|| The snd-rpl-pci-acp6x driver only supports
|| vendor=0x1022, device=0x15e2, and PCI revision=0x62.

>> lspci -vv
> 
> 
> 01:00.1 Audiodevice: NVIDIA Corporation Device 10fa (rev a1)
>        Subsystem: NVIDIA Corporation Device 1f82
>        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
>        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
>        Latency: 0, Cache Line Size: 64 bytes
>        Interrupt: pin B routed to IRQ 80
>        IOMMU group: 11
>        Region 0: Memory at fc080000 (32-bit, non-prefetchable) [size=16K]
>        Capabilities: [60] Power Management version 3
>                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
>        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
>                Address: 0000000000000000  Data: 0000
>        Capabilities: [78] Express (v2) Endpoint, MSI 00
>                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
>                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 75W
>                DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+
>                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
>                        MaxPayload 256 bytes, MaxReadReq 512 bytes
>                DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend-
>                LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <512ns, L1 <4us
>                        ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
>                LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk+
>                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>                LnkSta: Speed 2.5GT/s (downgraded), Width x16
>                        TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
>                DevCap2: Completion Timeout: Range AB, TimeoutDis+ NROPrPrP- LTR+
>                         10BitTagComp- 10BitTagReq- OBFF Via message, ExtFmt- EETLPPrefix-
>                         EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
>                         FRS- TPHComp- ExtTPHComp-
>                         AtomicOpsCap: 32bit- 64bit- 128bitCAS-
>                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled,
>                         AtomicOpsCtl: ReqEn-
>                LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1-
>                         EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
>                         Retimer- 2Retimers- CrosslinkRes: unsupported
>        Capabilities: [100 v2] Advanced Error Reporting
>                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
>                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
>                UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
>                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
>                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
>                AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-
>                        MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
>                HeaderLog: 00000000 00000000 00000000 00000000
>        Kernel driver in use: snd_hda_intel
>        Kernel modules: snd_hda_intel
> 
> 0b:00.6 Audiodevice: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD AudioController
>        DeviceName: Realtek ALC897 Audio
>        Subsystem: ASUSTeK Computer Inc. Device 87fb
>        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
>        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
>        Latency: 0, Cache Line Size: 64 bytes
>        Interrupt: pin C routed to IRQ 81
>        IOMMU group: 24
>        Region 0: Memory at fc500000 (32-bit, non-prefetchable) [size=32K]
>        Capabilities: [48] Vendor Specific Information: Len=08 <?>
>        Capabilities: [50] Power Management version 3
>                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
>                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
>        Capabilities: [64] Express (v2) Endpoint, MSI 00
>                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
>                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0W
>                DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
>                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
>                        MaxPayload 256 bytes, MaxReadReq 512 bytes
>                DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-
>                LnkCap: Port #0, Speed 16GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us
>                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
>                LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
>                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>                LnkSta: Speed 16GT/s, Width x16
>                        TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
>                DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR-
>                         10BitTagComp+ 10BitTagReq- OBFF Not Supported, ExtFmt+ EETLPPrefix+, MaxEETLPPrefixes 1
>                         EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
>                         FRS- TPHComp- ExtTPHComp-
>                         AtomicOpsCap: 32bit- 64bit- 128bitCAS-
>                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled,
>                         AtomicOpsCtl: ReqEn-
>                LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1-
>                         EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
>                         Retimer- 2Retimers- CrosslinkRes: unsupported
>        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
>                Address: 00000000fee00000  Data: 0000
>        Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
>        Capabilities: [2a0 v1] Access Control Services
>                ACSCap: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
>                ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
>        Kernel driver in use: snd_hda_intel
>        Kernel modules: snd_hda_intel
> 

Sid, do you have some reason to believe that one of these devices should use the
snd-rpl-pci-acp6x driver?  I don't see that either one of them is the correct
vendor/device ID pair for that driver, but I would prefer that someone who is
familiar with the driver & device jump in here...

-- 
~Randy

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Ryzen 9 7950x sound module does not not build
  2023-09-27 15:40             ` Randy Dunlap
@ 2023-09-27 16:23               ` Sid Boyce
  2023-09-27 19:14               ` Sid Boyce
  2023-10-02  9:43               ` Sid Boyce
  2 siblings, 0 replies; 14+ messages in thread
From: Sid Boyce @ 2023-09-27 16:23 UTC (permalink / raw)
  To: Randy Dunlap, Bagas Sanjaya, Linux Kernel Mailing List, Linux ALSA
  Cc: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai

On 27/09/2023 16:40, Randy Dunlap wrote:
>
> On 9/27/23 04:27, Sid Boyce wrote:
>> On 26/09/2023 23:13, Randy Dunlap wrote:
> || The snd-rpl-pci-acp6x driver only supports
> || vendor=0x1022, device=0x15e2, and PCI revision=0x62.
>
>>> lspci -vv
>>
>> 01:00.1 Audiodevice: NVIDIA Corporation Device 10fa (rev a1)
>>         Subsystem: NVIDIA Corporation Device 1f82
>>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
>>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
>>         Latency: 0, Cache Line Size: 64 bytes
>>         Interrupt: pin B routed to IRQ 80
>>         IOMMU group: 11
>>         Region 0: Memory at fc080000 (32-bit, non-prefetchable) [size=16K]
>>         Capabilities: [60] Power Management version 3
>>                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
>>                 Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
>>         Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
>>                 Address: 0000000000000000  Data: 0000
>>         Capabilities: [78] Express (v2) Endpoint, MSI 00
>>                 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
>>                         ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 75W
>>                 DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+
>>                         RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
>>                         MaxPayload 256 bytes, MaxReadReq 512 bytes
>>                 DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend-
>>                 LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <512ns, L1 <4us
>>                         ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
>>                 LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk+
>>                         ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>>                 LnkSta: Speed 2.5GT/s (downgraded), Width x16
>>                         TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
>>                 DevCap2: Completion Timeout: Range AB, TimeoutDis+ NROPrPrP- LTR+
>>                          10BitTagComp- 10BitTagReq- OBFF Via message, ExtFmt- EETLPPrefix-
>>                          EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
>>                          FRS- TPHComp- ExtTPHComp-
>>                          AtomicOpsCap: 32bit- 64bit- 128bitCAS-
>>                 DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled,
>>                          AtomicOpsCtl: ReqEn-
>>                 LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1-
>>                          EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
>>                          Retimer- 2Retimers- CrosslinkRes: unsupported
>>         Capabilities: [100 v2] Advanced Error Reporting
>>                 UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
>>                 UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
>>                 UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
>>                 CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
>>                 CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
>>                 AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-
>>                         MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
>>                 HeaderLog: 00000000 00000000 00000000 00000000
>>         Kernel driver in use: snd_hda_intel
>>         Kernel modules: snd_hda_intel
>>
>> 0b:00.6 Audiodevice: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD AudioController
>>         DeviceName: Realtek ALC897 Audio
>>         Subsystem: ASUSTeK Computer Inc. Device 87fb
>>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
>>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
>>         Latency: 0, Cache Line Size: 64 bytes
>>         Interrupt: pin C routed to IRQ 81
>>         IOMMU group: 24
>>         Region 0: Memory at fc500000 (32-bit, non-prefetchable) [size=32K]
>>         Capabilities: [48] Vendor Specific Information: Len=08 <?>
>>         Capabilities: [50] Power Management version 3
>>                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
>>                 Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
>>         Capabilities: [64] Express (v2) Endpoint, MSI 00
>>                 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
>>                         ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0W
>>                 DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
>>                         RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
>>                         MaxPayload 256 bytes, MaxReadReq 512 bytes
>>                 DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-
>>                 LnkCap: Port #0, Speed 16GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us
>>                         ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
>>                 LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
>>                         ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>>                 LnkSta: Speed 16GT/s, Width x16
>>                         TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
>>                 DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR-
>>                          10BitTagComp+ 10BitTagReq- OBFF Not Supported, ExtFmt+ EETLPPrefix+, MaxEETLPPrefixes 1
>>                          EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
>>                          FRS- TPHComp- ExtTPHComp-
>>                          AtomicOpsCap: 32bit- 64bit- 128bitCAS-
>>                 DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled,
>>                          AtomicOpsCtl: ReqEn-
>>                 LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1-
>>                          EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
>>                          Retimer- 2Retimers- CrosslinkRes: unsupported
>>         Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
>>                 Address: 00000000fee00000  Data: 0000
>>         Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
>>         Capabilities: [2a0 v1] Access Control Services
>>                 ACSCap: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
>>                 ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
>>         Kernel driver in use: snd_hda_intel
>>         Kernel modules: snd_hda_intel
>>
> Sid, do you have some reason to believe that one of these devices should use the
> snd-rpl-pci-acp6x driver?  I don't see that either one of them is the correct
> vendor/device ID pair for that driver, but I would prefer that someone who is
> familiar with the driver & device jump in here...
>
Hi Randy,

After installing the new motherboard, there was no Analog Stereo audio. 
Googling on the motherboard audio suggested that acp6x was the driver to 
use.

I don't have any digital audio equipment, so expected Analog Stereo to 
work as it did on the old TUF GAMING X570-PLUS (WI-FI) which is on 
another box and works fine, kmix says Starship/Matisse HD Audio 
Controller Analog Stereo.

I'll try going back to pulseaudio on this box to see if it's a problem 
with pipewire.

Regards

Sid.

-- 
Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot
Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist
Microsoft Windows Free Zone - Linux used for all Computing Tasks


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Ryzen 9 7950x sound module does not not build
  2023-09-27 11:27           ` Sid Boyce
  2023-09-27 15:40             ` Randy Dunlap
@ 2023-09-27 16:26             ` Jaroslav Kysela
  2023-09-27 19:59               ` Sid Boyce
  1 sibling, 1 reply; 14+ messages in thread
From: Jaroslav Kysela @ 2023-09-27 16:26 UTC (permalink / raw)
  To: sboyce, Randy Dunlap, Bagas Sanjaya, Linux Kernel Mailing List,
	Linux ALSA
  Cc: Liam Girdwood, Mark Brown, Takashi Iwai

On 27. 09. 23 13:27, Sid Boyce wrote:
> On 26/09/2023 23:13, Randy Dunlap wrote:
>> lspci -vv

> 0b:00.6 Audiodevice: Advanced Micro Devices, Inc. [AMD] Family 17h/19h
> HD AudioController
>          DeviceName: Realtek ALC897 Audio
>          Subsystem: ASUSTeK Computer Inc. Device 87fb

It looks like a standard HDA hardware. The acp module may not be relevant. You 
should see some inputs/outputs for this card in pipewire - the snd-hda-intel 
module is loaded.

But this hardware may require a new quirk, when the generic code does not work 
for you. I suggest to look to the HDA driver documentation in 
Documentation/sound/hd-audio tree.

					Jaroslav

-- 
Jaroslav Kysela <perex@perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Ryzen 9 7950x sound module does not not build
  2023-09-27 15:40             ` Randy Dunlap
  2023-09-27 16:23               ` Sid Boyce
@ 2023-09-27 19:14               ` Sid Boyce
  2023-10-02  9:43               ` Sid Boyce
  2 siblings, 0 replies; 14+ messages in thread
From: Sid Boyce @ 2023-09-27 19:14 UTC (permalink / raw)
  To: Randy Dunlap, Bagas Sanjaya, Linux Kernel Mailing List, Linux ALSA
  Cc: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai

On 27/09/2023 16:40, Randy Dunlap wrote:
>
> On 9/27/23 04:27, Sid Boyce wrote:
>> On 26/09/2023 23:13, Randy Dunlap wrote:
> || The snd-rpl-pci-acp6x driver only supports
> || vendor=0x1022, device=0x15e2, and PCI revision=0x62.
>
>>> lspci -vv
>>
>> 01:00.1 Audiodevice: NVIDIA Corporation Device 10fa (rev a1)
>>         Subsystem: NVIDIA Corporation Device 1f82
>>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
>>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
>>         Latency: 0, Cache Line Size: 64 bytes
>>         Interrupt: pin B routed to IRQ 80
>>         IOMMU group: 11
>>         Region 0: Memory at fc080000 (32-bit, non-prefetchable) [size=16K]
>>         Capabilities: [60] Power Management version 3
>>                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
>>                 Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
>>         Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
>>                 Address: 0000000000000000  Data: 0000
>>         Capabilities: [78] Express (v2) Endpoint, MSI 00
>>                 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
>>                         ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 75W
>>                 DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+
>>                         RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
>>                         MaxPayload 256 bytes, MaxReadReq 512 bytes
>>                 DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend-
>>                 LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <512ns, L1 <4us
>>                         ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
>>                 LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk+
>>                         ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>>                 LnkSta: Speed 2.5GT/s (downgraded), Width x16
>>                         TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
>>                 DevCap2: Completion Timeout: Range AB, TimeoutDis+ NROPrPrP- LTR+
>>                          10BitTagComp- 10BitTagReq- OBFF Via message, ExtFmt- EETLPPrefix-
>>                          EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
>>                          FRS- TPHComp- ExtTPHComp-
>>                          AtomicOpsCap: 32bit- 64bit- 128bitCAS-
>>                 DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled,
>>                          AtomicOpsCtl: ReqEn-
>>                 LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1-
>>                          EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
>>                          Retimer- 2Retimers- CrosslinkRes: unsupported
>>         Capabilities: [100 v2] Advanced Error Reporting
>>                 UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
>>                 UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
>>                 UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
>>                 CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
>>                 CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
>>                 AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-
>>                         MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
>>                 HeaderLog: 00000000 00000000 00000000 00000000
>>         Kernel driver in use: snd_hda_intel
>>         Kernel modules: snd_hda_intel
>>
>> 0b:00.6 Audiodevice: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD AudioController
>>         DeviceName: Realtek ALC897 Audio
>>         Subsystem: ASUSTeK Computer Inc. Device 87fb
>>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
>>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
>>         Latency: 0, Cache Line Size: 64 bytes
>>         Interrupt: pin C routed to IRQ 81
>>         IOMMU group: 24
>>         Region 0: Memory at fc500000 (32-bit, non-prefetchable) [size=32K]
>>         Capabilities: [48] Vendor Specific Information: Len=08 <?>
>>         Capabilities: [50] Power Management version 3
>>                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
>>                 Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
>>         Capabilities: [64] Express (v2) Endpoint, MSI 00
>>                 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
>>                         ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0W
>>                 DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
>>                         RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
>>                         MaxPayload 256 bytes, MaxReadReq 512 bytes
>>                 DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-
>>                 LnkCap: Port #0, Speed 16GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us
>>                         ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
>>                 LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
>>                         ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>>                 LnkSta: Speed 16GT/s, Width x16
>>                         TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
>>                 DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR-
>>                          10BitTagComp+ 10BitTagReq- OBFF Not Supported, ExtFmt+ EETLPPrefix+, MaxEETLPPrefixes 1
>>                          EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
>>                          FRS- TPHComp- ExtTPHComp-
>>                          AtomicOpsCap: 32bit- 64bit- 128bitCAS-
>>                 DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled,
>>                          AtomicOpsCtl: ReqEn-
>>                 LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1-
>>                          EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
>>                          Retimer- 2Retimers- CrosslinkRes: unsupported
>>         Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
>>                 Address: 00000000fee00000  Data: 0000
>>         Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
>>         Capabilities: [2a0 v1] Access Control Services
>>                 ACSCap: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
>>                 ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
>>         Kernel driver in use: snd_hda_intel
>>         Kernel modules: snd_hda_intel
>>
> Sid, do you have some reason to believe that one of these devices should use the
> snd-rpl-pci-acp6x driver?  I don't see that either one of them is the correct
> vendor/device ID pair for that driver, but I would prefer that someone who is
> familiar with the driver & device jump in here...
>
Switched to pulseaudio, results are absolutely the same as with pipewire.

After reboot without USB dongle only the Digital Stereo (IEC958) showed 
in kmix.

Plugged in the USB dongle in order to get sound working.

-- 
Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot
Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist
Microsoft Windows Free Zone - Linux used for all Computing Tasks


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Ryzen 9 7950x sound module does not not build
  2023-09-27 16:26             ` Jaroslav Kysela
@ 2023-09-27 19:59               ` Sid Boyce
  0 siblings, 0 replies; 14+ messages in thread
From: Sid Boyce @ 2023-09-27 19:59 UTC (permalink / raw)
  To: Jaroslav Kysela, Randy Dunlap, Bagas Sanjaya,
	Linux Kernel Mailing List, Linux ALSA
  Cc: Liam Girdwood, Mark Brown, Takashi Iwai

[-- Attachment #1: Type: text/plain, Size: 6264 bytes --]

 From notes.rst
DMA-Position Problem
=====================
``position_fix=6`` is to correct the position with the fixed FIFO
size, mainly targeted for the recent AMD controllers.
0 is the default value for all other
controllers, the automatic check and fallback to LPIB as described in
the above.  If you get a problem of repeated sounds, this option might
help.
#cat /proc/asound/cards
0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfc080000 irq 79
1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfc500000 irq 80
2 [Device         ]: USB-Audio - USB PnP Sound Device
                      C-Media Electronics Inc. USB PnP Sound Device at 
usb-0000:09:00.0-3, full speed

#dmesg -T|grep hda
[Wed Sep 27 17:52:33 2023] snd_hda_intel 0000:01:00.1: Disabling MSI
[Wed Sep 27 17:52:33 2023] snd_hda_intel 0000:01:00.1: Handle 
vga_switcheroo audio client
[Wed Sep 27 17:52:33 2023] snd_hda_intel 0000:0b:00.6: enabling device 
(0000 -> 0002)
[Wed Sep 27 17:52:33 2023] snd_hda_intel 0000:01:00.1: bound 
0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
[Wed Sep 27 17:52:33 2023] snd_hda_codec_realtek hdaudioC1D0: autoconfig 
for ALC897: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[Wed Sep 27 17:52:33 2023] snd_hda_codec_realtek hdaudioC1D0: 
    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[Wed Sep 27 17:52:33 2023] snd_hda_codec_realtek hdaudioC1D0: 
    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[Wed Sep 27 17:52:33 2023] snd_hda_codec_realtek hdaudioC1D0:    mono: 
mono_out=0x0
[Wed Sep 27 17:52:33 2023] snd_hda_codec_realtek hdaudioC1D0: 
    dig-out=0x11/0x0
[Wed Sep 27 17:52:33 2023] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[Wed Sep 27 17:52:33 2023] snd_hda_codec_realtek hdaudioC1D0:      Front 
Mic=0x19
[Wed Sep 27 17:52:33 2023] snd_hda_codec_realtek hdaudioC1D0:      Rear 
Mic=0x18
[Wed Sep 27 17:52:33 2023] snd_hda_codec_realtek hdaudioC1D0: 
      Line=0x1a
[Wed Sep 27 17:52:35 2023] Modules linked in: ecdh_generic(E+) r8169(E) 
rfkill(E) edac_mce_amd(E) mbcache(E) jbd2(E) snd_hda_codec_realtek(E) 
kvm_amd(E) snd_hda_codec_hdmi(E) realtek(E) mdio_devres(E) 
snd_hda_codec_generic(E) ledtrig_audio(E) libphy(E) snd_hda_intel(E)
kvm(E) pcspkr(E) i2c_piix4(E) snd_intel_dspcfg(E) snd_intel_sdw_acpi(E) 
joydev(E) irqbypass(E) snd_hda_codec(E) k10temp(E) snd_hda_core(E) 
snd_hwdep(E) snd_pcm(E) snd_timer(E) snd(E) soundcore(E) gpio_amdpt(E) 
wmi_bmof(E) gpio_generic(E) tiny_power_button(E) configfs(E)
fuse(E) efi_pstore(E) dmi_sysfs(E) ip_tables(E) x_tables(E) 
hid_generic(E) usbhid(E) nouveau(E) drm_ttm_helper(E) ttm(E) drm_exec(E) 
gpu_sched(E) i2c_algo_bit(E) mxm_wmi(E) drm_display_helper(E) 
drm_kms_helper(E) crct10dif_pclmul(E) crc32_pclmul(E) ghash_clmulni_intel(
E) xhci_pci(E) xhci_pci_renesas(E) sha512_ssse3(E) drm(E) xhci_hcd(E) 
usbcore(E) aesni_intel(E) ccp(E) cec(E) crypto_simd(E) cryptd(E) 
sp5100_tco(E) rc_core(E) video(E) wmi(E) button(E) btrfs(E) 
blake2b_generic(E) libcrc32c(E)
[Wed Sep 27 17:52:35 2023] Modules linked in: ecdh_generic(E+) r8169(E) 
rfkill(E) edac_mce_amd(E) mbcache(E) jbd2(E) snd_hda_codec_realtek(E) 
kvm_amd(E) snd_hda_codec_hdmi(E) realtek(E) mdio_devres(E) 
snd_hda_codec_generic(E) ledtrig_audio(E) libphy(E) snd_hda_intel(E)
kvm(E) pcspkr(E) i2c_piix4(E) snd_intel_dspcfg(E) snd_intel_sdw_acpi(E) 
joydev(E) irqbypass(E) snd_hda_codec(E) k10temp(E) snd_hda_core(E) 
snd_hwdep(E) snd_pcm(E) snd_timer(E) snd(E) soundcore(E) gpio_amdpt(E) 
wmi_bmof(E) gpio_generic(E) tiny_power_button(E) configfs(E)
fuse(E) efi_pstore(E) dmi_sysfs(E) ip_tables(E) x_tables(E) 
hid_generic(E) usbhid(E) nouveau(E) drm_ttm_helper(E) ttm(E) drm_exec(E) 
gpu_sched(E) i2c_algo_bit(E) mxm_wmi(E) drm_display_helper(E) 
drm_kms_helper(E) crct10dif_pclmul(E) crc32_pclmul(E) ghash_clmulni_intel(
E) xhci_pci(E) xhci_pci_renesas(E) sha512_ssse3(E) drm(E) xhci_hcd(E) 
usbcore(E) aesni_intel(E) ccp(E) cec(E) crypto_simd(E) cryptd(E) 
sp5100_tco(E) rc_core(E) video(E) wmi(E) button(E) btrfs(E) 
blake2b_generic(E) libcrc32c(E)
[Wed Sep 27 17:52:58 2023] Modules linked in: cmac(E) algif_hash(E) 
algif_skcipher(E) vboxnetadp(OE) vboxnetflt(OE) af_alg(E) bnep(E) 
vboxdrv(OE) rtw89_8852be(E) rtw89_8852b(E) rtw89_pci(E) rtw89_core(E) 
mac80211(E) binfmt_misc(E) btusb(E) btrtl(E) nls_iso8859_1(E) btin
tel(E) nls_cp437(E) libarc4(E) btbcm(E) btmtk(E) cfg80211(E) 
bluetooth(E) asus_nb_wmi(E) vfat(E) fat(E) asus_wmi(E) battery(E) 
intel_rapl_msr(E) intel_rapl_common(E) sparse_keymap(E) 
platform_profile(E) ext4(E) ecdh_generic(E) r8169(E) rfkill(E) 
edac_mce_amd(E) mbcache(
E) jbd2(E) snd_hda_codec_realtek(E) kvm_amd(E) snd_hda_codec_hdmi(E) 
realtek(E) mdio_devres(E) snd_hda_codec_generic(E) ledtrig_audio(E) 
libphy(E) snd_hda_intel(E) kvm(E) pcspkr(E) i2c_piix4(E) 
snd_intel_dspcfg(E) snd_intel_sdw_acpi(E) joydev(E) irqbypass(E) snd_hda_cod
ec(E) k10temp(E) snd_hda_core(E) snd_hwdep(E) snd_pcm(E) snd_timer(E) 
snd(E) soundcore(E) gpio_amdpt(E) wmi_bmof(E) gpio_generic(E) 
tiny_power_button(E) configfs(E) fuse(E) efi_pstore(E) dmi_sysfs(E) 
ip_tables(E) x_tables(E)

Attached /proc/asound/card*/codec#*


On 27/09/2023 17:26, Jaroslav Kysela wrote:
> On 27. 09. 23 13:27, Sid Boyce wrote:
>> On 26/09/2023 23:13, Randy Dunlap wrote:
>>> lspci -vv
>
>> 0b:00.6 Audiodevice: Advanced Micro Devices, Inc. [AMD] Family 17h/19h
>> HD AudioController
>>          DeviceName: Realtek ALC897 Audio
>>          Subsystem: ASUSTeK Computer Inc. Device 87fb
>
> It looks like a standard HDA hardware. The acp module may not be 
> relevant. You should see some inputs/outputs for this card in pipewire 
> - the snd-hda-intel module is loaded.
>
> But this hardware may require a new quirk, when the generic code does 
> not work for you. I suggest to look to the HDA driver documentation in 
> Documentation/sound/hd-audio tree.
>
>                     Jaroslav
>

-- 
Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot
Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist
Microsoft Windows Free Zone - Linux used for all Computing Tasks

[-- Attachment #2: codecs.txt --]
[-- Type: text/plain, Size: 20406 bytes --]

Codec: Nvidia GPU 94 HDMI/DP
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0094
Subsystem Id: 0x10de1f82
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D1 D2 D3 CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x185600f0: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Devices: 4
     Dev 00: PD = 0, ELDV = 0, IA = 0, Connections [ 0x08* 0x09 0x0a 0x0b ]
     Dev 01: PD = 0, ELDV = 0, IA = 0, Connections [ 0x08* 0x09 0x0a 0x0b ]
     Dev 02: PD = 0, ELDV = 0, IA = 0, Connections [ 0x08* 0x09 0x0a 0x0b ]
    *Dev 03: PD = 0, ELDV = 0, IA = 0, Connections [ 0x08* 0x09 0x0a 0x0b ]
  Connection: 4
     0x08* 0x09 0x0a 0x0b
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x185600f0: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Devices: 4
     Dev 00: PD = 0, ELDV = 0, IA = 0, Connections [ 0x08* 0x09 0x0a 0x0b ]
     Dev 01: PD = 0, ELDV = 0, IA = 0, Connections [ 0x08* 0x09 0x0a 0x0b ]
     Dev 02: PD = 0, ELDV = 0, IA = 0, Connections [ 0x08* 0x09 0x0a 0x0b ]
    *Dev 03: PD = 0, ELDV = 0, IA = 0, Connections [ 0x08* 0x09 0x0a 0x0b ]
  Connection: 4
     0x08* 0x09 0x0a 0x0b
Node 0x06 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x585600f0: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Devices: 4
    *Dev 00: PD = 0, ELDV = 0, IA = 0, Connections [ 0x08* 0x09 0x0a 0x0b ]
     Dev 01: PD = 0, ELDV = 0, IA = 0, Connections [ 0x08* 0x09 0x0a 0x0b ]
     Dev 02: PD = 0, ELDV = 0, IA = 0, Connections [ 0x08* 0x09 0x0a 0x0b ]
     Dev 03: PD = 0, ELDV = 0, IA = 0, Connections [ 0x08* 0x09 0x0a 0x0b ]
  Connection: 4
     0x08* 0x09 0x0a 0x0b
Node 0x07 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x585600f0: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Devices: 4
    *Dev 00: PD = 0, ELDV = 0, IA = 0, Connections [ 0x08* 0x09 0x0a 0x0b ]
     Dev 01: PD = 0, ELDV = 0, IA = 0, Connections [ 0x08* 0x09 0x0a 0x0b ]
     Dev 02: PD = 0, ELDV = 0, IA = 0, Connections [ 0x08* 0x09 0x0a 0x0b ]
     Dev 03: PD = 0, ELDV = 0, IA = 0, Connections [ 0x08* 0x09 0x0a 0x0b ]
  Connection: 4
     0x08* 0x09 0x0a 0x0b
Node 0x08 [Audio Output] wcaps 0x62b1: 8-Channels Digital Stripe
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x09 [Audio Output] wcaps 0x62b1: 8-Channels Digital Stripe
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x0a [Audio Output] wcaps 0x62b1: 8-Channels Digital Stripe
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Node 0x0b [Audio Output] wcaps 0x62b1: 8-Channels Digital Stripe
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
Codec: Realtek ALC897
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0897
Subsystem Id: 0x104387fb
Revision Id: 0x100402
No Modem Function Group found
Default PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D1 D2 D3 CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=5, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC897 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x57 0x57]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Surround Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x57 0x57]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Center Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Volume", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x57 0x57]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x05 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x57 0x57]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x97 0x97]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x12
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="ALC897 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x36 0x36]
  Converter: stream=1, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="ALC897 Alt Analog", type="Audio", device=2
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0xb6 0xb6]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100711: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Front Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Front Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Rear Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Rear Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Line Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Line Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x18 0x18] [0x16 0x16] [0x0e 0x0e] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 10
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x04 0x0b
Node 0x0f [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x05 0x0b
Node 0x10 [Audio Output] wcaps 0x611: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="ALC897 Digital", type="SPDIF", device=1
  Converter: stream=5, channel=0
  Digital: Enabled
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x11 [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x90460150: [Fixed] SPDIF Out at Int N/A
    Conn = Digital, Color = Unknown
    DefAssociation = 0x5, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x10
Node 0x12 [Pin Complex] wcaps 0x400401: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x4037c000: [N/A] CD at Ext N/A
    Conn = Analog, Color = UNKNOWN
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001003e: IN OUT HP EAPD Detect Trigger
  EAPD 0x2: EAPD
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=05, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0c
Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0d
Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0e
Node 0x17 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000036: IN OUT Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0f
Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Center Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Switch", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Control: name="Rear Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x02 0x02]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00003736: IN OUT Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a19030: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=03, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Front Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x02 0x02]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02a19040: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x03 0x03]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00003736: IN OUT Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x0181303f: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x3, Sequence = 0xf
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001373e: IN OUT HP EAPD Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  EAPD 0x2: EAPD
  Pin Default 0x02214020: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c 0x0d 0x0e 0x0f* 0x26
Node 0x1c [Pin Complex] wcaps 0x400481: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0, Setting-reset
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x4044c601: [N/A] SPDIF Out at Ext N/A
    Conn = RCA, Color = UNKNOWN
    DefAssociation = 0x0, Sequence = 0x1
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400681: Stereo Digital
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=142
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 12
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b 0x12
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x57 0x57]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x26 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x25 0x0b

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Ryzen 9 7950x sound module does not not build
  2023-09-27 15:40             ` Randy Dunlap
  2023-09-27 16:23               ` Sid Boyce
  2023-09-27 19:14               ` Sid Boyce
@ 2023-10-02  9:43               ` Sid Boyce
  2 siblings, 0 replies; 14+ messages in thread
From: Sid Boyce @ 2023-10-02  9:43 UTC (permalink / raw)
  To: Randy Dunlap, Bagas Sanjaya, Linux Kernel Mailing List, Linux ALSA
  Cc: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai

On 27/09/2023 16:40, Randy Dunlap wrote:
>
> On 9/27/23 04:27, Sid Boyce wrote:
>> On 26/09/2023 23:13, Randy Dunlap wrote:
> || The snd-rpl-pci-acp6x driver only supports
> || vendor=0x1022, device=0x15e2, and PCI revision=0x62.
>
>>> lspci -vv
>>
>> 01:00.1 Audiodevice: NVIDIA Corporation Device 10fa (rev a1)
>>        Subsystem: NVIDIA Corporation Device 1f82
>>        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
>> ParErr- Stepping- SERR- FastB2B- DisINTx-
>>        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- 
>> <TAbort- <MAbort- >SERR- <PERR- INTx-
>>        Latency: 0, Cache Line Size: 64 bytes
>>        Interrupt: pin B routed to IRQ 80
>>        IOMMU group: 11
>>        Region 0: Memory at fc080000 (32-bit, non-prefetchable) [size=16K]
>>        Capabilities: [60] Power Management version 3
>>                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
>> PME(D0-,D1-,D2-,D3hot-,D3cold-)
>>                Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
>>        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
>>                Address: 0000000000000000  Data: 0000
>>        Capabilities: [78] Express (v2) Endpoint, MSI 00
>>                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s 
>> unlimited, L1 <64us
>>                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ 
>> FLReset- SlotPowerLimit 75W
>>                DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+
>>                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
>>                        MaxPayload 256 bytes, MaxReadReq 512 bytes
>>                DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ 
>> AuxPwr- TransPend-
>>                LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, 
>> Exit Latency L0s <512ns, L1 <4us
>>                        ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
>>                LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- 
>> CommClk+
>>                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>>                LnkSta: Speed 2.5GT/s (downgraded), Width x16
>>                        TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
>>                DevCap2: Completion Timeout: Range AB, TimeoutDis+ 
>> NROPrPrP- LTR+
>>                         10BitTagComp- 10BitTagReq- OBFF Via message, 
>> ExtFmt- EETLPPrefix-
>>                         EmergencyPowerReduction Not Supported, 
>> EmergencyPowerReductionInit-
>>                         FRS- TPHComp- ExtTPHComp-
>>                         AtomicOpsCap: 32bit- 64bit- 128bitCAS-
>>                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- 
>> LTR- 10BitTagReq- OBFF Disabled,
>>                         AtomicOpsCtl: ReqEn-
>>                LnkSta2: Current De-emphasis Level: -3.5dB, 
>> EqualizationComplete- EqualizationPhase1-
>>                         EqualizationPhase2- EqualizationPhase3- 
>> LinkEqualizationRequest-
>>                         Retimer- 2Retimers- CrosslinkRes: unsupported
>>        Capabilities: [100 v2] Advanced Error Reporting
>>                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- 
>> UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
>>                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- 
>> UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
>>                UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- 
>> UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
>>                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- 
>> AdvNonFatalErr-
>>                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- 
>> AdvNonFatalErr+
>>                AERCap: First Error Pointer: 00, ECRCGenCap- 
>> ECRCGenEn- ECRCChkCap- ECRCChkEn-
>>                        MultHdrRecCap- MultHdrRecEn- TLPPfxPres- 
>> HdrLogCap-
>>                HeaderLog: 00000000 00000000 00000000 00000000
>>        Kernel driver in use: snd_hda_intel
>>        Kernel modules: snd_hda_intel
>>
>> 0b:00.6 Audiodevice: Advanced Micro Devices, Inc. [AMD] Family 
>> 17h/19h HD AudioController
>>        DeviceName: Realtek ALC897 Audio
>>        Subsystem: ASUSTeK Computer Inc. Device 87fb
>>        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
>> ParErr- Stepping- SERR- FastB2B- DisINTx+
>>        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- 
>> <TAbort- <MAbort- >SERR- <PERR- INTx-
>>        Latency: 0, Cache Line Size: 64 bytes
>>        Interrupt: pin C routed to IRQ 81
>>        IOMMU group: 24
>>        Region 0: Memory at fc500000 (32-bit, non-prefetchable) [size=32K]
>>        Capabilities: [48] Vendor Specific Information: Len=08 <?>
>>        Capabilities: [50] Power Management version 3
>>                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
>> PME(D0+,D1-,D2-,D3hot+,D3cold+)
>>                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
>>        Capabilities: [64] Express (v2) Endpoint, MSI 00
>>                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s 
>> <4us, L1 unlimited
>>                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ 
>> FLReset- SlotPowerLimit 0W
>>                DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
>>                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
>>                        MaxPayload 256 bytes, MaxReadReq 512 bytes
>>                DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- 
>> AuxPwr- TransPend-
>>                LnkCap: Port #0, Speed 16GT/s, Width x16, ASPM L0s L1, 
>> Exit Latency L0s <64ns, L1 <1us
>>                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
>>                LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
>>                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>>                LnkSta: Speed 16GT/s, Width x16
>>                        TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
>>                DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ 
>> NROPrPrP- LTR-
>>                         10BitTagComp+ 10BitTagReq- OBFF Not 
>> Supported, ExtFmt+ EETLPPrefix+, MaxEETLPPrefixes 1
>>                         EmergencyPowerReduction Not Supported, 
>> EmergencyPowerReductionInit-
>>                         FRS- TPHComp- ExtTPHComp-
>>                         AtomicOpsCap: 32bit- 64bit- 128bitCAS-
>>                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- 
>> LTR- 10BitTagReq- OBFF Disabled,
>>                         AtomicOpsCtl: ReqEn-
>>                LnkSta2: Current De-emphasis Level: -3.5dB, 
>> EqualizationComplete- EqualizationPhase1-
>>                         EqualizationPhase2- EqualizationPhase3- 
>> LinkEqualizationRequest-
>>                         Retimer- 2Retimers- CrosslinkRes: unsupported
>>        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
>>                Address: 00000000fee00000  Data: 0000
>>        Capabilities: [100 v1] Vendor Specific Information: ID=0001 
>> Rev=1 Len=010 <?>
>>        Capabilities: [2a0 v1] Access Control Services
>>                ACSCap: SrcValid- TransBlk- ReqRedir- CmpltRedir- 
>> UpstreamFwd- EgressCtrl- DirectTrans-
>>                ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- 
>> UpstreamFwd- EgressCtrl- DirectTrans-
>>        Kernel driver in use: snd_hda_intel
>>        Kernel modules: snd_hda_intel
>>
> Sid, do you have some reason to believe that one of these devices 
> should use the
> snd-rpl-pci-acp6x driver? I don't see that either one of them is the 
> correct
> vendor/device ID pair for that driver, but I would prefer that someone 
> who is
> familiar with the driver & device jump in here...
>
Discovered this morning that there was a faulty plug to one of the 
external speakers.

Playback Devices in kmix  now show "Family 17h/19h HD Audio Controller 
Analog Stereo" and I have audio working with pipewire.

Regards

Sid.

-- 
Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot
Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist
Microsoft Windows Free Zone - Linux used for all Computing Tasks


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-10-02  9:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-26  1:20 Ryzen 9 7950x sound module does not not build Sid Boyce
2023-09-26  1:48 ` Randy Dunlap
2023-09-26 12:23   ` Sid Boyce
2023-09-26 13:01     ` Bagas Sanjaya
2023-09-26 14:58       ` Sid Boyce
2023-09-26 19:17       ` Sid Boyce
2023-09-26 22:13         ` Randy Dunlap
2023-09-27 11:27           ` Sid Boyce
2023-09-27 15:40             ` Randy Dunlap
2023-09-27 16:23               ` Sid Boyce
2023-09-27 19:14               ` Sid Boyce
2023-10-02  9:43               ` Sid Boyce
2023-09-27 16:26             ` Jaroslav Kysela
2023-09-27 19:59               ` Sid Boyce

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.