The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Moode 6.5.2 - Bluetooth problems
#1
Hi, thanks for your work on this great project!

I run Moode 6.5.2 on a rpi 3A+ - a device with wifi and BT.

Streaming from a Moto G6 phone, I connect with BT to rpi/moode. Moode is running with BT pairing agent active.

BT connection keep failing every few seconds, then connect again - then fail etc.
Do someone here know of a fix for this problem?


Code:
Jun  6 09:14:00 moode systemd[1]: Started Music Player Daemon.
Jun  6 09:14:00 moode systemd[1]: Started BlueAlsa-Aplay.
Jun  6 09:14:00 moode mpd[12912]: Jun 06 09:14 : exception: Input plugin 'tidal' is unavailable: No T
idal application token configured
Jun  6 09:14:00 moode mpd[12912]: Jun 06 09:14 : exception: Input plugin 'qobuz' is unavailable: No Q
obuz app_id configured
Jun  6 09:14:00 moode systemd-udevd[12910]: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --
passfd --udev' failed with exit code 1.
Jun  6 09:14:06 moode systemd[1]: Stopping Music Player Daemon...
Jun  6 09:14:06 moode systemd[1]: mpd.service: Succeeded.
Jun  6 09:14:06 moode systemd[1]: Stopped Music Player Daemon.
Jun  6 09:14:06 moode systemd[1]: Started Music Player Daemon.
Jun  6 09:14:06 moode mpd[13076]: Jun 06 09:14 : exception: Input plugin 'tidal' is unavailable: No T
idal application token configured
Jun  6 09:14:06 moode mpd[13076]: Jun 06 09:14 : exception: Input plugin 'qobuz' is unavailable: No Q
obuz app_id configured
Jun  6 09:14:07 moode systemd[1]: Stopping BlueAlsa-Aplay...
Jun  6 09:14:07 moode systemd[1]: bluealsa-aplay@0C:CB:85:ED:DF:FA.service: Succeeded.
Jun  6 09:14:07 moode systemd[1]: Stopped BlueAlsa-Aplay.
Jun  6 09:14:11 moode bluetoothd[1074]: connect error: Connection refused (111)
Jun  6 09:14:11 moode bluetoothd[1074]: Authentication attempt without agent
Jun  6 09:14:11 moode bluetoothd[1074]: Access denied: org.bluez.Error.Rejected
Jun  6 09:14:16 moode bluetoothd[1074]: Authentication attempt without agent
Jun  6 09:14:16 moode bluetoothd[1074]: Access denied: org.bluez.Error.Rejected


I found a description on how to disable 'tidal' and 'qobuz' exceptions and I tried to run the pairing agent in a console, with no improvements:


Code:
$ sudo /var/www/command/bt-agent.py --agent --disable_pair_mode_switch --pair_mode -w
ActivatePairMode called with inf
Agent registered
Agent registered as default agent.
Authorizing service (/org/bluez/hci0/dev_0C_CB_85_ED_DF_FA, 0000110d-0000-1000-8000-00805f9b34fb)
Authorizing service (/org/bluez/hci0/dev_0C_CB_85_ED_DF_FA, 0000110e-0000-1000-8000-00805f9b34fb)
Authorizing service (/org/bluez/hci0/dev_0C_CB_85_ED_DF_FA, 0000110d-0000-1000-8000-00805f9b34fb)

$ tail -f /var/log/daemon.log
Jun  6 09:44:06 moode bluetoothd[21819]: connect error: Connection refused (111)
Jun  6 09:44:06 moode bluetoothd[21819]: Authentication attempt without agent
Jun  6 09:44:06 moode bluetoothd[21819]: Access denied: org.bluez.Error.Rejected
Jun  6 09:44:23 moode bluetoothd[21819]: Authentication attempt without agent
Jun  6 09:44:23 moode bluetoothd[21819]: Access denied: org.bluez.Error.Rejected
Jun  6 09:45:13 moode systemd[1]: Stopping Music Player Daemon...
Jun  6 09:45:13 moode systemd[1]: mpd.service: Succeeded.
Jun  6 09:45:13 moode systemd[1]: Stopped Music Player Daemon.
Jun  6 09:45:13 moode systemd[1]: Started Music Player Daemon.
Jun  6 09:45:13 moode systemd[1]: Started BlueAlsa-Aplay.
Jun  6 09:45:14 moode systemd-udevd[28150]: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --
passfd --udev' failed with exit code 1.

Jun  6 09:55:38 moode systemd[1]: bluealsa-aplay@0C:CB:85:ED:DF:FA.service: Succeeded.
Jun  6 09:55:38 moode systemd[1]: Stopped BlueAlsa-Aplay.
Jun  6 09:55:41 moode bluetoothd[21819]: connect error: Connection refused (111)
Jun  6 09:57:21 moode systemd[1]: Stopping Music Player Daemon...
Jun  6 09:57:22 moode systemd[1]: mpd.service: Succeeded.
Jun  6 09:57:22 moode systemd[1]: Stopped Music Player Daemon.
Jun  6 09:57:22 moode systemd[1]: Started Music Player Daemon.
Jun  6 09:57:22 moode systemd[1]: Started BlueAlsa-Aplay.
Jun  6 09:57:22 moode systemd-udevd[1607]: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with exit code 1.
Jun  6 09:57:27 moode systemd[1]: Stopping BlueAlsa-Aplay...
Jun  6 09:57:27 moode systemd[1]: bluealsa-aplay@0C:CB:85:ED:DF:FA.service: Succeeded.
Jun  6 09:57:27 moode systemd[1]: Stopped BlueAlsa-Aplay.


Br Jorgen
Reply


Messages In This Thread
Moode 6.5.2 - Bluetooth problems - by jorgen_dk - 06-06-2020, 08:37 AM
RE: Moode 6.5.2 - Bluetooth problems - by blueboy - 08-17-2020, 12:49 PM
RE: Moode 6.5.2 - Bluetooth problems - by blueboy - 08-18-2020, 07:10 PM

Forum Jump: