I want to connect and play an audio file in Bluetooth speaker using apalis imx6 board.
How can I do this ?
I read the articles in internet, seems we need to configure the pulseaudio.
I am able to enable bluetooth controller in apalis board and able to see the bluetooth speaker MAC ID using 'bluetoothctl" command, but don’t know how to connect and play an audio file.
Able to compile the pulseaudio source code in apalis imx6 board and don’t know how to configure the pulseaudio to play an audio file.
Any reference links for configuring the BT speaker for apalis imx6 board ??
Got the below log while running the pulseaudio.
Once I run the pulseaudio, not able to see the bluez stack in pactl command output.
root@apalis-imx6:~#
root@apalis-imx6:~# pulseaudio
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
In my understanding, source should be apalis imx6 audio card and sink should be BT speaker device.
But not able to see any BT speaker in pacmd & pactl command output.
I have attached the pacmd and pactl commands output log.
Sorry but we do not have any experience with the use of Pulseaudio on our Embedded Linux images. You may find the community post here and here helpful.
Thanks for your reply.
Can you please help me how I can interface bluetooth speaker to toradex imx apalis board ?
Is there any other method for interfacing BT speaker other than pulseaudio ?
Here is the update now.
Able to pair & connect my BT speaker and able to list as sink devices.
Still I am hearing the music in LINE OUT of apalis board not in BT speaker.
aplay specifically uses the ALSA API’s to play audio, so this is to be expected…
You have to use a playback command which supports Pulseaudio. There is paplay (if installed) or GStreamer also has pulsesink. E.g. Something like this should work
which BT dongle is easiest one for MCIMX6Q5EYM10AD in LINUX KERNAL VERSION 3.14.52 ?
I know MCIMX6Q5EYM10AD can support only a few BT chipset like as BCM4339
But, we can not use BCM4339 as it is WIFI and BT combo solution so that duplication of WIFI function
brings about conflict (it’s not sure. the engineer in our company is afraid of it)
I am looking for BT dongle manufacturer who can provide perfect drive source for it to be detected and operated smoothly in that environment (MCIMX6Q5EYM10AD in LINUX KERNAL VERSION 3.14.52 )
S/W resources in our company is so limited that they can’t design drive source by themselves.
that’s why I look for BT dongle manufacturer and BT dongle part NO to make the efforts of our company minimize .
any comments or sending email to sunghoka1@gamil.com would be highly appreciated
Could you provide some more information about the toradex module you are using? Hardware and software version? It would be also nice to ask a new question.