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

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

 





On 4/5/20 1:34 PM, Hans de Goede wrote:
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.

Are you sure about the internal mic and headset input not conflicting? IIRC they use the same path after the initial routing selector. I may be wrong but I'd be surprised if you can use both.

Now that I think of it further, in case the SSP0 is used an I2S link is configured, so you cannot have both streams in parallel. It may be possible to use headset and dmic in parallel with the 4 slot version but we also have 1 PCM capture only.

So overall it seems rather unlikely that we can support dmic + headset mic in parallel?

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 [




[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