Bluetooth connects and disconnects in a second

Hi, I am sure I'll ask a stupid question but bear with me I'm new with linux in general, i've swiched from about 2 months ago and everything went great, something worked better even, like (irony) the bluetooth. I have only one device a keyboard but the problem persist with other devices(mouse, phone).
After an update i don't know if the "driver" or the btmanager or the kernel is at fault. I've tried KDE, Gnome, Cinnamon and now deepin. As for kernel i've tried 4.19 5.018 and 5.1.4. The bluetooth adapter is an Asus BT400. I will try to leave ll the info i can.

System:    Host: alex-pc Kernel: 4.19.13-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: Deepin 15.10.1 
           Distro: Manjaro Linux 
Machine:   Type: Desktop System: Gigabyte product: N/A v: N/A serial: <filter> 
           Mobo: Gigabyte model: G1.Sniper A88X-CF serial: <filter> UEFI: American Megatrends v: F11 
           date: 12/24/2015 
CPU:       Topology: Quad Core model: AMD A10-6800K APU with Radeon HD Graphics bits: 64 type: MCP arch: Piledriver 
           rev: 1 L2 cache: 2048 KiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 32754 
           Speed: 3352 MHz min/max: 2000/4100 MHz Core speeds (MHz): 1: 4017 2: 4019 3: 3792 4: 4289 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
           vendor: Sapphire Limited driver: amdgpu v: kernel bus ID: 01:00.0 
           Display: x11 server: X.Org 1.20.3 driver: amdgpu,ati unloaded: modesetting 
           resolution: 1920x1080~75Hz, 1440x900~60Hz 
           OpenGL: renderer: Radeon RX 570 Series (POLARIS10 DRM 3.27.0 4.19.13-1-MANJARO LLVM 8.0.0) 
           v: 4.5 Mesa 19.0.4 direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD] FCH Azalia vendor: Gigabyte driver: snd_hda_intel v: kernel 
           bus ID: 00:14.2 
           Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: Sapphire Limited 
           driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           Device-3: Microsoft LifeCam VX-1000 type: USB driver: snd-usb-audio,sonixj bus ID: 6-1:2 
           Sound Server: ALSA v: k4.19.13-1-MANJARO 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: r8168 
           v: 8.045.08-NAPI port: d000 bus ID: 02:00.0 
           IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 1.47 TiB used: 891.99 GiB (59.1%) 
           ID-1: /dev/sda vendor: Kingston model: SV300S37A120G size: 111.79 GiB 
           ID-2: /dev/sdb vendor: Seagate model: ST1000LM024 HN-M101MBB size: 931.51 GiB 
           ID-3: /dev/sdc vendor: Seagate model: ST500LT012-9WS142 size: 465.76 GiB 
Partition: ID-1: / size: 109.22 GiB used: 10.43 GiB (9.5%) fs: ext4 dev: /dev/sda1 
Sensors:   System Temperatures: cpu: 10.4 C mobo: N/A gpu: amdgpu temp: 40 C 
           Fan Speeds (RPM): N/A gpu: amdgpu fan: 782 
Info:      Processes: 210 Uptime: 2h 20m Memory: 7.74 GiB used: 2.18 GiB (28.2%) Init: systemd Compilers: gcc: 8.3.0 
           Shell: bash v: 5.0.7 inxi: 3.0.34
dmesg | grep -i bluetooth
[    2.300403] usb 5-1: Product: BCM920702 Bluetooth 4.0
[    4.418397] Bluetooth: Core ver 2.22
[    4.418412] Bluetooth: HCI device and connection manager initialized
[    4.418416] Bluetooth: HCI socket layer initialized
[    4.418418] Bluetooth: L2CAP socket layer initialized
[    4.418424] Bluetooth: SCO socket layer initialized
[    4.586361] Bluetooth: hci0: BCM: chip id 63
[    4.589357] Bluetooth: hci0: BCM: features 0x07
[    4.607360] Bluetooth: hci0: manjaro-deepin
[    4.610650] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1467
[    4.858377] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.858378] Bluetooth: BNEP filters: protocol multicast
[    4.858383] Bluetooth: BNEP socket layer initialized
[    6.072475] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1467
[    6.090477] Bluetooth: hci0: Broadcom Bluetooth Device
[   18.739250] Bluetooth: RFCOMM TTY layer initialized
[   18.739256] Bluetooth: RFCOMM socket layer initialized
[   18.739266] Bluetooth: RFCOMM ver 1.11
[ 3650.529995] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3666.530252] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3682.531497] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 4976.436884] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 4992.434172] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 5008.434379] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 5027.305678] Bluetooth: hci0: last event is not cmd complete (0x0f)
systemctl status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2019-06-11 19:07:19 EEST; 2h 24min ago
     Docs: man:bluetoothd(8)
 Main PID: 399 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   Memory: 2.5M
   CGroup: /system.slice/bluetooth.service
           └─399 /usr/lib/bluetooth/bluetoothd

iun 11 19:07:19 alex-pc bluetoothd[399]: Starting SDP server
iun 11 19:07:19 alex-pc bluetoothd[399]: Bluetooth management interface 1.14 initialized
iun 11 19:07:33 alex-pc bluetoothd[399]: Endpoint registered: sender=:1.58 path=/MediaEndpoint/A2DPSource
iun 11 19:07:33 alex-pc bluetoothd[399]: Endpoint registered: sender=:1.58 path=/MediaEndpoint/A2DPSink
iun 11 20:08:58 alex-pc bluetoothd[399]: Can't open HIDP control socket
iun 11 20:08:59 alex-pc bluetoothd[399]: ioctl_connadd(): Protocol not supported (93)
iun 11 20:09:14 alex-pc bluetoothd[399]: ioctl_connadd(): Protocol not supported (93)
iun 11 20:30:55 alex-pc bluetoothd[399]: Can't open HIDP control socket
iun 11 21:24:42 alex-pc bluetoothd[399]: ioctl_connadd(): Protocol not supported (93)
iun 11 21:24:51 alex-pc bluetoothd[399]: ioctl_connadd(): Protocol not supported (93)
rfkill list
0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

I hope ill hear from you guys soon. Thanks for the help.

And I destroyed the English language, and i don't find the edit button.:frowning_face:.

You are not the only one with problems related to that adapter:

Reading thrrough a specific Google search yields about the same...problems Linux-wide. Some posts indicate a firmware upgrade, some are seemingly resolved otherwise. Most are not.

Have you followed the Arch Linux BT troubleshooting section?: https://wiki.archlinux.org/index.php/Bluetooth_headset#Troubleshooting

regards

EDIT: I would also highly recommend seeking a BIOS upgrade to replace your 2015-dated one.

And Welcome to Manjaro Linux! :smiley:

You might also want to try one of the real time kernels.

I have tried the troubleshoot steps on that thread and a specific one for a logitech keyboard( I thought it was worth a shot) but no luck.
As for the BIOS that's all that gigabyte offers:sweat_smile:
I will try everything i find, and I will come back here if I found something.
Thank you for the answer and for the warm welcome.

1 Like

I will go and try 5.0.14-rt then , thank you.

1 Like