Trying to connect my bluetooth headphones I realize that I had a problem in my laptop, checking logs it shown the problem:
The device installed on Thinkpad T470p is Intel 8265 Wireless Bluetooth.
... [ 7.726547] Bluetooth: hci0: Debug lock is disabled [ 7.726549] Bluetooth: hci0: Minimum firmware build 1 week 10 2014 [ 7.726564] bluetooth hci0: firmware: failed to load intel/ibt-12-16.sfi (-2) [ 7.726569] bluetooth hci0: Direct firmware load for intel/ibt-12-16.sfi failed with error -2 [ 7.726570] Bluetooth: hci0: Failed to load Intel firmware file (-2)...
To fix this problem is needed to download the proper firmware in laptop:
# mkdir -p /lib/firmware/intel && cd /lib/firmware/intel # wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/intel/ibt-12-16.sfi # wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/intel/ibt-12-16.ddc
Once firmware microcode files are downloaded is needed to reboot (yes, reboot 😦 )
In the next boot we can check our log to see if the problem is fixed:
Let’s make some additional checks:
# hciconfig hci0: Type: Primary Bus: USB BD Address: BC:A8:A6:CE:29:98 ACL MTU: 1021:4 SCO MTU: 96:6 UP RUNNING RX bytes:15172 acl:0 sco:0 events:2452 errors:0 TX bytes:602118 acl:0 sco:0 commands:2450 errors:0 # hcitool dev Devices: hci0 BC:A8:A6:CE:29:98
With all that our hardware is detected successfully and we can use our bluetooth system.
“Those who dare to fail miserably can achieve greatly”
— John F. Kennedy