Re: snd_hdsp missing on raspberrypi pi 5

David Kessler <[email protected]> Sun, 19 May 2024 19:40:28 +0200
Newsgroups gmane.linux.alsa.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============7281950398083386368==
Content-Type: multipart/alternative;
 boundary="------------K1Ri89s1FOr7F0RUt0lQNPEv"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------K1Ri89s1FOr7F0RUt0lQNPEv
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

I am now running a kernel with PCI soundcard hammerfall hdsp enabled and 
snd-hdsp module loaded.

But it's not happy because it has no available buffer...

dsp@dsp:~ $sudo dmesg | grep snd
[    0.000000] Kernel command line: reboot=w coherent_pool=1M 
8250.nr_uarts=1 pci=pcie_bus_safe snd_bcm2835.enable_compat_alsa=0 
snd_bcm2835.
enable_hdmi=1  smsc95xx.macaddr=2C:CF:67:14:D6:4C 
vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 
  console=ttyAMA10,115200 console=tty1
root=PARTUUID=4b23ff89-02 rootfstype=ext4 fsck.repair=yes rootwait quiet 
splash plymouth.ignore-serial-consoles
[    2.909467] snd_hdsp 0000:02:01.0: enabling device (0000 -> 0002)
[    2.912961] snd_hdsp 0000:02:01.0: RME Hammerfall DSP: no buffers 
available
[    2.912981] snd_hdsp: probe of 0000:02:01.0 failed with error -12

It took me a day to get here. Slow internet not helping as well neither 
does my rusty kernel compilling skills.

Thank's for reaching me out to any clue what is going on here <3

Le 19.05.24 à 11:55, David Kessler a écrit :
> Ok thanks I've came across this webpage also. I'am missing the 
> alsa-driver tarball to do make configure as explained here:
>
> https://www.alsa-project.org/wiki/Matrix:Module-hdsp
>
> I look further to compile the module into the kernel which make most 
> sense. So is itswapped essentially to save space?
>
> Le 19.05.24 à 11:44, David Kessler a écrit :
>> I am now running ubuntu server 24.0 lts
>>
>> jean@dsp:~$ modinfo soundcore
>> name:           soundcore
>> filename:       (builtin)
>> alias:          char-major-14-*
>> license:        GPL
>> file:           sound/soundcore
>> author:         Alan Cox
>> description:    Core sound module
>> parm:           preclaim_oss:int
>> jean@dsp:~$ lspci
>> 0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe 
>> Bridge (rev 21)
>> 0000:01:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to 
>> PCI Bridge (rev 04)
>> 0000:02:01.0 Multimedia audio controller: Xilinx Corporation RME 
>> Hammerfall DSP (rev 37)
>> 0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe 
>> Bridge (rev 21)
>> 0001:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South 
>> Bridge
>>
>> jean@dsp:~$ sudo dmesg | grep 0:02:01.0
>> [    2.311018] pci 0000:02:01.0: [10ee:3fc5] type 00 class 0x040100 
>> conventional PCI endpoint
>> [    2.326482] pci 0000:02:01.0: BAR 0 [mem 0x1b00000000-0x1b0000ffff]
>> [    2.365346] pci 0000:02:01.0: BAR 0 [mem 
>> 0x1b00000000-0x1b0000ffff]: assigned
>>
>> jean@dsp:~$ modinfo snd_hdsp
>> modinfo: ERROR: Module snd_hdsp not found.
>>
>> jean@dsp:~$ hdsploader
>> hdsploader - firmware loader for RME Hammerfall DSP cards
>> Looking for HDSP + Multiface or Digiface cards :
>> Card 0 : vc4-hdmi-0
>> Card 1 : vc4-hdmi-1
>>
>> Looks like a trivial problem. I would be very happy if someone could 
>> learn me the next steps involved to make this card work on a 
>> raspberrypi 5.
>>
>> Much thanks!
>>
>> Le 19.05.24 à 10:16, David Kessler a écrit :
>>> I am trying to bring to life a hammerfall soundcard on a RPI5. I'ts 
>>> attached through a PCI interface to PCIe 1x interface to the PI. THe 
>>> card is powered by eternal supply and is recognized with lspci like 
>>> everything is normal but snd-hdsp module is missing on that kernel.
>>>
>>> I have alsa-firmware-loaders installed but still no snd-hdsp module
>>>
>>> That's where I get lost. I assume I have to compile the kernel with 
>>> the right modules
>>>
>>> Is there someone which could help me out?
>>>
>>> Thank's!
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Alsa-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/alsa-user
>>
>>
>> _______________________________________________
>> Alsa-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/alsa-user
>
>
> _______________________________________________
> Alsa-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/alsa-user
--------------K1Ri89s1FOr7F0RUt0lQNPEv
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I am now running a kernel with PCI soundcard hammerfall hdsp
      enabled and snd-hdsp module loaded.</p>
    <p>But it's not happy because it has no available buffer...</p>
    <p><span style="font-family:monospace"><span
style="font-weight:bold;color:#54ff54;background-color:#ffffff;">dsp@dsp</span><span
          style="color:#000000;background-color:#ffffff;">:</span><span
style="font-weight:bold;color:#5454ff;background-color:#ffffff;">~ $</span><span
          style="color:#000000;background-color:#ffffff;"> sudo dmesg |
          grep snd
        </span><br>
        [    0.000000] Kernel command line: reboot=w coherent_pool=1M
        8250.nr_uarts=1 pci=pcie_bus_safe <span
style="font-weight:bold;color:#ff5454;background-color:#ffffff;">snd</span><span
          style="color:#000000;background-color:#ffffff;">_bcm2835.enable_compat_alsa=0
        </span><span
style="font-weight:bold;color:#ff5454;background-color:#ffffff;">snd</span><span
          style="color:#000000;background-color:#ffffff;">_bcm2835.</span><br>
        enable_hdmi=1  smsc95xx.macaddr=2C:CF:67:14:D6:4C
        vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000
         console=ttyAMA10,115200 console=tty1<br>
        root=PARTUUID=4b23ff89-02 rootfstype=ext4 fsck.repair=yes
        rootwait quiet splash plymouth.ignore-serial-consoles
        <br>
        [    2.909467] <span
style="font-weight:bold;color:#ff5454;background-color:#ffffff;">snd</span><span
          style="color:#000000;background-color:#ffffff;">_hdsp
          0000:02:01.0: enabling device (0000 -&gt; 0002)
        </span><br>
        [    2.912961] <span
style="font-weight:bold;color:#ff5454;background-color:#ffffff;">snd</span><span
          style="color:#000000;background-color:#ffffff;">_hdsp
          0000:02:01.0: RME Hammerfall DSP: no buffers available
        </span><br>
        [    2.912981] <span
style="font-weight:bold;color:#ff5454;background-color:#ffffff;">snd</span><span
          style="color:#000000;background-color:#ffffff;">_hdsp: probe
          of 0000:02:01.0 failed with error -12</span></span></p>
    <p><span style="font-family:monospace"><span
          style="color:#000000;background-color:#ffffff;">It took me a
          day to get here. Slow internet not helping as well neither
          does my rusty kernel compilling skills.</span></span></p>
    <p><span style="font-family:monospace"><span
          style="color:#000000;background-color:#ffffff;">Thank's for
          reaching me out to any clue what is going on here &lt;3<br>
        </span></span></p>
    <div class="moz-cite-prefix">Le 19.05.24 à 11:55, David Kessler a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:[email protected]">Ok
      thanks I've came across this webpage also. I'am missing the
      alsa-driver tarball to do make configure as explained here:
      <br>
      <br>
      <a class="moz-txt-link-freetext" href="https://www.alsa-project.org/wiki/Matrix:Module-hdsp">https://www.alsa-project.org/wiki/Matrix:Module-hdsp</a>
      <br>
      <br>
      I look further to compile the module into the kernel which make
      most sense. So is itswapped essentially to save space?
      <br>
      <br>
      Le 19.05.24 à 11:44, David Kessler a écrit :
      <br>
      <blockquote type="cite">I am now running ubuntu server 24.0 lts
        <br>
        <br>
        jean@dsp:~$ modinfo soundcore
        <br>
        name:           soundcore
        <br>
        filename:       (builtin)
        <br>
        alias:          char-major-14-*
        <br>
        license:        GPL
        <br>
        file:           sound/soundcore
        <br>
        author:         Alan Cox
        <br>
        description:    Core sound module
        <br>
        parm:           preclaim_oss:int
        <br>
        jean@dsp:~$ lspci
        <br>
        0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712
        PCIe Bridge (rev 21)
        <br>
        0000:01:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085
        PCIe to PCI Bridge (rev 04)
        <br>
        0000:02:01.0 Multimedia audio controller: Xilinx Corporation RME
        Hammerfall DSP (rev 37)
        <br>
        0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712
        PCIe Bridge (rev 21)
        <br>
        0001:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0
        South Bridge
        <br>
        <br>
        jean@dsp:~$ sudo dmesg | grep 0:02:01.0
        <br>
        [    2.311018] pci 0000:02:01.0: [10ee:3fc5] type 00 class
        0x040100 conventional PCI endpoint
        <br>
        [    2.326482] pci 0000:02:01.0: BAR 0 [mem
        0x1b00000000-0x1b0000ffff]
        <br>
        [    2.365346] pci 0000:02:01.0: BAR 0 [mem
        0x1b00000000-0x1b0000ffff]: assigned
        <br>
        <br>
        jean@dsp:~$ modinfo snd_hdsp
        <br>
        modinfo: ERROR: Module snd_hdsp not found.
        <br>
        <br>
        jean@dsp:~$ hdsploader
        <br>
        hdsploader - firmware loader for RME Hammerfall DSP cards
        <br>
        Looking for HDSP + Multiface or Digiface cards :
        <br>
        Card 0 : vc4-hdmi-0
        <br>
        Card 1 : vc4-hdmi-1
        <br>
        <br>
        Looks like a trivial problem. I would be very happy if someone
        could learn me the next steps involved to make this card work on
        a raspberrypi 5.
        <br>
        <br>
        Much thanks!
        <br>
        <br>
        Le 19.05.24 à 10:16, David Kessler a écrit :
        <br>
        <blockquote type="cite">I am trying to bring to life a
          hammerfall soundcard on a RPI5. I'ts attached through a PCI
          interface to PCIe 1x interface to the PI. THe card is powered
          by eternal supply and is recognized with lspci like everything
          is normal but snd-hdsp module is missing on that kernel.
          <br>
          <br>
          I have alsa-firmware-loaders installed but still no snd-hdsp
          module
          <br>
          <br>
          That's where I get lost. I assume I have to compile the kernel
          with the right modules
          <br>
          <br>
          Is there someone which could help me out?
          <br>
          <br>
          Thank's!
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          _______________________________________________
          <br>
          Alsa-user mailing list
          <br>
          <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
          <br>
          <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/alsa-user">https://lists.sourceforge.net/lists/listinfo/alsa-user</a>
          <br>
        </blockquote>
        <br>
        <br>
        _______________________________________________
        <br>
        Alsa-user mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
        <br>
        <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/alsa-user">https://lists.sourceforge.net/lists/listinfo/alsa-user</a>
        <br>
      </blockquote>
      <br>
      <br>
      _______________________________________________
      <br>
      Alsa-user mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
      <br>
      <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/alsa-user">https://lists.sourceforge.net/lists/listinfo/alsa-user</a>
      <br>
    </blockquote>
  </body>
</html>

--------------K1Ri89s1FOr7F0RUt0lQNPEv--


--===============7281950398083386368==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============7281950398083386368==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user

--===============7281950398083386368==--