aboutsummaryrefslogtreecommitdiffstats
path: root/4a-hal-cfg-community
diff options
context:
space:
mode:
Diffstat (limited to '4a-hal-cfg-community')
-rw-r--r--4a-hal-cfg-community/CMakeLists.txt31
-rw-r--r--4a-hal-cfg-community/hal-4a-2ch-generic-usb.json222
-rw-r--r--4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json290
-rw-r--r--4a-hal-cfg-community/hal-4a-ensoniq.json222
-rw-r--r--4a-hal-cfg-community/hal-4a-intel-upsquared-hdmi.json185
-rw-r--r--4a-hal-cfg-community/hal-4a-intel.json221
-rw-r--r--4a-hal-cfg-community/hal-4a-jabra.json221
-rw-r--r--4a-hal-cfg-community/hal-4a-raspberry-pi-3.json198
8 files changed, 0 insertions, 1590 deletions
diff --git a/4a-hal-cfg-community/CMakeLists.txt b/4a-hal-cfg-community/CMakeLists.txt
deleted file mode 100644
index 46b866e..0000000
--- a/4a-hal-cfg-community/CMakeLists.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-###########################################################################
-# Copyright 2017, 2018 IoT.bzh
-#
-# author: Fulup Ar Foll <fulup@iot.bzh>
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-###########################################################################
-
-##################################################
-# Control Policy Config file
-##################################################
-PROJECT_TARGET_ADD(4a-hal-cfg-community)
-
- file(GLOB CONF_FILES "*.json")
-
- add_input_files("${CONF_FILES}")
-
- SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES
- LABELS "BINDING-CONFIG"
- OUTPUT_NAME ${TARGET_NAME}
- )
diff --git a/4a-hal-cfg-community/hal-4a-2ch-generic-usb.json b/4a-hal-cfg-community/hal-4a-2ch-generic-usb.json
deleted file mode 100644
index efc59e3..0000000
--- a/4a-hal-cfg-community/hal-4a-2ch-generic-usb.json
+++ /dev/null
@@ -1,222 +0,0 @@
-{
- "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
- "metadata": {
- "uid": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00",
- "version": "0.9",
- "api": "4a-hal-2ch-generic-usb",
- "require": [ "alsacore", "smixer" ],
- "info": "4a hal for 2ch generic USB device",
- "author": "Jonathan Aillet",
- "date": "2018-06-13"
- },
- "resources": [
- {
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
- "params": {
- "channels": 2,
- "zone": "front-seats"
- },
- "libs": ["hal-bt.ctlso"]
- }
- ],
- "controls": [
- {
- "uid": "ping",
- "info": "Ping hal",
- "action": "api://4a-hal-manager#ping"
- }
- ],
- "halmap": [
- {
- "uid": "agl-master-playback-volume",
- "alsa": {
- "name": "Speaker Playback Volume",
- "value": 80
- }
- },
- {
- "uid": "agl-master-playback-switch",
- "alsa": {
- "name": "Speaker Playback Switch",
- "value": 1
- }
- },
- {
- "uid": "agl-mic-capture-volume",
- "alsa": {
- "name": "Mic Capture Volume",
- "value": 80
- }
- },
- {
- "uid": "agl-mic-capture-switch",
- "alsa": {
- "name": "Mic Capture Switch",
- "value": 1
- }
- }
- ],
- "halmixer": {
- "uid": "2ch-generic-usb",
- "mixerapi": "smixer",
- "prefix": "2ch-usb",
- "ramps": [
- {
- "uid": "ramp-very-fast",
- "delay": 50,
- "up": 6,
- "down": 10
- },
- {
- "uid": "ramp-fast",
- "delay": 50,
- "up": 2,
- "down": 10
- },
- {
- "uid": "ramp-normal",
- "delay": 50,
- "up": 2,
- "down": 4
- },
- {
- "uid": "ramp-slow",
- "delay": 50,
- "up": 2,
- "down": 2
- },
- {
- "uid": "ramp-very-slow",
- "delay": 100,
- "up": 1,
- "down": 1
- }
- ],
- "playbacks" : {
- "uid": "2CH-GENERIC-USB",
- "path": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00",
- "params": {
- "rate": 48000
- },
- "sink": {
- "controls": {
- "volume": {
- "name": "Speaker Playback Volume",
- "value": 80
- },
- "mute": {
- "name": "Speaker Playback Switch"
- }
- },
- "channels": [
- {
- "uid": "front-right",
- "port": 0
- },
- {
- "uid": "front-left",
- "port": 1
- }
- ]
- }
- },
- "captures": {
- "uid": "2CH-GENERIC-USB",
- "path": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00",
- "params": {
- "rate": 48000
- },
- "source": {
- "controls": {
- "volume": {
- "name": "Capture Volume"
- },
- "mute": {
- "name": "Capture Switch"
- }
- },
- "channels": [
- {
- "uid": "mic-right",
- "port": 0
- },
- {
- "uid": "mic-left",
- "port": 1
- }
- ]
- }
- },
- "zones": [
- {
- "uid": "full-stereo",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "front-seats",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- }
- ],
- "streams": [
- {
- "uid": "multimedia",
- "verb": "multimedia",
- "zone": "full-stereo",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "navigation",
- "verb": "navigation",
- "zone": "front-seats",
- "volume": 70,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "emergency",
- "verb": "emergency",
- "zone": "front-seats",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "radio_stream",
- "verb": "radio_stream",
- "zone": "full-stereo",
- "volume": 70,
- "mute": true,
- "params": {
- "rate" : 48000
- }
- }
- ]
- }
-}
diff --git a/4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json b/4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json
deleted file mode 100644
index 09bfcfa..0000000
--- a/4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json
+++ /dev/null
@@ -1,290 +0,0 @@
-{
- "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
- "metadata": {
- "uid": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00",
- "version": "0.9",
- "api": "4a-hal-csl-cm106-8ch-usb",
- "require": [ "alsacore", "smixer" ],
- "info": "4a hal for CSL CM106 8ch USB device",
- "author": "Jonathan Aillet",
- "date": "2018-06-09"
- },
- "resources": [
- {
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
- "params": {
- "channels": 2,
- "zone": "front-seats"
- },
- "libs": ["hal-bt.ctlso"]
- }
- ],
- "controls": [
- {
- "uid": "ping",
- "info": "Ping hal",
- "action": "api://4a-hal-manager#ping"
- }
- ],
- "halmap": [
- {
- "uid": "agl-mic-capture-volume",
- "alsa": {
- "name": "Mic Capture Volume",
- "value": 60
- }
- },
- {
- "uid": "agl-speaker-playback-volume",
- "alsa": {
- "numid": 8,
- "value": 80
- }
- },
- {
- "uid": "hal-ping",
- "info": "ping this hal through alsa",
- "alsa": {
- "name": "Hal-Ping",
- "value": 20,
- "create":
- {
- "type": "INTEGER",
- "count": 1,
- "minval": 0,
- "maxval": 100,
- "step": 1
- }
- },
- "action": "api://4a-hal-csl-cm106-8ch-usb#ping"
- }
- ],
- "halmixer": {
- "uid": "csl-cm106-8ch-usb",
- "mixerapi": "smixer",
- "prefix": "cm106-usb",
- "ramps": [
- {
- "uid": "ramp-fast",
- "delay": 50,
- "up": 10,
- "down": 3
- },
- {
- "uid": "ramp-slow",
- "delay": 250,
- "up": 3,
- "down": 1
- },
- {
- "uid": "ramp-normal",
- "delay": 100,
- "up": 6,
- "down": 2
- }
- ],
- "playbacks" : {
- "uid": "CSL-CM106-8CH-USB",
- "path": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00",
- "params": {
- "rate": 48000
- },
- "sink": {
- "controls": {
- "volume": {
- "name": "Speaker Playback Volume",
- "value": 80
- },
- "mute": {
- "name": "Speaker Playback Switch"
- }
- },
- "channels": [
- {
- "uid": "front-right",
- "port": 0
- },
- {
- "uid": "front-left",
- "port": 1
- },
- {
- "uid": "middle-right",
- "port": 2
- },
- {
- "uid": "middle-left",
- "port": 3
- },
- {
- "uid": "back-right",
- "port": 4
- },
- {
- "uid": "back-left",
- "port": 5
- },
- {
- "uid": "center-right",
- "port": 6
- },
- {
- "uid": "center-left",
- "port": 7
- }
- ]
- }
- },
- "captures": {
- "uid": "CSL-CM106-8CH-USB",
- "path": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00",
- "params": {
- "rate": 48000
- },
- "source": {
- "controls": {
- "volume": {
- "name": "Capture Volume"
- },
- "mute": {
- "name": "Capture Switch"
- }
- },
- "channels": [
- {
- "uid": "mic-right",
- "port": 0
- },
- {
- "uid": "mic-left",
- "port": 1
- }
- ]
- }
- },
- "zones": [
- {
- "uid": "full-stereo",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- },
- {
- "target": "middle-right",
- "channel": 0
- },
- {
- "target": "middle-left",
- "channel": 1
- },
- {
- "target": "back-right",
- "channel": 0
- },
- {
- "target": "back-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "front-seats",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "middle-seats",
- "sink": [
- {
- "target": "middle-right",
- "channel": 0
- },
- {
- "target": "middle-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "back-seats",
- "sink": [
- {
- "target": "back-right",
- "channel": 0
- },
- {
- "target": "back-left",
- "channel": 1
- }
- ]
- }
- ],
- "streams": [
- {
- "uid": "multimedia",
- "verb": "multimedia",
- "zone": "full-stereo",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "navigation",
- "verb": "navigation",
- "zone": "front-seats",
- "volume": 70,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "emergency",
- "verb": "emergency",
- "zone": "front-seats",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "legacy",
- "verb": "legacy",
- "zone": "back-seats",
- "source": "loop-legacy",
- "volume": 50,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "radio_stream",
- "verb": "radio_stream",
- "zone": "full-stereo",
- "volume": 70,
- "mute": true,
- "params": {
- "rate" : 48000
- }
- }
- ]
- }
-}
diff --git a/4a-hal-cfg-community/hal-4a-ensoniq.json b/4a-hal-cfg-community/hal-4a-ensoniq.json
deleted file mode 100644
index 7d1dc80..0000000
--- a/4a-hal-cfg-community/hal-4a-ensoniq.json
+++ /dev/null
@@ -1,222 +0,0 @@
-{
- "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
- "metadata": {
- "uid": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00",
- "version": "0.9",
- "api": "4a-hal-ensoniq",
- "require": [ "alsacore", "smixer" ],
- "info": "4a hal for Ensoniq",
- "author": "Jonathan Aillet",
- "date": "2018-06-13"
- },
- "resources": [
- {
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
- "params": {
- "channels": 2,
- "zone": "front-seats"
- },
- "libs": ["hal-bt.ctlso"]
- }
- ],
- "controls": [
- {
- "uid": "ping",
- "info": "Ping hal",
- "action": "api://4a-hal-manager#ping"
- }
- ],
- "halmap": [
- {
- "uid": "agl-master-playback-volume",
- "alsa": {
- "name": "Master Playback Volume",
- "value": 100
- }
- },
- {
- "uid": "agl-pcm-playback-volume",
- "alsa": {
- "name": "PCM Playback Volume",
- "value": 100
- }
- },
- {
- "uid": "agl-master-playback-switch",
- "alsa": {
- "name": "Master Playback Switch",
- "value": 1
- }
- },
- {
- "uid": "agl-mic-capture-volume",
- "alsa": {
- "name": "Capture Volume"
- }
- }
- ],
- "halmixer": {
- "uid": "ensoniq",
- "mixerapi": "smixer",
- "prefix": "ensoniq",
- "ramps": [
- {
- "uid": "ramp-very-fast",
- "delay": 50,
- "up": 6,
- "down": 4
- },
- {
- "uid": "ramp-fast",
- "delay": 50,
- "up": 2,
- "down": 4
- },
- {
- "uid": "ramp-normal",
- "delay": 100,
- "up": 6,
- "down": 10
- },
- {
- "uid": "ramp-slow",
- "delay": 100,
- "up": 4,
- "down": 2
- },
- {
- "uid": "ramp-very-slow",
- "delay": 100,
- "up": 1,
- "down": 1
- }
- ],
- "playbacks" : {
- "uid": "ENSONIQ",
- "path": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00",
- "params": {
- "rate": 48000
- },
- "sink": {
- "controls": {
- "volume": {
- "name": "Speaker Playback Volume",
- "value": 80
- },
- "mute": {
- "name": "Speaker Playback Switch"
- }
- },
- "channels": [
- {
- "uid": "front-right",
- "port": 0
- },
- {
- "uid": "front-left",
- "port": 1
- }
- ]
- }
- },
- "captures": {
- "uid": "ENSONIQ",
- "path": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00",
- "params": {
- "rate": 48000
- },
- "source": {
- "controls": {
- "volume": {
- "name": "Capture Volume"
- },
- "mute": {
- "name": "Capture Switch"
- }
- },
- "channels": [
- {
- "uid": "mic-right",
- "port": 0
- },
- {
- "uid": "mic-left",
- "port": 1
- }
- ]
- }
- },
- "zones": [
- {
- "uid": "full-stereo",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "front-seats",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- }
- ],
- "streams": [
- {
- "uid": "multimedia",
- "verb": "multimedia",
- "zone": "full-stereo",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "navigation",
- "verb": "navigation",
- "zone": "front-seats",
- "volume": 70,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "emergency",
- "verb": "emergency",
- "zone": "front-seats",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "radio_stream",
- "verb": "radio_stream",
- "zone": "full-stereo",
- "volume": 70,
- "mute": true,
- "params": {
- "rate" : 48000
- }
- }
-
- ]
- }
-}
diff --git a/4a-hal-cfg-community/hal-4a-intel-upsquared-hdmi.json b/4a-hal-cfg-community/hal-4a-intel-upsquared-hdmi.json
deleted file mode 100644
index 8597489..0000000
--- a/4a-hal-cfg-community/hal-4a-intel-upsquared-hdmi.json
+++ /dev/null
@@ -1,185 +0,0 @@
-{
- "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
- "metadata": {
- "uid": "/dev/snd/by-path/pci-0000:00:0e.0",
- "version": "0.9",
- "api": "4a-hal-intel-upsquared-hdmi",
- "require": [ "alsacore", "smixer" ],
- "info": "4a hal for Intel UpSquared device via HDMI socket",
- "author": "Dominig ar Foll (Intel OTC)",
- "date": "2018-10-01"
- },
- "resources": [
- {
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
- "params": {
- "channels": 2,
- "zone": "front-seats"
- },
- "libs": ["hal-bt.ctlso"]
- }
- ],
- "controls": [
- {
- "uid": "ping",
- "info": "Ping hal",
- "action": "api://4a-hal-manager#ping"
- }
- ],
- "halmap": [
- {
- "uid": "agl-pcm-playback-switch",
- "alsa": {
- "numid": 11,
- "value": 1
- }
- }
- ],
- "halmixer": {
- "uid": "intel-upsquared-hdmi",
- "mixerapi": "smixer",
- "prefix": "intel-upsquared-hdmi",
- "ramps": [
- {
- "uid": "ramp-very-fast",
- "delay": 50,
- "up": 6,
- "down": 10
- },
- {
- "uid": "ramp-fast",
- "delay": 50,
- "up": 2,
- "down": 10
- },
- {
- "uid": "ramp-normal",
- "delay": 50,
- "up": 2,
- "down": 4
- },
- {
- "uid": "ramp-slow",
- "delay": 50,
- "up": 2,
- "down": 2
- },
- {
- "uid": "ramp-very-slow",
- "delay": 100,
- "up": 1,
- "down": 1
- }
- ],
- "playbacks" : {
- "uid": "INTEL-UPSQUARED-HDMI",
- "cardid": "hw:PCH",
- "device": 7,
- "params": {
- "rate": 48000
- },
- "sink": {
- "channels": [
- {
- "uid": "front-right",
- "port": 0
- },
- {
- "uid": "front-left",
- "port": 1
- }
- ]
- }
- },
- "captures": {
- "uid": "INTEL-UPSQUARED-HDMI",
- "path": "/dev/snd/by-path/pci-0000:00:0e.0",
- "params": {
- "rate": 48000
- },
- "source": {
- "channels": [
- {
- "uid": "mic-right",
- "port": 0
- },
- {
- "uid": "mic-left",
- "port": 1
- }
- ]
- }
- },
- "zones": [
- {
- "uid": "full-stereo",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "front-seats",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- }
- ],
- "streams": [
- {
- "uid": "multimedia",
- "verb": "multimedia",
- "zone": "full-stereo",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "navigation",
- "verb": "navigation",
- "zone": "front-seats",
- "volume": 70,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "emergency",
- "verb": "emergency",
- "zone": "front-seats",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "radio_stream",
- "verb": "radio_stream",
- "zone": "full-stereo",
- "volume": 70,
- "mute": true,
- "params": {
- "rate" : 48000
- }
- }
- ]
- }
-}
diff --git a/4a-hal-cfg-community/hal-4a-intel.json b/4a-hal-cfg-community/hal-4a-intel.json
deleted file mode 100644
index 1e27896..0000000
--- a/4a-hal-cfg-community/hal-4a-intel.json
+++ /dev/null
@@ -1,221 +0,0 @@
-{
- "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
- "metadata": {
- "uid": "/dev/snd/by-path/pci-0000:00:1b.0",
- "version": "0.9",
- "api": "4a-hal-intel",
- "require": [ "alsacore", "smixer" ],
- "info": "4a hal for Intel device",
- "author": "Jonathan Aillet",
- "date": "2018-06-13"
- },
- "resources": [
- {
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
- "params": {
- "channels": 2,
- "zone": "front-seats"
- },
- "libs": ["hal-bt.ctlso"]
- }
- ],
- "controls": [
- {
- "uid": "ping",
- "info": "Ping hal",
- "action": "api://4a-hal-manager#ping"
- }
- ],
- "halmap": [
- {
- "uid": "agl-master-playback-volume",
- "alsa": {
- "name": "Master Playback Volume",
- "value": 100
- }
- },
- {
- "uid": "agl-pcm-playback-volume",
- "alsa": {
- "name": "PCM Playback Volume",
- "value": 100
- }
- },
- {
- "uid": "agl-master-playback-switch",
- "alsa": {
- "name": "Master Playback Switch",
- "value": 1
- }
- },
- {
- "uid": "agl-capture-volume",
- "alsa": {
- "name": "Capture Volume"
- }
- }
- ],
- "halmixer": {
- "uid": "intel",
- "mixerapi": "smixer",
- "prefix": "intel-generic",
- "ramps": [
- {
- "uid": "ramp-very-fast",
- "delay": 50,
- "up": 6,
- "down": 10
- },
- {
- "uid": "ramp-fast",
- "delay": 50,
- "up": 2,
- "down": 10
- },
- {
- "uid": "ramp-normal",
- "delay": 50,
- "up": 2,
- "down": 4
- },
- {
- "uid": "ramp-slow",
- "delay": 50,
- "up": 2,
- "down": 2
- },
- {
- "uid": "ramp-very-slow",
- "delay": 100,
- "up": 1,
- "down": 1
- }
- ],
- "playbacks" : {
- "uid": "INTEL",
- "path": "/dev/snd/by-path/pci-0000:00:1b.0",
- "params": {
- "rate": 48000
- },
- "sink": {
- "controls": {
- "volume": {
- "name": "Master Playback Volume",
- "value": 80
- },
- "mute": {
- "name": "Master Playback Switch"
- }
- },
- "channels": [
- {
- "uid": "front-right",
- "port": 0
- },
- {
- "uid": "front-left",
- "port": 1
- }
- ]
- }
- },
- "captures": {
- "uid": "INTEL",
- "path": "/dev/snd/by-path/pci-0000:00:1b.0",
- "params": {
- "rate": 48000
- },
- "source": {
- "controls": {
- "volume": {
- "name": "Capture Volume"
- },
- "mute": {
- "name": "Capture Switch"
- }
- },
- "channels": [
- {
- "uid": "mic-right",
- "port": 0
- },
- {
- "uid": "mic-left",
- "port": 1
- }
- ]
- }
- },
- "zones": [
- {
- "uid": "full-stereo",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "front-seats",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- }
- ],
- "streams": [
- {
- "uid": "multimedia",
- "verb": "multimedia",
- "zone": "full-stereo",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "navigation",
- "verb": "navigation",
- "zone": "front-seats",
- "volume": 70,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "emergency",
- "verb": "emergency",
- "zone": "front-seats",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "radio_stream",
- "verb": "radio_stream",
- "zone": "full-stereo",
- "volume": 70,
- "mute": true,
- "params": {
- "rate" : 48000
- }
- }
- ]
- }
-}
diff --git a/4a-hal-cfg-community/hal-4a-jabra.json b/4a-hal-cfg-community/hal-4a-jabra.json
deleted file mode 100644
index d9879d4..0000000
--- a/4a-hal-cfg-community/hal-4a-jabra.json
+++ /dev/null
@@ -1,221 +0,0 @@
-{
- "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
- "metadata": {
- "uid": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00",
- "version": "0.9",
- "api": "4a-hal-jabra-solemate",
- "require": [ "alsacore", "smixer" ],
- "info": "4a hal for Jabra Solemate",
- "author": "Jonathan Aillet",
- "date": "2018-06-13"
- },
- "resources": [
- {
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
- "params": {
- "channels": 2,
- "zone": "front-seats"
- },
- "libs": ["hal-bt.ctlso"]
- }
- ],
- "controls": [
- {
- "uid": "ping",
- "info": "Ping hal",
- "action": "api://4a-hal-manager#ping"
- }
- ],
- "halmap": [
- {
- "uid": "agl-master-playback-volume",
- "alsa": {
- "name": "PCM Playback Volume",
- "value": 80
- }
- },
- {
- "uid": "agl-pcm-playback-volume",
- "alsa": {
- "name": "PCM Playback Volume",
- "value": 80
- }
- },
- {
- "uid": "agl-pcm-playback-switch",
- "alsa": {
- "name": "PCM Playback Switch",
- "value": 1
- }
- },
- {
- "uid": "agl-mic-capture-volume",
- "alsa": {
- "name": "Mic Capture Volume"
- }
- }
- ],
- "halmixer": {
- "uid": "jabra-solemate",
- "mixerapi": "smixer",
- "prefix": "jabra-solemate",
- "ramps": [
- {
- "uid": "ramp-very-fast",
- "delay": 50,
- "up": 6,
- "down": 10
- },
- {
- "uid": "ramp-fast",
- "delay": 50,
- "up": 2,
- "down": 10
- },
- {
- "uid": "ramp-normal",
- "delay": 50,
- "up": 2,
- "down": 4
- },
- {
- "uid": "ramp-slow",
- "delay": 50,
- "up": 2,
- "down": 2
- },
- {
- "uid": "ramp-very-slow",
- "delay": 100,
- "up": 1,
- "down": 1
- }
- ],
- "playbacks" : {
- "uid": "JABRA-SOLEMATE",
- "path": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00",
- "params": {
- "rate": 48000
- },
- "sink": {
- "controls": {
- "volume": {
- "name": "Speaker Playback Volume",
- "value": 80
- },
- "mute": {
- "name": "Speaker Playback Switch"
- }
- },
- "channels": [
- {
- "uid": "front-right",
- "port": 0
- },
- {
- "uid": "front-left",
- "port": 1
- }
- ]
- }
- },
- "captures": {
- "uid": "JABRA-SOLEMATE",
- "path": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00",
- "params": {
- "rate": 48000
- },
- "source": {
- "controls": {
- "volume": {
- "name": "Capture Volume"
- },
- "mute": {
- "name": "Capture Switch"
- }
- },
- "channels": [
- {
- "uid": "mic-right",
- "port": 0
- },
- {
- "uid": "mic-left",
- "port": 1
- }
- ]
- }
- },
- "zones": [
- {
- "uid": "full-stereo",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "front-seats",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- }
- ],
- "streams": [
- {
- "uid": "multimedia",
- "verb": "multimedia",
- "zone": "full-stereo",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "navigation",
- "verb": "navigation",
- "zone": "front-seats",
- "volume": 70,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "emergency",
- "verb": "emergency",
- "zone": "front-seats",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "radio_stream",
- "verb": "radio_stream",
- "zone": "full-stereo",
- "volume": 70,
- "mute": true,
- "params": {
- "rate" : 48000
- }
- }
- ]
- }
-}
diff --git a/4a-hal-cfg-community/hal-4a-raspberry-pi-3.json b/4a-hal-cfg-community/hal-4a-raspberry-pi-3.json
deleted file mode 100644
index 86be677..0000000
--- a/4a-hal-cfg-community/hal-4a-raspberry-pi-3.json
+++ /dev/null
@@ -1,198 +0,0 @@
-{
- "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
- "metadata": {
- "uid": "/dev/snd/by-path/platform-soc:audio",
- "version": "0.9",
- "api": "4a-hal-raspberry-pi-3",
- "require": [ "alsacore", "smixer" ],
- "info": "4a hal for Raspberry Pi 3 device\nWARNING: in AGL FF.rc2, RPI3 suffers from a bug in the native sound card driver that prevents DMix component to work correctly. As a consequence, no sound can be heard on the internal sound card of the PI3. See https://jira.automotivelinux.org/browse/SPEC-1610 . [Signed-Off: sdx@iot.bzh - 20180724]",
- "author": "Jonathan Aillet",
- "date": "2018-07-20"
- },
- "resources": [
- {
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
- "params": {
- "channels": 2,
- "zone": "front-seats"
- },
- "libs": ["hal-bt.ctlso"]
- }
- ],
- "controls": [
- {
- "uid": "ping",
- "info": "Ping hal",
- "action": "api://4a-hal-manager#ping"
- }
- ],
- "halmap": [
- {
- "uid": "agl-master-playback-volume",
- "alsa": {
- "name": "PCM Playback Volume",
- "value": 100
- }
- },
- {
- "uid": "agl-pcm-playback-volume",
- "alsa": {
- "name": "PCM Playback Volume",
- "value": 100
- }
- },
- {
- "uid": "agl-master-playback-switch",
- "alsa": {
- "name": "PCM Playback Switch",
- "value": 1
- }
- },
- {
- "uid": "agl-pcm-playback-switch",
- "alsa": {
- "name": "PCM Playback Switch",
- "value": 1
- }
- }
- ],
- "halmixer": {
- "uid": "rpi3",
- "mixerapi": "smixer",
- "prefix": "rpi3",
- "ramps": [
- {
- "uid": "ramp-very-fast",
- "delay": 50,
- "up": 6,
- "down": 10
- },
- {
- "uid": "ramp-fast",
- "delay": 50,
- "up": 2,
- "down": 10
- },
- {
- "uid": "ramp-normal",
- "delay": 50,
- "up": 2,
- "down": 4
- },
- {
- "uid": "ramp-slow",
- "delay": 50,
- "up": 2,
- "down": 2
- },
- {
- "uid": "ramp-very-slow",
- "delay": 100,
- "up": 1,
- "down": 1
- }
- ],
- "playbacks" : {
- "uid": "RASPBERRY-PI-3",
- "path": "/dev/snd/by-path/platform-soc:audio",
- "params": {
- "rate": 48000
- },
- "sink": {
- "controls": {
- "volume": {
- "name": "PCM Playback Volume",
- "value": 100
- },
- "mute": {
- "name": "PCM Playback Switch"
- }
- },
- "channels": [
- {
- "uid": "front-right",
- "port": 0
- },
- {
- "uid": "front-left",
- "port": 1
- }
- ]
- }
- },
- "zones": [
- {
- "uid": "full-stereo",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "front-seats",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- }
- ],
- "streams": [
- {
- "uid": "multimedia",
- "verb": "multimedia",
- "zone": "full-stereo",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000,
- "format": "S16_LE"
- }
- },
- {
- "uid": "navigation",
- "verb": "navigation",
- "zone": "front-seats",
- "volume": 70,
- "mute": false,
- "params": {
- "rate": 48000,
- "format": "S16_LE"
- }
- },
- {
- "uid": "emergency",
- "verb": "emergency",
- "zone": "front-seats",
- "volume": 80,
- "mute": false,
- "params": {
- "rate": 48000,
- "format": "S16_LE"
- }
- },
- {
- "uid": "radio_stream",
- "verb": "radio_stream",
- "zone": "full-stereo",
- "volume": 70,
- "mute": true,
- "params": {
- "rate" : 48000
- }
- }
- ]
- }
-}