Bluetooth mac not initialized in systemd for devices that use bootmac
Describe your issue
What's the expected behaviour?
Bluetooth works
What's the current behaviour?
Bluetooth does not work until the bootmac
command is run manually on the terminal.
journalctl
seems to include the following logs:
Jan 11 22:37:54 matzipan-enchilada (udev-worker)[551]: hci0: Process '/usr/bin/bootmac' failed with exit code 2.
Even when running bootmac
manually, it says:
$ sudo bootmac
Set Powered for hci0 failed with status 0x11 (Invalid Index)
hci0 Set Public Address complete, options:
Set Powered for hci0 failed with status 0x11 (Invalid Index)
How to reproduce your issue?
Boot the device.
What device are you using?
Oneplus 6
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v24.12
-
v24.06
(supported until 2025-01-23) -
master_staging_systemd
commit98742bb8104545099c44a0c1b61df0e3c89fd79a
-
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
-
GNOME Shell on Mobile -
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway) Please post the output of sxmo_version.sh
-
Other: Please fill out
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
Edited by Andrei Zisu