Re: GUI hdspmixer necessary for HDSP 9652?!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Reposting to whole list. Ooops]

Hi Christian,

I cannot help you with item 1. However, item 2 was something that bit
me when I wanted a headless setup using a HDSP9652. I agree, things
are pretty clunky. I believe it is a safety feature that all of the
hardware mixer values are set to 0 at startup. hdspmixer does indeed
set these to more useful values when run. Thankfully, there is support
for setting the matrix mixer settings in amixer as well. I had a
script that I ran at startup which set things how I needed. The
numbering of the channels may make you scratch your head for a few
minutes :)

Behold! The following:


#!/bin/sh

# Route software outputs 9-16 to the ADA8000 (on ADAT2 Out)
/usr/bin/amixer -q cset numid=5 34,8,32768
/usr/bin/amixer -q cset numid=5 35,9,32768
/usr/bin/amixer -q cset numid=5 36,10,32768
/usr/bin/amixer -q cset numid=5 37,11,32768
/usr/bin/amixer -q cset numid=5 38,12,32768
/usr/bin/amixer -q cset numid=5 39,13,32768
/usr/bin/amixer -q cset numid=5 40,14,32768
/usr/bin/amixer -q cset numid=5 41,15,32768

# Route the ADAT output of the ADA8000 (on ADAT2 In) to the other
machine (on ADAT3 Out)
/usr/bin/amixer -q cset numid=5 8,16,32768
/usr/bin/amixer -q cset numid=5 9,17,32768
/usr/bin/amixer -q cset numid=5 10,18,32768
/usr/bin/amixer -q cset numid=5 11,19,32768
/usr/bin/amixer -q cset numid=5 12,20,32768
/usr/bin/amixer -q cset numid=5 13,21,32768
/usr/bin/amixer -q cset numid=5 14,22,32768
/usr/bin/amixer -q cset numid=5 15,23,32768

# Route channels 1&2 from the other machine (on ADAT3 In) to the S/PDIF output
/usr/bin/amixer -q cset numid=5 16,24,32768
/usr/bin/amixer -q cset numid=5 17,25,32768
# Also route the S/PDIF playback channels (50 & 51) to the S/PDIF
output (24 & 25)
/usr/bin/amixer -q cset numid=5 50,24,32768
/usr/bin/amixer -q cset numid=5 51,25,32768


# Set the clock source to Master 44.1kHz
/usr/bin/amixer -q cset numid=11 2

# Set the preferred sync reference to ADAT2In
/usr/bin/amixer -q cset numid=14 4

# Set the ADAT1 input to be S/PDIF
/usr/bin/amixer -q cset numid=6 0

# Set ADAT1 output to be S/PDIF
/usr/bin/amixer -q cset numid=7 on

# Set Professional bit on S/PDIF output
/usr/bin/amixer -q cset numid=8 on


Hope this helps!
Matt

On 1 March 2013 13:47, Schmidt, Christian Thorge <cts@xxxxxxxxxxxx> wrote:
> Hello all,
>
> I have an RME HDSP 9652 PCI card[1] installed unter Ubuntu 12.04.1[2],
> kernel 3.2.0-33-generic-pae [3].
>
> There's two things I need help with:
>
> 1. Is there a way to use the ADAT outputs of the card under "pure"
> ALSA, without jackd? For now I start up jackd and get
> system:playback_1 through system:playback_26 but I would very much
> like to just use (mplayer-style) hw:0.0 through hw:0.25 - any
> ideas/any alsa config files that would help me with this?
>
> 2. Using jack, I need to start up hdspmixer to hear any sound -
> without starting it I see all the jackd outputs, all the jackd inputs,
> the routing is ok - but no sound. Starting up hdspmixer gives me sound
> on my Behringer ADAT-to-analog outputs.
> I suppose hdspmixer sets the volume - I'd like to do this without X
> and, most important, without user interaction. So can I copy/activate
> the volume settings the same way hdspmixer does from the commandline?
>
> Thanks for your help,
> Christian.
>
> [1]: 01:0a.0 Multimedia audio controller: Xilinx Corporation RME
> Hammerfall DSP (rev 6c)
> [2]: Ubuntu 12.04.1 LTS
> [3]: Linux music 3.2.0-33-generic-pae #52-Ubuntu SMP Thu Oct 18
> 16:39:21 UTC 2012 i686 athlon i386 GNU/Linux
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Alsa-user mailing list
> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/alsa-user

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux