BBB: debian armhf with ALSA + MIDI

After through investigation I did realize that on debian-wheezy-7.2-armhf-3.8.13-bone30 ALSA is not configured to support MIDI at all.

There could be a chance that this issue could be fixed in next releases?

Actually I can live happy even with the ALSA rawmidi on Angstrom (which misses the snd-seq modules), but my Raspberry friends (with RaspBian 2013-09-25, wheezy-7.2, kernel 3.6) have a full ALSA MIDI experience that is very appealing...

regards

the kernel dev tree is:
https://github.com/RobertCNelson/linux-dev/tree/am33x-v3.8

config patches welcome, so long as you verify the config change and it
still boots..

Regards

errr, ehm, you are right, but for me it's like night driving in the fog wearing sunglasses...

regards

Ahh, actually midi/SND_SEQUENCER is enabled:

https://github.com/RobertCNelson/linux-dev/blob/am33x-v3.8/patches/defconfig#L3147

What do you actually need?

Regards,

I gess that the following items are the most important, don't know what does mean that =m tag...

CONFIG_SND_SEQUENCER=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_RAWMIDI_SEQ=m
# CONFIG_SND_VIRMIDI is not set

The image that I tested was of november, 20.
Now I see that the current is of november, 29.
I'm going to download it and re-test. I'll report back soon.

many thanks

m= external module

Regards,

Ahh, actually midi/SND_SEQUENCER is enabled:

https://github.com/RobertCNelson/linux-dev/blob/am33x-v3.8/patches/defcon
fig#L3147

What do you actually need?

I gess that the following items are the most important, don't know what
does mean that =m tag...

m means it is a kernel module that was not built as part of the kernel.
You have to use insmod or modprobe to install the kernel module from the
command line on your BeagleBone. You can also use lsmod to see what kernel
modules have been installed. Best to buy a Linux Kernel book or Linux
Device Driver book to learn how this works.
Regards,
John

I am out of ti product for several months , I am not sure , but as I understand , MIDI hardware is not support on MCASP ??

If I am wrong , please correct me, I will be glad to learn how to use MIDI on MCASP

Regards

ok, here I am, downloaded the new image, extracted to my mSD card, inserted into the BBB mSlot, powered the BBB (while pressing boot button), connected via ssh (user debian, password debian), I got the system live and working. Here a quick report:

test 1: is there ALSA?
$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version k3.8.13-bone30.

test 2: what devices there are?
$ cat /proc/asound/devices
   2: [ 0- 0]: digital audio playback
   3: [ 0] : control
  33: : timer

test 3: list asound diretory
$ ls /proc/asound/
Black card0 cards devices oss pcm seq timers version

now insert USB MIDI interface into USB connector:

test 4: look at the changes
$ ls /proc/asound
Black card0 card1 cards devices hwdep IO oss pcm seq timers version

test 5: do we have new devices?
$ cat /proc/asound/devices
   1: : sequencer
   2: [ 0- 0]: digital audio playback
   3: [ 0] : control
   4: [ 1- 0]: raw midi
   5: [ 1] : control
  33: : timer

...

Then, we are ready to apt-get install alsa-utils and run amidi, aconnect, aplaymidi and arecordmidi with success.

I finally tested quickly aseqnet with no errors (connections only). Only snd-virmidi module is missing.

For me it is quite enough, it's ok, strange that to use alsa-utils commands I need to be root, but I understand that this is has only to do with to Debian's paranoya about security issues.

well done, Robert, thank you!

Maybe there are others here that can enjoy about this big step?

regards

Laughs, all these bugs people report with the "armhf.com" images i've
fixed a LONG LONG time ago...

Default group: audio
https://github.com/RobertCNelson/omap-image-builder/blob/master/scripts/chroot.sh#L585

But people like to waste time. :wink:

Regards,

err one more thing, please,

By now, I'm going to boot Debian from the card without have to press the boot button everytime (only two arms here), is it possible, maybe consciously modifying the uEnv.txt file in the small FAT partition?

regards

Laughs, all these bugs people report with the “armhf.com” images i’ve
fixed a LONG LONG time ago…

Default group: audio
https://github.com/RobertCNelson/omap-image-builder/blob/master/scripts/chroot.sh#L585

err one more thing, please,

By now, I’m going to boot Debian from the card without have to press the boot button everytime (only two arms here), is it possible, maybe consciously modifying the uEnv.txt file in the small FAT partition?

Yet again my image I linked to does that…