You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bluetooth/detect-output fails on RPI with Ubuntu Core 24 images with the following output:
rfkill: cannot open /dev/rfkill: Operation not permitted
rfkill: cannot open /dev/rfkill: Operation not permitted
BT hardware not available
The reason this fails seems to be because the bluetooth controller is not powered on before the test starts. If you power it on with something like sudo bluetoothctl power on then the test works fine. For fixing it, it should be sufficient to run this before it starts the test, however it needs to be run as root and the bluetooth/detect-output test currently runs as a normal user.
We didn't have this problem with older images because previously we used to install a tool called "pi-bluetooth" which set a lot of this up. One of the side effects of running the pi-bluetooth snap/deb is that the bluetooth controller would get powered on, but it no longer works on *24 systems, nor is it required now.
To Reproduce
Run the bluetooth tests on a rpi with ubuntu-core 24
Environment
UC24
Raspberry Pi
any recent version of checkbox
Relevant log output
rfkill: cannot open /dev/rfkill: Operation not permitted
rfkill: cannot open /dev/rfkill: Operation not permitted
BT hardware not available
### Additional context
_No response_
The text was updated successfully, but these errors were encountered:
Bug Description
bluetooth/detect-output fails on RPI with Ubuntu Core 24 images with the following output:
The reason this fails seems to be because the bluetooth controller is not powered on before the test starts. If you power it on with something like
sudo bluetoothctl power on
then the test works fine. For fixing it, it should be sufficient to run this before it starts the test, however it needs to be run as root and the bluetooth/detect-output test currently runs as a normal user.We didn't have this problem with older images because previously we used to install a tool called "pi-bluetooth" which set a lot of this up. One of the side effects of running the pi-bluetooth snap/deb is that the bluetooth controller would get powered on, but it no longer works on *24 systems, nor is it required now.
To Reproduce
Run the bluetooth tests on a rpi with ubuntu-core 24
Environment
UC24
Raspberry Pi
any recent version of checkbox
Relevant log output
The text was updated successfully, but these errors were encountered: