Hi Giso and others.<br><br>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.<br>I identified my alsainputs on 16/17 and analog outputs on 12/13 for my analog extension board (out1 out2).<br>
<br>This has not very much to do with the channel assignment I&#39;ve seen everywhere. <br><br>With the script I can easily scan my setup now.<br><br>Finally I need to find out how to get more then 2 channels from Alsa to the same card without using Jack.<br>
<br>The pity is really that I can not control the attenuation on the hw-outputs with amixer. I&#39;ll do that on the application side.<br><br>THX for all the hints so far.<br><br>Cheers<br>\Klaus<br><br><br><br><div class="gmail_quote">
On Fri, Oct 23, 2009 at 9:16 AM, Giso Grimm <span dir="ltr">&lt;<a href="mailto:gg3137@vegri.net" target="_blank">gg3137@vegri.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Klaus,<br>
<br>
I hope you don&#39;t mind that I copy the reply to LAU (there are a lot RME<br>
hdsp-users who probably know more about it that I do).<br>
<div><br>
<br>
Klaus Schulz wrote:<br>
&gt; 1. Could you please share your .asoundrc. I guess it is the .asoundrc<br>
&gt; where you set &quot;DSP&quot;.<br>
<br>
</div>It is not defined in the .asoundrc, but on ALSA itself: Try &quot;cat<br>
/proc/asound/cards&quot; and find out the ALSA-name of your card, e.g. here<br>
on my office PC it is:<br>
<br>
 0 [PAD            ]: Digi96 - RME Digi96/8 PAD<br>
                      RME Digi96/8 PAD at 0xfd000000, irq 21<br>
 1 [DSP            ]: H-DSP - Hammerfall DSP<br>
                      RME Hammerfall HDSP 9632 at 0xfeae0000, irq 21<br>
 2 [ICH5           ]: ICH4 - Intel ICH5<br>
                      Intel ICH5 with AD1985 at irq 17<br>
<br>
(the hdsp9652 is at home).<br>
<div><br>
&gt; 2. 32768=0db  refers to the playback controls, They  run at 0db@32768<br>
&gt; and +6db@64k<br>
&gt;     However  this seems to be somewhat different on the ouptuts. 0db=max<br>
&gt; position. I&#39;d guess this should be 64k by default.<br>
&gt;     Question: What do I actually control with below commands? I guess<br>
&gt; the playback-inputs  only. How do I control the output channels?<br>
&gt; Probably I need to set it to 0db to.<br>
<br>
</div>The mixer in the hdsp cards can control routing from hardware inputs to<br>
hardware outputs (for &#39;zero&#39; latency monitoring) and the software output<br>
to hardware outputs.<br>
<br>
Hardware inputs are channels 0-25, software outputs 26-51, hardware<br>
outputs 0-25. I don&#39;t think you can control the playback attenuation<br>
with amixer. It might be (but that is a guess) that hdspmixer attenuates<br>
the output channels only in software (by adding the output attenuation<br>
to all relevant input/playback channels); When controlling only via<br>
amixer I do not have to configure the output attenuation.<br>
<br>
The channel mapping is also discussed here:<br>
<br>
<a href="http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg06019.html" target="_blank">http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg06019.html</a><br>
<div><br>
&gt; 3. I tried without success:<br>
&gt;<br>
&gt; /usr/bin/amixer -c 0 cset numid=5 26,2,32768  #first playbackchannel to<br>
&gt; first output of analog extension board (ch2)<br>
&gt; /usr/bin/amixer -c 0 cset numid=5 27,3,32768  #first playbackchannel to<br>
&gt; first output of analog extension board (ch3)<br>
<br>
</div>The channel numbering starts with zero. I do not know if the extension<br>
board uses the same channels as ADAT out, maybe try also channels 8-15.<br>
<br>
<br>
Cheers!<br>
<font color="#888888"><br>
Giso<br>
</font></blockquote></div><br>