Hello,
We trying to adapt 4a-framework to our custom board. We have a specific card(card 4) for control audio functions(equalizer settings, volume change etc.) and this card doesn't support playback or capture. You can find some card control commands, card list
and HAL configuration in the attachments.
I didn't find sample configuration for similar audio structure. Where can we define that card's commands and how can we assign the commands to different roles? For exaple, we want to send Source sai1dac command to the card, when the role changes to multimedia.
Best Regards.
|
numid=1,iface=MIXER,name='Source' ; type=ENUMERATED,access=rw------,values=1,items=4 ; Item #0 'auxmedia' ; Item #1 'msp1dac' ; Item #2 'sai1dac' ; Item #3 'main' : values=2 numid=3,iface=MIXER,name='Volume Master' ; type=INTEGER,access=rw------,values=1,min=0,max=1200,step=0 : values=1200 numid=8,iface=MIXER,name='Volume channels' ; type=INTEGER,access=rw------,values=6,min=0,max=1200,step=0 : values=1200,1200,1200,1200,1200,1200 numid=10,iface=MIXER,name='Ampli' ; type=ENUMERATED,access=rw------,values=1,items=2 ; Item #0 'Off' ; Item #1 'On' : values=0
**** List of PLAYBACK Hardware Devices **** card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM] Subdevices: 8/8 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice #4 Subdevice #5: subdevice #5 Subdevice #6: subdevice #6 Subdevice #7: subdevice #7 card 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM] Subdevices: 8/8 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice #4 Subdevice #5: subdevice #5 Subdevice #6: subdevice #6 Subdevice #7: subdevice #7 card 1: msp0 [msp0], device 0: msp0-ext codec-msp0-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: msp1 [msp1], device 0: msp1-sai4 codec-msp1-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 3: msp2 [msp2], device 0: msp2-sai2 codec-msp2-0 [] Subdevices: 0/1 Subdevice #0: subdevice #0
Attachment:
hal-4a-daiichi-config.json
Description: hal-4a-daiichi-config.json
_______________________________________________ automotive-discussions mailing list automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions