Re: snd_hdsp missing on raspberrypi pi 5

David Kessler <[email protected]> Thu, 23 May 2024 02:04:03 +0200
Newsgroups gmane.linux.alsa.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============8412942348015395981==
Content-Type: multipart/alternative;
 boundary="------------BlpVMkL0n7yQxlv5uF3guBiv"
Content-Language: en-US

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

Hey there!

Ok so interface is composed of 52pi PCIe slot and a PCIe to PCI riser. 
When connected a digiface the unit is powered from the PI. For now there 
is no converters plugged-in.

With a multiface I've run into power supply issues even with external 
supply. Tried both powering the unit itself or through the PCI riser.

Steps to reproduce on RPI5 bookworm:

 1. Compile kernel with PCI soundcard support.
 2. install alsa-utils, alsa-tools, alsa-tools-gui and alsa-firmware-loaders
 3. Download and copy firmwares from hdsploader to
    /lib/firmware/hdsploader/ (create directory). Not sure why they were
    missing. Maybe optional to update the firmware.
 4. add dtparam=pciex1 dtparam=pciex1_gen=2 (maybe not necessary) and
    dtoverlay=pcie-32bit-dma to /boot/firmware
    /config.txt
 5. Check output of hdsploader and let me know if something's missing!
 6. Have fun!

https://www.ebay.ch/itm/325621887809?mkevt=1&mkpid=0&emsid=e11050.m43.l1123&mkcid=7&ch=osgood&euid=834d2908877649ae99fbc773787109b5&bu=45040954043&osub=-1%7E1&crd=20231029100454&segname=11050

https://52pi.com/products/p02-pcie-slot-for-rpi5

https://www.alsa-project.org/wiki/Matrix:Module-hdsp

https://www.kernelconfig.io/config_snd_hdsp

Le 20.05.24 à 14:54, Peter P. a écrit :
> * David Kessler<[email protected]>  [2024-05-20 12:56]:
>> Ok everything works well after adding the right firmware to
>> /lib/firmware/hdsploader! I'am very happy and thank's to the folks pointing
>> me in the right direction!
>>
>> Cheers!
> Oh by the way, what type and model of PCI extender are you using for the Pi5?
>
>
> _______________________________________________
> Alsa-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/alsa-user
--------------BlpVMkL0n7yQxlv5uF3guBiv
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>Hey there!</p>
    <p>Ok so interface is composed of 52pi PCIe slot and a PCIe to PCI
      riser. When connected a digiface the unit is powered from the PI.
      For now there is no converters plugged-in.</p>
    <p>With a multiface I've run into power supply issues even with
      external supply. Tried both powering the unit itself or through
      the PCI riser.<br>
    </p>
    <p>Steps to reproduce on RPI5 bookworm:</p>
    <ol>
      <li>Compile kernel with PCI soundcard support.</li>
      <li>install alsa-utils, alsa-tools, alsa-tools-gui and
        alsa-firmware-loaders<br>
      </li>
      <li>Download and copy firmwares from hdsploader to
        /lib/firmware/hdsploader/ (create directory). Not sure why they
        were missing. Maybe optional to update the firmware.<br>
      </li>
      <li>add <span style="font-family:monospace"><span
            style="color:#000000;background-color:#ffffff;">dtparam=pciex1
          </span></span><span style="font-family:monospace"><span
            style="color:#000000;background-color:#ffffff;">dtparam=pciex1_gen=2</span>
          (maybe not necessary) and </span><span
          style="font-family:monospace"><span
            style="color:#000000;background-color:#ffffff;">dtoverlay=pcie-32bit-dma</span>
        </span>to <span style="font-family:monospace"><span
            style="color:#000000;background-color:#ffffff;">/boot/firmware</span><br>
          /c</span><span style="font-family:monospace"><span
            style="color:#000000;background-color:#ffffff;">onfig.txt</span></span></li>
      <li>Check output of hdsploader and let me know if something's
        missing!</li>
      <li>Have fun!</li>
    </ol>
    <p><a class="moz-txt-link-freetext" href="https://www.ebay.ch/itm/325621887809?mkevt=1&amp;mkpid=0&amp;emsid=e11050.m43.l1123&amp;mkcid=7&amp;ch=osgood&amp;euid=834d2908877649ae99fbc773787109b5&amp;bu=45040954043&amp;osub=-1%7E1&amp;crd=20231029100454&amp;segname=11050">https://www.ebay.ch/itm/325621887809?mkevt=1&amp;mkpid=0&amp;emsid=e11050.m43.l1123&amp;mkcid=7&amp;ch=osgood&amp;euid=834d2908877649ae99fbc773787109b5&amp;bu=45040954043&amp;osub=-1%7E1&amp;crd=20231029100454&amp;segname=11050</a><br>
    </p>
    <p><a class="moz-txt-link-freetext" href="https://52pi.com/products/p02-pcie-slot-for-rpi5">https://52pi.com/products/p02-pcie-slot-for-rpi5</a></p>
    <p><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></p>
    <p><a class="moz-txt-link-freetext" href="https://www.kernelconfig.io/config_snd_hdsp">https://www.kernelconfig.io/config_snd_hdsp</a></p>
    <div class="moz-cite-prefix">Le 20.05.24 à 14:54, Peter P. a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <pre class="moz-quote-pre" wrap="">* David Kessler <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> [2024-05-20 12:56]:
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">Ok everything works well after adding the right firmware to
/lib/firmware/hdsploader! I'am very happy and thank's to the folks pointing
me in the right direction!

Cheers!
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
Oh by the way, what type and model of PCI extender are you using for the Pi5?


_______________________________________________
Alsa-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/alsa-user">https://lists.sourceforge.net/lists/listinfo/alsa-user</a>
</pre>
    </blockquote>
  </body>
</html>

--------------BlpVMkL0n7yQxlv5uF3guBiv--


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


--===============8412942348015395981==
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

--===============8412942348015395981==--