Bluetooth working in Kernel 5.11 (latest) with minor tweak
from fresh install
*** Install Bluez-Utils from software package
*** Add a file /etc/systemd/system/bluetooth-addr.service:
Code:
[Unit]
Description=Set Bluetooth device address
After=bluetooth.service
Requires=bluetooth.service
[Service]
ExecStart=/usr/bin/btmgmt -i hci0 public-addr 43:34:1B:00:1F:AC
Restart=on-failure
[Install]
WantedBy=bluetooth.target
Then:
Code:
$ sudo systemctl enable bluetooth-addr.service
$ sudo systemctl start bluetooth-addr.service
then restart the bluetooth service with:
sudo systemctl restart bluetooth
the default mac address for the bluetooth is 43:34:1B:00:1F:AC but testing with previous kernel found another that works and perhaps that the individual of the device
also theres no need to create and run the systemd btattach.service
Tested some bluetooth devices and all where recognized and working fine! Thanks Yochanan for the help!