diff options
author | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2012-06-12 10:30:14 +0530 |
---|---|---|
committer | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2012-06-12 10:30:14 +0530 |
commit | bb4a4b60ccf043440ac18bc90af60b87e233e1d5 (patch) | |
tree | 56f8a0270769e511c2841cab7760f69e40245565 /data | |
parent | 2948b9c93afa789faf36f29d64d1de3e7df679a1 (diff) |
Disable devices we don't need in UCM config
Diffstat (limited to 'data')
-rw-r--r-- | data/alsa/ucm/Tuna/HiFi | 278 |
1 files changed, 139 insertions, 139 deletions
diff --git a/data/alsa/ucm/Tuna/HiFi b/data/alsa/ucm/Tuna/HiFi index a108696..b630803 100644 --- a/data/alsa/ucm/Tuna/HiFi +++ b/data/alsa/ucm/Tuna/HiFi @@ -71,10 +71,10 @@ SectionDevice."Headset" { ConflictingDevice [ #"HeadsetLP" "Headphones" - "HeadphonesLP" + #"HeadphonesLP" "Mainmic" "Submic" - "Line" + #"Line" #"FMRadio" ] @@ -141,11 +141,11 @@ SectionDevice."Headset" { # # HeadsetLP is mutually exclusive to some devices # ConflictingDevice [ # "Headphones" -# "HeadphonesLP" +# #"HeadphonesLP" # "Headset" # "Mainmic" # "Submic" -# "Line" +# #"Line" # #"FMRadio" # ] # @@ -216,7 +216,7 @@ SectionDevice."Headphones" { ConflictingDevice [ "Headset" #"HeadsetLP" - "HeadphonesLP" + #"HeadphonesLP" ] EnableSequence [ @@ -259,56 +259,56 @@ SectionDevice."Headphones" { } } -SectionDevice."HeadphonesLP" { - Comment "Low Power Tuna 3.5mm Headphones playback" - - # Headphones is mutually exclusive to some devices - ConflictingDevice [ - "Headset" - #"HeadsetLP" - "Headphones" - ] - - EnableSequence [ - - # Set SDP device for following cset commands - cdev "hw:Tuna" - - # TWL6040 playback path - cset "name='HS Left Playback' 1" - cset "name='HS Right Playback' 1" - ] - - DisableSequence [ - - # Set SDP device for following cset commands - cdev "hw:Tuna" - - # TWL6040 playback path - cset "name='HS Right Playback' 0" - cset "name='HS Left Playback' 0" - ] - - TransitionSequence."Earphone" [ - - # Set SDP device for following cset commands - cdev "hw:Tuna" - - # TWL6040 playback path - cset "name='HS Right Playback' 0" - cset "name='HS Left Playback' 0" - - # TWL6040 playback path - cset "name='Earphone Enable Switch' 1" - ] - - Value { - # Default ALSA volume gain and mute kcontrols - PlaybackVolume "name='Headset Playback Volume' 13" - PlaybackPCM "plughw:Tuna,6" - PlaybackChannels "2" - } -} +#SectionDevice."HeadphonesLP" { +# Comment "Low Power Tuna 3.5mm Headphones playback" +# +# # Headphones is mutually exclusive to some devices +# ConflictingDevice [ +# "Headset" +# #"HeadsetLP" +# "Headphones" +# ] +# +# EnableSequence [ +# +# # Set SDP device for following cset commands +# cdev "hw:Tuna" +# +# # TWL6040 playback path +# cset "name='HS Left Playback' 1" +# cset "name='HS Right Playback' 1" +# ] +# +# DisableSequence [ +# +# # Set SDP device for following cset commands +# cdev "hw:Tuna" +# +# # TWL6040 playback path +# cset "name='HS Right Playback' 0" +# cset "name='HS Left Playback' 0" +# ] +# +# TransitionSequence."Earphone" [ +# +# # Set SDP device for following cset commands +# cdev "hw:Tuna" +# +# # TWL6040 playback path +# cset "name='HS Right Playback' 0" +# cset "name='HS Left Playback' 0" +# +# # TWL6040 playback path +# cset "name='Earphone Enable Switch' 1" +# ] +# +# Value { +# # Default ALSA volume gain and mute kcontrols +# PlaybackVolume "name='Headset Playback Volume' 13" +# PlaybackPCM "hw:Tuna,6" +# PlaybackChannels "2" +# } +#} ########### Earphone Device Options ################ @@ -399,7 +399,7 @@ SectionDevice."Mainmic" { ConflictingDevice [ "Headset" #"HeadsetLP" - "Line" + #"Line" #"FMRadio" ] @@ -436,7 +436,7 @@ SectionDevice."Submic" { ConflictingDevice [ "Headset" #"HeadsetLP" - "Line" + #"Line" #"FMRadio" ] @@ -467,49 +467,49 @@ SectionDevice."Submic" { ############ Line In Device ######################### -SectionDevice."Line" { - Comment "Line In Capture" - - ConflictingDevice [ - "Headset" - #"HeadsetLP" - "Submic" - "Mainmic" - #"FMRadio" - ] - - EnableSequence [ - - # Set SDP device for following cset commands - cdev "hw:Tuna" - - # TWL6040 Capture Path - cset "name='Analog Right Capture Route' 2" - cset "name='Analog Left Capture Route' 2" - - # TWL6040 Line Capture to 0dB - cset "name='Aux FM Volume' 3" - ] - - DisableSequence [ - - # Set SDP device for following cset commands - cdev "hw:Tuna" - - # TWL6040 Capture path - cset "name='Analog Right Capture Route' 3" - cset "name='Analog Left Capture Route' 3" - - # TWL6040 Mute Line Capture - cset "name='Aux FM Volume' 0" - ] - - Value { - # Default ALSA volume gain and mute kcontrols - CaptureVolume "name='Capture Volume' 4" - CaptureChannels "2" - } -} +#SectionDevice."Line" { +# Comment "Line In Capture" +# +# ConflictingDevice [ +# "Headset" +# #"HeadsetLP" +# "Submic" +# "Mainmic" +# #"FMRadio" +# ] +# +# EnableSequence [ +# +# # Set SDP device for following cset commands +# cdev "hw:Tuna" +# +# # TWL6040 Capture Path +# cset "name='Analog Right Capture Route' 2" +# cset "name='Analog Left Capture Route' 2" +# +# # TWL6040 Line Capture to 0dB +# cset "name='Aux FM Volume' 3" +# ] +# +# DisableSequence [ +# +# # Set SDP device for following cset commands +# cdev "hw:Tuna" +# +# # TWL6040 Capture path +# cset "name='Analog Right Capture Route' 3" +# cset "name='Analog Left Capture Route' 3" +# +# # TWL6040 Mute Line Capture +# cset "name='Aux FM Volume' 0" +# ] +# +# Value { +# # Default ALSA volume gain and mute kcontrols +# CaptureVolume "name='Capture Volume' 4" +# CaptureChannels "2" +# } +#} ############ FM Analog Radio Device ######################### @@ -567,45 +567,45 @@ SectionDevice."Line" { ############ Digital Mic Device ######################### -SectionDevice."Dmic" { - Comment "Digital Microphones" - - EnableSequence [ - - # Set SDP device for following cset commands - cdev "hw:Tuna" - - # ABE DMIC Capture path - cset "name='MUX_UL00' 1" - cset "name='MUX_UL01' 2" - cset "name='MUX_UL02' 3" - cset "name='MUX_UL03' 4" - cset "name='MUX_UL04' 5" - cset "name='MUX_UL05' 6" - ] - - DisableSequence [ - - # Set SDP device for following cset commands - cdev "hw:Tuna" - - # ABE DMIC Capture path - cset "name='MUX_UL00' 0" - cset "name='MUX_UL01' 0" - cset "name='MUX_UL02' 0" - cset "name='MUX_UL03' 0" - cset "name='MUX_UL04' 0" - cset "name='MUX_UL05' 0" - ] - - Value { - # Default ALSA volume gain and mute kcontrols - CaptureVolume "name='DMIC1 UL Capture Volume' 30, 30" - CaptureVolume "name='DMIC2 UL Capture Volume' 30, 30" - CaptureVolume "name='DMIC3 UL Capture Volume' 30, 30" - CapturePCM "hw:Tuna,0" - } -} +#SectionDevice."Dmic" { +# Comment "Digital Microphones" +# +# EnableSequence [ +# +# # Set SDP device for following cset commands +# cdev "hw:Tuna" +# +# # ABE DMIC Capture path +# cset "name='MUX_UL00' 1" +# cset "name='MUX_UL01' 2" +# cset "name='MUX_UL02' 3" +# cset "name='MUX_UL03' 4" +# cset "name='MUX_UL04' 5" +# cset "name='MUX_UL05' 6" +# ] +# +# DisableSequence [ +# +# # Set SDP device for following cset commands +# cdev "hw:Tuna" +# +# # ABE DMIC Capture path +# cset "name='MUX_UL00' 0" +# cset "name='MUX_UL01' 0" +# cset "name='MUX_UL02' 0" +# cset "name='MUX_UL03' 0" +# cset "name='MUX_UL04' 0" +# cset "name='MUX_UL05' 0" +# ] +# +# Value { +# # Default ALSA volume gain and mute kcontrols +# CaptureVolume "name='DMIC1 UL Capture Volume' 30, 30" +# CaptureVolume "name='DMIC2 UL Capture Volume' 30, 30" +# CaptureVolume "name='DMIC3 UL Capture Volume' 30, 30" +# CapturePCM "hw:Tuna,0" +# } +#} ############ Bluetooth Device ######################### |