Closed maarthome closed 4 weeks ago
python3-docutils
is an odd package to resolve this. I wonder whether it has another dependancy that it installs that actually resolves the issue.
Do you have the actual error and logs? I want to better understand the issue and implement a robust solution.
I did not experience an issue with RPi4 in V5 so maybe this is a RPi5 specific issue.
Hi Brian,
I am sorry to perhaps confuse everybody. I do not have the loggings anymore... What I do know is that activating Bluetooth resulted in not being able to start the bluetooth service. Reinstalling bluetooth (via zynthian's script 'install_bluez.sh') did not work because a file/package was missing. I now, vaguely remember that 'rst2...' was missing. i looked up on the internet which package contained that file or package and installed it. After that the 'install_bluez.sh' script worked fine and my bluetooth, on indeed a PI5, works!
So you are absolutely right... the 'python3-docutils' is not needed in full. If you think it is usefull, I can install a fresh zynthian and generate the error message. But perhaps you know with this last info what the issue is.
Cheers,
Maarten
Thanks for the update. I will try to reproduce on my RPi5.
There is a dbus permission issue. Need to add a config, e.g. add a file called bluetooth.conf
to /etc/dbus-1/system.d
with content:
<!-- This configuration file specifies the required security policies
for Bluetooth core daemon to work. -->
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- ../system.conf have denied everything, so we just punch some holes -->
<policy user="root">
<allow own="org.bluez"/>
<allow send_destination="org.bluez"/>
<!-- allow root to send to agents -->
<allow send_interface="org.bluez.Agent"/>
</policy>
<!-- allow users at the console, see consolekit or libpam-foreground -->
<policy at_console="true">
<allow send_destination="org.bluez"/>
</policy>
<!-- allow users of bluetooth group to communicate with hcid -->
<policy group="bluetooth">
<allow send_destination="org.bluez"/>
</policy>
<policy context="default">
<deny send_destination="org.bluez"/>
</policy>
</busconfig>
This is fixed in Vanglesis (testing). Please validate.
I have validated that this resolves the original issue so will add to next point release. There remain issues with Bluetooth that should be reported and tracked on a different ticket.
Describe the issue
When BLE is witched on, an error is occuring and the automatic restarting is not helping.
SO:
Re-install bluetooth
sudo apt -y install python3-docutils /zynthian/zynthian-sys/scripts/recipes/install_bluez.sh
This will solve the problem :-) Cheers, Maarten
Hardware
System
MIDI & UI
Software