pmaports/device/testing/device-samsung-p4wifi/90-device-samsung-p4wifi-jack.rules

3 lines
303 B
Text
Raw Normal View History

SUBSYSTEM=="extcon", ATTR{name}=="headset-jack", ATTR{state}=="HEADPHONE=1", RUN+="/usr/bin/alsaucm -c wm8994aif1 set _verb HiFi set _enadev Headset"
SUBSYSTEM=="extcon", ATTR{name}=="headset-jack", ATTR{state}=="HEADPHONE=0", RUN+="/usr/bin/alsaucm -c wm8994aif1 set _verb HiFi set _enadev SpeakerMic"