Re: snd_hdsp missing on raspberrypi pi 5

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

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

But what I am really wondering is how to set buffers in alsa config and 
how to have access to the "disconnect" option and leave the unit in 
standalone mode. Any ideas?

Le 23.05.24 à 02:04, David Kessler a écrit :
>
> 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
>
>
> _______________________________________________
> Alsa-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/alsa-user
--------------2nRtmhGL7hNFeCH3srNg2403
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>But what I am really wondering is how to set buffers in alsa
      config and how to have access to the "disconnect" option and leave
      the unit in standalone mode. Any ideas?<br>
    </p>
    <div class="moz-cite-prefix">Le 23.05.24 à 02:04, David Kessler a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <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"
          moz-do-not-send="true">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"
          moz-do-not-send="true">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"
          moz-do-not-send="true">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"
          moz-do-not-send="true">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]"
        moz-do-not-send="true">&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 moz-txt-link-freetext"
        href="mailto:[email protected]"
        moz-do-not-send="true">[email protected]</a>
<a class="moz-txt-link-freetext"
        href="https://lists.sourceforge.net/lists/listinfo/alsa-user"
        moz-do-not-send="true">https://lists.sourceforge.net/lists/listinfo/alsa-user</a>
</pre>
      </blockquote>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
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>

--------------2nRtmhGL7hNFeCH3srNg2403--


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


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

--===============0504726308583600643==--