[PATCH 5/6] alsa-mixer: Disable line-out if headphone jack is plugged

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Line-out gets muted when headphones are plugged in on HDA cards, encode
this in the line-out path so pulse can match that state.
---
 src/modules/alsa/mixer/paths/analog-output-lineout.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/modules/alsa/mixer/paths/analog-output-lineout.conf b/src/modules/alsa/mixer/paths/analog-output-lineout.conf
index 7545c23..831092c 100644
--- a/src/modules/alsa/mixer/paths/analog-output-lineout.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-lineout.conf
@@ -34,6 +34,10 @@ state.plugged = unknown
 state.unplugged = unknown
 required-any = any
 
+[Jack Headphone]
+state.plugged = no
+state.unplugged = unknown
+
 [Jack Line Out Front]
 required-any = any
 
-- 
2.1.1



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux