summaryrefslogtreecommitdiffstats
path: root/4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json
AgeCommit message (Collapse)AuthorFilesLines
2018-12-18Move hal configuration files into 4a-hal-configs repositoryJan-Simon Möller1-290/+0
The configuration files should not be shipped with the sources. Therefore we created a 4a-hal-configs repository as the central place for configs. Move the configs there but leave and example in 4a-hal-cfg-example. Bug-AGL: SPEC-2011 Change-Id: If3bed9a05955b9c6458656fabbe3ee12d1c5015b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-10-08hal-bt: Enrich 'halmixer' section in plugin initJonathan Aillet1-0/+11
Enrich 'halmixer' section with bluetooth specific 'source' and 'stream' during hal-bt plugin initialization. Some parameters must be passed to plugin using 'params' key in controller json plugin section. This allows to get rid of must of the additional configuration when using bluetooth in a hal. Change-Id: I5820e75307a3394eca80cf783e7bc4c31c2d7659 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Remove unnecessary sections in hal jsonJonathan Aillet1-13/+0
Remove unnecessary 'onload' and 'events' sections in hal json configuration files. The specified onload actions were generating errors in some cases. Change-Id: I5eb95fe7daecf3b3d15638833142d133ce77e1ff Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Added radio stream to all the HALsThierry Bultel1-0/+10
Added the 'radio_stream' to all the HALs. This makes the radio role work in HighLevelAPI. Change-Id: I8f34224ec3dbbb1312b65642d89e672716414ac9 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-10-08Don't handle hal enablingJonathan Aillet1-0/+282
All hal that shouldn't be enable for the target will be disable using a recipe in yocto. 4a-hal-generic shouldn't take care of enabling/disabling hals. Change-Id: I38363fb7933ed73d7a4e855949ae9dd521db2862 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Disable community hals by defaultJonathan Aillet1-281/+0
Disable community hals by default. Also move some hals from reference configurations directory to community configurations directory. Add prefixes to all hal for mixer attach. Change-Id: Ib1f74c313dbc4596457f9535d3e593a7019b55fa Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update USB json configuration filesJonathan Aillet1-1/+1
Update USB json configuration files and README. Change-Id: Ib217da9189fd928e0842bf8da85a362c1423080e Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Updates json controller configuration filesJonathan Aillet1-5/+4
Change stream uid to simplify search. Remove the prefix as it won't be used (for now). Change-Id: Ieafc53f51458648860334ac3a4fb641446d8639f Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update 4a-hal to work with new 4a-softmixerJonathan Aillet1-87/+168
Update 4a-hal to work with new 4a-softmixer version : - Update audio configuration files to match the configuration format expected by the mixer. - Parse mixer attach response to get information about 'streams', 'playbacks', and 'captures'. store them in new field of controller hal data structure. - Create verb for each returned stream, but only one playback/capture verb even if threre are multiple playbacks/captures returned by the mixer attch verb. - Return 'streams', 'playbacks', and 'captures' when info verb is called. - If info verb is called with a json request, the request is transfered to the mixer. Change-Id: I65593281c34aa91ad87afbf8bebff755cc5cc6d0 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Remove test cfg files and add community cfg fileJonathan Aillet1-0/+201
Now, the configuration files should be into these 2 directories : - 4a-hal-cfg-community/ - 4a-hal-cfg-reference/ A configuration file has been added for 'CSL CM106 8ch USB' audio device in community directory. The test configuration files has been removed. The README.md has been updated accordingly to these modifications. Change-Id: I03d197a534b2a36bacea8e09d3098b5b92c8d3b7 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>