From fdf0e3c4c67ceb5ddc77c9c1f27d85c1be2055a6 Mon Sep 17 00:00:00 2001 From: Thierry Bultel Date: Wed, 13 Feb 2019 17:04:49 +0100 Subject: intel-upsquared: fixed the bluetooth SCO with an optional mic Fixed the bogus capture setup, HDMI cannot be used for that. See comments about changes of the minnow board for more details. Change-Id: Ia845437aade06d5994e7b86e3f73dca1ac0c197a Signed-off-by: Thierry Bultel --- community-boards/hal-4a-intel-upsquared-hdmi.json | 34 +++++++++++++++-------- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/community-boards/hal-4a-intel-upsquared-hdmi.json b/community-boards/hal-4a-intel-upsquared-hdmi.json index 6cc1cf7..1a61723 100644 --- a/community-boards/hal-4a-intel-upsquared-hdmi.json +++ b/community-boards/hal-4a-intel-upsquared-hdmi.json @@ -15,9 +15,9 @@ "info": "Bluealsa hal plugin", "params": { "sco": { - "mic": "INTEL-UPSQUARED-HDMI", - "zone": "full-stereo", - "delayms": 800 + "mic": "USB-MIC", + "zone": "front-seats-mono", + "delayms": 500 }, "a2dp": { "zone": "full-stereo", @@ -100,20 +100,17 @@ } }, "captures": { - "uid": "INTEL-UPSQUARED-HDMI", - "path": "/dev/snd/by-path/pci-0000:00:0e.0", + "uid": "USB-MIC", + "cardid": "hw:Microphone", "params": { - "rate": 48000 + "rate": 8000 }, + "optional" : true, "source": { "channels": [ { - "uid": "mic-right", + "uid": "mic-mono", "port": 0 - }, - { - "uid": "mic-left", - "port": 1 } ] } @@ -144,6 +141,21 @@ "channel": 1 } ] + }, + { + "uid": "front-seats-mono", + "sink": [ + { + "target": "front-right", + "channel": 0, + "volume": 1.0 + }, + { + "target": "front-left", + "channel": 0, + "volume": 1.0 + } + ] } ], "streams": [ -- cgit 1.2.3-korg