I finally came up with a recipe for this, but it could probably be trimmed down.
Let me know if you try it, I'd be happy for any feedback.
Making the Hammerfall card default in xubuntu
---------------------------------------------------------------------
Setup:
xubuntu 12.04
RME Hammerfall Multiface II (PCI variant, not PCIe)
Assuming you have installed firmware, run hdsploader + hdspmixer as
usual.
aplay -l now should recognize the card as DSP. In my case I see
0:Intel
1:DSP Hammerfall
2:Nvidia
3:Nvidia_1
so to play a sound I can use
aplay -D plughw:1,0 test.wav
(plughw seems necessary, only hw will not work)
Now, to make the DSP card default and sorted at location 0 I performed
these 9 steps.
1. Edit Xfconf settings:
http://askubuntu.com/questions/130927/h … in-xubuntu
2. Remove pulseaudio, use only alsa.
http://www.hecticgeek.com/2012/01/how-t … ntu-linux/
3. Remove package gstreamer0.10-plugins-good
(older distros call it gstreamer-pulse)
4. Create $HOME/.asoundrc as below, using 0 & 0 for card & device.
(Don't care about the cards real position at this point)
pcm.!default {
type plug slave.pcm {
type hw card 0 device 0
}
}
5. Now check again the cards position with aplay -l
For me the order now is
0:Intel
1:Nvidia
2:Nvidia_1
3:DSP Hammerfall
6. Restart alsa:
sudo alsa force-reload
(other distros use other commands, like /etc/init.d/alsasound restart)
7. (Weird) repeat step 5 + 6 and the DSP card position now toggles
between 0 & 3 with every alsa force-reload. So just reload alsa until
DSP position is 0 which now matches your .asoundrc.
8. Run hdspmixer to unmute the card, because every reload will mute it.
9. Done! Test by a simple 'aplay test.wav'
Final remark: if you want to try unload and reload the firmware by
rebooting, make sure you shut down your machine properly. Only
restarting will not work because the card will still have power from
the firewire cable.