sudo hcitool lescan I get:
Set scan parameters failed: Input/output error
bluetoothctl and using the
show command targetting the dongle's controller I noticed it's "Powered: no". Powering it on makes
sudo hcitool lescan work as expected.
I'm on ArchLinux with the following bluetooth stack:
~ ❯❯❯ pacman -Qs bluetooth extra/bluez 5.43-2 Daemons for the bluetooth protocol stack extra/bluez-firmware 1.2-8 Firmwares for Broadcom BCM203x and STLC2300 Bluetooth chips extra/bluez-libs 5.43-2 Deprecated libraries for the bluetooth protocol stack extra/bluez-utils 5.43-2 Development and debugging utilities for the bluetooth protocol stack extra/gnome-bluetooth 3.20.0+6+g3bac4f9-1 The GNOME Bluetooth Subsystem extra/pulseaudio-bluetooth 10.0-2 Bluetooth support for PulseAudio community/python2-pybluez 0.22-2 Python wrapper for the BlueZ Bluetooth stack extra/sbc 1.3-1 Bluetooth Subband Codec (SBC) library
Is there a way to fix plug & play and make the bluetooth controller powered when it gets plugged? (if I let it plugged, it works as expected after boot, without disconnecting)