I'm having issues connecting my Logitech K810 Bluetooth keyboard in Debian Jessie with BlueZ version 5.23-1, kernel 3.16.0-4.
The keyboard works fine most of the time but sometimes it doesn't work at all and bluetoothctl
gives me the error that the controller is unavailable.
When this occurs, hciconfig still recognizes the device and I get this output:
# hciconfig hci0 up
# hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 40:2C:F4:68:02:CA ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING PSCAN
RX bytes:21820 acl:1132 sco:0 events:68 errors:0
TX bytes:1182 acl:11 sco:0 commands:53 errors:0
But no devices are shown in the bluetoothctl
prompt and it gives me this output:
[bluetooth]# power on
No default controller available
[bluetooth]# scan on
No default controller available
Rebooting or sometimes suspending/resuming fixes the issue: bluetoothctl
will again recognize both the controller and the keyboard which works again.
Bluetooth is consistently hard and soft unblocked according to rfkill
.
The relevant output from lspci -v
, I guess would be this:
03:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000 [Condor Peak]
Subsystem: Intel Corporation Centrino Wireless-N 1000 BGN
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at f0400000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi
I didn't have this problem with the same hardware in Debian Wheezy.
What could it be the bluetooth controller to be unavailable at times?
modprobe -r btusb
) and adding (modprobe btusb
) the kernel module helps to get the controller back (so you can avoid doing a full reboot).