Posted: . At: 10:44 AM. This was 2 months ago. Post ID: 19226
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.



Sponsored



Bluetooth works very well on Linux these days.


I am using this Bluetooth device on Alma Linux.

[bluetooth]# list
Controller 04:7F:0E:74:E5:04 BlueZ 5.64 [default]

This is a small Bluetooth dongle. This is working perfectly.

Running the bluetoothctl utility allows control of this device.

(jcartwright@2403-4800-25af-b00--2) 192.168.1.5 ~  $ bluetoothctl 
Agent registered
[CHG] Controller 04:7F:0E:74:E5:04 Pairable: yes

To make the PC discoverable, do this.

[bluetooth]# discoverable on
Changing discoverable on succeeded
[CHG] Controller 04:7F:0E:74:E5:04 Discoverable: yes

Then you may connect from an Android mobile phone and use Bluetooth services on Linux.

[NEW] Device DC:DC:E2:AA:EE:41 iPhone 5+
[CHG] Device DC:DC:E2:AA:EE:41 Connected: yes
Request confirmation
[agent] Confirm passkey 932574 (yes/no): yes
[CHG] Device DC:DC:E2:AA:EE:41 Modalias: bluetooth:v0075p0100d0201
[CHG] Device DC:DC:E2:AA:EE:41 UUIDs: 00001105-0000-1000-8000-00805f9b34fb
[CHG] Device DC:DC:E2:AA:EE:41 UUIDs: 0000110a-0000-1000-8000-00805f9b34fb
[CHG] Device DC:DC:E2:AA:EE:41 UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Device DC:DC:E2:AA:EE:41 UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device DC:DC:E2:AA:EE:41 UUIDs: 00001112-0000-1000-8000-00805f9b34fb
[CHG] Device DC:DC:E2:AA:EE:41 UUIDs: 00001115-0000-1000-8000-00805f9b34fb
[CHG] Device DC:DC:E2:AA:EE:41 UUIDs: 00001116-0000-1000-8000-00805f9b34fb
[CHG] Device DC:DC:E2:AA:EE:41 UUIDs: 0000111f-0000-1000-8000-00805f9b34fb
[CHG] Device DC:DC:E2:AA:EE:41 UUIDs: 0000112d-0000-1000-8000-00805f9b34fb
[CHG] Device DC:DC:E2:AA:EE:41 UUIDs: 0000112f-0000-1000-8000-00805f9b34fb
[CHG] Device DC:DC:E2:AA:EE:41 UUIDs: 00001132-0000-1000-8000-00805f9b34fb
[CHG] Device DC:DC:E2:AA:EE:41 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device DC:DC:E2:AA:EE:41 UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Device DC:DC:E2:AA:EE:41 UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[CHG] Device DC:DC:E2:AA:EE:41 UUIDs: a82efa21-ae5c-3dde-9bbc-f16da7b16c5a
[CHG] Device DC:DC:E2:AA:EE:41 ServicesResolved: yes
[CHG] Device DC:DC:E2:AA:EE:41 Paired: yes
Authorize service
[agent] Authorize service 0000111e-0000-1000-8000-00805f9b34fb (yes/no): yes

To trust a Bluetooth device use this command.

[iPhone 5+]# trust DC:DC:E2:AA:EE:41
[CHG] Device DC:DC:E2:AA:EE:41 Trusted: yes
Changing DC:DC:E2:AA:EE:41 trust succeeded
[CHG] Device DC:DC:E2:AA:EE:41 ManufacturerData Key: 0x0075
[CHG] Device DC:DC:E2:AA:EE:41 ManufacturerData Value:
  42 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00  B...............
  00 00 00 00 00 00 00 00 00 00 00                 ...........

Use the devices command to list connected devices and get the address of the device to trust it.

[iPhone 5+]# devices
Device DC:DC:E2:AA:EE:41 iPhone 5+

Just a shame I get no Bluetooth functionality in the MATE desktop, I could not find a Bluetooth applet. But this is very useful anyway.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.