Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Idea: EMU PCI 10K1 kernel module (Emu PCI soundcards support)
#1
For many years i have a very good sound card - Emu 1616m PCI CardBus edition. IMHO, it is the best sounding interface. Because it has a companion PCI card, it haven’t any chance on RPi for many years. But with RPi 5 times was changed.

I bought RPi5, PCIe extension board for it, PCIe to PCI Riser board and ENE PCI to CardBus interface. And assemble this Frankestein. Smile
Basically, it works until Soundcard detection.

I dig into it and found that kernel of moode audio doesn’t have kernel sound module /lib/modules/6.6.51+rpt-rpi-2712//kernel/sound/pci/emu10k1/snd-emu10k1.ko or similar that works on this soundcard on my Ubuntu PC.


LSPCI looks like this:
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 01)
0000:02:00.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
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


PCI peripheral working good, but audiocard doesn’t appear here.

So, it is real to add such PCI soundcard modules in the kernel?

This sound modules is standart in ALSA. Thought it additionaly need some firmware for audiodock, but it doesn't problem. I have such files and may upload to this forum. It need to be placed in   /lib/firmware/emu

Some urls for info about adding support on Linux:
https://www.alsa-project.org/wiki/Matrix:Module-emu10k1
https://askubuntu.com/questions/264919/h...ith-ubuntu
https://forums.gentoo.org/viewtopic-t-82...art-0.html
Reply
#2
(12-03-2024, 05:51 PM)Player10 Wrote: For many years i have a very good sound card - Emu 1616m PCI CardBus edition. IMHO, it is the best sounding interface. Because it has a companion PCI card, it haven’t any chance on RPi for many years. But with RPi 5 times was changed.

I bought RPi5, PCIe extension board for it, PCIe to PCI Riser board and ENE PCI to CardBus interface. And assemble this Frankestein. Smile
Basically, it works until Soundcard detection.

I dig into it and found that kernel of moode audio doesn’t have kernel sound module /lib/modules/6.6.51+rpt-rpi-2712//kernel/sound/pci/emu10k1/snd-emu10k1.ko or similar that works on this soundcard on my Ubuntu PC.


LSPCI looks like this:
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 01)
0000:02:00.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
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


PCI peripheral working good, but audiocard doesn’t appear here.

So, it is real to add such PCI soundcard modules in the kernel?

This sound modules is standart in ALSA. Thought it additionaly need some firmware for audiodock, but it doesn't problem. I have such files and may upload to this forum. It need to be placed in   /lib/firmware/emu

Some urls for info about adding support on Linux:
https://www.alsa-project.org/wiki/Matrix:Module-emu10k1
https://askubuntu.com/questions/264919/h...ith-ubuntu
https://forums.gentoo.org/viewtopic-t-82...art-0.html

You can always try to manually install (you might need to compile it on the Pi, so maybe the GCC suite needs to be installed, together with the kernel headers too...) the driver on your Pi5 and see if ALSA recognises it... if it does, moOde will probably be happy to use it.
Reply
#3
(12-03-2024, 05:51 PM)Player10 Wrote: For many years i have a very good sound card - Emu 1616m PCI CardBus edition. IMHO, it is the best sounding interface. Because it has a companion PCI card, it haven’t any chance on RPi for many years. But with RPi 5 times was changed.

I bought RPi5, PCIe extension board for it, PCIe to PCI Riser board and ENE PCI to CardBus interface. And assemble this Frankestein. Smile
Basically, it works until Soundcard detection.

I dig into it and found that kernel of moode audio doesn’t have kernel sound module /lib/modules/6.6.51+rpt-rpi-2712//kernel/sound/pci/emu10k1/snd-emu10k1.ko or similar that works on this soundcard on my Ubuntu PC.


LSPCI looks like this:
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 01)
0000:02:00.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
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


PCI peripheral working good, but audiocard doesn’t appear here.

So, it is real to add such PCI soundcard modules in the kernel?

This sound modules is standart in ALSA. Thought it additionaly need some firmware for audiodock, but it doesn't problem. I have such files and may upload to this forum. It need to be placed in   /lib/firmware/emu

Some urls for info about adding support on Linux:
https://www.alsa-project.org/wiki/Matrix:Module-emu10k1
https://askubuntu.com/questions/264919/h...ith-ubuntu
https://forums.gentoo.org/viewtopic-t-82...art-0.html

Thats a really old device circa late 90's or 2000, correct? The sources are in the Raspberry Pi kernel tree but it's not part of their build. Typically this is because the sources won't compile clean, the manufacturer doesn't support the device anymore and test devices aren't available anymore.

My suggestion is to post an issue and ask about it.
https://github.com/raspberrypi/linux/issues?q=

But your best bet is to get a modern audio device. I'm sure it will sound as good or better :-)

If you are in a DIY mood then definitely try the ProtoDAC TDA1387 X8 by Mark Winkler. Information on this fantastic project is at http://moodeaudio.org on the PtotoDAC page.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#4
(12-03-2024, 07:56 PM)Nutul Wrote: You can always try to manually install (you might need to compile it on the Pi, so maybe the GCC suite needs to be installed, together with the kernel headers too...) the driver on your Pi5 and see if ALSA recognises it... if it does, moOde will probably be happy to use it.

Good idea, thanks! I understand, that is a Linux. But I'm not so experienced user to recompile kernel with adding such drivers... Sad Have you one for try? I can try if any manual.
Reply
#5
(12-03-2024, 08:31 PM)Tim Curtis Wrote: Thats a really old device circa late 90's or 2000, correct? The sources are in the Raspberry Pi kernel tree but it's not part of their build. Typically this is because the sources won't compile clean, the manufacturer doesn't support the device anymore and test devices aren't available anymore.

My suggestion is to post an issue and ask about it.
https://github.com/raspberrypi/linux/issues?q=

But your best bet is to get a modern audio device. I'm sure it will sound as good or better :-)

If you are in a DIY mood then definitely try the ProtoDAC TDA1387 X8 by Mark Winkler. Information on this fantastic project is at http://moodeaudio.org on the PtotoDAC page.
Yes, i m buyd it used in 2009 from home studio. But it has very good sound. However potentially it need to rebuild with new capacitors....
I'm good with soldering and DIY, ProtoDAC project is interesting for me. If i can found place where buy a kit to assembly, i will try.
Reply


Forum Jump: