When installing dietpi image in a Orange pi zero 2w
I used dietpi-config tool to configure bluetooth. After enabling it and seeing the packages installed. Bluetoothctl had issues with bluez. Was trying to install a BT keyboard.
I had to install rfkill, to unlock bluetooth. Worked fine afterwards but required some troubleshooting. Would be nice to skip this process if BT is enabled.
Thanks
Means, there was a hard(ware) rfkill switch set to block. Since this is quite rare, we only remove all soft(ware) rfkill switches from our images, run rfkill unblock bluetooth|wifi when it is enabled and rfkill installed, but do not pre-install it.
Can you show the list of available rfkill switches?
rfkill --output-all
I did unblock only for bluetooth. With wlan had no issues.
ID TYPE DEVICE TYPE-DESC SOFT HARD
0 bluetooth bluetooth Bluetooth unblocked unblocked
1 wlan phy0 Wireless LAN unblocked unblocked
2 bluetooth hci0 Bluetooth unblocked unblocked