From b85e660519d9ee6bf6000bf12a771da9282f9515 Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Tue, 23 Apr 2019 10:45:31 +0200 Subject: Add 'haldependencies' section to all hals Add 'haldependencies' section to all hals for incoming dependencies functionality. Added in a way to make the hals compatible with current implementation and incoming implementation. Alsa, clean some minor issues in json format. BUG-AGL: SPEC-2329 Change-Id: I786d3180f1bfbb73f1e4597aa0e6f025bbc355f5 Signed-off-by: Jonathan Aillet --- community-boards/hal-4a-2ch-generic-usb.json | 5 +++++ community-boards/hal-4a-csl-cm106-8ch-usb.json | 5 +++++ community-boards/hal-4a-ensoniq.json | 5 +++++ community-boards/hal-4a-intel-upsquared-hdmi.json | 5 +++++ community-boards/hal-4a-intel.json | 5 +++++ community-boards/hal-4a-jabra.json | 5 +++++ community-boards/hal-4a-raspberry-pi-3.json | 5 +++++ 7 files changed, 35 insertions(+) (limited to 'community-boards') diff --git a/community-boards/hal-4a-2ch-generic-usb.json b/community-boards/hal-4a-2ch-generic-usb.json index b5cf1d9..6a19f9a 100644 --- a/community-boards/hal-4a-2ch-generic-usb.json +++ b/community-boards/hal-4a-2ch-generic-usb.json @@ -34,6 +34,11 @@ "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", diff --git a/community-boards/hal-4a-csl-cm106-8ch-usb.json b/community-boards/hal-4a-csl-cm106-8ch-usb.json index f249b5b..9646a22 100644 --- a/community-boards/hal-4a-csl-cm106-8ch-usb.json +++ b/community-boards/hal-4a-csl-cm106-8ch-usb.json @@ -34,6 +34,11 @@ "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", diff --git a/community-boards/hal-4a-ensoniq.json b/community-boards/hal-4a-ensoniq.json index 09db8f8..b1ff56a 100644 --- a/community-boards/hal-4a-ensoniq.json +++ b/community-boards/hal-4a-ensoniq.json @@ -34,6 +34,11 @@ "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", diff --git a/community-boards/hal-4a-intel-upsquared-hdmi.json b/community-boards/hal-4a-intel-upsquared-hdmi.json index 1a61723..c293641 100644 --- a/community-boards/hal-4a-intel-upsquared-hdmi.json +++ b/community-boards/hal-4a-intel-upsquared-hdmi.json @@ -34,6 +34,11 @@ "action": "api://4a-hal-manager#ping" } ], + "haldependencies" : { + "uid" : "intel-upsquared-hdmi", + "class" : "mandatory", + "cardPath" : "/dev/snd/by-path/pci-0000:00:0e.0" + }, "halmap": [ { "uid": "agl-pcm-playback-switch", diff --git a/community-boards/hal-4a-intel.json b/community-boards/hal-4a-intel.json index 0752915..0e32df0 100644 --- a/community-boards/hal-4a-intel.json +++ b/community-boards/hal-4a-intel.json @@ -34,6 +34,11 @@ "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", diff --git a/community-boards/hal-4a-jabra.json b/community-boards/hal-4a-jabra.json index 1c63be4..fcdb4c1 100644 --- a/community-boards/hal-4a-jabra.json +++ b/community-boards/hal-4a-jabra.json @@ -34,6 +34,11 @@ "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", diff --git a/community-boards/hal-4a-raspberry-pi-3.json b/community-boards/hal-4a-raspberry-pi-3.json index 99eb2d0..e33c38f 100644 --- a/community-boards/hal-4a-raspberry-pi-3.json +++ b/community-boards/hal-4a-raspberry-pi-3.json @@ -35,6 +35,11 @@ "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", -- cgit 1.2.3-korg