Re: RME HDSP 9632 - amixer control

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

 



Hi,

it is possible to control the hdsp mixer via amixer. Here is what I use
to route software out 1+2 to ADAT1 1+2 and SPDIF (on an HDSP 9652), it
is part of /etc/rc.local:

/usr/bin/amixer -q -D hw:DSP cset numid=5 26,24,32768
/usr/bin/amixer -q -D hw:DSP cset numid=5 27,25,32768
/usr/bin/amixer -q -D hw:DSP cset numid=5 26,0,32768
/usr/bin/amixer -q -D hw:DSP cset numid=5 27,1,32768

The syntax is "source channel,target channel,gain", where source channel
is 0-25 = hardware in, 26-51 = software-out, and hardware channel 0-25
is hardware out (all on hdsp9652, but it is nearly the same on hdsp9632
and multiface). The gain is 32768 for maximum. I forgot, but sometimes
this means 0 dB and sometimes it means +6 dB.

Once I was thinking of implementing a command line application of
hdspmixer with OSC interface, however I gave up because I don't need it
any more (and most of it is supported by amixer). And if I remember well
Florian Faber mentioned that he was implementing something similar.

-- Giso


Klaus Schulz wrote:
> Hello all.
> 
> I am new to the list. However I am not new to the Linux audio community. ;)
> 
> Strange though that I never really heard/read about it. Anyhow -- here I
> am.
> 
> 
> Let see if I can find a solution to my challenge.
> 
> I am running latest Alsa 1.0.21b. I just installed a RME HDSP 9632.
> 
> My challenge:  The machine is supposed to run headless.
> 
> This requires an automatic activation of the card. Some channels and
> volume have to be initialized during  startup without X being up and
> running.
> 
> As it seems without starting up HDSPmixer incl. preset it is not
> possible to get the card going.
> 
> However: The amixer control seems to allow to control the "Mixer"
> control with three variables.
> 
> I do not have a clue how to do the intital setting via amixer - is it
> possible at all - what logic is behind it?
> 
> Would be great if somebody could sched some light on the subject.
> Interesting to know would be how to achieve a "neutral" setting in terms
> of volume control. And how to read out the current status.
> 
> 
> THX a lot
> 
> \Klaus
> 
> P.S. Anybody ever thought to transfer HDSPMixer  to commandline/ncurses?
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux