diff -Nru alsa-lib-1.0.25/debian/changelog alsa-lib-1.0.25/debian/changelog --- alsa-lib-1.0.25/debian/changelog 2012-04-25 17:57:00.000000000 +0000 +++ alsa-lib-1.0.25/debian/changelog 2012-04-26 14:12:51.000000000 +0000 @@ -1,3 +1,11 @@ +alsa-lib (1.0.25-1ubuntu11~1linaro3) precise; urgency=low + + * Rename debian/ucm/Panda debian/ucm/PandaES to + debian/ucm/PandaBoard debian/ucm/PandaBoardES to + match new audio device name from device driver + + -- Tom Gall Thu, 26 Apr 2012 09:11:21 -0500 + alsa-lib (1.0.25-1ubuntu11~0linaro2) precise; urgency=low * add debian/ucm/U8500-card/* diff -Nru alsa-lib-1.0.25/debian/ucm/Panda/HiFi alsa-lib-1.0.25/debian/ucm/Panda/HiFi --- alsa-lib-1.0.25/debian/ucm/Panda/HiFi 2012-03-21 22:25:43.000000000 +0000 +++ alsa-lib-1.0.25/debian/ucm/Panda/HiFi 1970-01-01 00:00:00.000000000 +0000 @@ -1,151 +0,0 @@ -# Use case Configuration for TI Panda HiFi audio playback and capture -# By Liam Girdwood -# Updated by Sebastien Jan - -######### Main Verb Config ################# - -SectionVerb { - - EnableSequence [ - # Set SDP device for following cset commands - cdev "hw:Panda" - - # Enable ABE playback path through DL1 - cset "name='DL1 Mixer Multimedia' 1" - cset "name='Sidetone Mixer Playback' 1" - cset "name='DL1 PDM Switch' 1" - - # set ABE playback gains to 0dB - cset "name='DL1 Media Playback Volume' 120" - cset "name='DL2 Media Playback Volume' 120" - cset "name='SDT DL Volume' 120" - - # Enable ABE PDM-UL Capture path - cset "name='MUX_UL10' 11" - cset "name='MUX_UL11' 12" - - # set ABE capture gains to 0dB - cset "name='AMIC UL Volume' 120" - ] - - DisableSequence [ - # Set SDP device for following cset commands - cdev "hw:Panda" - - # Disable ABE playback path through DL1 - cset "name='DL1 Mixer Multimedia' 0" - cset "name='Sidetone Mixer Playback' 0" - cset "name='DL1 PDM Switch' 0" - - # mute ABE playback gains - cset "name='DL1 Media Playback Volume' 0" - cset "name='DL2 Media Playback Volume' 0" - cset "name='SDT DL Volume' 0" - - # Disable ABE PDM-UL Capture path - cset "name='MUX_UL10' 0" - cset "name='MUX_UL11' 0" - - # mute ABE capture gains - cset "name='AMIC UL Volume' 0" - - ] - - # ALSA PCM - Value { - - TQ "HiFi" - - # ALSA PCM device for HiFi - PlaybackPCM "hw:Panda,0" - CapturePCM "hw:Panda,1" - } -} - -###### Headset Devices Options ############ - -SectionDevice."Headset" { - Comment "Panda 3.5mm Headset playback and capture" - - EnableSequence [ - - # Set SDP device for following cset commands - cdev "hw:Panda" - - # TWL6040 playback path - cset "name='Headset Left Playback' 1" - cset "name='Headset Right Playback' 1" - - # TWL6040 Capture Path - cset "name='Analog Left Capture Route' 0" - cset "name='Analog Right Capture Route' 0" - cset "name='Capture Preamplifier Volume' 2" - ] - - DisableSequence [ - - # Set SDP device for following cset commands - cdev "hw:Panda" - - # TWL6040 playback path - cset "name='Headset Right Playback' 0" - cset "name='Headset Left Playback' 0" - - # TWL6040 Capture path - cset "name='Analog Left Capture Route' 3" - cset "name='Analog Right Capture Route' 3" - cset "name='Capture Preamplifier Volume' 0" - ] - - Value { - # Default ALSA volume gain and mute kcontrols - CaptureVolume "name='Capture Volume' 4" - PlaybackVolume "name='Headset Playback Volume' 13" - PlaybackChannels "2" - CaptureChannels "2" - } -} - -SectionModifier."PlayTone" { - Comment "Play a ring tone or system sound" - - EnableSequence [ - - # Set SDP device for following cset commands - cdev "hw:Panda" - - # ABE playback path through DL2 - cset "name='DL2 Mixer Tones' 1" - cset "name='DL2 Tones Playback Volume' 120" - cset "name='DL1 Mixer Tones' 1" - cset "name='DL1 Tones Playback Volume' 120" - - # TWL6040 playback path - cset "name='Handsfree Left Playback' 1" - cset "name='Handsfree Right Playback' 1" - ] - - DisableSequence [ - - # Set SDP device for following cset commands - cdev "hw:Panda" - - # ABE playback path through DL2 - cset "name='DL2 Mixer Tones' 0" - cset "name='DL2 Tones Playback Volume' 0" - cset "name='DL1 Mixer Tones' 0" - cset "name='DL1 Tones Playback Volume' 0" - - # TWL6040 playback path - cset "name='Handsfree Left Playback' 0" - cset "name='Handsfree Right Playback' 0" - ] - - # QoS, Mixers and ALSA PCMs - Value { - TQ "Tones" - PlaybackPCM "hw:Panda,3" - PlaybackVolume "name='DL2 Tones Playback Volume' 120" - } -} - diff -Nru alsa-lib-1.0.25/debian/ucm/Panda/HiFiLP alsa-lib-1.0.25/debian/ucm/Panda/HiFiLP --- alsa-lib-1.0.25/debian/ucm/Panda/HiFiLP 2012-03-21 22:25:43.000000000 +0000 +++ alsa-lib-1.0.25/debian/ucm/Panda/HiFiLP 1970-01-01 00:00:00.000000000 +0000 @@ -1,152 +0,0 @@ -# Use case Configuration for TI Panda HiFiLP audio playback and capture -# By Liam Girdwood -# Updated by Sebastien Jan - -######### Main Verb Config ################# - -SectionVerb { - - EnableSequence [ - # Set SDP device for following cset commands - cdev "hw:Panda" - - # Enable ABE playback path through DL1 - cset "name='DL1 Mixer Multimedia' 1" - cset "name='Sidetone Mixer Playback' 1" - cset "name='DL1 PDM Switch' 1" - - # set ABE playback gains to 0dB - cset "name='DL1 Media Playback Volume' 120" - cset "name='DL2 Media Playback Volume' 120" - cset "name='SDT DL Volume' 120" - - # Enable ABE PDM-UL Capture path - cset "name='MUX_UL10' 11" - cset "name='MUX_UL11' 12" - - # set ABE capture gains to 0dB - cset "name='AMIC UL Volume' 120" - ] - - DisableSequence [ - # Set SDP device for following cset commands - cdev "hw:Panda" - - # Disable ABE playback path through DL1 - cset "name='DL1 Mixer Multimedia' 0" - cset "name='Sidetone Mixer Playback' 0" - cset "name='DL1 PDM Switch' 0" - - # mute ABE playback gains - cset "name='DL1 Media Playback Volume' 0" - cset "name='DL2 Media Playback Volume' 0" - cset "name='SDT DL Volume' 0" - - # Disable ABE PDM-UL Capture path - cset "name='MUX_UL10' 0" - cset "name='MUX_UL11' 0" - - # mute ABE capture gains - cset "name='AMIC UL Volume' 0" - - ] - - # ALSA PCM - Value { - - TQ "HiFi" - - # ALSA PCM device for HiFiLP - PlaybackPCM "hw:Panda,6" - CapturePCM "hw:Panda,1" - } -} - -###### Headset Devices Options ############ - -SectionDevice."Headset" { - Comment "Panda 3.5mm Headset playback and capture" - - EnableSequence [ - - # Set SDP device for following cset commands - cdev "hw:Panda" - - # TWL6040 playback path - cset "name='Headset Left Playback' 1" - cset "name='Headset Right Playback' 1" - - # TWL6040 Capture Path - cset "name='Analog Left Capture Route' 0" - cset "name='Analog Right Capture Route' 0" - cset "name='Capture Preamplifier Volume' 2" - ] - - DisableSequence [ - - # Set SDP device for following cset commands - cdev "hw:Panda" - - # TWL6040 playback path - cset "name='Headset Right Playback' 0" - cset "name='Headset Left Playback' 0" - - # TWL6040 Capture path - cset "name='Analog Left Capture Route' 3" - cset "name='Analog Right Capture Route' 3" - cset "name='Capture Preamplifier Volume' 0" - ] - - Value { - # Default ALSA volume gain and mute kcontrols - CaptureVolume "name='Capture Volume' 4" - PlaybackVolume "name='Headset Playback Volume' 13" - PlaybackPCM "hw:Panda,6" - PlaybackChannels "2" - CaptureChannels "2" - } -} - -SectionModifier."PlayTone" { - Comment "Play a ring tone or system sound" - - EnableSequence [ - - # Set SDP device for following cset commands - cdev "hw:Panda" - - # ABE playback path through DL2 - cset "name='DL2 Mixer Tones' 1" - cset "name='DL2 Tones Playback Volume' 120" - cset "name='DL1 Mixer Tones' 1" - cset "name='DL1 Tones Playback Volume' 120" - - # TWL6040 playback path - cset "name='Handsfree Left Playback' 1" - cset "name='Handsfree Right Playback' 1" - ] - - DisableSequence [ - - # Set SDP device for following cset commands - cdev "hw:Panda" - - # ABE playback path through DL2 - cset "name='DL2 Mixer Tones' 0" - cset "name='DL2 Tones Playback Volume' 0" - cset "name='DL1 Mixer Tones' 0" - cset "name='DL1 Tones Playback Volume' 0" - - # TWL6040 playback path - cset "name='Handsfree Left Playback' 0" - cset "name='Handsfree Right Playback' 0" - ] - - # QoS, Mixers and ALSA PCMs - Value { - TQ "Tones" - PlaybackPCM "hw:Panda,3" - PlaybackVolume "name='DL2 Tones Playback Volume' 120" - } -} - diff -Nru alsa-lib-1.0.25/debian/ucm/Panda/Panda.conf alsa-lib-1.0.25/debian/ucm/Panda/Panda.conf --- alsa-lib-1.0.25/debian/ucm/Panda/Panda.conf 2012-03-21 22:25:43.000000000 +0000 +++ alsa-lib-1.0.25/debian/ucm/Panda/Panda.conf 1970-01-01 00:00:00.000000000 +0000 @@ -1,39 +0,0 @@ -# UCM configuration for Panda - -# -# This files list all the high level audio use cases supported by the Panda. -# The use case definitions for Panda are stored in separate files in this -# directory. -# - -# The default Panda audio setting loaded by UCM at init. -SectionDefaults [ - cdev "Panda" - -# Add any cset command to configure default state here. -] - -# -# The UCM use case verbs for Panda. -# -# Please check if your use case fits into a current verb below before creating -# a new use case verb. -# - -# -# HiFi Use case has support for HS, HF, EP, HP, BT, HDMI and Mics for -# general purpose HiFi quality playback and capture. -# -SectionUseCase."HiFi" { - File "HiFi" - Comment "Play and Capture HiFi quality audio." -} - -# -# HiFi_Low_Power Use case has support for HS, HF, EP, HP, BT, HDMI and Mics for -# general purpose HiFi low power quality playback and capture. -# -SectionUseCase."HiFi_Low_Power" { - File "HiFiLP" - Comment "Play and Capture HiFi low power quality audio." -} diff -Nru alsa-lib-1.0.25/debian/ucm/PandaBoard/HiFi alsa-lib-1.0.25/debian/ucm/PandaBoard/HiFi --- alsa-lib-1.0.25/debian/ucm/PandaBoard/HiFi 1970-01-01 00:00:00.000000000 +0000 +++ alsa-lib-1.0.25/debian/ucm/PandaBoard/HiFi 2012-04-26 14:11:05.000000000 +0000 @@ -0,0 +1,151 @@ +# Use case Configuration for TI PandaBoard HiFi audio playback and capture +# By Liam Girdwood +# Updated by Sebastien Jan + +######### Main Verb Config ################# + +SectionVerb { + + EnableSequence [ + # Set SDP device for following cset commands + cdev "hw:PandaBoard" + + # Enable ABE playback path through DL1 + cset "name='DL1 Mixer Multimedia' 1" + cset "name='Sidetone Mixer Playback' 1" + cset "name='DL1 PDM Switch' 1" + + # set ABE playback gains to 0dB + cset "name='DL1 Media Playback Volume' 120" + cset "name='DL2 Media Playback Volume' 120" + cset "name='SDT DL Volume' 120" + + # Enable ABE PDM-UL Capture path + cset "name='MUX_UL10' 11" + cset "name='MUX_UL11' 12" + + # set ABE capture gains to 0dB + cset "name='AMIC UL Volume' 120" + ] + + DisableSequence [ + # Set SDP device for following cset commands + cdev "hw:PandaBoard" + + # Disable ABE playback path through DL1 + cset "name='DL1 Mixer Multimedia' 0" + cset "name='Sidetone Mixer Playback' 0" + cset "name='DL1 PDM Switch' 0" + + # mute ABE playback gains + cset "name='DL1 Media Playback Volume' 0" + cset "name='DL2 Media Playback Volume' 0" + cset "name='SDT DL Volume' 0" + + # Disable ABE PDM-UL Capture path + cset "name='MUX_UL10' 0" + cset "name='MUX_UL11' 0" + + # mute ABE capture gains + cset "name='AMIC UL Volume' 0" + + ] + + # ALSA PCM + Value { + + TQ "HiFi" + + # ALSA PCM device for HiFi + PlaybackPCM "hw:PandaBoard,0" + CapturePCM "hw:PandaBoard,1" + } +} + +###### Headset Devices Options ############ + +SectionDevice."Headset" { + Comment "PandaBoard 3.5mm Headset playback and capture" + + EnableSequence [ + + # Set SDP device for following cset commands + cdev "hw:PandaBoard" + + # TWL6040 playback path + cset "name='Headset Left Playback' 1" + cset "name='Headset Right Playback' 1" + + # TWL6040 Capture Path + cset "name='Analog Left Capture Route' 0" + cset "name='Analog Right Capture Route' 0" + cset "name='Capture Preamplifier Volume' 2" + ] + + DisableSequence [ + + # Set SDP device for following cset commands + cdev "hw:PandaBoard" + + # TWL6040 playback path + cset "name='Headset Right Playback' 0" + cset "name='Headset Left Playback' 0" + + # TWL6040 Capture path + cset "name='Analog Left Capture Route' 3" + cset "name='Analog Right Capture Route' 3" + cset "name='Capture Preamplifier Volume' 0" + ] + + Value { + # Default ALSA volume gain and mute kcontrols + CaptureVolume "name='Capture Volume' 4" + PlaybackVolume "name='Headset Playback Volume' 13" + PlaybackChannels "2" + CaptureChannels "2" + } +} + +SectionModifier."PlayTone" { + Comment "Play a ring tone or system sound" + + EnableSequence [ + + # Set SDP device for following cset commands + cdev "hw:PandaBoard" + + # ABE playback path through DL2 + cset "name='DL2 Mixer Tones' 1" + cset "name='DL2 Tones Playback Volume' 120" + cset "name='DL1 Mixer Tones' 1" + cset "name='DL1 Tones Playback Volume' 120" + + # TWL6040 playback path + cset "name='Handsfree Left Playback' 1" + cset "name='Handsfree Right Playback' 1" + ] + + DisableSequence [ + + # Set SDP device for following cset commands + cdev "hw:PandaBoard" + + # ABE playback path through DL2 + cset "name='DL2 Mixer Tones' 0" + cset "name='DL2 Tones Playback Volume' 0" + cset "name='DL1 Mixer Tones' 0" + cset "name='DL1 Tones Playback Volume' 0" + + # TWL6040 playback path + cset "name='Handsfree Left Playback' 0" + cset "name='Handsfree Right Playback' 0" + ] + + # QoS, Mixers and ALSA PCMs + Value { + TQ "Tones" + PlaybackPCM "hw:PandaBoard,3" + PlaybackVolume "name='DL2 Tones Playback Volume' 120" + } +} + diff -Nru alsa-lib-1.0.25/debian/ucm/PandaBoard/HiFiLP alsa-lib-1.0.25/debian/ucm/PandaBoard/HiFiLP --- alsa-lib-1.0.25/debian/ucm/PandaBoard/HiFiLP 1970-01-01 00:00:00.000000000 +0000 +++ alsa-lib-1.0.25/debian/ucm/PandaBoard/HiFiLP 2012-04-26 14:11:05.000000000 +0000 @@ -0,0 +1,152 @@ +# Use case Configuration for TI PandaBoard HiFiLP audio playback and capture +# By Liam Girdwood +# Updated by Sebastien Jan + +######### Main Verb Config ################# + +SectionVerb { + + EnableSequence [ + # Set SDP device for following cset commands + cdev "hw:PandaBoard" + + # Enable ABE playback path through DL1 + cset "name='DL1 Mixer Multimedia' 1" + cset "name='Sidetone Mixer Playback' 1" + cset "name='DL1 PDM Switch' 1" + + # set ABE playback gains to 0dB + cset "name='DL1 Media Playback Volume' 120" + cset "name='DL2 Media Playback Volume' 120" + cset "name='SDT DL Volume' 120" + + # Enable ABE PDM-UL Capture path + cset "name='MUX_UL10' 11" + cset "name='MUX_UL11' 12" + + # set ABE capture gains to 0dB + cset "name='AMIC UL Volume' 120" + ] + + DisableSequence [ + # Set SDP device for following cset commands + cdev "hw:PandaBoard" + + # Disable ABE playback path through DL1 + cset "name='DL1 Mixer Multimedia' 0" + cset "name='Sidetone Mixer Playback' 0" + cset "name='DL1 PDM Switch' 0" + + # mute ABE playback gains + cset "name='DL1 Media Playback Volume' 0" + cset "name='DL2 Media Playback Volume' 0" + cset "name='SDT DL Volume' 0" + + # Disable ABE PDM-UL Capture path + cset "name='MUX_UL10' 0" + cset "name='MUX_UL11' 0" + + # mute ABE capture gains + cset "name='AMIC UL Volume' 0" + + ] + + # ALSA PCM + Value { + + TQ "HiFi" + + # ALSA PCM device for HiFiLP + PlaybackPCM "hw:PandaBoard,6" + CapturePCM "hw:PandaBoard,1" + } +} + +###### Headset Devices Options ############ + +SectionDevice."Headset" { + Comment "PandaBoard 3.5mm Headset playback and capture" + + EnableSequence [ + + # Set SDP device for following cset commands + cdev "hw:PandaBoard" + + # TWL6040 playback path + cset "name='Headset Left Playback' 1" + cset "name='Headset Right Playback' 1" + + # TWL6040 Capture Path + cset "name='Analog Left Capture Route' 0" + cset "name='Analog Right Capture Route' 0" + cset "name='Capture Preamplifier Volume' 2" + ] + + DisableSequence [ + + # Set SDP device for following cset commands + cdev "hw:PandaBoard" + + # TWL6040 playback path + cset "name='Headset Right Playback' 0" + cset "name='Headset Left Playback' 0" + + # TWL6040 Capture path + cset "name='Analog Left Capture Route' 3" + cset "name='Analog Right Capture Route' 3" + cset "name='Capture Preamplifier Volume' 0" + ] + + Value { + # Default ALSA volume gain and mute kcontrols + CaptureVolume "name='Capture Volume' 4" + PlaybackVolume "name='Headset Playback Volume' 13" + PlaybackPCM "hw:PandaBoard,6" + PlaybackChannels "2" + CaptureChannels "2" + } +} + +SectionModifier."PlayTone" { + Comment "Play a ring tone or system sound" + + EnableSequence [ + + # Set SDP device for following cset commands + cdev "hw:PandaBoard" + + # ABE playback path through DL2 + cset "name='DL2 Mixer Tones' 1" + cset "name='DL2 Tones Playback Volume' 120" + cset "name='DL1 Mixer Tones' 1" + cset "name='DL1 Tones Playback Volume' 120" + + # TWL6040 playback path + cset "name='Handsfree Left Playback' 1" + cset "name='Handsfree Right Playback' 1" + ] + + DisableSequence [ + + # Set SDP device for following cset commands + cdev "hw:PandaBoard" + + # ABE playback path through DL2 + cset "name='DL2 Mixer Tones' 0" + cset "name='DL2 Tones Playback Volume' 0" + cset "name='DL1 Mixer Tones' 0" + cset "name='DL1 Tones Playback Volume' 0" + + # TWL6040 playback path + cset "name='Handsfree Left Playback' 0" + cset "name='Handsfree Right Playback' 0" + ] + + # QoS, Mixers and ALSA PCMs + Value { + TQ "Tones" + PlaybackPCM "hw:PandaBoard,3" + PlaybackVolume "name='DL2 Tones Playback Volume' 120" + } +} + diff -Nru alsa-lib-1.0.25/debian/ucm/PandaBoard/PandaBoard.conf alsa-lib-1.0.25/debian/ucm/PandaBoard/PandaBoard.conf --- alsa-lib-1.0.25/debian/ucm/PandaBoard/PandaBoard.conf 1970-01-01 00:00:00.000000000 +0000 +++ alsa-lib-1.0.25/debian/ucm/PandaBoard/PandaBoard.conf 2012-04-26 14:11:05.000000000 +0000 @@ -0,0 +1,39 @@ +# UCM configuration for PandaBoard + +# +# This files list all the high level audio use cases supported by the PandaBoard. +# The use case definitions for PandaBoard are stored in separate files in this +# directory. +# + +# The default PandaBoard audio setting loaded by UCM at init. +SectionDefaults [ + cdev "hw:PandaBoard" + +# Add any cset command to configure default state here. +] + +# +# The UCM use case verbs for PandaBoard. +# +# Please check if your use case fits into a current verb below before creating +# a new use case verb. +# + +# +# HiFi Use case has support for HS, HF, EP, HP, BT, HDMI and Mics for +# general purpose HiFi quality playback and capture. +# +SectionUseCase."HiFi" { + File "HiFi" + Comment "Play and Capture HiFi quality audio." +} + +# +# HiFi_Low_Power Use case has support for HS, HF, EP, HP, BT, HDMI and Mics for +# general purpose HiFi low power quality playback and capture. +# +SectionUseCase."HiFi_Low_Power" { + File "HiFiLP" + Comment "Play and Capture HiFi low power quality audio." +} diff -Nru alsa-lib-1.0.25/debian/ucm/PandaBoardES/HiFi alsa-lib-1.0.25/debian/ucm/PandaBoardES/HiFi --- alsa-lib-1.0.25/debian/ucm/PandaBoardES/HiFi 1970-01-01 00:00:00.000000000 +0000 +++ alsa-lib-1.0.25/debian/ucm/PandaBoardES/HiFi 2012-04-26 14:11:05.000000000 +0000 @@ -0,0 +1,151 @@ +# Use case Configuration for TI PandaBoardES HiFi audio playback and capture +# By Liam Girdwood +# Updated by Sebastien Jan + +######### Main Verb Config ################# + +SectionVerb { + + EnableSequence [ + # Set SDP device for following cset commands + cdev "hw:PandaBoardES" + + # Enable ABE playback path through DL1 + cset "name='DL1 Mixer Multimedia' 1" + cset "name='Sidetone Mixer Playback' 1" + cset "name='DL1 PDM Switch' 1" + + # set ABE playback gains to 0dB + cset "name='DL1 Media Playback Volume' 120" + cset "name='DL2 Media Playback Volume' 120" + cset "name='SDT DL Volume' 120" + + # Enable ABE PDM-UL Capture path + cset "name='MUX_UL10' 11" + cset "name='MUX_UL11' 12" + + # set ABE capture gains to 0dB + cset "name='AMIC UL Volume' 120" + ] + + DisableSequence [ + # Set SDP device for following cset commands + cdev "hw:PandaBoardES" + + # Disable ABE playback path through DL1 + cset "name='DL1 Mixer Multimedia' 0" + cset "name='Sidetone Mixer Playback' 0" + cset "name='DL1 PDM Switch' 0" + + # mute ABE playback gains + cset "name='DL1 Media Playback Volume' 0" + cset "name='DL2 Media Playback Volume' 0" + cset "name='SDT DL Volume' 0" + + # Disable ABE PDM-UL Capture path + cset "name='MUX_UL10' 0" + cset "name='MUX_UL11' 0" + + # mute ABE capture gains + cset "name='AMIC UL Volume' 0" + + ] + + # ALSA PCM + Value { + + TQ "HiFi" + + # ALSA PCM device for HiFi + PlaybackPCM "hw:PandaBoardES,0" + CapturePCM "hw:PandaBoardES,1" + } +} + +###### Headset Devices Options ############ + +SectionDevice."Headset" { + Comment "PandaBoardES 3.5mm Headset playback and capture" + + EnableSequence [ + + # Set SDP device for following cset commands + cdev "hw:PandaBoardES" + + # TWL6040 playback path + cset "name='Headset Left Playback' 1" + cset "name='Headset Right Playback' 1" + + # TWL6040 Capture Path + cset "name='Analog Left Capture Route' 2" + cset "name='Analog Right Capture Route' 2" + cset "name='Capture Preamplifier Volume' 2" + ] + + DisableSequence [ + + # Set SDP device for following cset commands + cdev "hw:PandaBoardES" + + # TWL6040 playback path + cset "name='Headset Right Playback' 0" + cset "name='Headset Left Playback' 0" + + # TWL6040 Capture path + cset "name='Analog Left Capture Route' 3" + cset "name='Analog Right Capture Route' 3" + cset "name='Capture Preamplifier Volume' 0" + ] + + Value { + # Default ALSA volume gain and mute kcontrols + CaptureVolume "name='Capture Volume' 4" + PlaybackVolume "name='Headset Playback Volume' 13" + PlaybackChannels "2" + CaptureChannels "2" + } +} + +SectionModifier."PlayTone" { + Comment "Play a ring tone or system sound" + + EnableSequence [ + + # Set SDP device for following cset commands + cdev "hw:PandaBoardES" + + # ABE playback path through DL2 + cset "name='DL2 Mixer Tones' 1" + cset "name='DL2 Tones Playback Volume' 120" + cset "name='DL1 Mixer Tones' 1" + cset "name='DL1 Tones Playback Volume' 120" + + # TWL6040 playback path + cset "name='Handsfree Left Playback' 1" + cset "name='Handsfree Right Playback' 1" + ] + + DisableSequence [ + + # Set SDP device for following cset commands + cdev "hw:PandaBoardES" + + # ABE playback path through DL2 + cset "name='DL2 Mixer Tones' 0" + cset "name='DL2 Tones Playback Volume' 0" + cset "name='DL1 Mixer Tones' 0" + cset "name='DL1 Tones Playback Volume' 0" + + # TWL6040 playback path + cset "name='Handsfree Left Playback' 0" + cset "name='Handsfree Right Playback' 0" + ] + + # QoS, Mixers and ALSA PCMs + Value { + TQ "Tones" + PlaybackPCM "hw:PandaBoardES,3" + PlaybackVolume "name='DL2 Tones Playback Volume' 120" + } +} + diff -Nru alsa-lib-1.0.25/debian/ucm/PandaBoardES/HiFiLP alsa-lib-1.0.25/debian/ucm/PandaBoardES/HiFiLP --- alsa-lib-1.0.25/debian/ucm/PandaBoardES/HiFiLP 1970-01-01 00:00:00.000000000 +0000 +++ alsa-lib-1.0.25/debian/ucm/PandaBoardES/HiFiLP 2012-04-26 14:11:05.000000000 +0000 @@ -0,0 +1,152 @@ +# Use case Configuration for TI PandaBoardES HiFiLP audio playback and capture +# By Liam Girdwood +# Updated by Sebastien Jan + +######### Main Verb Config ################# + +SectionVerb { + + EnableSequence [ + # Set SDP device for following cset commands + cdev "hw:PandaBoardES" + + # Enable ABE playback path through DL1 + cset "name='DL1 Mixer Multimedia' 1" + cset "name='Sidetone Mixer Playback' 1" + cset "name='DL1 PDM Switch' 1" + + # set ABE playback gains to 0dB + cset "name='DL1 Media Playback Volume' 120" + cset "name='DL2 Media Playback Volume' 120" + cset "name='SDT DL Volume' 120" + + # Enable ABE PDM-UL Capture path + cset "name='MUX_UL10' 11" + cset "name='MUX_UL11' 12" + + # set ABE capture gains to 0dB + cset "name='AMIC UL Volume' 120" + ] + + DisableSequence [ + # Set SDP device for following cset commands + cdev "hw:PandaBoardES" + + # Disable ABE playback path through DL1 + cset "name='DL1 Mixer Multimedia' 0" + cset "name='Sidetone Mixer Playback' 0" + cset "name='DL1 PDM Switch' 0" + + # mute ABE playback gains + cset "name='DL1 Media Playback Volume' 0" + cset "name='DL2 Media Playback Volume' 0" + cset "name='SDT DL Volume' 0" + + # Disable ABE PDM-UL Capture path + cset "name='MUX_UL10' 0" + cset "name='MUX_UL11' 0" + + # mute ABE capture gains + cset "name='AMIC UL Volume' 0" + + ] + + # ALSA PCM + Value { + + TQ "HiFi" + + # ALSA PCM device for HiFiLP + PlaybackPCM "hw:PandaBoardES,6" + CapturePCM "hw:PandaBoardES,1" + } +} + +###### Headset Devices Options ############ + +SectionDevice."Headset" { + Comment "PandaBoardES 3.5mm Headset playback and capture" + + EnableSequence [ + + # Set SDP device for following cset commands + cdev "hw:PandaBoardES" + + # TWL6040 playback path + cset "name='Headset Left Playback' 1" + cset "name='Headset Right Playback' 1" + + # TWL6040 Capture Path + cset "name='Analog Left Capture Route' 2" + cset "name='Analog Right Capture Route' 2" + cset "name='Capture Preamplifier Volume' 2" + ] + + DisableSequence [ + + # Set SDP device for following cset commands + cdev "hw:PandaBoardES" + + # TWL6040 playback path + cset "name='Headset Right Playback' 0" + cset "name='Headset Left Playback' 0" + + # TWL6040 Capture path + cset "name='Analog Left Capture Route' 3" + cset "name='Analog Right Capture Route' 3" + cset "name='Capture Preamplifier Volume' 0" + ] + + Value { + # Default ALSA volume gain and mute kcontrols + CaptureVolume "name='Capture Volume' 4" + PlaybackVolume "name='Headset Playback Volume' 13" + PlaybackPCM "hw:PandaBoardES,6" + PlaybackChannels "2" + CaptureChannels "2" + } +} + +SectionModifier."PlayTone" { + Comment "Play a ring tone or system sound" + + EnableSequence [ + + # Set SDP device for following cset commands + cdev "hw:PandaBoardES" + + # ABE playback path through DL2 + cset "name='DL2 Mixer Tones' 1" + cset "name='DL2 Tones Playback Volume' 120" + cset "name='DL1 Mixer Tones' 1" + cset "name='DL1 Tones Playback Volume' 120" + + # TWL6040 playback path + cset "name='Handsfree Left Playback' 1" + cset "name='Handsfree Right Playback' 1" + ] + + DisableSequence [ + + # Set SDP device for following cset commands + cdev "hw:PandaBoardES" + + # ABE playback path through DL2 + cset "name='DL2 Mixer Tones' 0" + cset "name='DL2 Tones Playback Volume' 0" + cset "name='DL1 Mixer Tones' 0" + cset "name='DL1 Tones Playback Volume' 0" + + # TWL6040 playback path + cset "name='Handsfree Left Playback' 0" + cset "name='Handsfree Right Playback' 0" + ] + + # QoS, Mixers and ALSA PCMs + Value { + TQ "Tones" + PlaybackPCM "hw:PandaBoardES,3" + PlaybackVolume "name='DL2 Tones Playback Volume' 120" + } +} + diff -Nru alsa-lib-1.0.25/debian/ucm/PandaBoardES/PandaBoardES.conf alsa-lib-1.0.25/debian/ucm/PandaBoardES/PandaBoardES.conf --- alsa-lib-1.0.25/debian/ucm/PandaBoardES/PandaBoardES.conf 1970-01-01 00:00:00.000000000 +0000 +++ alsa-lib-1.0.25/debian/ucm/PandaBoardES/PandaBoardES.conf 2012-04-26 14:11:05.000000000 +0000 @@ -0,0 +1,39 @@ +# UCM configuration for PandaBoardES + +# +# This files list all the high level audio use cases supported by the PandaBoardES. +# The use case definitions for PandaBoardES are stored in separate files in this +# directory. +# + +# The default PandaBoardES audio setting loaded by UCM at init. +SectionDefaults [ + cdev "hw:PandaBoardES" + +# Add any cset command to configure default state here. +] + +# +# The UCM use case verbs for PandaBoardES. +# +# Please check if your use case fits into a current verb below before creating +# a new use case verb. +# + +# +# HiFi Use case has support for HS, HF, EP, HP, BT, HDMI and Mics for +# general purpose HiFi quality playback and capture. +# +SectionUseCase."HiFi" { + File "HiFi" + Comment "Play and Capture HiFi quality audio." +} + +# +# HiFi_Low_Power Use case has support for HS, HF, EP, HP, BT, HDMI and Mics for +# general purpose HiFi low power quality playback and capture. +# +SectionUseCase."HiFi_Low_Power" { + File "HiFiLP" + Comment "Play and Capture HiFi low power quality audio." +} diff -Nru alsa-lib-1.0.25/debian/ucm/PandaES/HiFi alsa-lib-1.0.25/debian/ucm/PandaES/HiFi --- alsa-lib-1.0.25/debian/ucm/PandaES/HiFi 2012-03-21 22:25:43.000000000 +0000 +++ alsa-lib-1.0.25/debian/ucm/PandaES/HiFi 1970-01-01 00:00:00.000000000 +0000 @@ -1,151 +0,0 @@ -# Use case Configuration for TI PandaES HiFi audio playback and capture -# By Liam Girdwood -# Updated by Sebastien Jan - -######### Main Verb Config ################# - -SectionVerb { - - EnableSequence [ - # Set SDP device for following cset commands - cdev "hw:PandaES" - - # Enable ABE playback path through DL1 - cset "name='DL1 Mixer Multimedia' 1" - cset "name='Sidetone Mixer Playback' 1" - cset "name='DL1 PDM Switch' 1" - - # set ABE playback gains to 0dB - cset "name='DL1 Media Playback Volume' 120" - cset "name='DL2 Media Playback Volume' 120" - cset "name='SDT DL Volume' 120" - - # Enable ABE PDM-UL Capture path - cset "name='MUX_UL10' 11" - cset "name='MUX_UL11' 12" - - # set ABE capture gains to 0dB - cset "name='AMIC UL Volume' 120" - ] - - DisableSequence [ - # Set SDP device for following cset commands - cdev "hw:PandaES" - - # Disable ABE playback path through DL1 - cset "name='DL1 Mixer Multimedia' 0" - cset "name='Sidetone Mixer Playback' 0" - cset "name='DL1 PDM Switch' 0" - - # mute ABE playback gains - cset "name='DL1 Media Playback Volume' 0" - cset "name='DL2 Media Playback Volume' 0" - cset "name='SDT DL Volume' 0" - - # Disable ABE PDM-UL Capture path - cset "name='MUX_UL10' 0" - cset "name='MUX_UL11' 0" - - # mute ABE capture gains - cset "name='AMIC UL Volume' 0" - - ] - - # ALSA PCM - Value { - - TQ "HiFi" - - # ALSA PCM device for HiFi - PlaybackPCM "hw:PandaES,0" - CapturePCM "hw:PandaES,1" - } -} - -###### Headset Devices Options ############ - -SectionDevice."Headset" { - Comment "PandaES 3.5mm Headset playback and capture" - - EnableSequence [ - - # Set SDP device for following cset commands - cdev "hw:PandaES" - - # TWL6040 playback path - cset "name='Headset Left Playback' 1" - cset "name='Headset Right Playback' 1" - - # TWL6040 Capture Path - cset "name='Analog Left Capture Route' 2" - cset "name='Analog Right Capture Route' 2" - cset "name='Capture Preamplifier Volume' 2" - ] - - DisableSequence [ - - # Set SDP device for following cset commands - cdev "hw:PandaES" - - # TWL6040 playback path - cset "name='Headset Right Playback' 0" - cset "name='Headset Left Playback' 0" - - # TWL6040 Capture path - cset "name='Analog Left Capture Route' 3" - cset "name='Analog Right Capture Route' 3" - cset "name='Capture Preamplifier Volume' 0" - ] - - Value { - # Default ALSA volume gain and mute kcontrols - CaptureVolume "name='Capture Volume' 4" - PlaybackVolume "name='Headset Playback Volume' 13" - PlaybackChannels "2" - CaptureChannels "2" - } -} - -SectionModifier."PlayTone" { - Comment "Play a ring tone or system sound" - - EnableSequence [ - - # Set SDP device for following cset commands - cdev "hw:PandaES" - - # ABE playback path through DL2 - cset "name='DL2 Mixer Tones' 1" - cset "name='DL2 Tones Playback Volume' 120" - cset "name='DL1 Mixer Tones' 1" - cset "name='DL1 Tones Playback Volume' 120" - - # TWL6040 playback path - cset "name='Handsfree Left Playback' 1" - cset "name='Handsfree Right Playback' 1" - ] - - DisableSequence [ - - # Set SDP device for following cset commands - cdev "hw:PandaES" - - # ABE playback path through DL2 - cset "name='DL2 Mixer Tones' 0" - cset "name='DL2 Tones Playback Volume' 0" - cset "name='DL1 Mixer Tones' 0" - cset "name='DL1 Tones Playback Volume' 0" - - # TWL6040 playback path - cset "name='Handsfree Left Playback' 0" - cset "name='Handsfree Right Playback' 0" - ] - - # QoS, Mixers and ALSA PCMs - Value { - TQ "Tones" - PlaybackPCM "hw:PandaES,3" - PlaybackVolume "name='DL2 Tones Playback Volume' 120" - } -} - diff -Nru alsa-lib-1.0.25/debian/ucm/PandaES/HiFiLP alsa-lib-1.0.25/debian/ucm/PandaES/HiFiLP --- alsa-lib-1.0.25/debian/ucm/PandaES/HiFiLP 2012-03-21 22:25:43.000000000 +0000 +++ alsa-lib-1.0.25/debian/ucm/PandaES/HiFiLP 1970-01-01 00:00:00.000000000 +0000 @@ -1,152 +0,0 @@ -# Use case Configuration for TI PandaES HiFiLP audio playback and capture -# By Liam Girdwood -# Updated by Sebastien Jan - -######### Main Verb Config ################# - -SectionVerb { - - EnableSequence [ - # Set SDP device for following cset commands - cdev "hw:PandaES" - - # Enable ABE playback path through DL1 - cset "name='DL1 Mixer Multimedia' 1" - cset "name='Sidetone Mixer Playback' 1" - cset "name='DL1 PDM Switch' 1" - - # set ABE playback gains to 0dB - cset "name='DL1 Media Playback Volume' 120" - cset "name='DL2 Media Playback Volume' 120" - cset "name='SDT DL Volume' 120" - - # Enable ABE PDM-UL Capture path - cset "name='MUX_UL10' 11" - cset "name='MUX_UL11' 12" - - # set ABE capture gains to 0dB - cset "name='AMIC UL Volume' 120" - ] - - DisableSequence [ - # Set SDP device for following cset commands - cdev "hw:PandaES" - - # Disable ABE playback path through DL1 - cset "name='DL1 Mixer Multimedia' 0" - cset "name='Sidetone Mixer Playback' 0" - cset "name='DL1 PDM Switch' 0" - - # mute ABE playback gains - cset "name='DL1 Media Playback Volume' 0" - cset "name='DL2 Media Playback Volume' 0" - cset "name='SDT DL Volume' 0" - - # Disable ABE PDM-UL Capture path - cset "name='MUX_UL10' 0" - cset "name='MUX_UL11' 0" - - # mute ABE capture gains - cset "name='AMIC UL Volume' 0" - - ] - - # ALSA PCM - Value { - - TQ "HiFi" - - # ALSA PCM device for HiFiLP - PlaybackPCM "hw:PandaES,6" - CapturePCM "hw:PandaES,1" - } -} - -###### Headset Devices Options ############ - -SectionDevice."Headset" { - Comment "PandaES 3.5mm Headset playback and capture" - - EnableSequence [ - - # Set SDP device for following cset commands - cdev "hw:PandaES" - - # TWL6040 playback path - cset "name='Headset Left Playback' 1" - cset "name='Headset Right Playback' 1" - - # TWL6040 Capture Path - cset "name='Analog Left Capture Route' 2" - cset "name='Analog Right Capture Route' 2" - cset "name='Capture Preamplifier Volume' 2" - ] - - DisableSequence [ - - # Set SDP device for following cset commands - cdev "hw:PandaES" - - # TWL6040 playback path - cset "name='Headset Right Playback' 0" - cset "name='Headset Left Playback' 0" - - # TWL6040 Capture path - cset "name='Analog Left Capture Route' 3" - cset "name='Analog Right Capture Route' 3" - cset "name='Capture Preamplifier Volume' 0" - ] - - Value { - # Default ALSA volume gain and mute kcontrols - CaptureVolume "name='Capture Volume' 4" - PlaybackVolume "name='Headset Playback Volume' 13" - PlaybackPCM "hw:PandaES,6" - PlaybackChannels "2" - CaptureChannels "2" - } -} - -SectionModifier."PlayTone" { - Comment "Play a ring tone or system sound" - - EnableSequence [ - - # Set SDP device for following cset commands - cdev "hw:PandaES" - - # ABE playback path through DL2 - cset "name='DL2 Mixer Tones' 1" - cset "name='DL2 Tones Playback Volume' 120" - cset "name='DL1 Mixer Tones' 1" - cset "name='DL1 Tones Playback Volume' 120" - - # TWL6040 playback path - cset "name='Handsfree Left Playback' 1" - cset "name='Handsfree Right Playback' 1" - ] - - DisableSequence [ - - # Set SDP device for following cset commands - cdev "hw:PandaES" - - # ABE playback path through DL2 - cset "name='DL2 Mixer Tones' 0" - cset "name='DL2 Tones Playback Volume' 0" - cset "name='DL1 Mixer Tones' 0" - cset "name='DL1 Tones Playback Volume' 0" - - # TWL6040 playback path - cset "name='Handsfree Left Playback' 0" - cset "name='Handsfree Right Playback' 0" - ] - - # QoS, Mixers and ALSA PCMs - Value { - TQ "Tones" - PlaybackPCM "hw:PandaES,3" - PlaybackVolume "name='DL2 Tones Playback Volume' 120" - } -} - diff -Nru alsa-lib-1.0.25/debian/ucm/PandaES/PandaES.conf alsa-lib-1.0.25/debian/ucm/PandaES/PandaES.conf --- alsa-lib-1.0.25/debian/ucm/PandaES/PandaES.conf 2012-03-21 22:25:43.000000000 +0000 +++ alsa-lib-1.0.25/debian/ucm/PandaES/PandaES.conf 1970-01-01 00:00:00.000000000 +0000 @@ -1,39 +0,0 @@ -# UCM configuration for PandaES - -# -# This files list all the high level audio use cases supported by the PandaES. -# The use case definitions for PandaES are stored in separate files in this -# directory. -# - -# The default PandaES audio setting loaded by UCM at init. -SectionDefaults [ - cdev "PandaES" - -# Add any cset command to configure default state here. -] - -# -# The UCM use case verbs for PandaES. -# -# Please check if your use case fits into a current verb below before creating -# a new use case verb. -# - -# -# HiFi Use case has support for HS, HF, EP, HP, BT, HDMI and Mics for -# general purpose HiFi quality playback and capture. -# -SectionUseCase."HiFi" { - File "HiFi" - Comment "Play and Capture HiFi quality audio." -} - -# -# HiFi_Low_Power Use case has support for HS, HF, EP, HP, BT, HDMI and Mics for -# general purpose HiFi low power quality playback and capture. -# -SectionUseCase."HiFi_Low_Power" { - File "HiFiLP" - Comment "Play and Capture HiFi low power quality audio." -}