Utilities icon indicating copy to clipboard operation
Utilities copied to clipboard

Add a way to manage Bluetooth

Open probonopd opened this issue 5 years ago • 14 comments

At least see when it is on, and be able to disable it.

probonopd avatar Jan 11 '21 20:01 probonopd

https://docs.freebsd.org/en/books/handbook/advanced-networking/#network-bluetooth

grahamperrin avatar Feb 18 '21 00:02 grahamperrin

Also see https://wiki.freebsd.org/SteveWills/BTSpeaker

probonopd avatar Feb 27 '21 20:02 probonopd

FreeBSD Foundation-supported projects: call for ideas, November 2021

This issue helloSystem/Menu#46 is now linked from the summary of ideas.

grahamperrin avatar Dec 22 '21 04:12 grahamperrin

BlueMoon appears to be a simple Qt based tool for this, but I could not get it to work yet:

https://github.com/sklins/BlueMoon/issues/9

probonopd avatar Jan 02 '22 15:01 probonopd

At least see when it is on, and be able to disable it.

And a way to pair with devices, like wifi applet. And an option to export sound to airphones.

alphamodh0 avatar Jan 02 '22 15:01 alphamodh0

Lubuntu uses Bluedevil https://manual.lubuntu.me/stable/2/2.1/2.1.4/bluedevil.html

image

but Bluedevil seems to be not available on FreeBSD?

Possibly it would be easiest to write a Qt GUI in Python around https://people.freebsd.org/~rodrigc/doc/handbook/network-bluetooth.html

probonopd avatar Jan 02 '22 15:01 probonopd

Want to write it @alphamodh0? By looking at the source code of Applications -> Under Construction -> Network and the FreeBSD Bluetooth documentation.

probonopd avatar Jan 02 '22 15:01 probonopd

Want to write it @alphamodh0? By looking at the source code of Applications -> Under Construction -> Network and the FreeBSD Bluetooth documentation.

Yes 😁, I will put all my effort into it.

alphamodh0 avatar Jan 02 '22 15:01 alphamodh0

I tried to build the Qt Bluetooth File Transfer Example application that comes as an example with Qt Creator. It would be pretty perfect for our purposes, but unfortunately it says qt.bluetooth: Dummy backend running. Qt Bluetooth module is non-functional.

How can we get Qt to interact with FreeBSD's Bluetooth stack?

probonopd avatar Apr 02 '22 09:04 probonopd

QBluetooth seems to require http://www.bluez.org/ on Unix/Linux. FreeBSD is apparently not using BlueZ. As a result, QBluetooth does not work on FreeBSD yet?

probonopd avatar Apr 02 '22 09:04 probonopd

Looks like it: https://twitter.com/kdedude/status/1510233730283188231

Which means we would have to code something around the FreeBSD specific command line tools.

probonopd avatar Apr 03 '22 10:04 probonopd

We can work around the new blued bluetooth interface to make a GUI.

Official FreeBSD advice and explanation

alphamodh0 avatar Aug 31 '22 05:08 alphamodh0

Here is how to do it on the command line: https://www.tspi.at/2020/02/18/fbsdbtmouse.html

probonopd avatar Feb 17 '23 20:02 probonopd

For connecting Bluetooth keyboards, this works for me (I tested with nopin, nokey which is not good for production) : https://notebook.niklaas.eu/freebsd-bluetooth-keyboard/

probonopd avatar Feb 18 '23 17:02 probonopd