I managed to get a basic routing working! I wrote a script which initializes the entire matrix, connects one after another every input to every output and plays a sound per setting.
I identified my alsainputs on 16/17 and analog outputs on 12/13 for my analog extension board (out1 out2).
This has not very much to do with the channel assignment I've seen everywhere.
With the script I can easily scan my setup now.
Finally I need to find out how to get more then 2 channels from Alsa to the same card without using Jack.
The pity is really that I can not control the attenuation on the hw-outputs with amixer. I'll do that on the application side.
THX for all the hints so far.
Cheers
\Klaus
On Fri, Oct 23, 2009 at 9:16 AM, Giso Grimm <gg3137@xxxxxxxxx> wrote:
Hi Klaus,
I hope you don't mind that I copy the reply to LAU (there are a lot RME
hdsp-users who probably know more about it that I do).
It is not defined in the .asoundrc, but on ALSA itself: Try "cat
Klaus Schulz wrote:
> 1. Could you please share your .asoundrc. I guess it is the .asoundrc
> where you set "DSP".
/proc/asound/cards" and find out the ALSA-name of your card, e.g. here
on my office PC it is:
0 [PAD ]: Digi96 - RME Digi96/8 PAD
RME Digi96/8 PAD at 0xfd000000, irq 21
1 [DSP ]: H-DSP - Hammerfall DSP
RME Hammerfall HDSP 9632 at 0xfeae0000, irq 21
2 [ICH5 ]: ICH4 - Intel ICH5
Intel ICH5 with AD1985 at irq 17
(the hdsp9652 is at home).
The mixer in the hdsp cards can control routing from hardware inputs to
> 2. 32768=0db refers to the playback controls, They run at 0db@32768
> and +6db@64k
> However this seems to be somewhat different on the ouptuts. 0db=max
> position. I'd guess this should be 64k by default.
> Question: What do I actually control with below commands? I guess
> the playback-inputs only. How do I control the output channels?
> Probably I need to set it to 0db to.
hardware outputs (for 'zero' latency monitoring) and the software output
to hardware outputs.
Hardware inputs are channels 0-25, software outputs 26-51, hardware
outputs 0-25. I don't think you can control the playback attenuation
with amixer. It might be (but that is a guess) that hdspmixer attenuates
the output channels only in software (by adding the output attenuation
to all relevant input/playback channels); When controlling only via
amixer I do not have to configure the output attenuation.
The channel mapping is also discussed here:
http://www.mail-archive.com/alsa-devel@xxxxxxxxxxxxxxxxxxxxx/msg06019.html
The channel numbering starts with zero. I do not know if the extension
> 3. I tried without success:
>
> /usr/bin/amixer -c 0 cset numid=5 26,2,32768 #first playbackchannel to
> first output of analog extension board (ch2)
> /usr/bin/amixer -c 0 cset numid=5 27,3,32768 #first playbackchannel to
> first output of analog extension board (ch3)
board uses the same channels as ADAT out, maybe try also channels 8-15.
Cheers!
Giso
_______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user