You are not logged in.

#1 2020-10-27 19:14:30

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,985
Website

Bluetooth: Multiple connections - Only first working

Hi all,

I'm trying to connect multiple bluetooth devices to my laptop: A headset and a mouse.
If I establish the bluetooth connection to one device and then to the other, only the device I connected to first will work.
The latter will be listed as connected but randomly disconnect and reconnect again without providing functionality:

Controller 0C:96:E6:A8:EE:B0 (public)
	Name: envy
	Alias: envy
	Class: 0x003c0000
	Powered: yes
	Discoverable: yes
	DiscoverableTimeout: 0x00000000
	Pairable: yes
	UUID: Message Notification Se.. (00001133-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
	UUID: OBEX Object Push          (00001105-0000-1000-8000-00805f9b34fb)
	UUID: Message Access Server     (00001132-0000-1000-8000-00805f9b34fb)
	UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
	UUID: IrMC Sync                 (00001104-0000-1000-8000-00805f9b34fb)
	UUID: Vendor specific           (00005005-0000-1000-8000-0002ee000001)
	UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
	UUID: Headset AG                (00001112-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
	UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
	UUID: Phonebook Access Server   (0000112f-0000-1000-8000-00805f9b34fb)
	UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
	UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
	UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
	UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
	UUID: OBEX File Transfer        (00001106-0000-1000-8000-00805f9b34fb)
	Modalias: usb:v1D6Bp0246d0537
	Discovering: yes
	Roles: central
	Roles: peripheral
Advertising Features:
	ActiveInstances: 0x00 (0)
	SupportedInstances: 0x05 (5)
	SupportedIncludes: tx-power
	SupportedIncludes: appearance
	SupportedIncludes: local-name

Connected to headset:

[JBL E55BT]# devices
Device F4:BC:DA:56:C7:08 JBL E55BT
Device F4:9A:CD:D2:D8:5D Hue Lamp
Device 36:A2:FA:A6:83:EC BOW
Device DC:2C:26:AF:D4:CB BM30X mouse
Device DA:6D:82:C1:E5:F7 Hue Lamp
Device D0:88:F5:7F:3A:2C Hue Lamp
Device FC:DE:90:1F:AA:E2 Galaxy XCover Pro
Device 48:6D:BB:59:63:CD TOSHIBA TV
Device 64:1C:B0:BF:82:4D [TV] Samsung 7 Series (55)
Device 7C:C1:1F:71:83:2E 7C-C1-1F-71-83-2E
Device 09:37:2A:11:65:F9 09-37-2A-11-65-F9
Device 2A:7D:4D:65:1F:D0 2A-7D-4D-65-1F-D0
Device 77:6E:42:25:57:3E 77-6E-42-25-57-3E
Device 71:8E:27:A5:CF:EB 71-8E-27-A5-CF-EB
Device 4C:79:17:82:5C:7A 4C-79-17-82-5C-7A

Attempting connection to mouse:

[JBL E55BT]# connect DC:2C:26:AF:D4:CB
Attempting to connect to DC:2C:26:AF:D4:CB
[CHG] Device 64:1C:B0:BF:82:4D RSSI: -78
[CHG] Device 48:6D:BB:59:63:CD RSSI: -72
[CHG] Device 48:6D:BB:59:63:CD RSSI: -72
[CHG] Device DC:2C:26:AF:D4:CB RSSI: -50
[CHG] Device DC:2C:26:AF:D4:CB RSSI: -46
[CHG] Device 48:6D:BB:59:63:CD RSSI: -68
[CHG] Device 48:6D:BB:59:63:CD RSSI: -70
[CHG] Device DC:2C:26:AF:D4:CB RSSI: -46
[CHG] Device DC:2C:26:AF:D4:CB RSSI: -46
[CHG] Device 64:1C:B0:BF:82:4D RSSI: -78
[CHG] Device 48:6D:BB:59:63:CD RSSI: -64
[CHG] Device 64:1C:B0:BF:82:4D LegacyPairing: yes
[CHG] Device 64:1C:B0:BF:82:4D RSSI: -88
[CHG] Device 48:6D:BB:59:63:CD RSSI: -66
[CHG] Device DC:2C:26:AF:D4:CB RSSI: -46
[CHG] Device DC:2C:26:AF:D4:CB RSSI: -48
[CHG] Device DC:2C:26:AF:D4:CB RSSI: -46
[CHG] Device 48:6D:BB:59:63:CD RSSI: -70
[CHG] Device DC:2C:26:AF:D4:CB RSSI: -46
[CHG] Device 64:1C:B0:BF:82:4D RSSI: -80
[CHG] Device 48:6D:BB:59:63:CD RSSI: -68
[CHG] Device DC:2C:26:AF:D4:CB Connected: yes
[JBL E55BT]# 

The connection indicator on the mouse, however, is still blinking then and no input device is being detected:

$ xinput list
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ xwayland-pointer:17                     	id=6	[slave  pointer  (2)]
⎜   ↳ xwayland-relative-pointer:17            	id=7	[slave  pointer  (2)]
⎜   ↳ xwayland-touch:17                       	id=9	[slave  pointer  (2)]
⎜   ↳ xwayland-stylus:17                      	id=10	[slave  pointer  (2)]
⎜   ↳ xwayland-eraser:17                      	id=11	[slave  pointer  (2)]
⎜   ↳ xwayland-cursor:17                      	id=12	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ xwayland-keyboard:17                    	id=8	[slave  keyboard (3)]

More info about the controller:

$ btmgmt
[mgmt]# info
Index list with 1 item
hci0:	Primary controller
	addr 0C:96:E6:A8:EE:B0 version 8 manufacturer 93 class 0x3c0000
	supported settings: powered connectable fast-connectable discoverable bondable link-security ssp br/edr hs le advertising secure-conn debug-keys privacy static-addr phy-configuration 
	current settings: powered connectable discoverable bondable ssp br/edr le secure-conn 
	name envy
	short name 
[mgmt]# 

How can I connect to two bluetooth devices and use them?
Is it even possible? I.e. does my laptop's bluetooth device support multiple connections?

Last edited by schard (2020-10-27 19:19:36)


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#2 2021-04-18 01:50:21

array-in-a-matrix
Member
Registered: 2021-04-18
Posts: 1
Website

Re: Bluetooth: Multiple connections - Only first working

Hello,

I am also having this same issue also on a laptop except it's with a bluetooth keyboard and a bluetooth headset. I dual-boot arch and windows and I can connect to both my headset and keyboard simultaneously so I assume your laptop supports multiple connections. I guess the problem is either a kernel issue or we don't have something setup properly. Also throughout my testing, I have a wireless mouse with a dongle connected to my laptop which worked flawlessly with either my headset or keyboard. Whenever I try connecting using the GUI I get input/output error the one in KDE settings and using blueman GUI as last resort I tried connecting using the CLI however bluetoothctl says device is not available.

Possibly relavent:
https://stackoverflow.com/questions/527 … s-on-linux
https://bbs.archlinux.org/viewtopic.php?id=260517

Last edited by array-in-a-matrix (2021-04-18 02:10:40)

Offline

Board footer

Powered by FluxBB