This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

audio path setting(omap4460 connect with twl6040)

Other Parts Discussed in Thread: TWL6040

Dear Sir,

I would like to use Blaze board to verify the audio path functionality from HS mic to headphone/headset output(UL to DL1), below is the link what I refer to,

http://omappedia.org/wiki/File:ASoC_ABE_controls.jpg

http://omappedia.org/wiki/File:ASoC_ABE_volumes.jpg

and the commands I used as below,

tinymix 50 1             

tinymix 51 1             

tinymix 9  126           

tinymix 72 "HS DAC"      

tinymix 73 "HS DAC"     

tinymix 67 13           

tinymix 36 1            

tinymix 23 120          

tinymix 63 "None"        

tinymix 62 "None"        

tinymix 55 "AMic0"       

tinymix 54 "AMic1"       

tinymix 20 130           

tinymix 77 "Headset Mic" 

tinymix 76 "Headset Mic"

tinymix 64 1             

tinymix 65 4             

tinymix 24 0             

tinymix 25 0            

tinymix 26 0             

tinymix 33 0             

tinymix 71 0            

tinymix 34 1

tinyplay test1.wav &

tinycap test.wav -d 1 -c 2 -r 48000 -b 16 -C

the result would be casued a noisy sound around the Blaze board, and it seems the HS mic can not do the capturing function normally.

Could you correct me if some paths I set up incorrectly?

thx~

  • Hi,

    For what I see you are using ICS, but what release?. Have you modify something in the ABE?.

  • Is this still an issue?

    Regards,

    Magdalena

  • the issue has been solved~thx for your reply

  • hi ,

    Can you please specify the control "names" instead of control "Id" in the first post of this thread.

    Because , the control Id's given there do not match with the control Id's on my device.

    This would be of great help. Thanks in Advance.

    Regards,

    Shrish

     

  • Hi Shrish,

    I think your question was solved in http://e2e.ti.com/support/omap/f/849/p/212255/752680.aspx right?

  • Hi,

         I need to do the same thing on 4AJ.1.1 blaze tablet (from HS mic to HF or HS).

        following are current tinymix setting.

        What controls I have to enable or disable to make it work?

        Thanks!

    Number of controls: 73
    ctl type num name value
    0 ENUM 1 DL1 Equalizer                          Flat response
    1 ENUM 1 DL2 Left Equalizer                  Flat response
    2 ENUM 1 DL2 Right Equalizer               Flat response
    3 ENUM 1 Sidetone Equalizer                 Flat response
    4 ENUM 1 AMIC Equalizer                       High-pass 0dB
    5 ENUM 1 DMIC Equalizer                       High-pass 0dB
    6 INT 1 DL1 Media Playback Volume    118
    7 INT 1 DL1 Tones Playback Volume     0
    8 INT 1 DL1 Voice Playback Volume     120
    9 INT 1 DL1 Capture Playback Volume 0
    10 INT 1 VXREC Media Volume             0
    11 INT 1 VXREC Tones Volume             0
    12 INT 1 VXREC Voice DL Volume         0
    13 INT 1 VXREC Voice UL Volume         0
    14 INT 1 AUDUL Media Volume              0
    15 INT 1 AUDUL Tones Volume              0
    16 INT 1 AUDUL Voice UL Volume        120
    17 INT 1 AUDUL Voice DL Volume         0
    18 INT 1 SDT UL Volume                          101
    19 INT 1 SDT DL Volume                         120
    20 INT 2 DMIC1 UL Volume                    120 120
    21 INT 2 DMIC2 UL Volume                    120 120
    22 INT 2 DMIC3 UL Volume                    120 120
    23 INT 2 AMIC UL Volume                       135 135
    24 INT 2 BT UL Volume                            126 126
    25 BOOL 1 DL1 Mono Mixer                    Off
    26 BOOL 1 AUDUL Mono Mixer             Off
    27 BOOL 1 DL1 MM_EXT Switch            Off
    28 BOOL 1 DL1 BT_VX Switch                Off
    29 BOOL 1 DL1 PDM_DL2 Switch          Off
    30 BOOL 1 DL1 PDM Switch                    On
    31 BOOL 1 Sidetone Mixer Capture        Off
    32 BOOL 1 Sidetone Mixer Playback      On
    33 BOOL 1 Capture Mixer Tones             Off
    34 BOOL 1 Capture Mixer Voice Playback Off
    35 BOOL 1 Capture Mixer Voice Capture On
    36 BOOL 1 Capture Mixer Media Playback Off
    37 BOOL 1 Voice Capture Mixer Tones Playback Off
    38 BOOL 1 Voice Capture Mixer Media Playback Off
    39 BOOL 1 Voice Capture Mixer Capture On
    40 BOOL 1 DL1 Mixer Tones                     Off
    41 BOOL 1 DL1 Mixer Voice                      Off
    42 BOOL 1 DL1 Mixer Capture                 On
    43 BOOL 1 DL1 Mixer Multimedia            On
    44 ENUM 1 MUX_VX1                               None
    45 ENUM 1 MUX_VX0                               None
    46 ENUM 1 MUX_UL11                             AMic0
    47 ENUM 1 MUX_UL10                            AMic0
    48 ENUM 1 MUX_UL07                            None
    49 ENUM 1 MUX_UL06                            None
    50 ENUM 1 MUX_UL05                            None
    51 ENUM 1 MUX_UL04                            None
    52 ENUM 1 MUX_UL03                            None
    53 ENUM 1 MUX_UL02                            None
    54 ENUM 1 MUX_UL01                            None
    55 ENUM 1 MUX_UL00                            None
    56 INT 2 Capture Preamplifier Volume  1 1
    57 INT 2 Capture Volume                         4 4
    58 INT 2 Aux FM Volume                          3 3
    59 INT 2 Headset Playback Volume      15 15
    60 INT 2 Handsfree Playback Volume   26 26
    61 INT 1 Earphone Playback Volume    14
    62 ENUM 1 Headset Power Mode          Low-Power
    63 BOOL 1 Earphone Playback Switch Off
    64 BOOL 1 Aux Right Playback Switch Off
    65 BOOL 1 Aux Left Playback Switch     Off
    66 ENUM 1 Headset Right Playback     Off
    67 ENUM 1 Headset Left Playback        Off
    68 ENUM 1 Handsfree Right Playback HF DAC
    69 ENUM 1 Handsfree Left Playback HF DAC
    70 ENUM 1 Analog Right Capture Route Headset Mic
    71 ENUM 1 Analog Left Capture Route  Headset Mic
    72 ENUM 1 TWL6040 Power Mode        Low-Power

  • Anita,

    To understand what controls you need to set please look at the audio driver arch http://www.omappedia.org/wiki/Audio_Drive_Arch