If.custompcm { Condition { Type String Empty "$${var:rt5682pcm}" } False.Define.pcm "${var:rt5682pcm}" True.Define.pcm 1 } SectionDevice."Headphones" { Comment "Headphones" Value { PlaybackPriority 200 PlaybackPCM "hw:${CardId},${var:pcm}" PlaybackMixerElem "DAC1" JackControl "Headphone Jack" } EnableSequence [ cset "name='Headphone Jack Switch' on" cset "name='HPOL Playback Switch' 1" cset "name='HPOR Playback Switch' 1" ] DisableSequence [ cset "name='Headphone Jack Switch' off" cset "name='HPOL Playback Switch' 0" cset "name='HPOR Playback Switch' 0" ] }