Topic: HDSP MADI card with the 1.0.24 alsa driver

Hi All!

I've got an RME HDSPe MADI card with the 1.0.23 alsa driver. All works perfectly except the MIDI over MADI technology. So, i would like install the 1.0.24 alsa driver which supply the MIDI over MADI.

To begin, I've setted up the following packages: alsa-driver-1.0.24, alsa-lib-1.0.24.1, alsa-utils-1.0.24.2. The installation has succeed and the command "amidi -l" shows the new MIDI port: the MIDI over MADI port.

But... the playing function no longer work...
I've tried to play a file with "aplay" but the playing is hatched and too fast. Also, my own playing application does not work.
I meet this problem with the two drivers 1.0.24 and 1.0.25, and with my two PC (Ubuntu 10.04 and CentOS 5.5).
The alsamixer 1.0.24/1.0.25 settings are the same as with alsamixer 1.0.23.
But, the playing doesn't work correctly with the 1.0.24/1.0.25 alsa driver.

Someone can help me to solve this issue?

I thank you in advance!

Re: HDSP MADI card with the 1.0.24 alsa driver

Here you’ll find a test case to reproduce the play issue.

VERSION
Operating System: Ubuntu 10.04 LTS
Kernel: Linux Serveur-Video 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010 x86_64 GNU/Linu
Alsa: Advanced Linux Sound Architecture Driver Version 1.0.24.
Compiled on Feb  8 2012 for kernel 2.6.32-21-generic (SMP).
Installed packages: alsa-lib-1.0.24.1, alsa-driver-1.0.24, alsa-tools-1.0.24.1, alsa-utils-1.0.24.2

SETTINGS
RME MADI (Card #2) Rev.d2 Status2first3bits: 1
HW Serial: 0x000001e62142
IRQ: 16 Registers bus: 0xf9ff0000 VM: 0xffffc900128e0000
--- System ---
IRQ Pending: Audio=0, MIDI0=0, MIDI1=0, IRQcount=6275
HW pointer: id = 0, rawptr = 27648 (3072->3008) estimated= 27648 (bytes)
MIDI FIFO: Out1=0x0, Out2=0x0, In1=0x0, In2=0x0
MIDIoverMADI FIFO: In=0xf, Out=0x0
Register: ctrl1=0x1010ce9, ctrl2=0x0, status1=0xc46c0a, status2=0xc0020161
No TCO module detected.
--- Settings ---
Size (Latency): 1024 samples (2 periods of 4096 bytes)
Line out: on
ClearTrackMarker = off, Transmit in 64 Channel Mode, Auto Input on
AutoSync Reference: AutoSync
Preferred Sync Reference: MADI Sync
System Clock Frequency: 48000
--- Status:
Inputs MADI=Sync, WordClock=NoLock
AutoSync: Reference= MADI Sync, Freq=48000 (MADI = 3, Word = 3)
Input: Optical, Mode=64 channels

TEST
$ aplay -Dplughw:1 /Stockage_1/HDSP_MADI/audio/FLB_Act_Lik_You_Know.wav

Playing WAVE '/Stockage_1/HDSP_MADI/audio/FLB_Act_Lik_You_Know.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

RESULT
KO: the sound is very bad and hatched. The music cannot be recognized.

I’ve tried this test with others OS and ALSA VERSION. The SETTINGS are the same and the TEST too:
Ubuntu 10.04 LTS x86_64 and ALSA 1.0.23 : RESULT OK
Ubuntu 10.04 LTS x86_64 and ALSA 1.0.24 : RESULT KO
Ubuntu 10.04 LTS x86_64 and ALSA 1.0.25 : RESULT KO
Ubuntu 10.04 LTS i686 and ALSA 1.0.23 : RESULT OK
Ubuntu 10.04 LTS i686 and ALSA 1.0.24 : RESULT KO
Ubuntu 10.04 LTS i686 and ALSA 1.0.25 : RESULT KO
CentOS 5.5 i686 and ALSA 1.0.23 : RESULT OK
CentOS 5.5 i686 and ALSA 1.0.24 : RESULT KO
CentOS 5.5 i686 and ALSA 1.0.25 : RESULT KO