mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sid Boyce <sboyce@blueyonder.co.uk>
To: Bagas Sanjaya <bagasdotme@gmail.com>,
	Randy Dunlap <rdunlap@infradead.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux ALSA <alsa-devel@alsa-project.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.com>
Subject: Re: Ryzen 9 7950x sound module does not not build
Date: Tue, 26 Sep 2023 15:58:22 +0100	[thread overview]
Message-ID: <1d0c5a6b-e82a-4b37-8f98-eaac0b8db8e7@blueyonder.co.uk> (raw)
In-Reply-To: <ZRLWIkyngsasQbQ7@debian.me>

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


  reply	other threads:[~2023-09-26 14:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-26  1:20 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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1d0c5a6b-e82a-4b37-8f98-eaac0b8db8e7@blueyonder.co.uk \
    --to=sboyce@blueyonder.co.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=bagasdotme@gmail.com \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=rdunlap@infradead.org \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®