[alsa-devel] writing an alsa driver

Antonio Ospite ao2 at ao2.it
Wed Jun 24 13:31:26 CEST 2015


On Wed, 24 Jun 2015 15:51:57 +0530
Vinod Koul <vinod.koul at intel.com> wrote:

[...]
> For Playback you can try:
> 
> #DSP routing
> amixer -c0 sset 'codec_out0 mix 0 pcm0_in' on
> amixer -c0 sset 'media0_out mix 0 media1_in' on
> amixer -c0 sset 'media1_in Gain 0' 80% 
> amixer -c0 sset 'media1_in Gain 0 Ramp Delay' 50
> amixer -c0 sset 'media1_in Gain 0' off
> amixer -c0 sset 'pcm0_in Gain 0' 80% 
> amixer -c0 sset 'pcm0_in Gain 0 Ramp Delay' 50
> amixer -c0 sset 'pcm0_in Gain 0' off
> amixer -c0 sset 'codec_out0 Gain 0' 80%
> amixer -c0 sset 'codec_out0 Gain 0 Ramp Delay' 50
> amixer -c0 sset 'codec_out0 Gain 0' off
> 
> #Codec routin, if you have different one please modfiy
> amixer -c0 sset "DAC MIXL INF1" on
> amixer -c0 sset "DAC MIXR INF1" on
> amixer -c0 sset "Stereo DAC MIXL DAC L1" on
> amixer -c0 sset "Stereo DAC MIXR DAC R1" on
> amixer -c0 sset "SPK MIXL DAC L1" on
> amixer -c0 sset "SPK MIXR DAC R1" on
> amixer -c0 sset "SPOL MIX SPKVOL L" on
> amixer -c0 sset "SPOR MIX SPKVOL R" on
> amixer -c0 sset "SPOL MIX DAC L1" on
> amixer -c0 sset "SPOR MIX DAC R1" on
> amixer -c0 sset "Speaker L" on
> amixer -c0 sset "Speaker R" on
> amixer -c0 sset "Headphone" off
> amixer -c0 sset "Ext Spk" on
> 
> I have used this in T100.
> 

OK, I guess this answers my request for a state file :)
I had not read this message yet when I wrote the other one.

Thanks,
   Antonio

-- 
Antonio Ospite
http://ao2.it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?


More information about the Alsa-devel mailing list