Re: [Alsa-user] snd_hdsp missing on raspberrypi pi 5

2024-05-23 Thread Peter P.
David, afaik the disconnect option never got implemented on linux. You
might want to get a confirmation from the list though (CCed).
Peter

* David Kessler  [2024-05-23 20:55]:
> Sure I did check hdspconf but unlike windows or mac there is no "disconnect"
> option to check. Not sure why.
> 
> Le 23.05.24 à 09:53, Peter P. a écrit :
> > * David Kessler  [2024-05-23 04:21]:
> > > 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?
> > Without checking myself, did you look at the hdspconf tool perhaps?
> > 
> > best, P
> > 
> > 
> > ___
> > 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


Re: [Alsa-user] snd_hdsp missing on raspberrypi pi 5

2024-05-23 Thread Peter P.
* David Kessler  [2024-05-23 04:21]:
> 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?
Without checking myself, did you look at the hdspconf tool perhaps?

best, P


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


Re: [Alsa-user] snd_hdsp missing on raspberrypi pi 5

2024-05-22 Thread David Kessler
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  [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___
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] snd_hdsp missing on raspberrypi pi 5

2024-05-22 Thread David Kessler

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  [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


Re: [Alsa-user] snd_hdsp missing on raspberrypi pi 5

2024-05-20 Thread Peter P.
* David Kessler  [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


Re: [Alsa-user] snd_hdsp missing on raspberrypi pi 5

2024-05-20 Thread Peter P.
* David Kessler  [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!

Congrats David! About twenty years ago I was getting the HDSP+Multiface
card working under Debian on a PowerPC (Apple G3 Pismo Notenbook) with a
PCMCIA card. Your efforts reminded me of these days.

best, P


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


Re: [Alsa-user] snd_hdsp missing on raspberrypi pi 5

2024-05-20 Thread David Kessler
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!

Le 20.05.24 à 10:39, David Kessler a écrit :


Adding dtoverlay=pcie-32bit-dma too /boot/firmware/config.txt is 
helping a lot! The card is recognized in alsa! But yet no controls but 
says it wants to update firmware! I can feel I am close!


Le 20.05.24 à 10:11, David Kessler a écrit :


As of

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/sound/pci/rme9652/hdsp.c?h=v6.8.10

on line 3768 in

|
static  int  snd_hdsp_initialize_memory(struct  hdsp  *hdsp)
{
struct  snd_dma_buffer  *capture_dma,  *playback_dma;

capture_dma  =  snd_hammerfall_get_buffer(hdsp->pci,  
HDSP_DMA_AREA_BYTES);
playback_dma  =  snd_hammerfall_get_buffer(hdsp->pci,  
HDSP_DMA_AREA_BYTES);
if  (!capture_dma  ||  !playback_dma)  {
dev_err(hdsp->card->dev,
"%s: no buffers available\n",  hdsp->card_name);
return  -ENOMEM;
}|

Who is responsible for this? We must have a talk! (:

Le 20.05.24 à 09:07, David Kessler a écrit :
From what I can tell comparing to a working system is that I have 
all needed kernel modules loaded. the oss are indeed no longer 
needed. Thank's for pointing me out.


Here a paste bin with the info I could gather.

https://pastebin.com/dAfDDnkM

The missing interrupt I wonder about and still the no available 
buffer error which returns -12 but also the memory address is stated 
beeing [virtual] on the PI. Is there something wrong with the bus 
not beeing PCI standard compliant?


What my intuition tells me is that the PI is handling the DMA of the 
PCI bus in a different way than other architecture. I am not sure 
what to do as to troubleshoot further /: Read code?


Thank's

Le 19.05.24 à 23:51, Robert M. Riches Jr. a écrit :


Are you sure those are current?  "oss" usually refers to the
open-source-sound that predated ALSA around 25 years ago.

The modinfo description from kernel 5.10.0 for snd-pcm-oss
seems to indicate it's for OSS emulation: "PCM OSS emulation
for ALSA."  For kernel 5.10.0-29-amd64 from Devuan Chimaera,
snd-seq-oss is not even listed.

HTH




___
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___
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] snd_hdsp missing on raspberrypi pi 5

2024-05-20 Thread David Kessler
Adding dtoverlay=pcie-32bit-dma too /boot/firmware/config.txt is helping 
a lot! The card is recognized in alsa! But yet no controls but says it 
wants to update firmware! I can feel I am close!


Le 20.05.24 à 10:11, David Kessler a écrit :


As of

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/sound/pci/rme9652/hdsp.c?h=v6.8.10

on line 3768 in

|
static  int  snd_hdsp_initialize_memory(struct  hdsp  *hdsp)
{
struct  snd_dma_buffer  *capture_dma,  *playback_dma;

capture_dma  =  snd_hammerfall_get_buffer(hdsp->pci,  
HDSP_DMA_AREA_BYTES);
playback_dma  =  snd_hammerfall_get_buffer(hdsp->pci,  
HDSP_DMA_AREA_BYTES);
if  (!capture_dma  ||  !playback_dma)  {
dev_err(hdsp->card->dev,
"%s: no buffers available\n",  hdsp->card_name);
return  -ENOMEM;
}|

Who is responsible for this? We must have a talk! (:

Le 20.05.24 à 09:07, David Kessler a écrit :
From what I can tell comparing to a working system is that I have all 
needed kernel modules loaded. the oss are indeed no longer needed. 
Thank's for pointing me out.


Here a paste bin with the info I could gather.

https://pastebin.com/dAfDDnkM

The missing interrupt I wonder about and still the no available 
buffer error which returns -12 but also the memory address is stated 
beeing [virtual] on the PI. Is there something wrong with the bus not 
beeing PCI standard compliant?


What my intuition tells me is that the PI is handling the DMA of the 
PCI bus in a different way than other architecture. I am not sure 
what to do as to troubleshoot further /: Read code?


Thank's

Le 19.05.24 à 23:51, Robert M. Riches Jr. a écrit :


Are you sure those are current?  "oss" usually refers to the
open-source-sound that predated ALSA around 25 years ago.

The modinfo description from kernel 5.10.0 for snd-pcm-oss
seems to indicate it's for OSS emulation: "PCM OSS emulation
for ALSA."  For kernel 5.10.0-29-amd64 from Devuan Chimaera,
snd-seq-oss is not even listed.

HTH




___
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


Re: [Alsa-user] snd_hdsp missing on raspberrypi pi 5

2024-05-20 Thread David Kessler

As of

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/sound/pci/rme9652/hdsp.c?h=v6.8.10

on line 3768 in

|

static  int  snd_hdsp_initialize_memory(struct  hdsp  *hdsp)
{
struct  snd_dma_buffer  *capture_dma,  *playback_dma;

capture_dma  =  snd_hammerfall_get_buffer(hdsp->pci,  
HDSP_DMA_AREA_BYTES);
playback_dma  =  snd_hammerfall_get_buffer(hdsp->pci,  
HDSP_DMA_AREA_BYTES);
if  (!capture_dma  ||  !playback_dma)  {
dev_err(hdsp->card->dev,
"%s: no buffers available\n",  hdsp->card_name);
return  -ENOMEM;
}|

Who is responsible for this? We must have a talk! (:

Le 20.05.24 à 09:07, David Kessler a écrit :
From what I can tell comparing to a working system is that I have all 
needed kernel modules loaded. the oss are indeed no longer needed. 
Thank's for pointing me out.


Here a paste bin with the info I could gather.

https://pastebin.com/dAfDDnkM

The missing interrupt I wonder about and still the no available buffer 
error which returns -12 but also the memory address is stated beeing 
[virtual] on the PI. Is there something wrong with the bus not beeing 
PCI standard compliant?


What my intuition tells me is that the PI is handling the DMA of the 
PCI bus in a different way than other architecture. I am not sure what 
to do as to troubleshoot further /: Read code?


Thank's

Le 19.05.24 à 23:51, Robert M. Riches Jr. a écrit :


Are you sure those are current?  "oss" usually refers to the
open-source-sound that predated ALSA around 25 years ago.

The modinfo description from kernel 5.10.0 for snd-pcm-oss
seems to indicate it's for OSS emulation: "PCM OSS emulation
for ALSA."  For kernel 5.10.0-29-amd64 from Devuan Chimaera,
snd-seq-oss is not even listed.

HTH




___
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


Re: [Alsa-user] snd_hdsp missing on raspberrypi pi 5

2024-05-20 Thread David Kessler
From what I can tell comparing to a working system is that I have all 
needed kernel modules loaded. the oss are indeed no longer needed. 
Thank's for pointing me out.


Here a paste bin with the info I could gather.

https://pastebin.com/dAfDDnkM

The missing interrupt I wonder about and still the no available buffer 
error which returns -12 but also the memory address is stated beeing 
[virtual] on the PI. Is there something wrong with the bus not beeing 
PCI standard compliant?


What my intuition tells me is that the PI is handling the DMA of the PCI 
bus in a different way than other architecture. I am not sure what to do 
as to troubleshoot further /: Read code?


Thank's

Le 19.05.24 à 23:51, Robert M. Riches Jr. a écrit :


Are you sure those are current?  "oss" usually refers to the
open-source-sound that predated ALSA around 25 years ago.

The modinfo description from kernel 5.10.0 for snd-pcm-oss
seems to indicate it's for OSS emulation: "PCM OSS emulation
for ALSA."  For kernel 5.10.0-29-amd64 from Devuan Chimaera,
snd-seq-oss is not even listed.

HTH




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


Re: [Alsa-user] snd_hdsp missing on raspberrypi pi 5

2024-05-19 Thread Robert M. Riches Jr.
Are you sure those are current?  "oss" usually refers to the
open-source-sound that predated ALSA around 25 years ago.

The modinfo description from kernel 5.10.0 for snd-pcm-oss
seems to indicate it's for OSS emulation: "PCM OSS emulation
for ALSA."  For kernel 5.10.0-29-amd64 from Devuan Chimaera,
snd-seq-oss is not even listed.

HTH

-- 
Robert Riches
[email protected]
(Yes, that is one of my email addresses.)



 Original Message 
> Message-ID: 
> Date: Sun, 19 May 2024 20:51:34 +0200
> To: [email protected]
> From: David Kessler 
> Subject: Re: [Alsa-user] snd_hdsp missing on raspberrypi pi 5

> I suspect I am missing some modules. Respecively snd-pcm-oss and 
> snd-seq-oss. I am trying to find clues about where to enable it in 
> menuconfig. It was easier for snd-hdsp (:
> 
> Hope this will work! I can feel it is close but I am waiting to be 
> disappointed also...
> 
> Have a nice day!
> 
> Le 19.05.24 à 19:40, David Kessler a écrit :
> >
> > 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.00] 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=0x3fc0 vc_mem.mem_size=0x4000 
> >  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 :02:01.0: enabling device ( -> 0002)
> > [    2.912961] snd_hdsp :02:01.0: RME Hammerfall DSP: no buffers 
> > available
> > [    2.912981] snd_hdsp: probe of :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
> >>> :00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe 
> >>> Bridge (rev 21)
> >>> :01:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe 
> >>> to PCI Bridge (rev 04)
> >>> :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 :02:01.0: [10ee:3fc5] type 00 class 0x040100 
> >>> conventional PCI endpoint
> >>> [    2.326482] pci :02:01.0: BAR 0 [mem 0x1b-0x1b]
> >>> [    2.365346] pci :02:01.0: BAR 0 [mem 
> >>> 0x1b-0x1b]: 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 o

Re: [Alsa-user] snd_hdsp missing on raspberrypi pi 5

2024-05-19 Thread David Kessler
I suspect I am missing some modules. Respecively snd-pcm-oss and 
snd-seq-oss. I am trying to find clues about where to enable it in 
menuconfig. It was easier for snd-hdsp (:


Hope this will work! I can feel it is close but I am waiting to be 
disappointed also...


Have a nice day!

Le 19.05.24 à 19:40, David Kessler a écrit :


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.00] 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=0x3fc0 vc_mem.mem_size=0x4000 
 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 :02:01.0: enabling device ( -> 0002)
[    2.912961] snd_hdsp :02:01.0: RME Hammerfall DSP: no buffers 
available

[    2.912981] snd_hdsp: probe of :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
:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe 
Bridge (rev 21)
:01:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe 
to PCI Bridge (rev 04)
: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 :02:01.0: [10ee:3fc5] type 00 class 0x040100 
conventional PCI endpoint

[    2.326482] pci :02:01.0: BAR 0 [mem 0x1b-0x1b]
[    2.365346] pci :02:01.0: BAR 0 [mem 
0x1b-0x1b]: 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



___
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


Re: [Alsa-user] snd_hdsp missing on raspberrypi pi 5

2024-05-19 Thread David Kessler
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.00] 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=0x3fc0 vc_mem.mem_size=0x4000 
 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 :02:01.0: enabling device ( -> 0002)
[    2.912961] snd_hdsp :02:01.0: RME Hammerfall DSP: no buffers 
available

[    2.912981] snd_hdsp: probe of :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
:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe 
Bridge (rev 21)
:01:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to 
PCI Bridge (rev 04)
: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 :02:01.0: [10ee:3fc5] type 00 class 0x040100 
conventional PCI endpoint

[    2.326482] pci :02:01.0: BAR 0 [mem 0x1b-0x1b]
[    2.365346] pci :02:01.0: BAR 0 [mem 
0x1b-0x1b]: 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___
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] snd_hdsp missing on raspberrypi pi 5

2024-05-19 Thread David Kessler
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
:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe 
Bridge (rev 21)
:01:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to 
PCI Bridge (rev 04)
: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 :02:01.0: [10ee:3fc5] type 00 class 0x040100 
conventional PCI endpoint

[    2.326482] pci :02:01.0: BAR 0 [mem 0x1b-0x1b]
[    2.365346] pci :02:01.0: BAR 0 [mem 
0x1b-0x1b]: 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


Re: [Alsa-user] snd_hdsp missing on raspberrypi pi 5

2024-05-19 Thread David Kessler

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
:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe 
Bridge (rev 21)
:01:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to 
PCI Bridge (rev 04)
: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 :02:01.0: [10ee:3fc5] type 00 class 0x040100 
conventional PCI endpoint

[    2.326482] pci :02:01.0: BAR 0 [mem 0x1b-0x1b]
[    2.365346] pci :02:01.0: BAR 0 [mem 0x1b-0x1b]: 
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