[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bluetooth devices get disconnected.



Hi,

So the issue was most likely related to iwlwifi modue (Network controller: Intel Corporation Wireless 8260 (rev 3a)). After adding the following options for iwlwifi the issue disappeared and the mouse is working fine.

$ cat /etc/modprobe.d/iwlwifi.conf
options iwlwifi bt_coex_active=0 swcrypto=1 11n_disable=8 led_mode=3

-Jiri


On 12/12/17 23:44, Jiri Kanicky wrote:
Hi.

I am running Debian Sid with KDE. I have Logitech MX 2 and Bose Bluetooth headphones. I experience disconnects very often.

I tried to use different configuration, but nothing seems to work.

After running the following the mouse gets connected again, and I can reconnect BT headphones also. However the devices get disconnected again in 1, 5 or 10 minutes again:
hciconfig hci0 sspmode 1
hciconfig hci0 down
hciconfig hci0 up

I also noticed that when the mouse is working I see the following:

$ hciconfig -a
hci0:   Type: Primary  Bus: USB
        BD Address: 28:16:AD:B6:2A:0A  ACL MTU: 1021:4  SCO MTU: 96:6
        UP RUNNING
        RX bytes:21923293 acl:792631 sco:0 events:111597 errors:0
        TX bytes:10619740 acl:18458 sco:0 commands:1832 errors:0
        Features: 0xbf 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH SNIFF
        Link mode: SLAVE ACCEPT
        Name: 'supermanbt'
        Class: 0x1c010c
        Service Classes: Rendering, Capturing, Object Transfer
        Device Class: Computer, Laptop
        HCI Version: 4.2 (0x8)  Revision: 0x100
        LMP Version: 4.2 (0x8)  Subversion: 0x100
        Manufacturer: Intel Corp. (2)


After disconnect I can see the following:

$ hciconfig -a
hci0:   Type: Primary  Bus: USB
        BD Address: 28:16:AD:B6:2A:0A  ACL MTU: 1021:4  SCO MTU: 96:6
        UP RUNNING PSCAN
        RX bytes:22096318 acl:800070 sco:0 events:113012 errors:0
        TX bytes:11042199 acl:19322 sco:0 commands:2053 errors:0
        Features: 0xbf 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH SNIFF
        Link mode: SLAVE ACCEPT
        Name: 'Bluemoon Universal Bluetooth Host Controller'
        Class: 0x000000
        Service Classes: Unspecified
        Device Class: Miscellaneous,
        HCI Version: 4.2 (0x8)  Revision: 0x100
        LMP Version: 4.2 (0x8)  Subversion: 0x100
        Manufacturer: Intel Corp. (2)

I also configured blutoothd with -d option, but I don't see any specific messages when the devices disconnect.

Any thoughts how to fix it or debug it? Is this general bluetooth issue or KDE bluedevil problem?

Thanks Jiri



Reply to: