lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1d0c5a6b-e82a-4b37-8f98-eaac0b8db8e7@blueyonder.co.uk>
Date:   Tue, 26 Sep 2023 15:58:22 +0100
From:   Sid Boyce <sboyce@...eyonder.co.uk>
To:     Bagas Sanjaya <bagasdotme@...il.com>,
        Randy Dunlap <rdunlap@...radead.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Linux ALSA <alsa-devel@...a-project.org>
Cc:     Liam Girdwood <lgirdwood@...il.com>,
        Mark Brown <broonie@...nel.org>,
        Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>
Subject: Re: Ryzen 9 7950x sound module does not not build

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ