Hi Giso and others.<br><br>If you read the thread at alsa-devel - you refered to below - it seems that more people were facing this issue already in 2003.<br><br>It seems that the whole thing works only, if you use the default setting/routing. <br>
<br>Currently at factory default  HDSPmixer routes the first playback
channel to the first Adat output, which happens to sit right below
playback out1/out2 in the HDSPmixer graphics.<br><br><br>Correspondingly this  would mean I need to use an Alsaplayback channel out 13/14  to get to AN3+4. I think it is worth a try.<br>But - how do I output data to alsa-playback channel 13/14 on my device 0 ? I am using ecasound and alsaoutput 0,0 right now for out1/out2. No idea how to assign 13/14.<br>
<br>Since the earlier discussed amixer method won&#39;t work -- at least in my case - I am wondering if the commands <br><br>/usr/bin/amixer -c 0 cset numid=5 26,2,32768  <br>
/usr/bin/amixer -c 0 cset numid=5 27,3,32768  <br><br>reflect the HDSP logic:<br><br>The logic in HDSPmixer to setup the route from Alsa Out1/Out2 to my AN3+4 output:<br><br>1. Assign playback channels Out1/Out2 to AN3+4 output channels. This will automatically mute playback channels out1/out2 . Now you need to unmute the playback channels. <br>
Only this action will activate the new outputs. ( This you&#39;ll see if you look in the HW-output selection field)<br><br>The output channels AN3+AN4 themselves run at 100% or 0db at factory default. No need to touch them. However would be nice to know how to control these with amixer.<br>
<br>(Note: What&#39;s strange though playback output 15/16 is muted by default!?!)<br><br>Were not yet ready:<br><br>To get rid of a connection e.g. the default Adat routing, since now traffic is routed to AN3+4 AND Adat A1+2 you:<br>
<br>2. Select the Adat channels A1/A2 on playback channel Out1/Out2. Now you mute and then unmute manually playback channels Out1/Out2. Without this manual action nothing will change.<br>   No idea how to do that with amixer.<br>
<br>The mute/unmute of playback outputs seem to play fundamental role in the routing process. Perhaps something in this area goes wrong. Again: Is there a way to explicitely control  channel<br>volume with amixer?<br><br>
( Beside that I figured that  &quot;mute&quot; on MASTER and Playback Outs, does not work at all with HDSPmixer)<br><br>Cheers<br>\Klaus<br><br><br><br><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">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 class="im"><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 class="im"><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 class="im"><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>