summaryrefslogtreecommitdiffstats
path: root/reference-boards/hal-4a-intel-minnow.json
AgeCommit message (Collapse)AuthorFilesLines
2019-06-26Updates all hals to use 'haldependencies'halibut_8.0.6halibut_8.0.5halibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut_7.99.2halibut/8.0.6halibut/8.0.5halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.3halibut/7.99.28.0.68.0.58.0.48.0.38.0.28.0.18.0.07.99.37.99.2halibutJonathan Aillet1-13/+21
Updates all hals to use 'haldependencies' resolution in 'halmap' section. That means that : - An halmap control is created for the corresponding audio device using 'target' key to map dependency. - 'uid' key in 'metadata' section is no longer used to find audio device. BUG-AGL: SPEC-2329 Change-Id: I2e6da5a3d6ca3f51bf1e6a3f87e930396fab57a6 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2019-06-26Remove obsolete references to mixer controlsJonathan Aillet1-1/+1
Remove obsolete references to controls in 'halmixer' section. Also, clean some minor format issues in json files. BUG-AGL: SPEC-2329 Change-Id: Ie3120dcfbc3144906bfc731e57614508a33222b2 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2019-04-23Add 'haldependencies' section to all halshalibut_7.99.1halibut/7.99.17.99.1Jonathan Aillet1-0/+5
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 <jonathan.aillet@iot.bzh>
2019-02-18intel-minnow: fixes the bluetooth SCO with a optional mic.Thierry Bultel1-13/+26
This commit introduces several things. The original need was to fix the bluetooth SCO that was not working on the minnow board. The reason was that this board only has audio output through HDMI, but no input, thus the "talk to bluetooth" stream could not be created. So: 1) Introduces support for an optional USB mono microphone When the mic is not detected, only the "listen" stream is created (so that it is possible for the user to listen to his/her audio messages). So in the "capture" section, a new boolean "optional" parameter is added. 2) mono to stereo conversion is not something straightforward It requires the usage of a dedicated zone, so that mono channel is duplicated to both the right and left channel. This is why a 'front-seats-mono' zone is added to the json file. 3) CPU load and write 'quirk' After having faced problems of heavy CPU load and write errors on the playback device, the way sound output is done in the softmixer has been reworked, to conform to ALSA examples. It relies on a classic "'poll" followed by a call to "snd_pcm_poll_descriptors_revents" that demangles the events. On the minnow board, that does not work. Spurious null events, that should be ignored, -must- be taken in account on the minnow PCH device, else next writes often issue an EPIPE error, leading to clipped sound. Thus here a quirk section is added to the json file, and the only quirk is QUIRK_BOGUS_POLL_REVENTS_DEMANGLING. In the softmixer, when that quirk is set on a device, null events are no longer ignored. This commit must be taken together with: - The fix for PCM ioplug in bluez-alsa - The needed changes in softmixer Change-Id: Ide1605e5480d773e2681ff762e3ecf4c84718fde Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2019-01-23hal-4a-intel-minnow: fix incorrect master volume controlhalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy/6.99.47.90.06.99.4Stephane Desneux1-7/+0
HAL Manager is now more picky and refuses to load unknown controls. In the specific case of minnowboard, the declared control for master volume is wrong. This patch removes the master volume control from halmap section. Bug-AGL: SPEC-2138 Change-Id: I1f7404ea7b6212981156003ba255936ae7173b96 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh> (cherry picked from commit 2d9c0614c82f397185aa8c63444d9c49ca185113)
2018-12-20bluetooth audio: uses the new bluealsa pluginguppy_6.99.3guppy/6.99.36.99.3Thierry Bultel1-5/+12
Updated all the HALs to use the new bluealsa plugin, that dynamically creates and deletes audio streams upon bluetooth connections from mobile phones. The plugin parameters consists in 2 sections. The "sco" section is the place for voice calls. It is where to specify which microphone to use (this one must be declared in the captures devices), and to what zone to do the playback (that zone must be defined, too) The "a2dp" is for music playback. The only needed paramter is a playback zone. It can be different fromt the one used by SCO. Additionnally, both SCO and A2DP have a "delayms" parameter which is the size in milliseconds of the copy buffer for the audio stream. The values set in this commit are good enough for a demo, but can we optimized in the future. Change-Id: I1c5da69c0de01d5dfdf852fa58372410f22e2a56 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-12-07Initial push of configs and support filesflounder_6.0.3flounder/6.0.36.0.3sandbox/jsmoeller/4a-hal-configsJan-Simon Möller1-0/+192
This adds the json files needed to configure the 4a-hals. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>