diff options
-rw-r--r-- | community-boards/hal-4a-2ch-generic-usb.json | 76 | ||||
-rw-r--r-- | community-boards/hal-4a-csl-cm106-8ch-usb.json | 78 | ||||
-rw-r--r-- | community-boards/hal-4a-ensoniq.json | 74 | ||||
-rw-r--r-- | community-boards/hal-4a-intel-upsquared-hdmi.json | 34 | ||||
-rw-r--r-- | community-boards/hal-4a-intel.json | 74 | ||||
-rw-r--r-- | community-boards/hal-4a-jabra.json | 74 | ||||
-rw-r--r-- | community-boards/hal-4a-raspberry-pi-3.json | 76 | ||||
-rw-r--r-- | devices/hal-4a-greenbox.json | 61 | ||||
-rw-r--r-- | devices/hal-4a-unicens-coax.json | 56 | ||||
-rw-r--r-- | devices/hal-4a-unicens-utp.json | 56 | ||||
-rw-r--r-- | reference-boards/hal-4a-intel-minnow.json | 34 | ||||
-rw-r--r-- | reference-boards/hal-4a-intel-qemu.json | 60 | ||||
-rw-r--r-- | reference-boards/hal-4a-rcar-m3.json | 74 | ||||
-rw-r--r-- | reference-boards/hal-4a-rcar-m3kf.json | 74 |
14 files changed, 518 insertions, 383 deletions
diff --git a/community-boards/hal-4a-2ch-generic-usb.json b/community-boards/hal-4a-2ch-generic-usb.json index d4e1c6a..298551c 100644 --- a/community-boards/hal-4a-2ch-generic-usb.json +++ b/community-boards/hal-4a-2ch-generic-usb.json @@ -1,13 +1,13 @@ { "$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", + "uid": "GENERIC-USB-4A-HAL", + "version": "0.99", "api": "4a-hal-2ch-generic-usb", "require": [ "alsacore", "smixer" ], "info": "4a hal for 2ch generic USB device", "author": "Jonathan Aillet", - "date": "2018-06-13" + "date": "2019-06-25" }, "resources": [ { @@ -34,39 +34,47 @@ "action": "api://4a-hal-manager#ping" } ], - "haldependencies" : { - "uid" : "generic-usb", - "class" : "mandatory", - "cardPath" : "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00" - }, - "halmap": [ - { - "uid": "agl-master-playback-volume", - "alsa": { - "name": "Speaker Playback Volume", - "value": 80 - } - }, + "haldependencies" : [ { - "uid": "agl-master-playback-switch", - "alsa": { - "name": "Speaker Playback Switch", - "value": 1 - } - }, - { - "uid": "agl-master-capture-volume", - "alsa": { - "name": "Mic Capture Volume", - "value": 80 - } - }, + "uid" : "generic-usb", + "class" : "mandatory", + "cardPath" : "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00" + } + ], + "halmap": [ { - "uid": "agl-mic-capture-switch", - "alsa": { - "name": "Mic Capture Switch", - "value": 1 - } + "uid" : "halmap-generic-usb", + "target" : "generic-usb", + "controls" : [ + { + "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-master-capture-volume", + "alsa": { + "name": "Mic Capture Volume", + "value": 80 + } + }, + { + "uid": "agl-mic-capture-switch", + "alsa": { + "name": "Mic Capture Switch", + "value": 1 + } + } + ] } ], "halmixer": { diff --git a/community-boards/hal-4a-csl-cm106-8ch-usb.json b/community-boards/hal-4a-csl-cm106-8ch-usb.json index a0e32c5..38c932a 100644 --- a/community-boards/hal-4a-csl-cm106-8ch-usb.json +++ b/community-boards/hal-4a-csl-cm106-8ch-usb.json @@ -1,13 +1,13 @@ { "$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", + "uid": "CSL-CM106-USB-4A-HAL", + "version": "0.99", "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" + "date": "2019-06-25" }, "resources": [ { @@ -34,42 +34,50 @@ "action": "api://4a-hal-manager#ping" } ], - "haldependencies" : { - "uid" : "8ch-usb", - "class" : "mandatory", - "cardPath" : "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00" - }, - "halmap": [ - { - "uid": "agl-master-capture-volume", - "alsa": { - "name": "Mic Capture Volume", - "value": 60 - } - }, + "haldependencies" : [ { - "uid": "agl-master-playback-volume", - "alsa": { - "numid": 8, - "value": 80 - } - }, + "uid" : "8ch-usb", + "class" : "mandatory", + "cardPath" : "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00" + } + ], + "halmap": [ { - "uid": "hal-ping", - "info": "ping this hal through alsa", - "alsa": { - "name": "Hal-Ping", - "value": 20, - "create": + "uid" : "halmap-8ch-usb", + "target" : "8ch-usb", + "controls" : [ { - "type": "INTEGER", - "count": 1, - "minval": 0, - "maxval": 100, - "step": 1 + "uid": "agl-master-capture-volume", + "alsa": { + "name": "Mic Capture Volume", + "value": 60 + } + }, + { + "uid": "agl-master-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" } - }, - "action": "api://4a-hal-csl-cm106-8ch-usb#ping" + ] } ], "halmixer": { diff --git a/community-boards/hal-4a-ensoniq.json b/community-boards/hal-4a-ensoniq.json index 964ac2d..bca892f 100644 --- a/community-boards/hal-4a-ensoniq.json +++ b/community-boards/hal-4a-ensoniq.json @@ -1,13 +1,13 @@ { "$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", + "uid": "ENSONIQ-USB-4A-HAL", + "version": "0.99", "api": "4a-hal-ensoniq", "require": [ "alsacore", "smixer" ], "info": "4a hal for Ensoniq", "author": "Jonathan Aillet", - "date": "2018-06-13" + "date": "2019-06-25" }, "resources": [ { @@ -34,38 +34,46 @@ "action": "api://4a-hal-manager#ping" } ], - "haldependencies" : { - "uid" : "ensoniq-usb", - "class" : "mandatory", - "cardPath" : "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00" - }, - "halmap": [ - { - "uid": "agl-master-playback-volume", - "alsa": { - "name": "Master Playback Volume", - "value": 100 - } - }, + "haldependencies" : [ { - "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" : "ensoniq-usb", + "class" : "mandatory", + "cardPath" : "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00" + } + ], + "halmap": [ { - "uid": "agl-master-capture-volume", - "alsa": { - "name": "Capture Volume" - } + "uid" : "halmap-ensoniq-usb", + "target" : "ensoniq-usb", + "controls" : [ + { + "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-master-capture-volume", + "alsa": { + "name": "Capture Volume" + } + } + ] } ], "halmixer": { diff --git a/community-boards/hal-4a-intel-upsquared-hdmi.json b/community-boards/hal-4a-intel-upsquared-hdmi.json index c293641..e6024b0 100644 --- a/community-boards/hal-4a-intel-upsquared-hdmi.json +++ b/community-boards/hal-4a-intel-upsquared-hdmi.json @@ -1,13 +1,13 @@ { "$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", + "uid": "INTEL-UPSQUARED-HDMI-4A-HAL", + "version": "0.99", "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" + "date": "2019-06-25" }, "resources": [ { @@ -34,18 +34,26 @@ "action": "api://4a-hal-manager#ping" } ], - "haldependencies" : { - "uid" : "intel-upsquared-hdmi", - "class" : "mandatory", - "cardPath" : "/dev/snd/by-path/pci-0000:00:0e.0" - }, + "haldependencies" : [ + { + "uid" : "intel-upsquared-hdmi", + "class" : "mandatory", + "cardPath" : "/dev/snd/by-path/pci-0000:00:0e.0" + } + ], "halmap": [ { - "uid": "agl-pcm-playback-switch", - "alsa": { - "numid": 11, - "value": 1 - } + "uid" : "halmap-intel-upsquared-hdmi", + "target" : "intel-upsquared-hdmi", + "controls" : [ + { + "uid": "agl-pcm-playback-switch", + "alsa": { + "numid": 11, + "value": 1 + } + } + ] } ], "halmixer": { diff --git a/community-boards/hal-4a-intel.json b/community-boards/hal-4a-intel.json index db2588c..1af66c8 100644 --- a/community-boards/hal-4a-intel.json +++ b/community-boards/hal-4a-intel.json @@ -1,13 +1,13 @@ { "$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", + "uid": "INTEL-HDMI-4A-HAL", + "version": "0.99", "api": "4a-hal-intel", "require": [ "alsacore", "smixer" ], "info": "4a hal for Intel device", "author": "Jonathan Aillet", - "date": "2018-06-13" + "date": "2018-06-26" }, "resources": [ { @@ -34,38 +34,46 @@ "action": "api://4a-hal-manager#ping" } ], - "haldependencies" : { - "uid" : "intel-hdmi", - "class" : "mandatory", - "cardPath" : "/dev/snd/by-path/pci-0000:00:1b.0" - }, - "halmap": [ - { - "uid": "agl-master-playback-volume", - "alsa": { - "name": "Master Playback Volume", - "value": 100 - } - }, + "haldependencies" : [ { - "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" : "intel-hdmi", + "class" : "mandatory", + "cardPath" : "/dev/snd/by-path/pci-0000:00:1b.0" + } + ], + "halmap": [ { - "uid": "agl-capture-volume", - "alsa": { - "name": "Capture Volume" - } + "uid" : "halmap-intel-hdmi", + "target" : "intel-hdmi", + "controls" : [ + { + "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": { diff --git a/community-boards/hal-4a-jabra.json b/community-boards/hal-4a-jabra.json index ab05ac9..7c1cffb 100644 --- a/community-boards/hal-4a-jabra.json +++ b/community-boards/hal-4a-jabra.json @@ -1,13 +1,13 @@ { "$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", + "uid": "JABRA-USB-4A-HAL", + "version": "0.99", "api": "4a-hal-jabra-solemate", "require": [ "alsacore", "smixer" ], "info": "4a hal for Jabra Solemate", "author": "Jonathan Aillet", - "date": "2018-06-13" + "date": "2019-06-26" }, "resources": [ { @@ -34,38 +34,46 @@ "action": "api://4a-hal-manager#ping" } ], - "haldependencies" : { - "uid" : "jabra-solemate-usb", - "class" : "mandatory", - "cardPath" : "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00" - }, - "halmap": [ - { - "uid": "agl-master-playback-volume", - "alsa": { - "name": "PCM Playback Volume", - "value": 80 - } - }, + "haldependencies" : [ { - "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" : "jabra-solemate-usb", + "class" : "mandatory", + "cardPath" : "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00" + } + ], + "halmap": [ { - "uid": "agl-master-capture-volume", - "alsa": { - "name": "Mic Capture Volume" - } + "uid" : "halmap-jabra-solemate-usb", + "target" : "jabra-solemate-usb", + "controls" : [ + { + "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-master-capture-volume", + "alsa": { + "name": "Mic Capture Volume" + } + } + ] } ], "halmixer": { diff --git a/community-boards/hal-4a-raspberry-pi-3.json b/community-boards/hal-4a-raspberry-pi-3.json index b9202c9..bd640d0 100644 --- a/community-boards/hal-4a-raspberry-pi-3.json +++ b/community-boards/hal-4a-raspberry-pi-3.json @@ -1,13 +1,13 @@ { "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json", "metadata": { - "uid": "/dev/snd/by-path/platform-soc:audio", - "version": "0.9", + "uid": "RPI3-JACK-4A-HAL", + "version": "0.99", "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" + "date": "2019-06-26" }, "resources": [ { @@ -35,39 +35,47 @@ "action": "api://4a-hal-manager#ping" } ], - "haldependencies" : { - "uid" : "rpi3-jack", - "class" : "mandatory", - "cardPath" : "/dev/snd/by-path/platform-soc:audio" - }, - "halmap": [ - { - "uid": "agl-master-playback-volume", - "alsa": { - "name": "PCM Playback Volume", - "value": 100 - } - }, + "haldependencies" : [ { - "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" : "rpi3-jack", + "class" : "mandatory", + "cardPath" : "/dev/snd/by-path/platform-soc:audio" + } + ], + "halmap": [ { - "uid": "agl-pcm-playback-switch", - "alsa": { - "name": "PCM Playback Switch", - "value": 1 - } + "uid" : "halmap-rpi3-jack", + "target" : "rpi3-jack", + "controls" : [ + { + "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": { diff --git a/devices/hal-4a-greenbox.json b/devices/hal-4a-greenbox.json index 333fd0e..6092ee8 100644 --- a/devices/hal-4a-greenbox.json +++ b/devices/hal-4a-greenbox.json @@ -1,13 +1,13 @@ { "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json", "metadata": { - "uid": "/dev/snd/by-id/usb-Microchip-SMSC_OS81210_0200-0000000C-02", - "version": "0.9", + "uid": "AGL-GREENBOX-4A-HAL", + "version": "0.99", "api": "4a-hal-rcar-m3kf-unicens", "require": [ "alsacore", "UNICENS", "smixer" ], "info": "4a hal for Rcar M3 device when plugged on Kingfisher board, with Unicens sound card", "author": "Jonathan Aillet, Stephane Desneux, Thierry Bultel", - "date": "2018-06-15" + "date": "2019-06-26" }, "resources": [ { @@ -52,28 +52,47 @@ "action": "plugin://hal-unicens-output#Events" } ], - "haldependencies" : { - "uid" : "microship-unicens-output-utp", - "class" : "mandatory", - "cardPath" : "/dev/snd/by-id/usb-Microchip-SMSC_OS81210_0200-0000000C-02" - }, + "haldependencies" : [ + { + "uid" : "microchip-unicens-output-utp", + "class" : "mandatory", + "cardShortName" : "ep016ch", + "cardPath" : "/dev/snd/by-id/usb-Microchip-SMSC_OS81210_0200-0000000C-02" + }, + { + "uid" : "microchip-unicens-simple-micro-input", + "class" : "mandatory", + "cardShortName" : "ep822ch" + }, + { + "uid" : "renesas-kf-radio", + "class" : "mandatory", + "cardShortName" : "radio" + } + ], "halmap": [ { - "uid": "agl-master-playback-volume", - "info": "Sets master playback volume", - "alsa": { - "name": "Master Playback Volume", - "value": 90, - "create": + "uid" : "halmap-microchip-unicens-output-utp", + "target" : "microchip-unicens-output-utp", + "controls" : [ { - "type": "INTEGER", - "count": 1, - "minval": 0, - "maxval": 100, - "step": 1 + "uid": "agl-master-playback-volume", + "info": "Sets master playback volume", + "alsa": { + "name": "Master Playback Volume", + "value": 90, + "create": + { + "type": "INTEGER", + "count": 1, + "minval": 0, + "maxval": 100, + "step": 1 + } + }, + "action": "plugin://hal-unicens-output#MasterVol" } - }, - "action": "plugin://hal-unicens-output#MasterVol" + ] } ], "halmixer": { diff --git a/devices/hal-4a-unicens-coax.json b/devices/hal-4a-unicens-coax.json index 454a018..9e8c4a3 100644 --- a/devices/hal-4a-unicens-coax.json +++ b/devices/hal-4a-unicens-coax.json @@ -1,13 +1,13 @@ { "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json", "metadata": { - "uid": "/dev/snd/by-id/usb-Microchip-SMSC_OS81118_0000-0000004C-02", - "version": "0.9", + "uid": "MICROCHIP-UNICENS-COAX-4A-HAL", + "version": "0.99", "api": "4a-hal-unicens", "require": [ "alsacore", "UNICENS", "smixer" ], "info": "4a HAL for UNICENS for OS81118", "author": "Jonathan Aillet", - "date": "2018-06-15" + "date": "2019-06-26" }, "resources": [ { @@ -36,28 +36,42 @@ "action": "plugin://hal-unicens-output#Events" } ], - "haldependencies" : { - "uid" : "microship-unicens-output-coax", - "class" : "mandatory", - "cardPath" : "/dev/snd/by-id/usb-Microchip-SMSC_OS81118_0000-0000004C-02" - }, + "haldependencies" : [ + { + "uid" : "microchip-unicens-output-coax", + "class" : "mandatory", + "cardShortName" : "ep016ch", + "cardPath" : "/dev/snd/by-id/usb-Microchip-SMSC_OS81118_0000-0000004C-02" + }, + { + "uid" : "microchip-unicens-simple-micro-input", + "class" : "mandatory", + "cardShortName" : "ep822ch" + } + ], "halmap": [ { - "uid": "agl-master-playback-volume", - "info": "Sets master playback volume", - "alsa": { - "name": "Master Playback Volume", - "value": 90, - "create": + "uid" : "halmap-microchip-unicens-output-coax", + "target" : "microchip-unicens-output-coax", + "controls" : [ { - "type": "INTEGER", - "count": 1, - "minval": 0, - "maxval": 100, - "step": 1 + "uid": "agl-master-playback-volume", + "info": "Sets master playback volume", + "alsa": { + "name": "Master Playback Volume", + "value": 90, + "create": + { + "type": "INTEGER", + "count": 1, + "minval": 0, + "maxval": 100, + "step": 1 + } + }, + "action": "plugin://hal-unicens-output#MasterVol" } - }, - "action": "plugin://hal-unicens-output#MasterVol" + ] } ], "halmixer": { diff --git a/devices/hal-4a-unicens-utp.json b/devices/hal-4a-unicens-utp.json index 477ea9d..2dd5c30 100644 --- a/devices/hal-4a-unicens-utp.json +++ b/devices/hal-4a-unicens-utp.json @@ -1,13 +1,13 @@ { "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json", "metadata": { - "uid": "/dev/snd/by-id/usb-Microchip-SMSC_OS81210_0200-0000000C-02", - "version": "0.9", + "uid": "MICROCHIP-UNICENS-UTP-4A-HAL", + "version": "0.99", "api": "4a-hal-unicens", "require": [ "alsacore", "UNICENS", "smixer" ], "info": "4a HAL for UNICENS for OS81210", "author": "Jonathan Aillet", - "date": "2018-06-15" + "date": "2019-06-26" }, "resources": [ { @@ -36,28 +36,42 @@ "action": "plugin://hal-unicens-output#Events" } ], - "haldependencies" : { - "uid" : "microship-unicens-output-utp", - "class" : "mandatory", - "cardPath" : "/dev/snd/by-id/usb-Microchip-SMSC_OS81210_0200-0000000C-02" - }, + "haldependencies" : [ + { + "uid" : "microchip-unicens-output-utp", + "class" : "mandatory", + "cardShortName" : "ep016ch", + "cardPath" : "/dev/snd/by-id/usb-Microchip-SMSC_OS81210_0200-0000000C-02" + }, + { + "uid" : "microchip-unicens-simple-micro-input", + "class" : "mandatory", + "cardShortName" : "ep822ch" + } + ], "halmap": [ { - "uid": "agl-master-playback-volume", - "info": "Sets master playback volume", - "alsa": { - "name": "Master Playback Volume", - "value": 90, - "create": + "uid" : "halmap-microchip-unicens-output-utp", + "target" : "microchip-unicens-output-utp", + "controls" : [ { - "type": "INTEGER", - "count": 1, - "minval": 0, - "maxval": 100, - "step": 1 + "uid": "agl-master-playback-volume", + "info": "Sets master playback volume", + "alsa": { + "name": "Master Playback Volume", + "value": 90, + "create": + { + "type": "INTEGER", + "count": 1, + "minval": 0, + "maxval": 100, + "step": 1 + } + }, + "action": "plugin://hal-unicens-output#MasterVol" } - }, - "action": "plugin://hal-unicens-output#MasterVol" + ] } ], "halmixer": { diff --git a/reference-boards/hal-4a-intel-minnow.json b/reference-boards/hal-4a-intel-minnow.json index 0b9e72f..5db34d1 100644 --- a/reference-boards/hal-4a-intel-minnow.json +++ b/reference-boards/hal-4a-intel-minnow.json @@ -1,13 +1,13 @@ { "$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", + "uid": "INTEL-MINNOW-HDMI-4A-HAL", + "version": "0.99", "api": "4a-hal-intel-minnow", "require": [ "alsacore", "smixer" ], "info": "4a hal for Intel Minnow device", "author": "Jonathan Aillet", - "date": "2018-06-13" + "date": "2019-06-26" }, "resources": [ { @@ -34,18 +34,26 @@ "action": "api://4a-hal-manager#ping" } ], - "haldependencies" : { - "uid" : "intel-minnow-hdmi", - "class" : "mandatory", - "cardPath" : "/dev/snd/by-path/pci-0000:00:1b.0" - }, + "haldependencies" : [ + { + "uid" : "intel-minnow-hdmi", + "class" : "mandatory", + "cardPath" : "/dev/snd/by-path/pci-0000:00:1b.0" + } + ], "halmap": [ { - "uid": "agl-pcm-playback-switch", - "alsa": { - "name": "IEC958 Playback Switch", - "value": 1 - } + "uid" : "halmap-intel-minnow-hdmi", + "target" : "intel-minnow-hdmi", + "controls" : [ + { + "uid": "agl-pcm-playback-switch", + "alsa": { + "name": "IEC958 Playback Switch", + "value": 1 + } + } + ] } ], "halmixer": { diff --git a/reference-boards/hal-4a-intel-qemu.json b/reference-boards/hal-4a-intel-qemu.json index 3e819b7..e4d27bb 100644 --- a/reference-boards/hal-4a-intel-qemu.json +++ b/reference-boards/hal-4a-intel-qemu.json @@ -1,13 +1,13 @@ { "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json", "metadata": { - "uid": "/dev/snd/by-path/pci-0000:00:03.0", - "version": "0.9", + "uid": "INTEL-QEMU-HDMI-4A-HAL", + "version": "0.99", "api": "4a-hal-intel-qemu", "require": [ "alsacore", "smixer" ], "info": "4a hal for QEMU Intel device", "author": "Jonathan Aillet", - "date": "2018-07-10" + "date": "2019-06-26" }, "resources": [ { @@ -34,31 +34,39 @@ "action": "api://4a-hal-manager#ping" } ], - "haldependencies" : { - "uid" : "intel-qemu-hdmi", - "class" : "mandatory", - "cardPath" : "/dev/snd/by-path/pci-0000:00:03.0" - }, - "halmap": [ - { - "uid": "agl-master-playback-volume", - "alsa": { - "name": "Master Playback Volume", - "value": 100 - } - }, + "haldependencies" : [ { - "uid": "agl-master-playback-switch", - "alsa": { - "name": "Master Playback Switch", - "value": 1 - } - }, + "uid" : "intel-qemu-hdmi", + "class" : "mandatory", + "cardPath" : "/dev/snd/by-path/pci-0000:00:03.0" + } + ], + "halmap": [ { - "uid": "agl-capture-volume", - "alsa": { - "name": "Capture Volume" - } + "uid" : "halmap-intel-qemu-hdmi", + "target" : "intel-qemu-hdmi", + "controls" : [ + { + "uid": "agl-master-playback-volume", + "alsa": { + "name": "Master 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": { diff --git a/reference-boards/hal-4a-rcar-m3.json b/reference-boards/hal-4a-rcar-m3.json index 9a243aa..85cfc98 100644 --- a/reference-boards/hal-4a-rcar-m3.json +++ b/reference-boards/hal-4a-rcar-m3.json @@ -1,13 +1,13 @@ { "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json", "metadata": { - "uid": "/dev/snd/by-path/platform-sound", - "version": "0.9", + "uid": "RENESAS-M3-JACK-4A-HAL", + "version": "0.99", "api": "4a-hal-rcar-m3", "require": [ "alsacore", "smixer" ], "info": "4a hal for Rcar M3 device", "author": "Jonathan Aillet", - "date": "2018-06-13" + "date": "2019-06-26" }, "resources": [ { @@ -34,38 +34,46 @@ "action": "api://4a-hal-manager#ping" } ], - "haldependencies" : { - "uid" : "renesas-m3-jack", - "class" : "mandatory", - "cardPath" : "/dev/snd/by-path/platform-sound" - }, - "halmap": [ - { - "uid": "agl-master-playback-volume", - "alsa": { - "name": "DVC Out Playback Volume", - "value": 80 - } - }, + "haldependencies" : [ { - "uid": "agl-pcm-playback-volume", - "alsa": { - "name": "DVC Out Playback Volume", - "value": 80 - } - }, - { - "uid": "agl-pcm-playback-switch", - "alsa": { - "name": "SRC Out Rate Switch", - "value": 1 - } - }, + "uid" : "renesas-m3-jack", + "class" : "mandatory", + "cardPath" : "/dev/snd/by-path/platform-sound" + } + ], + "halmap": [ { - "uid": "agl-capture-volume", - "alsa": { - "name": "DVC In Capture Volume" - } + "uid" : "halmap-renesas-m3-jack", + "target" : "renesas-m3-jack", + "controls" : [ + { + "uid": "agl-master-playback-volume", + "alsa": { + "name": "DVC Out Playback Volume", + "value": 80 + } + }, + { + "uid": "agl-pcm-playback-volume", + "alsa": { + "name": "DVC Out Playback Volume", + "value": 80 + } + }, + { + "uid": "agl-pcm-playback-switch", + "alsa": { + "name": "SRC Out Rate Switch", + "value": 1 + } + }, + { + "uid": "agl-capture-volume", + "alsa": { + "name": "DVC In Capture Volume" + } + } + ] } ], "halmixer": { diff --git a/reference-boards/hal-4a-rcar-m3kf.json b/reference-boards/hal-4a-rcar-m3kf.json index 8581d2b..e1206db 100644 --- a/reference-boards/hal-4a-rcar-m3kf.json +++ b/reference-boards/hal-4a-rcar-m3kf.json @@ -1,13 +1,13 @@ { "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json", "metadata": { - "uid": "/dev/snd/by-path/platform-sound@1", - "version": "0.9", + "uid": "RENESAS-M3KF-JACK-4A-HAL", + "version": "0.99", "api": "4a-hal-rcar-m3kf", "require": [ "alsacore", "smixer" ], "info": "4a hal for Rcar M3 device when plugged on Kingfisher board", "author": "Jonathan Aillet, Stephane Desneux", - "date": "2018-06-15" + "date": "2019-06-26" }, "resources": [ { @@ -34,38 +34,46 @@ "action": "api://4a-hal-manager#ping" } ], - "haldependencies" : { - "uid" : "renesas-m3-jack-kf", - "class" : "mandatory", - "cardPath" : "/dev/snd/by-path/platform-sound@1" - }, - "halmap": [ - { - "uid": "agl-master-playback-volume", - "alsa": { - "name": "DVC Out Playback Volume", - "value": 80 - } - }, - { - "uid": "agl-pcm-playback-volume", - "alsa": { - "name": "DVC Out Playback Volume", - "value": 80 - } - }, + "haldependencies" : [ { - "uid": "agl-pcm-playback-switch", - "alsa": { - "name": "SRC Out Rate Switch", - "value": 1 - } - }, + "uid" : "renesas-m3-jack-kf", + "class" : "mandatory", + "cardPath" : "/dev/snd/by-path/platform-sound@1" + } + ], + "halmap": [ { - "uid": "agl-capture-volume", - "alsa": { - "name": "DVC In Capture Volume" - } + "uid" : "halmap-renesas-m3-jack-kf", + "target" : "renesas-m3-jack-kf", + "controls" : [ + { + "uid": "agl-master-playback-volume", + "alsa": { + "name": "DVC Out Playback Volume", + "value": 80 + } + }, + { + "uid": "agl-pcm-playback-volume", + "alsa": { + "name": "DVC Out Playback Volume", + "value": 80 + } + }, + { + "uid": "agl-pcm-playback-switch", + "alsa": { + "name": "SRC Out Rate Switch", + "value": 1 + } + }, + { + "uid": "agl-capture-volume", + "alsa": { + "name": "DVC In Capture Volume" + } + } + ] } ], "halmixer": { |