[alsa-devel] RME HDSPe Raydat

Dougall Irving dougall.irving at versonic.com
Mon Feb 1 09:27:50 CET 2010

I've been trying to get an RME HDSPe Raydat working.  I've installed
the latest firmware on the card using the Windows firmware uploader.
The stock hdspm module in ALSA version doesn't work

The first problem I found is that external ADAT equipment were not
able to sync with RME adat outputs.  Following some old alsa code
posted on another site, I changed the HDSPM_freqReg to 100 MHz
(instead of 105) and found that I could get external equipment to sync
to the raydat at 48kHz.

The second issue I had was the audio output was turning on and off
every second.  I found if I changed the .params to only use float 32
instead of int 32 and I forced the card to use precise pointer I could
get continuous audio but only with larger buffer sizes.  I get a quite
a few buffer underruns also.  With smaller buffer sizes I get silence.

There is a comment in the code which don't follow.  I wonder if there
is an issue with this code....

/* hwpointer comes in bytes and is 64Bytes accurate (by docu since
	   PCI Burst)
	   i have experimented that it is at most 64 Byte to much for playing
	   so substraction of 64 byte should be ok for ALSA, but use it only
	   for application where you know what you do since if you come to
	   near with record pointer it can be a disaster */

	position &= HDSPM_BufferPositionMask;
	position = ((position - 64) % (2 * hdspm->period_bytes)) / 4;

Does anyone have any suggestions or ideas for debugging these
problems?  Is there any information RME from available?

Alternatively, has anyone had success with this card and earlier
firmware revisions?

More information about the Alsa-devel mailing list