I am exploring midi/audio projects with my Galileo board and a few USB connected midi/audio devices. While audio seems working properly after installation of ALSA and connection of USB audio card, I am not able to get midi working. I am using FluidSynth and i get this error message:
open /dev/snd/seq failed: No such file or directory
can't open sequencer
It seems that the snd-seq module is not included in the current build as it is not listed in /lib/modules/3.8.7-yocto-standard/kernel/sound/core
I am currently using the standard Yocto image provided on the Intel Galileo website.
I think I am not enough experienced to create my own image, but I don't know if there is a way to add a module to an existing one.
Any comment will be appreciated!
Thank you for contacting us.
It seems that the alsa-oss module is missing, you can try to install it from source following this guide: http://alsa.opensrc.org/Quick_Install. I hope you can do it.
Let us know if it works.
Thank you for your reply. I started looking at this approach a few days ago but I wasn't able to complete the full procedure. In the next few days I will have a look at it again.
I will let you know about my progress.
I have tried compiling and installing the OSS modules but this is not solving the issue as some features are still partially relying on the snd-seq module.
I presume it is necessary to compile the main ALSA driver with the option "
--with-sequencer=yes". Maybe this is not a standard option and the ALSA driver of the Yocto image has been compiled without it.
The problem is that these drivers are included in the kernel from v2.6 and I have too little knowledge on how to do it without messing up everything else.
Do you think there is a way to work on the main ALSA driver by itself?
Thank you for your help,
I'm not sure if it is possible, I think that the only way to make this is creating a custom image. You can check these links for more information:
Have a nice day.
Do you think it is worth trying this way before generating a new image?
It requires the full kernel source and gcc therefore i think I need to increase the size of the partition on the SD card.
Otherwise I will use this approach to create a new image:
http://alextgalileo.altervista.org/blog/reconfiguring-linux-kernel-adding-drivers-galileos-linux-ima... Reconfiguring Linux kernel and adding drivers into Galileo's Linux image
But it is still not clear to me at which step I need to modify the ALSA configuration to make sure the snd-seq module is generated.
You can try that method first, maybe it can work but I can't assure you that it will.
About configuring the kernel, well it is out of our support and I'm not familiar with it (you can try to contact the author of the guide) and you can also check these links:
There are a lot of images that can work for your case, and check the Yocto documentation ( https://www.yoctoproject.org/documentation).
I hope this works for you.
Have a nice weekend.