01-10-2023, 02:58 PM
(01-10-2023, 12:42 PM)Tim Curtis Wrote:(01-10-2023, 07:58 AM)romain Wrote:(01-09-2023, 12:20 PM)Tim Curtis Wrote: Suffice it to say that Bluetooth issues are difficult to troubleshoot.
Maybe once it's paired but before its connected try the command below to see if it shows something interesting.
Code:bluealsa-aplay -l
bluealsa-aplay -L
pi@moode:~ $ bluealsa-aplay --help
Usage:
bluealsa-aplay [OPTION]... [BT-ADDR]...
Options:
-h, --help print this help and exit
-V, --version print version and exit
-v, --verbose make output more verbose
-l, --list-devices list available BT audio devices
-L, --list-pcms list available BT audio PCMs
-B, --dbus=NAME BlueALSA service name suffix
-D, --pcm=NAME playback PCM device to use
--pcm-buffer-time=INT playback PCM buffer time
--pcm-period-time=INT playback PCM period time
--profile-a2dp use A2DP profile (default)
--profile-sco use SCO profile
--single-audio single audio mode
Note:
If one wants to receive audio from more than one Bluetooth device, it is
possible to specify more than one MAC address. By specifying any/empty MAC
address (00:00:00:00:00:00), one will allow connections from any Bluetooth
device. Without given explicit MAC address any/empty MAC is assumed.
pi@moode:~ $
Other thoughts:
- Try a different Class or Controller mode in /etc/bluetooth/main.conf.
- Try the btmon command
- Try a full manual pair/connect using bluetoothctl
Hello Tim,
I can pair and connect manually the CM150 with bluetoothctl and the btmon shows traffic between the transmitter and moOde BT however I can't hear anything :\
I've changed the BT CoD too in /etc/bluetooth/main.conf to 0x200408 (HiFi Audio Device), 0x200414 (Loudspeaker) and 0x200418 (Headphones) without success.
*BUT* if I connect my smartphone to moOde BT simultaneously to the CM150 I can hear the sound of my TV !?
Very odd.
You could also try the script that's used by the UI.
Code:pi@moode:~ $ sudo /var/www/util/blu-control.sh --help
** blu-control.sh version 1.6
**
** Bluetooth has a range of around 30 feet (10 meters) but range
** will vary depending on obstacles (metal, wall, etc.), device signal
** strength and quality, and level of electromagnetic interferrence.
**
** Usage: blu-control.sh [OPTION]
**
** -i Initialize/reset controller
** -s Scan (BR/EDR only) and trust devices
** -S Scan (LE and BR/EDR) and trust devices
** -p List paired devices
** -c List connected devices
** -l List trusted devices
** -d Disconnect device <MAC addr>
** -r Remove paired device <MAC addr>
** -P Pair with device <MAC addr>
** -C Connect to device <MAC addr>
** -D Disconnect all devices
** -R Remove all devices
** -h Help
pi@moode:~ $
I assume that you are trying to send audio from your TV to moOde. In that case verify that the Pairing Agent is on in the Bluetooth section of Renderers and that Audio output is set to "Local audio" in Bluetooth Control.
Yes Tim that's it. Pairing agent is on and audio output is well set to "Local Audio". I'll try the script, thanks