LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Dunno - how i should set up bluetooth ? (https://www.linuxquestions.org/questions/slackware-14/dunno-how-i-should-set-up-bluetooth-4175692230/)

inukaze 03-18-2021 04:18 AM

Dunno - how i should set up bluetooth ?
 
Hi there, i had a Generic USB Bluetooth adapter. i had manually start

Code:

/usr/bin/bluetoothd
after i ran
Code:

blueman-applet
in the GUI i try to connect to my Phone a DG310 ( Doogee Voyager 2 ) nothing happend, i try from Smartphone to this Device, then ask for PIN.

i don't idea idea how i must set the PIN for Bluez v5.47
because after add this device i want to try Bluetooth device called « Dualpow » is a headphone with mic .

This -> https://www.dualpow.com/collections/...id-smartphones

But i don't had idea how i should use for example
Code:

bluetoothctl
which command i need to pair my devices ?

i try pair phone with :
Code:

$ bluetoothctl
[NEW] Controller AA:BB:CC:56:34:12 InuSlack64 14.2 (BlueZ 5.47) [default]
[NEW] Device FE:F9:E7:B9:E9:1E Dualpow
[NEW] Device 00:00:46:65:82:01 InuDroide
Agent registered

[bluetooth]# scan on
Discovery started
[CHG] Controller AA:BB:CC:56:34:12 Discovering: yes

list
Controller AA:BB:CC:56:34:12 InuSlack64 14.2 (BlueZ 5.47) [default]

devices
Device FE:F9:E7:B9:E9:1E Dualpow
Device 00:00:46:65:82:01 InuDroide

connect 00:00:46:65:82:01
Attempting to connect to 00:00:46:65:82:01
Failed to connect: org.bluez.Error.Failed

connect FE:F9:E7:B9:E9:1E
Attempting to connect to FE:F9:E7:B9:E9:1E
Failed to connect: org.bluez.Error.Failed

pair FE:F9:E7:B9:E9:1E
Attempting to pair with FE:F9:E7:B9:E9:1E
Failed to pair: org.bluez.Error.AuthenticationRejected


jmccue 03-20-2021 10:44 AM

Assuming your device is supported by Linux, in bluetoothctl you can try after enabling bluetooth on your device

Code:

$ bluetoothctl
# help
# devices
# trust [device]
# pair [device]

help will show you all the commands.

But that is all I had to do, 'trust' only on first paring. If it fails for you I doubt I can help much more. bluethooth is iffy on Linux. Sometimes it works great, but more often on it disconnects/reconnects repeatedly (I have a T420). Maybe on newer hardware it works much better, my work PC (Thinkpad P52) bluetooth works fine with Linux.


All times are GMT -5. The time now is 04:56 PM.