You are not logged in.
Hi all,
Today I encountered some weird problem with bluetooth. It was working previously, I was able to pair with speakers, play some music. I used blueman. Today I tried to pair with some new device, but it was not discovered by my laptop (Lenovo Yoga 2 Pro). I restarted bluetooth systemd service and then something weird happened: blueman reported that it cannot find any adapter. I did an system upgrade to get the newest kernel, but to no luck. As far as I can see /dev/hci0/ device is not created.
$ uname -a
Linux archlap 4.17.8-1-ARCH #1 SMP PREEMPT Wed Jul 18 09:56:24 UTC 2018 x86_64 GNU/Linux$ lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
01:00.0 Network controller: Intel Corporation Wireless 7260 (rev 6b)$ lspci -k -s 01:00.0
01:00.0 Network controller: Intel Corporation Wireless 7260 (rev 6b)
Subsystem: Intel Corporation Wireless-N 7260
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi$ lsusb
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 008: ID 1bcf:2c43 Sunplus Innovation Technology Inc.
Bus 002 Device 007: ID 04f3:016f Elan Microelectronics Corp. Touchscreen
Bus 002 Device 006: ID 2047:0855 Texas Instruments Invensense Embedded MotionApp HID Sensor
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub$ sudo rfkill list
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: ideapad_bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no$ sudo systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2018-07-22 17:51:33 CEST; 5h 36min ago
Docs: man:bluetoothd(8)
Main PID: 1264 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
Memory: 2.1M
CGroup: /system.slice/bluetooth.service
└─1264 /usr/lib/bluetooth/bluetoothd
Jul 22 17:51:33 archlap systemd[1]: Starting Bluetooth service...
Jul 22 17:51:33 archlap bluetoothd[1264]: Bluetooth daemon 5.50
Jul 22 17:51:33 archlap systemd[1]: Started Bluetooth service.
Jul 22 17:51:33 archlap bluetoothd[1264]: Starting SDP server
Jul 22 17:51:33 archlap bluetoothd[1264]: Bluetooth management interface 1.14 initialized$ journalctl -b | rg Blue
Jul 22 17:51:25 archlap kernel: Bluetooth: Core ver 2.22
Jul 22 17:51:25 archlap kernel: Bluetooth: HCI device and connection manager initialized
Jul 22 17:51:25 archlap kernel: Bluetooth: HCI socket layer initialized
Jul 22 17:51:25 archlap kernel: Bluetooth: L2CAP socket layer initialized
Jul 22 17:51:25 archlap kernel: Bluetooth: SCO socket layer initialized
Jul 22 17:51:25 archlap kernel: Bluetooth: HCI UART driver ver 2.3
Jul 22 17:51:25 archlap kernel: Bluetooth: HCI UART protocol H4 registered
Jul 22 17:51:25 archlap kernel: Bluetooth: HCI UART protocol BCSP registered
Jul 22 17:51:25 archlap kernel: Bluetooth: HCI UART protocol LL registered
Jul 22 17:51:25 archlap kernel: Bluetooth: HCI UART protocol ATH3K registered
Jul 22 17:51:25 archlap kernel: Bluetooth: HCI UART protocol Three-wire (H5) registered
Jul 22 17:51:25 archlap kernel: Bluetooth: HCI UART protocol Intel registered
Jul 22 17:51:25 archlap kernel: Bluetooth: HCI UART protocol Broadcom registered
Jul 22 17:51:25 archlap kernel: Bluetooth: HCI UART protocol QCA registered
Jul 22 17:51:25 archlap kernel: Bluetooth: HCI UART protocol AG6XX registered
Jul 22 17:51:25 archlap kernel: Bluetooth: HCI UART protocol Marvell registered
Jul 22 17:51:33 archlap systemd[1]: Starting Bluetooth service...
Jul 22 17:51:33 archlap bluetoothd[1264]: Bluetooth daemon 5.50
Jul 22 17:51:33 archlap systemd[1]: Started Bluetooth service.
Jul 22 17:51:33 archlap kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Jul 22 17:51:33 archlap kernel: Bluetooth: BNEP filters: protocol multicast
Jul 22 17:51:33 archlap kernel: Bluetooth: BNEP socket layer initialized
Jul 22 17:51:33 archlap bluetoothd[1264]: Bluetooth management interface 1.14 initialized
Jul 22 17:51:33 archlap systemd[1044]: Starting Bluetooth OBEX service...
Jul 22 17:51:33 archlap systemd[1044]: Started Bluetooth OBEX service.$ sudo bluetoothctl
Agent registered
[bluetooth]# list
[bluetooth]# devices
No default controller available$ dmesg | rg -i 'blue|firm'
[ 0.019999] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 0.168216] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[ 70.562068] Bluetooth: Core ver 2.22
[ 70.562087] Bluetooth: HCI device and connection manager initialized
[ 70.562090] Bluetooth: HCI socket layer initialized
[ 70.562093] Bluetooth: L2CAP socket layer initialized
[ 70.562099] Bluetooth: SCO socket layer initialized
[ 70.581471] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 70.651299] Bluetooth: HCI UART driver ver 2.3
[ 70.651302] Bluetooth: HCI UART protocol H4 registered
[ 70.651303] Bluetooth: HCI UART protocol BCSP registered
[ 70.651320] Bluetooth: HCI UART protocol LL registered
[ 70.651321] Bluetooth: HCI UART protocol ATH3K registered
[ 70.651322] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 70.651347] Bluetooth: HCI UART protocol Intel registered
[ 70.651381] Bluetooth: HCI UART protocol Broadcom registered
[ 70.651382] Bluetooth: HCI UART protocol QCA registered
[ 70.651383] Bluetooth: HCI UART protocol AG6XX registered
[ 70.651384] Bluetooth: HCI UART protocol Marvell registered
[ 70.811287] iwlwifi 0000:01:00.0: loaded firmware version 17.948900127.0 op_mode iwlmvm
[ 78.716453] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 78.716456] Bluetooth: BNEP filters: protocol multicast
[ 78.716460] Bluetooth: BNEP socket layer initialized$ ll /lib/firmware/intel
inode Permissions Links Size Blocks User Group Date Modified Name
780 lrwxrwxrwx 1 21 0 root root 7 Jun 8:01 dsp_fw_bxtn.bin -> dsp_fw_bxtn_v3366.bin
781 .rw-r--r-- 1 493Ki 992 root root 7 Jun 8:01 dsp_fw_bxtn_v2219.bin
782 .rw-r--r-- 1 493Ki 992 root root 7 Jun 8:01 dsp_fw_bxtn_v3366.bin
783 lrwxrwxrwx 1 20 0 root root 7 Jun 8:01 dsp_fw_cnl.bin -> dsp_fw_cnl_v1191.bin
784 .rw-r--r-- 1 570Ki 1144 root root 7 Jun 8:01 dsp_fw_cnl_v1191.bin
785 lrwxrwxrwx 1 20 0 root root 7 Jun 8:01 dsp_fw_glk.bin -> dsp_fw_glk_v3366.bin
786 .rw-r--r-- 1 493Ki 992 root root 7 Jun 8:01 dsp_fw_glk_v1814.bin
787 .rw-r--r-- 1 493Ki 992 root root 7 Jun 8:01 dsp_fw_glk_v2768.bin
788 .rw-r--r-- 1 493Ki 992 root root 7 Jun 8:01 dsp_fw_glk_v2880.bin
789 .rw-r--r-- 1 493Ki 992 root root 7 Jun 8:01 dsp_fw_glk_v3366.bin
790 lrwxrwxrwx 1 20 0 root root 7 Jun 8:01 dsp_fw_kbl.bin -> dsp_fw_kbl_v3402.bin
797 .rw-r--r-- 1 233Ki 472 root root 7 Jun 8:01 dsp_fw_kbl_v701.bin
791 .rw-r--r-- 1 233Ki 472 root root 7 Jun 8:01 dsp_fw_kbl_v1037.bin
792 .rw-r--r-- 1 233Ki 472 root root 7 Jun 8:01 dsp_fw_kbl_v2042.bin
793 .rw-r--r-- 1 237Ki 480 root root 7 Jun 8:01 dsp_fw_kbl_v2630.bin
794 .rw-r--r-- 1 237Ki 480 root root 7 Jun 8:01 dsp_fw_kbl_v3266.bin
795 .rw-r--r-- 1 241Ki 488 root root 7 Jun 8:01 dsp_fw_kbl_v3402.bin
796 .rw-r--r-- 1 237Ki 480 root root 7 Jun 8:01 dsp_fw_kbl_v3420.bin
798 lrwxrwxrwx 1 24 0 root root 7 Jun 8:01 dsp_fw_release.bin -> dsp_fw_release_v3402.bin
800 .rw-r--r-- 1 216Ki 432 root root 7 Jun 8:01 dsp_fw_release_v969.bin
799 .rw-r--r-- 1 241Ki 488 root root 7 Jun 8:01 dsp_fw_release_v3402.bin
801 .rw-r--r-- 1 685Ki 1376 root root 7 Jun 8:01 fw_sst_0f28.bin
802 .rw-r--r-- 1 259Ki 520 root root 7 Jun 8:01 fw_sst_0f28.bin-48kHz_i2s_master
803 .rw-r--r-- 1 685Ki 1376 root root 7 Jun 8:01 fw_sst_0f28_ssp0.bin
804 .rw-r--r-- 1 685Ki 1376 root root 7 Jun 8:01 fw_sst_22a8.bin
805 .rw-r--r-- 1 18 8 root root 7 Jun 8:01 ibt-11-5.ddc
806 .rw-r--r-- 1 581Ki 1168 root root 7 Jun 8:01 ibt-11-5.sfi
807 .rw-r--r-- 1 14 8 root root 7 Jun 8:01 ibt-12-16.ddc
808 .rw-r--r-- 1 578Ki 1160 root root 7 Jun 8:01 ibt-12-16.sfi
809 .rw-r--r-- 1 14 8 root root 7 Jun 8:01 ibt-17-0-1.ddc
810 .rw-r--r-- 1 610Ki 1224 root root 7 Jun 8:01 ibt-17-0-1.sfi
811 .rw-r--r-- 1 14 8 root root 7 Jun 8:01 ibt-17-1.ddc
812 .rw-r--r-- 1 610Ki 1224 root root 7 Jun 8:01 ibt-17-1.sfi
815 .rw-r--r-- 1 29 8 root root 7 Jun 8:01 ibt-17-2.ddc
816 .rw-r--r-- 1 613Ki 1232 root root 7 Jun 8:01 ibt-17-2.sfi
813 .rw-r--r-- 1 29 8 root root 7 Jun 8:01 ibt-17-16-1.ddc
814 .rw-r--r-- 1 613Ki 1232 root root 7 Jun 8:01 ibt-17-16-1.sfi
817 .rw-r--r-- 1 14 8 root root 7 Jun 8:01 ibt-18-0-1.ddc
818 .rw-r--r-- 1 610Ki 1224 root root 7 Jun 8:01 ibt-18-0-1.sfi
819 .rw-r--r-- 1 14 8 root root 7 Jun 8:01 ibt-18-1.ddc
820 .rw-r--r-- 1 610Ki 1224 root root 7 Jun 8:01 ibt-18-1.sfi
823 .rw-r--r-- 1 29 8 root root 7 Jun 8:01 ibt-18-2.ddc
824 .rw-r--r-- 1 613Ki 1232 root root 7 Jun 8:01 ibt-18-2.sfi
821 .rw-r--r-- 1 29 8 root root 7 Jun 8:01 ibt-18-16-1.ddc
822 .rw-r--r-- 1 613Ki 1232 root root 7 Jun 8:01 ibt-18-16-1.sfi
825 .rw-r--r-- 1 21Ki 48 root root 7 Jun 8:01 ibt-hw-37.7.10-fw-1.0.1.2d.d.bseq
826 .rw-r--r-- 1 25Ki 56 root root 7 Jun 8:01 ibt-hw-37.7.10-fw-1.0.2.3.d.bseq
839 .rw-r--r-- 1 22Ki 48 root root 7 Jun 8:01 ibt-hw-37.7.10-fw-1.80.1.2d.d.bseq
840 .rw-r--r-- 1 25Ki 56 root root 7 Jun 8:01 ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
841 .rw-r--r-- 1 96 8 root root 7 Jun 8:01 ibt-hw-37.7.bseq
842 .rw-r--r-- 1 30Ki 64 root root 7 Jun 8:01 ibt-hw-37.8.10-fw-1.10.2.27.d.bseq
843 .rw-r--r-- 1 38Ki 80 root root 7 Jun 8:01 ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
844 .rw-r--r-- 1 46Ki 96 root root 7 Jun 8:01 ibt-hw-37.8.10-fw-22.50.19.14.f.bseq
845 .rw-r--r-- 1 96 8 root root 7 Jun 8:01 ibt-hw-37.8.bseq
779 .rw-r--r-- 1 254Ki 512 root root 7 Jun 8:01 IntcSST2.bin
846 lrwxrwxrwx 1 52 0 root root 7 Jun 8:01 ipu3-fw.bin -> irci_irci_ecr-master_20161208_0213_20170112_1500.bin
849 .rw-r--r-- 1 1.2Mi 2376 root root 7 Jun 8:01 irci_irci_ecr-master_20161208_0213_20170112_1500.bin$ lsmod | rg -i 'blue|bt'
btqca 16384 1 hci_uart
btbcm 16384 1 hci_uart
btintel 24576 1 hci_uart
bluetooth 638976 11 btqca,btintel,hci_uart,btbcm,bnep
ecdh_generic 24576 1 bluetooth
rfkill 28672 9 bluetooth,ideapad_laptop,cfg80211
crc16 16384 2 bluetooth,ext4I do not use tlp, only laptop_mode & powertop:
$ sudo laptop_mode status
[...]
Laptop Mode Tools is allowed to run: /var/run/laptop-mode-tools/enabled exists.
/proc/sys/vm/laptop_mode:
0
/proc/sys/vm/dirty_ratio:
40
/proc/sys/vm/dirty_background_ratio:
10
/proc/sys/vm/dirty_expire_centisecs:
3000
/proc/sys/vm/dirty_writeback_centisecs:
500
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq:
3000000
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq:
800000
/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq:
3000000
/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_min_freq:
800000
/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_max_freq:
3000000
/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_min_freq:
800000
/sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_max_freq:
3000000
/sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_min_freq:
800000
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor:
powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor:
powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor:
powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor:
powersave
/proc/acpi/button/lid/LID0/state:
state: open
/sys/class/power_supply/ADP1/online:
1Last time I used bluetooth in my laptop ~6 months ago, since that time I only upgraded my system and once tuned all tunables in powertop from Bad to Good, but rebooted my machine afterwards, so the changes went away. Checked in BIOS and it does not allow to disable only bluetooth, it has one switch for all "wireless networking" and it is enabled. I searched for similar problems here but I did not find anything that helped me. I'd be really grateful for any help.
Last edited by kubaxvx (2018-07-24 13:07:26)
Offline
Soo... turned out that Bluetooth started working properly after I turned on the computer the next day, so it had to be some temporary hardware glitch. Marking the thread as solved.
Offline