diff options
Diffstat (limited to 'devices')
-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 |
3 files changed, 110 insertions, 63 deletions
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": { |