Hi, Attached is a patch that effectively fixes pulseaudio (and adds the internal speakers for other UCM users, if any) on the ASUS C201 chromebook.
From c5aefcb169e9299dbbace0dc138c58f8121e6410 Mon Sep 17 00:00:00 2001 From: Urja Rannikko <urjaman@xxxxxxxxx> Date: Wed, 6 Jun 2018 17:52:42 +0000 Subject: [PATCH] conf/ucm: VEYRON-I2S: Add internal speakers and mic, other fixes Other fixes include output/input names (comments) for UIs (pavucontrol) to display, and Playback/CapturePCM entries so pulseaudio initializes correctly on this hardware. Signed-off-by: Urja Rannikko <urjaman@xxxxxxxxx> --- src/conf/ucm/VEYRON-I2S/HiFi.conf | 38 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/src/conf/ucm/VEYRON-I2S/HiFi.conf b/src/conf/ucm/VEYRON-I2S/HiFi.conf index 292b8fc..6dddf9a 100644 --- a/src/conf/ucm/VEYRON-I2S/HiFi.conf +++ b/src/conf/ucm/VEYRON-I2S/HiFi.conf @@ -47,9 +47,45 @@ SectionVerb { ] } +SectionDevice."Speaker".0 { + Comment "Speaker" + Value { + PlaybackPCM "hw:VEYRONI2S,0" + } + EnableSequence [ + cdev "hw:VEYRONI2S" + + cset "name='Speaker Switch' on" + ] + DisableSequence [ + cdev "hw:VEYRONI2S" + + cset "name='Speaker Switch' off" + ] +} + +SectionDevice."Internal Mic".0 { + Comment "Int Mic" + Value { + CapturePCM "hw:VEYRONI2S,0" + } + EnableSequence [ + cdev "hw:VEYRONI2S" + + cset "name='Int Mic Switch' on" + ] + DisableSequence [ + cdev "hw:VEYRONI2S" + + cset "name='Int Mic Switch' off" + ] +} + SectionDevice."Headphone".0 { + Comment "Headphone" Value { JackName "VEYRON-I2S Headset Jack" + PlaybackPCM "hw:VEYRONI2S,0" OutputDspName "" } @@ -70,8 +106,10 @@ SectionDevice."Headphone".0 { } SectionDevice."Mic".0 { + Comment "Headset Mic" Value { JackName "VEYRON-I2S Headset Jack" + CapturePCM "hw:VEYRONI2S,0" } EnableSequence [ -- 2.17.1
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel