How to connect to bluetooth headset?

Post here if you are a new Porteus member and you're looking for some help.
benjibasson
Samurai
Samurai
Posts: 191
Joined: 06 Mar 2019, 15:14
Distribution: Arch linux

How to connect to bluetooth headset?

Post#1 by benjibasson » 16 Jul 2024, 22:25

Hi, I would like to connect Porteus 5.01 to an headset or speaker
=> I start Porteus 5.01 with 'Bluetooth' in append
=> the bluetooth icon is displayed next to the nm manager
=> while I make speakers discoverable I do Right click Device
Unfortunaly Porteus can see only My smartphone, my tiny samsung Level box, but it cannot see any JBL Xtrem 2GM powerfull speaker

Code: Select all

guest@porteus:~$ hcitool scan
Scanning ...
	AC:76:4C:94:1C:96	OPPO Find X3 Lite 5G
	C4:42:02:3D:C1:10	Samsung Level Box mini
Unfortunaly, Porteus doesn't succeed to connect to 'samsung Level box mini'
it say
Connection Failed: br-connection-profile-unavailable
I can only send files to any smartphone throught bluetoth with Bluez 5.71
How to connect Porteus to any speaker please?

bluetoothctl say

Code: Select all

Device 20:64:DE:B0:87:3B not available

Edit: I have tryed to comment out load-module module-bluetooth-discover in /etc/pulse/default.pa, start it from the command line in X : pactl load-module module-bluetooth-discover
But it doesn't work at all

Cheers

beny
Full of knowledge
Full of knowledge
Posts: 2275
Joined: 02 Jan 2011, 11:33
Location: italy

How to connect to bluetooth headset?

Post#2 by beny » 17 Jul 2024, 17:49

when you have start the bluetoothctl, first stop the bluetooth of the phone and other bluetooth devices, "scan on" you have to see the code of the bluetooth adapter now start the jbl xstream when you have the code on terminal "connect" the device code
you can type also the "trust" option try if work,there is also the btmon on terminal but is too tecnical and you can only see what happen

benjibasson
Samurai
Samurai
Posts: 191
Joined: 06 Mar 2019, 15:14
Distribution: Arch linux

How to connect to bluetooth headset?

Post#3 by benjibasson » 18 Jul 2024, 08:36

Hi, for JBL I have made confusion with wrong touch, and I see it.
Unfortunately when I pair, trust and connect I still have

Code: Select all

Connection Failed: br-connection-profile-unavailable


How to resolve the br-connection-profile-unavailable please?

Two years ago it was a bug witch load-module module-bluetooth-discover started before X11
It was solved by comment out load-module module-bluetooth-discover in /etc/pulse/default.pa, start it from the command line in X : pactl load-module module-bluetooth-discover

But this time pactl load-module module-bluetooth-discover launched from X return an error like

Code: Select all

module-bluetooth-discover not found

beny
Full of knowledge
Full of knowledge
Posts: 2275
Joined: 02 Jan 2011, 11:33
Location: italy

How to connect to bluetooth headset?

Post#4 by beny » 18 Jul 2024, 14:39

hi a clear porteus installled this evening:xfce4 environment after scan on start the devices

Code: Select all

guest@porteus:~$ bluetoothctl
Waiting to connect to bluetoothd...[bluetooth]# hci0 new_settings: powered bondable ssp br/edr le secure-conn 
[bluetooth]# Agent registered
[bluetooth]# [CHG] Controller 00:1A:7D:DA:71:0D Pairable: yes
[bluetooth]# scan on
[bluetooth]# SetDiscoveryFilter success
[bluetooth]# Discovery started
[bluetooth]# [CHG] Controller 00:1A:7D:DA:71:0D Discovering: yes
[bluetooth]# [NEW] Device 64:72:D8:5F:CF:8E JBL Free
[bluetoo64:72:D8:5F:CF:8E2:D8:5F:CF:8E
Attempting to connect to 64:72:D8:5F:CF:8E
[CHG] Device 64:72:D8:5F:CF:8E Connected: yes
[JBL Free]# [CHG] Device 64:72:D8:5F:CF:8E Modalias: bluetooth:v0ECBp1F21d0470
[JBL Free]# [CHG] Device 64:72:D8:5F:CF:8E ServicesResolved: yes
[JBL Free]# [CHG] Device 64:72:D8:5F:CF:8E Bonded: yes
[JBL Free]# [CHG] Device 64:72:D8:5F:CF:8E Paired: yes
[JBL Free]# [NEW] Endpoint /org/bluez/hci0/dev_64_72_D8_5F_CF_8E/sep2 
[JBL Free]# [NEW] Transport /org/bluez/hci0/dev_64_72_D8_5F_CF_8E/sep2/fd0 
[JBL Free]# Connection successful
[JBL Free]# [CHG] Transport /org/bluez/hci0/dev_64_72_D8_5F_CF_8E/sep2/fd0 Volume: 0x0057 (87)
[JBL Free]# [CHG] Transport /org/bluez/hci0/dev_64_72_D8_5F_CF_8E/sep2/fd0 State: active
[JBL Free]# [CHG] Transport /org/bluez/hci0/dev_64_72_D8_5F_CF_8E/sep2/fd0 State: idle
[JBL Free]# [CHG] Transport /org/bluez/hci0/dev_64_72_D8_5F_CF_8E/sep2/fd0 State: active
[JBL Free]#                                                                                                                                                                                                           

Post Reply