[alsa-devel] UCM profiles taken from Ubuntu
When I bought Samsung ARM Chromebook few months ago I had no idea about UCM profiles and burnt speakers (left is dead, right is resting). Then I learnt, took ones from ChromeOS and added them into Ubuntu so other users will be a bit more safe.
Later I had a discussion with some Debian, Ubuntu, Fedora developers about how to solve such problems and how to keep UCM profiles shared between distributions.
Liam Girdwood pointed me to not used git tree at ALSA Project server and finally I reminded myself about it.
The idea is to collect UCM profiles, keep them in one place and create alsa-ucm package in each distribution.
Signed-off-by: Marcin Juszkiewicz marcin@juszkiewicz.com.pl --- DAISY-I2S/DAISY-I2S.conf | 6 +++++ DAISY-I2S/HiFi.conf | 61 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 DAISY-I2S/DAISY-I2S.conf create mode 100644 DAISY-I2S/HiFi.conf
diff --git a/DAISY-I2S/DAISY-I2S.conf b/DAISY-I2S/DAISY-I2S.conf new file mode 100644 index 0000000..0f4b5fc --- /dev/null +++ b/DAISY-I2S/DAISY-I2S.conf @@ -0,0 +1,6 @@ +Comment "Daisy internal card" + +SectionUseCase."HiFi" { + File "HiFi.conf" + Comment "Default" +} diff --git a/DAISY-I2S/HiFi.conf b/DAISY-I2S/HiFi.conf new file mode 100644 index 0000000..66b0afa --- /dev/null +++ b/DAISY-I2S/HiFi.conf @@ -0,0 +1,61 @@ +SectionVerb { + EnableSequence [ + cdev "hw:DAISYI2S" + cset "name='Left Speaker Mixer Left DAC1 Switch' on" + cset "name='Right Speaker Mixer Right DAC1 Switch' on" + cset "name='Left Headphone Mixer Left DAC1 Switch' on" + cset "name='Right Headphone Mixer Right DAC1 Switch' on" + cset "name='DMIC1 Left Capture Switch' on" + cset "name='DMIC1 Right Capture Switch' on" + cset "name='MIC2 External Mic Switch' on" + cset "name='Left ADC Mixer MIC2 Switch' on" + cset "name='Right ADC Mixer MIC2 Switch' on" + cset "name='EQ1 Mode' Default" + ] + DisableSequence [ + ] +} + +SectionDevice."Headphone".0 { + Value { + JackName "DAISY-I2S Headphone Jack" + } + + EnableSequence [ + cdev "hw:DAISYI2S" + cset "name='EQ1 Switch' off" + cset "name='Left Headphone Mixer Left DAC1 Switch' on" + cset "name='Right Headphone Mixer Right DAC1 Switch' on" + ] + DisableSequence [ + cdev "hw:DAISYI2S" + cset "name='EQ1 Mode' Default" + cset "name='EQ1 Switch' on" + cset "name='Left Speaker Mixer Left DAC1 Switch' on" + cset "name='Right Speaker Mixer Right DAC1 Switch' on" + ] +} + +SectionDevice."Mic".0 { + Value { + JackName "DAISY-I2S Mic Jack" + } + + EnableSequence [ + cdev "hw:DAISYI2S" + + cset "name='DMIC1 Left Capture Switch' off" + cset "name='DMIC1 Right Capture Switch' off" + cset "name='Left ADC Mixer MIC2 Switch' on" + cset "name='Right ADC Mixer MIC2 Switch' on" + ] + + DisableSequence [ + cdev "hw:DAISYI2S" + + cset "name='Left ADC Mixer MIC2 Switch' off" + cset "name='Right ADC Mixer MIC2 Switch' off" + cset "name='DMIC1 Left Capture Switch' on" + cset "name='DMIC1 Right Capture Switch' on" + ] +}
Signed-off-by: Marcin Juszkiewicz marcin@juszkiewicz.com.pl --- PandaBoard/FMAnalog | 46 +++++++++++++++++++++++++ PandaBoard/PandaBoard.conf | 45 +++++++++++++++++++++++++ PandaBoard/hifi | 83 ++++++++++++++++++++++++++++++++++++++++++++++ PandaBoard/hifiLP | 46 +++++++++++++++++++++++++ PandaBoard/record | 47 ++++++++++++++++++++++++++ PandaBoard/voice | 46 +++++++++++++++++++++++++ PandaBoard/voiceCall | 67 +++++++++++++++++++++++++++++++++++++ 7 files changed, 380 insertions(+) create mode 100644 PandaBoard/FMAnalog create mode 100644 PandaBoard/PandaBoard.conf create mode 100644 PandaBoard/hifi create mode 100644 PandaBoard/hifiLP create mode 100644 PandaBoard/record create mode 100644 PandaBoard/voice create mode 100644 PandaBoard/voiceCall
diff --git a/PandaBoard/FMAnalog b/PandaBoard/FMAnalog new file mode 100644 index 0000000..f1b4477 --- /dev/null +++ b/PandaBoard/FMAnalog @@ -0,0 +1,46 @@ +# Use case Configurationfor TI PandaBoard HiFi Music +# By Liam Girdwood lrg@slimlogic.co.uk + +SectionVerb { + EnableSequence [ + cdev "hw:PandaBoard" + cset "name='AMIC_UL PDM Switch' 1" + cset "name='MUX_UL00' 9" + cset "name='MUX_UL01' 10" + cset "name='Capture Volume' 4" + ] + + + DisableSequence [ + cdev "hw:PandaBoard" + cset "name='AMIC_UL PDM Switch' 0" + cset "name='MUX_UL00' 0" + cset "name='MUX_UL01' 0" + cset "name='Capture Volume' 0" + ] + + # Optional TQ and ALSA PCMs + Value { + TQ "Music" + CapturePCM "hw:0,0" + } +} + +SectionDevice."Headset".0 { + Comment "PandaBoard 3.5mm Headset" + + EnableSequence [ + cdev "hw:PandaBoard" + cset "name='Analog Left Capture Route' 2" + cset "name='Analog Right Capture Route' 2" + cset "name='Capture Preamplifier Volume' 2" + ] + + DisableSequence [ + cdev "hw:PandaBoard" + cset "name='Analog Left Capture Route' 3" + cset "name='Analog Right Capture Route' 3" + cset "name='Capture Preamplifier Volume' 0" + ] +} + diff --git a/PandaBoard/PandaBoard.conf b/PandaBoard/PandaBoard.conf new file mode 100644 index 0000000..85b90b4 --- /dev/null +++ b/PandaBoard/PandaBoard.conf @@ -0,0 +1,45 @@ +# UCM configuration for PandaBoard +SectionUseCase."Record" { + File "record" + Comment "Record." +} + +SectionUseCase."HiFi" { + File "hifi" + Comment "Play HiFi quality Music." +} + +SectionUseCase."HiFi_Low_Power" { + File "hifiLP" + Comment "Play HiFi quality Music in Low Power Mode." +} + +SectionUseCase."Voice" { + File "voice" + Comment "Playback Voice quality." +} + +SectionUseCase."Voice_Low_Power" { + File "voice" + Comment "Playback Voice quality in Low Power Mode." +} + +SectionUseCase."Voice_Call" { + File "voiceCall" + Comment "Capture and Playback in Voice quality." +} + +SectionUseCase."Voice_Call_IP" { + File "voiceCall" + Comment "Capture and Playback in Voice quality." +} + +SectionUseCase."FM_Analog_Radio" { + File "FMAnalog" + Comment "Capture FM Analog Radio." +} + +SectionDefaults [ + cdev "hw:PandaBoard" + exec "echo Im setting defaults" +] diff --git a/PandaBoard/hifi b/PandaBoard/hifi new file mode 100644 index 0000000..db405a4 --- /dev/null +++ b/PandaBoard/hifi @@ -0,0 +1,83 @@ +# Use case Configuration for TI PandaBoard HiFi Music +# By Liam Girdwood lrg@slimlogic.co.uk + +SectionVerb { + EnableSequence [ + cdev "hw:PandaBoard" + cset "name='DL1 Mixer Multimedia' 1" + cset "name='Sidetone Mixer Playback' 1" + cset "name='DL1 PDM Switch' 1" + cset "name='DL1 Media Playback Volume' 90,90" + cset "name='SDT DL Volume' 120" + + cset "name='Headset Left Playback' 1" + cset "name='Headset Right Playback' 1" + cset "name='Headset Playback Volume' 13" + ] + + DisableSequence [ + cdev "hw:PandaBoard" + cset "name='DL1 Mixer Multimedia' 0" + cset "name='Sidetone Mixer Playback' 0" + cset "name='DL1 PDM Switch' 0" + cset "name='DL1 Media Playback Volume' 0,0" + cset "name='SDT DL Volume' 0" + + cset "name='Headset Right Playback' 0" + cset "name='Headset Left Playback' 0" + cset "name='Headset Playback Volume' 0" + ] + + # Optional TQ and ALSA PCMs +# Value { +# TQ "Music" +# PlaybackPCM "hw:0,0" +# PlaybackVolume "name='DL1 Media Playback Volume' 90,90" +# PlaybackSwitch "name='DL1 PDM Switch' 1" +# } +} + +SectionDevice."Headset".0 { + Comment "PandaBoard 3.5mm Headset" + + EnableSequence [ + cdev "hw:PandaBoard" + cset "name='Headset Left Playback' 1" + cset "name='Headset Right Playback' 1" + cset "name='Headset Playback Volume' 13" + ] + + DisableSequence [ + cdev "hw:PandaBoard" + cset "name='Headset Right Playback' 0" + cset "name='Headset Left Playback' 0" + cset "name='Headset Playback Volume' 0" + ] +} + +#SectionModifier."RecordMedia".0 { +# SupportedDevice [ +# "Headset" +# ] + # EnableSequence [ + # .... + # ] + # + # DisableSequence [ + # ... + # ] + # + # TransitionSequence."ToModifierName" [ + # ... + # ] + # + # # Optional TQ and ALSA PCMs + # Value { + # TQ Voice + # CapturePCM "hw:1" + # PlaybackVolume "name='Master Playback Volume',index=2" + # PlaybackSwitch "name='Master Playback Switch',index=2" + # } +# +#} + diff --git a/PandaBoard/hifiLP b/PandaBoard/hifiLP new file mode 100644 index 0000000..7bbbd5d --- /dev/null +++ b/PandaBoard/hifiLP @@ -0,0 +1,46 @@ +# Use case Configuration for TI PandaBoard HiFi Music +# By Liam Girdwood lrg@slimlogic.co.uk + +SectionVerb { + EnableSequence [ + cdev "hw:PandaBoard" + cset "name='DL1 Mixer Multimedia' 1" + cset "name='Sidetone Mixer Playback' 1" + cset "name='DL1 PDM Switch' 1" + cset "name='DL1 Media Playback Volume' 90,90" + cset "name='SDT DL Volume' 120" + ] + + DisableSequence [ + cdev "hw:PandaBoard" + cset "name='DL1 Mixer Multimedia' 0" + cset "name='Sidetone Mixer Playback' 0" + cset "name='DL1 PDM Switch' 0" + cset "name='DL1 Media Playback Volume' 0,0" + cset "name='SDT DL Volume' 0" + ] + + # Optional TQ and ALSA PCMs + Value { + TQ "Music" + PlaybackPCM "hw:0,6" + } +} + +SectionDevice."Headset".0 { + Comment "PandaBoard 3.5mm Headset" + + EnableSequence [ + cdev "hw:PandaBoard" + cset "name='Headset Left Playback' 1" + cset "name='Headset Right Playback' 1" + cset "name='Headset Playback Volume' 13" + ] + + DisableSequence [ + cdev "hw:PandaBoard" + cset "name='Headset Right Playback' 0" + cset "name='Headset Left Playback' 0" + cset "name='Headset Playback Volume' 0" + ] +} diff --git a/PandaBoard/record b/PandaBoard/record new file mode 100644 index 0000000..0eaf117 --- /dev/null +++ b/PandaBoard/record @@ -0,0 +1,47 @@ +# Use case Configuration for TI PandaBoard HiFi Music +# By Liam Girdwood lrg@slimlogic.co.uk + +SectionVerb { + EnableSequence [ + cdev "hw:PandaBoard" + # No more AMIC PDM Switch in current kernels + #cset "name='AMIC_UL PDM Switch' 1" + cset "name='MUX_UL00' 9" + cset "name='MUX_UL01' 10" + cset "name='Capture Volume' 4" + ] + + DisableSequence [ + cdev "hw:PandaBoard" + # No more AMIC PDM Switch in current kernels + #cset "name='AMIC_UL PDM Switch' 0" + cset "name='MUX_UL00' 0" + cset "name='MUX_UL01' 0" + cset "name='Capture Volume' 0" + ] + + # Optional TQ and ALSA PCMs + Value { + TQ "Music" + CapturePCM "hw:0,0" + } + +} + +SectionDevice."Headset".0 { + Comment "PandaBoard 3.5mm Headset" + + EnableSequence [ + cdev "hw:PandaBoard" + cset "name='Analog Left Capture Route' 0" + cset "name='Analog Right Capture Route' 0" + cset "name='Capture Preamplifier Volume' 2" + ] + + DisableSequence [ + cdev "hw:PandaBoard" + cset "name='Analog Left Capture Route' 3" + cset "name='Analog Right Capture Route' 3" + cset "name='Capture Preamplifier Volume' 0" + ] +} diff --git a/PandaBoard/voice b/PandaBoard/voice new file mode 100644 index 0000000..4861071 --- /dev/null +++ b/PandaBoard/voice @@ -0,0 +1,46 @@ +# Use case Configuration for TI PandaBoard HiFi Music +# By Liam Girdwood lrg@slimlogic.co.uk + +SectionVerb { + EnableSequence [ + cdev "hw:PandaBoard" + cset "name='DL1 Mixer Voice' 1" + cset "name='Sidetone Mixer Playback' 1" + cset "name='DL1 PDM Switch' 1" + cset "name='DL1 Voice Playback Volume' 90,90" + cset "name='SDT DL Volume' 120" + ] + + DisableSequence [ + cdev "hw:PandaBoard" + cset "name='DL1 Mixer Voice' 0" + cset "name='Sidetone Mixer Playback' 0" + cset "name='DL1 PDM Switch' 0" + cset "name='DL1 Voice Playback Volume' 0,0" + cset "name='SDT DL Volume' 0" + ] + + # Optional TQ and ALSA PCMs + Value { + TQ "Voice" + PlaybackPCM "hw:0,2" + } +} + +SectionDevice."Headset".0 { + Comment "PandaBoard 3.5mm Headset" + + EnableSequence [ + cdev "hw:PandaBoard" + cset "name='Headset Left Playback' 1" + cset "name='Headset Right Playback' 1" + cset "name='Headset Playback Volume' 13" + ] + + DisableSequence [ + cdev "hw:PandaBoard" + cset "name='Headset Right Playback' 0" + cset "name='Headset Left Playback' 0" + cset "name='Headset Playback Volume' 0" + ] +} diff --git a/PandaBoard/voiceCall b/PandaBoard/voiceCall new file mode 100644 index 0000000..d3c9501 --- /dev/null +++ b/PandaBoard/voiceCall @@ -0,0 +1,67 @@ +# Use case Configuration for TI PandaBoard HiFi Music +# By Liam Girdwood lrg@slimlogic.co.uk + +SectionVerb { + EnableSequence [ + cdev "hw:PandaBoard" + cset "name='AMIC_UL PDM Switch' 1" + cset "name='Sidetone Mixer Capture' 1" + cset "name='MUX_VX0' 9" + cset "name='MUX_VX1' 10" + cset "name='DL1 Mixer Voice' 1" + cset "name='Sidetone Mixer Playback' 1" + cset "name='DL1 PDM Switch' 1" + cset "name='DL1 Voice Playback Volume' 90,90" + cset "name='Capture Volume' 4" + cset "name='Capture Mixer Voice Capture' 90,90" + cset "name='SDT DL Volume' 120" + ] + + + DisableSequence [ + cdev "hw:PandaBoard" + cset "name='AMIC_UL PDM Switch' 0" + cset "name='Sidetone Mixer Capture' 0" + cset "name='MUX_VX0' 0" + cset "name='MUX_VX1' 0" + cset "name='DL1 Mixer Voice' 0" + cset "name='Sidetone Mixer Playback' 0" + cset "name='DL1 PDM Switch' 0" + cset "name='DL1 Voice Playback Volume' 0,0" + cset "name='Capture Volume' 0" + cset "name='DL1 Voice Playback Volume' 0,0" + cset "name='SDT DL Volume' 0" + ] + + # Optional TQ and ALSA PCMs + Value { + TQ "Voice" + CapturePCM "hw:0,2" + PlaybackPCM "hw:0,2" + } +} + +SectionDevice."Headset".0 { + Comment "PandaBoard 3.5mm Headset" + + EnableSequence [ + cdev "hw:PandaBoard" + cset "name='Analog Left Capture Route' 0" + cset "name='Analog Right Capture Route' 0" + cset "name='Capture Preamplifier Volume' 2" + cset "name='Headset Left Playback' 1" + cset "name='Headset Right Playback' 1" + cset "name='Headset Playback Volume' 13" + ] + + DisableSequence [ + cdev "hw:PandaBoard" + cset "name='Analog Left Capture Route' 3" + cset "name='Analog Right Capture Route' 3" + cset "name='Capture Preamplifier Volume' 0" + cset "name='Headset Right Playback' 0" + cset "name='Headset Left Playback' 0" + cset "name='Headset Playback Volume' 0" + ] +} +
Signed-off-by: Marcin Juszkiewicz marcin@juszkiewicz.com.pl --- PandaBoardES/FMAnalog | 46 +++++++++++++++++++++++ PandaBoardES/PandaBoardES.conf | 45 +++++++++++++++++++++++ PandaBoardES/hifi | 83 ++++++++++++++++++++++++++++++++++++++++++ PandaBoardES/hifiLP | 46 +++++++++++++++++++++++ PandaBoardES/record | 47 ++++++++++++++++++++++++ PandaBoardES/voice | 46 +++++++++++++++++++++++ PandaBoardES/voiceCall | 67 ++++++++++++++++++++++++++++++++++ 7 files changed, 380 insertions(+) create mode 100644 PandaBoardES/FMAnalog create mode 100644 PandaBoardES/PandaBoardES.conf create mode 100644 PandaBoardES/hifi create mode 100644 PandaBoardES/hifiLP create mode 100644 PandaBoardES/record create mode 100644 PandaBoardES/voice create mode 100644 PandaBoardES/voiceCall
diff --git a/PandaBoardES/FMAnalog b/PandaBoardES/FMAnalog new file mode 100644 index 0000000..6885cc8 --- /dev/null +++ b/PandaBoardES/FMAnalog @@ -0,0 +1,46 @@ +# Use case Configurationfor TI PandaBoardES HiFi Music +# By Liam Girdwood lrg@slimlogic.co.uk + +SectionVerb { + EnableSequence [ + cdev "hw:PandaBoardES" + cset "name='AMIC_UL PDM Switch' 1" + cset "name='MUX_UL00' 9" + cset "name='MUX_UL01' 10" + cset "name='Capture Volume' 4" + ] + + + DisableSequence [ + cdev "hw:PandaBoardES" + cset "name='AMIC_UL PDM Switch' 0" + cset "name='MUX_UL00' 0" + cset "name='MUX_UL01' 0" + cset "name='Capture Volume' 0" + ] + + # Optional TQ and ALSA PCMs + Value { + TQ "Music" + CapturePCM "hw:0,0" + } +} + +SectionDevice."Headset".0 { + Comment "PandaBoardES 3.5mm Headset" + + EnableSequence [ + cdev "hw:PandaBoardES" + cset "name='Analog Left Capture Route' 2" + cset "name='Analog Right Capture Route' 2" + cset "name='Capture Preamplifier Volume' 2" + ] + + DisableSequence [ + cdev "hw:PandaBoardES" + cset "name='Analog Left Capture Route' 3" + cset "name='Analog Right Capture Route' 3" + cset "name='Capture Preamplifier Volume' 0" + ] +} + diff --git a/PandaBoardES/PandaBoardES.conf b/PandaBoardES/PandaBoardES.conf new file mode 100644 index 0000000..4fe6d0b --- /dev/null +++ b/PandaBoardES/PandaBoardES.conf @@ -0,0 +1,45 @@ +# UCM configuration for PandaBoardES +SectionUseCase."Record" { + File "record" + Comment "Record." +} + +SectionUseCase."HiFi" { + File "hifi" + Comment "Play HiFi quality Music." +} + +SectionUseCase."HiFi_Low_Power" { + File "hifiLP" + Comment "Play HiFi quality Music in Low Power Mode." +} + +SectionUseCase."Voice" { + File "voice" + Comment "Playback Voice quality." +} + +SectionUseCase."Voice_Low_Power" { + File "voice" + Comment "Playback Voice quality in Low Power Mode." +} + +SectionUseCase."Voice_Call" { + File "voiceCall" + Comment "Capture and Playback in Voice quality." +} + +SectionUseCase."Voice_Call_IP" { + File "voiceCall" + Comment "Capture and Playback in Voice quality." +} + +SectionUseCase."FM_Analog_Radio" { + File "FMAnalog" + Comment "Capture FM Analog Radio." +} + +SectionDefaults [ + cdev "hw:PandaBoardES" + exec "echo Im setting PandaBoardES defaults" +] diff --git a/PandaBoardES/hifi b/PandaBoardES/hifi new file mode 100644 index 0000000..be00e60 --- /dev/null +++ b/PandaBoardES/hifi @@ -0,0 +1,83 @@ +# Use case Configuration for TI PandaBoardES HiFi Music +# By Liam Girdwood lrg@slimlogic.co.uk + +SectionVerb { + EnableSequence [ + cdev "hw:PandaBoardES" + cset "name='DL1 Mixer Multimedia' 1" + cset "name='Sidetone Mixer Playback' 1" + cset "name='DL1 PDM Switch' 1" + cset "name='DL1 Media Playback Volume' 90,90" + cset "name='SDT DL Volume' 120" + + cset "name='Headset Left Playback' 1" + cset "name='Headset Right Playback' 1" + cset "name='Headset Playback Volume' 13" + ] + + DisableSequence [ + cdev "hw:PandaBoardES" + cset "name='DL1 Mixer Multimedia' 0" + cset "name='Sidetone Mixer Playback' 0" + cset "name='DL1 PDM Switch' 0" + cset "name='DL1 Media Playback Volume' 0,0" + cset "name='SDT DL Volume' 0" + + cset "name='Headset Right Playback' 0" + cset "name='Headset Left Playback' 0" + cset "name='Headset Playback Volume' 0" + ] + + # Optional TQ and ALSA PCMs +# Value { +# TQ "Music" +# PlaybackPCM "hw:0,0" +# PlaybackVolume "name='DL1 Media Playback Volume' 90,90" +# PlaybackSwitch "name='DL1 PDM Switch' 1" +# } +} + +SectionDevice."Headset".0 { + Comment "PandaBoardES 3.5mm Headset" + + EnableSequence [ + cdev "hw:PandaBoardES" + cset "name='Headset Left Playback' 1" + cset "name='Headset Right Playback' 1" + cset "name='Headset Playback Volume' 13" + ] + + DisableSequence [ + cdev "hw:PandaBoardES" + cset "name='Headset Right Playback' 0" + cset "name='Headset Left Playback' 0" + cset "name='Headset Playback Volume' 0" + ] +} + +#SectionModifier."RecordMedia".0 { +# SupportedDevice [ +# "Headset" +# ] + # EnableSequence [ + # .... + # ] + # + # DisableSequence [ + # ... + # ] + # + # TransitionSequence."ToModifierName" [ + # ... + # ] + # + # # Optional TQ and ALSA PCMs + # Value { + # TQ Voice + # CapturePCM "hw:1" + # PlaybackVolume "name='Master Playback Volume',index=2" + # PlaybackSwitch "name='Master Playback Switch',index=2" + # } +# +#} + diff --git a/PandaBoardES/hifiLP b/PandaBoardES/hifiLP new file mode 100644 index 0000000..c817a58 --- /dev/null +++ b/PandaBoardES/hifiLP @@ -0,0 +1,46 @@ +# Use case Configuration for TI PandaBoardES HiFi Music +# By Liam Girdwood lrg@slimlogic.co.uk + +SectionVerb { + EnableSequence [ + cdev "hw:PandaBoardES" + cset "name='DL1 Mixer Multimedia' 1" + cset "name='Sidetone Mixer Playback' 1" + cset "name='DL1 PDM Switch' 1" + cset "name='DL1 Media Playback Volume' 90,90" + cset "name='SDT DL Volume' 120" + ] + + DisableSequence [ + cdev "hw:PandaBoardES" + cset "name='DL1 Mixer Multimedia' 0" + cset "name='Sidetone Mixer Playback' 0" + cset "name='DL1 PDM Switch' 0" + cset "name='DL1 Media Playback Volume' 0,0" + cset "name='SDT DL Volume' 0" + ] + + # Optional TQ and ALSA PCMs + Value { + TQ "Music" + PlaybackPCM "hw:0,6" + } +} + +SectionDevice."Headset".0 { + Comment "PandaBoardES 3.5mm Headset" + + EnableSequence [ + cdev "hw:PandaBoardES" + cset "name='Headset Left Playback' 1" + cset "name='Headset Right Playback' 1" + cset "name='Headset Playback Volume' 13" + ] + + DisableSequence [ + cdev "hw:PandaBoardES" + cset "name='Headset Right Playback' 0" + cset "name='Headset Left Playback' 0" + cset "name='Headset Playback Volume' 0" + ] +} diff --git a/PandaBoardES/record b/PandaBoardES/record new file mode 100644 index 0000000..4f272a9 --- /dev/null +++ b/PandaBoardES/record @@ -0,0 +1,47 @@ +# Use case Configuration for TI PandaBoardES HiFi Music +# By Liam Girdwood lrg@slimlogic.co.uk + +SectionVerb { + EnableSequence [ + cdev "hw:PandaBoardES" + # No more AMIC PDM Switch in current kernels + #cset "name='AMIC_UL PDM Switch' 1" + cset "name='MUX_UL00' 9" + cset "name='MUX_UL01' 10" + cset "name='Capture Volume' 4" + ] + + DisableSequence [ + cdev "hw:PandaBoardES" + # No more AMIC PDM Switch in current kernels + #cset "name='AMIC_UL PDM Switch' 0" + cset "name='MUX_UL00' 0" + cset "name='MUX_UL01' 0" + cset "name='Capture Volume' 0" + ] + + # Optional TQ and ALSA PCMs + Value { + TQ "Music" + CapturePCM "hw:0,0" + } + +} + +SectionDevice."Headset".0 { + Comment "PandaBoardES 3.5mm Headset" + + EnableSequence [ + cdev "hw:PandaBoardES" + cset "name='Analog Left Capture Route' 0" + cset "name='Analog Right Capture Route' 0" + cset "name='Capture Preamplifier Volume' 2" + ] + + DisableSequence [ + cdev "hw:PandaBoardES" + cset "name='Analog Left Capture Route' 3" + cset "name='Analog Right Capture Route' 3" + cset "name='Capture Preamplifier Volume' 0" + ] +} diff --git a/PandaBoardES/voice b/PandaBoardES/voice new file mode 100644 index 0000000..e2b3f79 --- /dev/null +++ b/PandaBoardES/voice @@ -0,0 +1,46 @@ +# Use case Configuration for TI PandaBoardES HiFi Music +# By Liam Girdwood lrg@slimlogic.co.uk + +SectionVerb { + EnableSequence [ + cdev "hw:PandaBoardES" + cset "name='DL1 Mixer Voice' 1" + cset "name='Sidetone Mixer Playback' 1" + cset "name='DL1 PDM Switch' 1" + cset "name='DL1 Voice Playback Volume' 90,90" + cset "name='SDT DL Volume' 120" + ] + + DisableSequence [ + cdev "hw:PandaBoardES" + cset "name='DL1 Mixer Voice' 0" + cset "name='Sidetone Mixer Playback' 0" + cset "name='DL1 PDM Switch' 0" + cset "name='DL1 Voice Playback Volume' 0,0" + cset "name='SDT DL Volume' 0" + ] + + # Optional TQ and ALSA PCMs + Value { + TQ "Voice" + PlaybackPCM "hw:0,2" + } +} + +SectionDevice."Headset".0 { + Comment "PandaBoardES 3.5mm Headset" + + EnableSequence [ + cdev "hw:PandaBoardES" + cset "name='Headset Left Playback' 1" + cset "name='Headset Right Playback' 1" + cset "name='Headset Playback Volume' 13" + ] + + DisableSequence [ + cdev "hw:PandaBoardES" + cset "name='Headset Right Playback' 0" + cset "name='Headset Left Playback' 0" + cset "name='Headset Playback Volume' 0" + ] +} diff --git a/PandaBoardES/voiceCall b/PandaBoardES/voiceCall new file mode 100644 index 0000000..57b1c80 --- /dev/null +++ b/PandaBoardES/voiceCall @@ -0,0 +1,67 @@ +# Use case Configuration for TI PandaBoardES HiFi Music +# By Liam Girdwood lrg@slimlogic.co.uk + +SectionVerb { + EnableSequence [ + cdev "hw:PandaBoardES" + cset "name='AMIC_UL PDM Switch' 1" + cset "name='Sidetone Mixer Capture' 1" + cset "name='MUX_VX0' 9" + cset "name='MUX_VX1' 10" + cset "name='DL1 Mixer Voice' 1" + cset "name='Sidetone Mixer Playback' 1" + cset "name='DL1 PDM Switch' 1" + cset "name='DL1 Voice Playback Volume' 90,90" + cset "name='Capture Volume' 4" + cset "name='Capture Mixer Voice Capture' 90,90" + cset "name='SDT DL Volume' 120" + ] + + + DisableSequence [ + cdev "hw:PandaBoardES" + cset "name='AMIC_UL PDM Switch' 0" + cset "name='Sidetone Mixer Capture' 0" + cset "name='MUX_VX0' 0" + cset "name='MUX_VX1' 0" + cset "name='DL1 Mixer Voice' 0" + cset "name='Sidetone Mixer Playback' 0" + cset "name='DL1 PDM Switch' 0" + cset "name='DL1 Voice Playback Volume' 0,0" + cset "name='Capture Volume' 0" + cset "name='DL1 Voice Playback Volume' 0,0" + cset "name='SDT DL Volume' 0" + ] + + # Optional TQ and ALSA PCMs + Value { + TQ "Voice" + CapturePCM "hw:0,2" + PlaybackPCM "hw:0,2" + } +} + +SectionDevice."Headset".0 { + Comment "PandaBoardES 3.5mm Headset" + + EnableSequence [ + cdev "hw:PandaBoardES" + cset "name='Analog Left Capture Route' 0" + cset "name='Analog Right Capture Route' 0" + cset "name='Capture Preamplifier Volume' 2" + cset "name='Headset Left Playback' 1" + cset "name='Headset Right Playback' 1" + cset "name='Headset Playback Volume' 13" + ] + + DisableSequence [ + cdev "hw:PandaBoardES" + cset "name='Analog Left Capture Route' 3" + cset "name='Analog Right Capture Route' 3" + cset "name='Capture Preamplifier Volume' 0" + cset "name='Headset Right Playback' 0" + cset "name='Headset Left Playback' 0" + cset "name='Headset Playback Volume' 0" + ] +} +
Signed-off-by: Marcin Juszkiewicz marcin@juszkiewicz.com.pl --- SDP4430/FMAnalog | 46 +++++++++++++++++++++++++++++ SDP4430/SDP4430.conf | 45 ++++++++++++++++++++++++++++ SDP4430/hifi | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++ SDP4430/hifiLP | 46 +++++++++++++++++++++++++++++ SDP4430/record | 45 ++++++++++++++++++++++++++++ SDP4430/voice | 46 +++++++++++++++++++++++++++++ SDP4430/voiceCall | 67 ++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 378 insertions(+) create mode 100644 SDP4430/FMAnalog create mode 100644 SDP4430/SDP4430.conf create mode 100644 SDP4430/hifi create mode 100644 SDP4430/hifiLP create mode 100644 SDP4430/record create mode 100644 SDP4430/voice create mode 100644 SDP4430/voiceCall
diff --git a/SDP4430/FMAnalog b/SDP4430/FMAnalog new file mode 100644 index 0000000..876527a --- /dev/null +++ b/SDP4430/FMAnalog @@ -0,0 +1,46 @@ +# Use case Configurationfor TI SDP4430 HiFi Music +# By Liam Girdwood lrg@slimlogic.co.uk + +SectionVerb { + EnableSequence [ + cdev "hw:SDP4430" + cset "name='AMIC_UL PDM Switch' 1" + cset "name='MUX_UL00' 9" + cset "name='MUX_UL01' 10" + cset "name='Capture Volume' 4" + ] + + + DisableSequence [ + cdev "hw:SDP4430" + cset "name='AMIC_UL PDM Switch' 0" + cset "name='MUX_UL00' 0" + cset "name='MUX_UL01' 0" + cset "name='Capture Volume' 0" + ] + + # Optional TQ and ALSA PCMs + Value { + TQ "Music" + CapturePCM "hw:0,0" + } +} + +SectionDevice."Headset".0 { + Comment "SDP4430 3.5mm Headset" + + EnableSequence [ + cdev "hw:SDP4430" + cset "name='Analog Left Capture Route' 2" + cset "name='Analog Right Capture Route' 2" + cset "name='Capture Preamplifier Volume' 2" + ] + + DisableSequence [ + cdev "hw:SDP4430" + cset "name='Analog Left Capture Route' 3" + cset "name='Analog Right Capture Route' 3" + cset "name='Capture Preamplifier Volume' 0" + ] +} + diff --git a/SDP4430/SDP4430.conf b/SDP4430/SDP4430.conf new file mode 100644 index 0000000..2fa2ab8 --- /dev/null +++ b/SDP4430/SDP4430.conf @@ -0,0 +1,45 @@ +# UCM configuration for SDP4430 +SectionUseCase."Record" { + File "record" + Comment "Record." +} + +SectionUseCase."HiFi" { + File "hifi" + Comment "Play HiFi quality Music." +} + +SectionUseCase."HiFi_Low_Power" { + File "hifiLP" + Comment "Play HiFi quality Music in Low Power Mode." +} + +SectionUseCase."Voice" { + File "voice" + Comment "Playback Voice quality." +} + +SectionUseCase."Voice_Low_Power" { + File "voice" + Comment "Playback Voice quality in Low Power Mode." +} + +SectionUseCase."Voice_Call" { + File "voiceCall" + Comment "Capture and Playback in Voice quality." +} + +SectionUseCase."Voice_Call_IP" { + File "voiceCall" + Comment "Capture and Playback in Voice quality." +} + +SectionUseCase."FM_Analog_Radio" { + File "FMAnalog" + Comment "Capture FM Analog Radio." +} + +SectionDefaults [ + cdev "hw:SDP4430" + exec "echo Im setting defaults" +] diff --git a/SDP4430/hifi b/SDP4430/hifi new file mode 100644 index 0000000..a3293c5 --- /dev/null +++ b/SDP4430/hifi @@ -0,0 +1,83 @@ +# Use case Configuration for TI SDP4430 HiFi Music +# By Liam Girdwood lrg@slimlogic.co.uk + +SectionVerb { + EnableSequence [ + cdev "hw:SDP4430" + cset "name='DL1 Mixer Multimedia' 1" + cset "name='Sidetone Mixer Playback' 1" + cset "name='DL1 PDM Switch' 1" + cset "name='DL1 Media Playback Volume' 90,90" + cset "name='SDT DL Volume' 120" + + cset "name='HS Left Playback' 1" + cset "name='HS Right Playback' 1" + cset "name='Headset Playback Volume' 13" + ] + + DisableSequence [ + cdev "hw:SDP4430" + cset "name='DL1 Mixer Multimedia' 0" + cset "name='Sidetone Mixer Playback' 0" + cset "name='DL1 PDM Switch' 0" + cset "name='DL1 Media Playback Volume' 0,0" + cset "name='SDT DL Volume' 0" + + cset "name='HS Right Playback' 0" + cset "name='HS Left Playback' 0" + cset "name='Headset Playback Volume' 0" + ] + + # Optional TQ and ALSA PCMs +# Value { +# TQ "Music" +# PlaybackPCM "hw:0,0" +# PlaybackVolume "name='DL1 Media Playback Volume' 90,90" +# PlaybackSwitch "name='DL1 PDM Switch' 1" +# } +} + +SectionDevice."Headset".0 { + Comment "SDP4430 3.5mm Headset" + + EnableSequence [ + cdev "hw:SDP4430" + cset "name='HS Left Playback' 1" + cset "name='HS Right Playback' 1" + cset "name='Headset Playback Volume' 13" + ] + + DisableSequence [ + cdev "hw:SDP4430" + cset "name='HS Right Playback' 0" + cset "name='HS Left Playback' 0" + cset "name='Headset Playback Volume' 0" + ] +} + +#SectionModifier."RecordMedia".0 { +# SupportedDevice [ +# "Headset" +# ] + # EnableSequence [ + # .... + # ] + # + # DisableSequence [ + # ... + # ] + # + # TransitionSequence."ToModifierName" [ + # ... + # ] + # + # # Optional TQ and ALSA PCMs + # Value { + # TQ Voice + # CapturePCM "hw:1" + # PlaybackVolume "name='Master Playback Volume',index=2" + # PlaybackSwitch "name='Master Playback Switch',index=2" + # } +# +#} + diff --git a/SDP4430/hifiLP b/SDP4430/hifiLP new file mode 100644 index 0000000..ccf3d87 --- /dev/null +++ b/SDP4430/hifiLP @@ -0,0 +1,46 @@ +# Use case Configuration for TI SDP4430 HiFi Music +# By Liam Girdwood lrg@slimlogic.co.uk + +SectionVerb { + EnableSequence [ + cdev "hw:SDP4430" + cset "name='DL1 Mixer Multimedia' 1" + cset "name='Sidetone Mixer Playback' 1" + cset "name='DL1 PDM Switch' 1" + cset "name='DL1 Media Playback Volume' 90,90" + cset "name='SDT DL Volume' 120" + ] + + DisableSequence [ + cdev "hw:SDP4430" + cset "name='DL1 Mixer Multimedia' 0" + cset "name='Sidetone Mixer Playback' 0" + cset "name='DL1 PDM Switch' 0" + cset "name='DL1 Media Playback Volume' 0,0" + cset "name='SDT DL Volume' 0" + ] + + # Optional TQ and ALSA PCMs + Value { + TQ "Music" + PlaybackPCM "hw:0,6" + } +} + +SectionDevice."Headset".0 { + Comment "SDP4430 3.5mm Headset" + + EnableSequence [ + cdev "hw:SDP4430" + cset "name='HS Left Playback' 1" + cset "name='HS Right Playback' 1" + cset "name='Headset Playback Volume' 13" + ] + + DisableSequence [ + cdev "hw:SDP4430" + cset "name='HS Right Playback' 0" + cset "name='HS Left Playback' 0" + cset "name='Headset Playback Volume' 0" + ] +} diff --git a/SDP4430/record b/SDP4430/record new file mode 100644 index 0000000..d680f25 --- /dev/null +++ b/SDP4430/record @@ -0,0 +1,45 @@ +# Use case Configuration for TI SDP4430 HiFi Music +# By Liam Girdwood lrg@slimlogic.co.uk + +SectionVerb { + EnableSequence [ + cdev "hw:SDP4430" + cset "name='AMIC_UL PDM Switch' 1" + cset "name='MUX_UL00' 9" + cset "name='MUX_UL01' 10" + cset "name='Capture Volume' 4" + ] + + DisableSequence [ + cdev "hw:SDP4430" + cset "name='AMIC_UL PDM Switch' 0" + cset "name='MUX_UL00' 0" + cset "name='MUX_UL01' 0" + cset "name='Capture Volume' 0" + ] + + # Optional TQ and ALSA PCMs + Value { + TQ "Music" + CapturePCM "hw:0,0" + } + +} + +SectionDevice."Headset".0 { + Comment "SDP4430 3.5mm Headset" + + EnableSequence [ + cdev "hw:SDP4430" + cset "name='Analog Left Capture Route' 0" + cset "name='Analog Right Capture Route' 0" + cset "name='Capture Preamplifier Volume' 2" + ] + + DisableSequence [ + cdev "hw:SDP4430" + cset "name='Analog Left Capture Route' 3" + cset "name='Analog Right Capture Route' 3" + cset "name='Capture Preamplifier Volume' 0" + ] +} diff --git a/SDP4430/voice b/SDP4430/voice new file mode 100644 index 0000000..8bea89c --- /dev/null +++ b/SDP4430/voice @@ -0,0 +1,46 @@ +# Use case Configuration for TI SDP4430 HiFi Music +# By Liam Girdwood lrg@slimlogic.co.uk + +SectionVerb { + EnableSequence [ + cdev "hw:SDP4430" + cset "name='DL1 Mixer Voice' 1" + cset "name='Sidetone Mixer Playback' 1" + cset "name='DL1 PDM Switch' 1" + cset "name='DL1 Voice Playback Volume' 90,90" + cset "name='SDT DL Volume' 120" + ] + + DisableSequence [ + cdev "hw:SDP4430" + cset "name='DL1 Mixer Voice' 0" + cset "name='Sidetone Mixer Playback' 0" + cset "name='DL1 PDM Switch' 0" + cset "name='DL1 Voice Playback Volume' 0,0" + cset "name='SDT DL Volume' 0" + ] + + # Optional TQ and ALSA PCMs + Value { + TQ "Voice" + PlaybackPCM "hw:0,2" + } +} + +SectionDevice."Headset".0 { + Comment "SDP4430 3.5mm Headset" + + EnableSequence [ + cdev "hw:SDP4430" + cset "name='HS Left Playback' 1" + cset "name='HS Right Playback' 1" + cset "name='Headset Playback Volume' 13" + ] + + DisableSequence [ + cdev "hw:SDP4430" + cset "name='HS Right Playback' 0" + cset "name='HS Left Playback' 0" + cset "name='Headset Playback Volume' 0" + ] +} diff --git a/SDP4430/voiceCall b/SDP4430/voiceCall new file mode 100644 index 0000000..4c06106 --- /dev/null +++ b/SDP4430/voiceCall @@ -0,0 +1,67 @@ +# Use case Configuration for TI SDP4430 HiFi Music +# By Liam Girdwood lrg@slimlogic.co.uk + +SectionVerb { + EnableSequence [ + cdev "hw:SDP4430" + cset "name='AMIC_UL PDM Switch' 1" + cset "name='Sidetone Mixer Capture' 1" + cset "name='MUX_VX0' 9" + cset "name='MUX_VX1' 10" + cset "name='DL1 Mixer Voice' 1" + cset "name='Sidetone Mixer Playback' 1" + cset "name='DL1 PDM Switch' 1" + cset "name='DL1 Voice Playback Volume' 90,90" + cset "name='Capture Volume' 4" + cset "name='Capture Mixer Voice Capture' 90,90" + cset "name='SDT DL Volume' 120" + ] + + + DisableSequence [ + cdev "hw:SDP4430" + cset "name='AMIC_UL PDM Switch' 0" + cset "name='Sidetone Mixer Capture' 0" + cset "name='MUX_VX0' 0" + cset "name='MUX_VX1' 0" + cset "name='DL1 Mixer Voice' 0" + cset "name='Sidetone Mixer Playback' 0" + cset "name='DL1 PDM Switch' 0" + cset "name='DL1 Voice Playback Volume' 0,0" + cset "name='Capture Volume' 0" + cset "name='DL1 Voice Playback Volume' 0,0" + cset "name='SDT DL Volume' 0" + ] + + # Optional TQ and ALSA PCMs + Value { + TQ "Voice" + CapturePCM "hw:0,2" + PlaybackPCM "hw:0,2" + } +} + +SectionDevice."Headset".0 { + Comment "SDP4430 3.5mm Headset" + + EnableSequence [ + cdev "hw:SDP4430" + cset "name='Analog Left Capture Route' 0" + cset "name='Analog Right Capture Route' 0" + cset "name='Capture Preamplifier Volume' 2" + cset "name='HS Left Playback' 1" + cset "name='HS Right Playback' 1" + cset "name='Headset Playback Volume' 13" + ] + + DisableSequence [ + cdev "hw:SDP4430" + cset "name='Analog Left Capture Route' 3" + cset "name='Analog Right Capture Route' 3" + cset "name='Capture Preamplifier Volume' 0" + cset "name='HS Right Playback' 0" + cset "name='HS Left Playback' 0" + cset "name='Headset Playback Volume' 0" + ] +} +
Signed-off-by: Marcin Juszkiewicz marcin@juszkiewicz.com.pl --- tegraalc5632/tegraalc5632.conf | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tegraalc5632/tegraalc5632.conf
diff --git a/tegraalc5632/tegraalc5632.conf b/tegraalc5632/tegraalc5632.conf new file mode 100644 index 0000000..958fade --- /dev/null +++ b/tegraalc5632/tegraalc5632.conf @@ -0,0 +1,30 @@ +# UCM configuration for tegra-alc5632 + +ValueDefaults { + PlaybackCTL "hw:0" + CaptureCTL "hw:0" +} + +SectionDefaults [ + exec "echo Im setting defaults for tegra-alc5632" + cdev "hw:tegraalc5632" + cset "name='Master Playback Switch' on" + cset "name='Master Playback Volume' 44,44" + cset "name='Headphone Playback Switch' on" + cset "name='Headphone Playback Volume' 21,21" + cset "name='Speaker Playback Switch' on" + cset "name='Speaker Playback Volume' 21,21" + cset "name='Speaker Mix DAC2SPK Playback Switch' on" + cset "name='SpeakerOut Mux' 2" + cset "name='SpeakerOut N Mux' LN/-R" + cset "name='AB-D Amp Mux' 0" + cset "name='HPL Mix DACL2HP Playback Switch' on" + cset "name='HPR Mix DACR2HP Playback Switch' on" + cset "name='Int Spk Switch' on" + cset "name='Left Headphone Mux' 1" + cset "name='Right Headphone Mux' 1" + cset "name='DMIC En Capture Switch' on" + cset "name='DMIC PreFilter Capture Switch' on" + cset "name='DMIC Boost Capture Volume' 4" + cset "name='Rec Capture Volume' 24" +]
On 05/10/2013 06:51 AM, Marcin Juszkiewicz wrote:
Signed-off-by: Marcin Juszkiewicz marcin@juszkiewicz.com.pl
tegraalc5632/tegraalc5632.conf | 30 ++++++++++++++++++++++++++++++
I'm not sure that's the correct name for this file.
"alc5632" is the name of the audio CODEC, which could be used in a variety of different boards, each of which might require a different UCM configuration. Shouldn't the file be named based on the board name. At least with upstream kernels, the device tree contains:
nvidia,model = "Compal PAZ00";
which should influence the name the kernel gives to the sound card, and hence I think be the name the UCM config is looked up under?
exec "echo Im setting defaults for tegra-alc5632"
I'm not sure if that's useful?
I also notice that this file doesn't define any use-cases/verbs/... Presumably a Linux-based OS would expect a certain set of them to exist, and they'd be implemented/named consistently across all UCM configs?
On Fri, May 10, 2013 at 10:22:59AM -0600, Stephen Warren wrote:
"alc5632" is the name of the audio CODEC, which could be used in a variety of different boards, each of which might require a different UCM configuration. Shouldn't the file be named based on the board name. At
Yes, it should.
I also notice that this file doesn't define any use-cases/verbs/... Presumably a Linux-based OS would expect a certain set of them to exist, and they'd be implemented/named consistently across all UCM configs?
I'd expect them to at least fall back to assuming some default thing is available - having a model that is more "do I need to do something special for this mode". Being able to give at least some basic functionality from a minimal starting point seems sensible.
Hi,
On Friday 10 May 2013 21:53:30 Mark Brown wrote:
On Fri, May 10, 2013 at 10:22:59AM -0600, Stephen Warren wrote:
"alc5632" is the name of the audio CODEC, which could be used in a variety of different boards, each of which might require a different UCM configuration. Shouldn't the file be named based on the board name. At
Yes, it should.
I like to help out, but I'm also unfamiliar with UCM profiles. This configuation belong to the AC100 netboot (board name paz00) and a single hifi use case would be sufficient for now. http://www.alsa- project.org/main/index.php/Use_Case_Manager doesn't give much info. Andrey, Leon, any idea?
Marc
I also notice that this file doesn't define any use-cases/verbs/... Presumably a Linux-based OS would expect a certain set of them to exist, and they'd be implemented/named consistently across all UCM configs?
I'd expect them to at least fall back to assuming some default thing is available - having a model that is more "do I need to do something special for this mode". Being able to give at least some basic functionality from a minimal starting point seems sensible.
On Sat, May 11, 2013 at 04:15:49PM +0200, Marc Dietrich wrote:
I like to help out, but I'm also unfamiliar with UCM profiles. This configuation belong to the AC100 netboot (board name paz00) and a single hifi use case would be sufficient for now. http://www.alsa- project.org/main/index.php/Use_Case_Manager doesn't give much info. Andrey, Leon, any idea?
The examples Marcin posted are pretty good to refer to. The main thing that's likely to be useful if the boards have multiple audio inputs or outputs is to add support for them - for a "computer" type form factor (as opposed to phone type form factor) there's probably not going to be huge variation between use cases out of the box anyway.
On Sat, May 11, 2013 at 5:26 PM, Mark Brown broonie@kernel.org wrote:
On Sat, May 11, 2013 at 04:15:49PM +0200, Marc Dietrich wrote:
I like to help out, but I'm also unfamiliar with UCM profiles. This configuation belong to the AC100 netboot (board name paz00) and a single hifi use case would be sufficient for now. http://www.alsa- project.org/main/index.php/Use_Case_Manager doesn't give much info. Andrey, Leon, any idea?
I would be happy to help, but I know nothing about UCM.
-- Leon Romanovsky | Independent Linux Consultant www.leon.nu | leon@leon.nu
At Fri, 10 May 2013 14:51:05 +0200, Marcin Juszkiewicz wrote:
When I bought Samsung ARM Chromebook few months ago I had no idea about UCM profiles and burnt speakers (left is dead, right is resting). Then I learnt, took ones from ChromeOS and added them into Ubuntu so other users will be a bit more safe.
Later I had a discussion with some Debian, Ubuntu, Fedora developers about how to solve such problems and how to keep UCM profiles shared between distributions.
Liam Girdwood pointed me to not used git tree at ALSA Project server and finally I reminded myself about it.
The idea is to collect UCM profiles, keep them in one place and create alsa-ucm package in each distribution.
Would it make sense to put into alsa-lib.git? Since UCM itself was already integrated into alsa-lib and there are already tons of card-based config files in alsa-lib/src/conf/*, these also fit to a similar directory there, I think.
They could be in a separate repo, but UCM config is coupled with UCM code, so we may keep in the single repo.
thanks,
Takashi
participants (6)
-
Leon Romanovsky
-
Marc Dietrich
-
Marcin Juszkiewicz
-
Mark Brown
-
Stephen Warren
-
Takashi Iwai