Re: [PATCH 4/5] chtrt5645: Remove bogus JackHWMute settings

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

 



Dne 05. 04. 20 v 20:34 Hans de Goede napsal(a):
There is no reason why the internal microphone or speakers cannot
be used when a headset is plugged in.

The jack does not physically disconnect these, so the JackHWMute settings
are wrong, remove them.

Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>
---
  ucm2/chtrt5645/HiFi-dmic1.conf                   | 2 --
  ucm2/chtrt5645/HiFi-dmic2.conf                   | 2 --
  ucm2/chtrt5645/HiFi-mono-speaker-analog-mic.conf | 2 --
  ucm2/chtrt5645/HiFi.conf                         | 2 --
  4 files changed, 8 deletions(-)

diff --git a/ucm2/chtrt5645/HiFi-dmic1.conf b/ucm2/chtrt5645/HiFi-dmic1.conf
index 1a8ee0a..c7e12c9 100644
--- a/ucm2/chtrt5645/HiFi-dmic1.conf
+++ b/ucm2/chtrt5645/HiFi-dmic1.conf
@@ -50,7 +50,6 @@ SectionDevice."Headphones" {
  		PlaybackPriority 200
  		PlaybackPCM "hw:${CardId}"
  		JackControl "Headphone Jack"
-		JackHWMute "Speaker"
  	}
ConflictingDevice [
@@ -96,7 +95,6 @@ SectionDevice."Headset" {
  		CapturePriority 200
  		CapturePCM "hw:${CardId}"
  		JackControl "Headset Mic Jack"
-		JackHWMute "Mic"
  	}
EnableSequence [
diff --git a/ucm2/chtrt5645/HiFi-dmic2.conf b/ucm2/chtrt5645/HiFi-dmic2.conf
index d3f880a..95fedb3 100644
--- a/ucm2/chtrt5645/HiFi-dmic2.conf
+++ b/ucm2/chtrt5645/HiFi-dmic2.conf
@@ -50,7 +50,6 @@ SectionDevice."Headphones" {
  		PlaybackPriority 200
  		PlaybackPCM "hw:${CardId}"
  		JackControl "Headphone Jack"
-		JackHWMute "Speaker"
  	}
ConflictingDevice [
@@ -98,7 +97,6 @@ SectionDevice."Headset" {
  		CapturePriority 200
  		CapturePCM "hw:${CardId}"
  		JackControl "Headset Mic Jack"
-		JackHWMute "Mic"
  	}
EnableSequence [
diff --git a/ucm2/chtrt5645/HiFi-mono-speaker-analog-mic.conf b/ucm2/chtrt5645/HiFi-mono-speaker-analog-mic.conf
index db866cd..f6180a4 100644
--- a/ucm2/chtrt5645/HiFi-mono-speaker-analog-mic.conf
+++ b/ucm2/chtrt5645/HiFi-mono-speaker-analog-mic.conf
@@ -54,7 +54,6 @@ SectionDevice."Headphones" {
  		PlaybackPriority 200
  		PlaybackPCM "hw:${CardId}"
  		JackControl "Headphone Jack"
-		JackHWMute "Speaker"
  	}
ConflictingDevice [
@@ -84,7 +83,6 @@ SectionDevice."Headset" {
  		CapturePriority 200
  		CapturePCM "hw:${CardId}"
  		JackControl "Headset Mic Jack"
-		JackHWMute "Mic"
  	}
EnableSequence [
diff --git a/ucm2/chtrt5645/HiFi.conf b/ucm2/chtrt5645/HiFi.conf
index 58468a8..116d456 100644
--- a/ucm2/chtrt5645/HiFi.conf
+++ b/ucm2/chtrt5645/HiFi.conf
@@ -50,7 +50,6 @@ SectionDevice."Headphones" {
  		PlaybackPriority 200
  		PlaybackPCM "hw:${CardId}"
  		JackControl "Headphone Jack"
-		JackHWMute "Speaker"
  	}
ConflictingDevice [
@@ -76,7 +75,6 @@ SectionDevice."Headset" {
  		CapturePriority 200
  		CapturePCM "hw:${CardId}"
  		JackControl "Headset Mic Jack"
-		JackHWMute "Mic"
  	}
EnableSequence [


Applied. Thanks.

				Jaroslav

--
Jaroslav Kysela <perex@xxxxxxxx>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux