Dne 13. 03. 20 v 12:00 Mateusz Gorski napsal(a):
Basic UCM configuration for Intel Skylake SST HDA DSP generic machine driver enabling codec playback and capture on both HDA codec and DMIC ports. Signed-off-by: Mateusz Gorski <mateusz.gorski@xxxxxxxxxxxxxxx> ---
...
+SectionDevice."Headphones" { + Comment "Headphones" + + ConflictingDevice [ + "Speaker" + ] + + EnableSequence [ + cset "name='Headphone Playback Switch' 1,1" + cset "name='Speaker Playback Switch' 0,0" + ] + + Value [ + PlaybackPriority 200 + PlaybackPCM "hw:${CardId},7" + JackControl "Front Headphone Jack" + JackHWMute "Speaker" + ] +}
If there is a volume control, it should be defined via PlaybackMixerElem (like PlaybackMixerElem "Headphone").
+ValueDefaults { + PlaybackChannels "2" + CaptureChannels "2" +}
This ValueDefaults {} section with this contents should be removed. The stereo is the default settings.
Jaroslav -- Jaroslav Kysela <perex@xxxxxxxx> Linux Sound Maintainer; ALSA Project; Red Hat, Inc.