[To Heck With It] Getting Bluetooth to work at boot

Questions about hardware, drivers and peripherals
Forum rules
Before you post please read how to get help
User avatar
Pjotr
Level 23
Level 23
Posts: 18204
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: [To Heck With It] Getting Bluetooth to work at boot

Post by Pjotr »

In your place I'd try Mint 21. Mint 19.x is getting long in the tooth anyway....
Tip: 10 things to do after installing Linux Mint 21 Vanessa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
Arch_Enemy
Level 7
Level 7
Posts: 1508
Joined: Tue Apr 26, 2016 3:28 pm

Re: [To Heck With It] Getting Bluetooth to work at boot

Post by Arch_Enemy »

I have a Samsung phone. I run DeX on it. With an HDMI adapter, it connects to my monitor

Android system. Keyboard and mouse connect, no problem.

They reconnect every time. I use the phone more than my desktop computer.

Never an issue, connects every time.

But I don't want my work, bank, or other accounts on my phone., in case it gets stolen.

You mean to tell me, Mint can't match BT connectivity of Android?

I HATE Android. But it connects every time. without fail.
I have travelled 37629424162.9 miles in my lifetime

One thing I would suggest, create a partition as a 50G partition as /. Partition the rest as /Home. IF the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.
User avatar
Arch_Enemy
Level 7
Level 7
Posts: 1508
Joined: Tue Apr 26, 2016 3:28 pm

Re: [To Heck With It] Getting Bluetooth to work at boot

Post by Arch_Enemy »

Pjotr wrote:
Wed Oct 05, 2022 2:23 am
In your place I'd try Mint 21. Mint 19.x is getting long in the tooth anyway....
I'm afraid of losing too much. the upgrade from 17~19 caused me a bit of grief.

But, I'll roll a backup, and try it. I have a USB I can restore from.

But, this is across three different installations.

They work, and then they fail.
I have travelled 37629424162.9 miles in my lifetime

One thing I would suggest, create a partition as a 50G partition as /. Partition the rest as /Home. IF the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.
User avatar
Arch_Enemy
Level 7
Level 7
Posts: 1508
Joined: Tue Apr 26, 2016 3:28 pm

Re: [To Heck With It] Getting Bluetooth to work at boot

Post by Arch_Enemy »

18+ wasn't a lot of fun, for sure.

Reminded me of the Arch days...
I have travelled 37629424162.9 miles in my lifetime

One thing I would suggest, create a partition as a 50G partition as /. Partition the rest as /Home. IF the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.
User avatar
Arch_Enemy
Level 7
Level 7
Posts: 1508
Joined: Tue Apr 26, 2016 3:28 pm

Re: [To Heck With It] Getting Bluetooth to work at boot

Post by Arch_Enemy »

BTW, is there any easy upgrade path?

19 is working for me to this point.

Like I mentioned, 17~19 caused me issues.
I have travelled 37629424162.9 miles in my lifetime

One thing I would suggest, create a partition as a 50G partition as /. Partition the rest as /Home. IF the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.
User avatar
hglee
Level 6
Level 6
Posts: 1423
Joined: Fri Jun 22, 2018 4:31 pm

Re: [To Heck With It] Getting Bluetooth to work at boot

Post by hglee »

Too sleepy.

Last edited by hglee on Wed Oct 05, 2022 7:03 am, edited 1 time in total.
Linux Mint 21 Vanessa, MATE 1.26.0, kernel 5.15.0*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
User avatar
Pjotr
Level 23
Level 23
Posts: 18204
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: [To Heck With It] Getting Bluetooth to work at boot

Post by Pjotr »

Arch_Enemy wrote:
Wed Oct 05, 2022 2:48 am
BTW, is there any easy upgrade path?
Fresh install of Mint 21. Nothing else.

Don't bother with in-place upgrading; if at all officially possible, it'll last a lot longer and is much more likely to cause all sorts of mysterious issues.

I only recommend in-place upgrading within a particular Mint series (e.g. from 20.2 to 20.3). Because only then the underlying Ubuntu code base remains identical.
Tip: 10 things to do after installing Linux Mint 21 Vanessa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
hglee
Level 6
Level 6
Posts: 1423
Joined: Fri Jun 22, 2018 4:31 pm

Re: [To Heck With It] Getting Bluetooth to work at boot

Post by hglee »

Arch_Enemy wrote:
Wed Oct 05, 2022 2:48 am
BTW, is there any easy upgrade path?


You gave a fair shake to Bluetooth front-end software, Blueman & Bluetuith, but how about upgrading the back-end -- BlueZ? It's closer to the metal.

On my LM20, I went from v5.53 up to the latest-and-greatest v5.65. You may only be limited by older LM19 libraries.

I've sorted out the dependencies, so you'll know if you can proceed as soon as you run the configure script.


Here are the BlueZ dependencies to install, which I've confirmed in both LM20 and LM21 (they come with BlueZ version 5.53 and 5.64, respectively):

Code: Select all

sudo apt install libdbus-1-dev docutils-common aria2 libglib2.0-dev libical-dev libudev-dev libreadline-dev

The download links for source tarballs are on the front page of the official BlueZ site (which doesn't use SSL).

Here is the step-by-step to build and install BlueZ, downloading the latest version tarball (bluez-5.65.tar.xz):
Open a Terminal (ctrl-alt-T), then copy-and-paste the following 7 lines, one by one, tapping Enter after each...

Code: Select all

cd ~/Downloads
aria2c https://mirrors.edge.kernel.org/pub/linux/bluetooth/bluez-5.65.tar.xz
tar -xf bluez-5.*.tar.xz
cd ./bluez-5.*/
./configure
make -j`nproc --all`
sudo make install

If ./configure won't let you pass error-free, next try bluez-5.64.tar.xz, then bluez-5.63.tar.xz, etc.

Linux Mint 21 Vanessa, MATE 1.26.0, kernel 5.15.0*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
User avatar
Arch_Enemy
Level 7
Level 7
Posts: 1508
Joined: Tue Apr 26, 2016 3:28 pm

Re: [To Heck With It] Getting Bluetooth to work at boot

Post by Arch_Enemy »

Limitations of the libraries may very well be causing an issue.

I ran into that a lot on Arch. I have certain older pieces of software, some abandoned up to 10 years ago, that I'd get running, and then the rolling update would knock them out. With Mint I can load the required libraries, or a compatible replacement library, and keep on chugging away.

Everything connects, if I do it manually. And it's getting the dongle to start at boot that's causing the issue on the main machine. It works on the other 2, but doesn't always reconnect the mouse or the KB automatically.

When fooling around trying to get it to start on the main installation I must have followed a suggestion I saw on the web that's causing my problem. I'm trying to backtrack and figure out what I changed that's causing the problem. I rolled a USB live version of the test machine that starts the dongle just before X, so I boot with that and ramble through the file systems for differences.
I have travelled 37629424162.9 miles in my lifetime

One thing I would suggest, create a partition as a 50G partition as /. Partition the rest as /Home. IF the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.
User avatar
hglee
Level 6
Level 6
Posts: 1423
Joined: Fri Jun 22, 2018 4:31 pm

Re: [To Heck With It] Getting Bluetooth to work at boot

Post by hglee »

Arch_Enemy wrote:
Wed Oct 05, 2022 1:09 pm
When fooling around trying to get it to start on the main installation I must have followed a suggestion I saw on the web that's causing my problem. I'm trying to backtrack and figure out what I changed that's causing the problem. I rolled a USB live version of the test machine that starts the dongle just before X, so I boot with that and ramble through the file systems for differences.

Eventually, someone may want to buy the movie rights to that haunting never-say-die story -- of a love that's long lost but not forgotten.

So, upgrading the back-end feels like it could just be a repeat of the good-intentions tragedy that put you on this barren quest in the first place?

Linux Mint 21 Vanessa, MATE 1.26.0, kernel 5.15.0*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
User avatar
Arch_Enemy
Level 7
Level 7
Posts: 1508
Joined: Tue Apr 26, 2016 3:28 pm

Re: [To Heck With It] Getting Bluetooth to work at boot

Post by Arch_Enemy »

For sale to the highest bidder!

Once I finally decide to do something, I go on until I succeed, or realize I'm trying to put a large square peg
into a little round hole.

And even then sometimes I don't quit. And a few times, I managed to get it in.
I have travelled 37629424162.9 miles in my lifetime

One thing I would suggest, create a partition as a 50G partition as /. Partition the rest as /Home. IF the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.
User avatar
Pjotr
Level 23
Level 23
Posts: 18204
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: [To Heck With It] Getting Bluetooth to work at boot

Post by Pjotr »

Well, it's entirely up to you, of course. But if I were in your shoes, I'd simply do a fresh installation of Mint 21 and I'd take it from there.

Because I like things to be easy and uncomplicated (yup, I'm lazy). But each to his own. :wink:
Tip: 10 things to do after installing Linux Mint 21 Vanessa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
JeremyB
Level 21
Level 21
Posts: 12565
Joined: Fri Feb 21, 2014 8:17 am

Re: [To Heck With It] Getting Bluetooth to work at boot

Post by JeremyB »

About all you can do with one of the CSR devices is install the newest kernel and hope it works. CSR Bluetooth has been a real pain for a while as they only have one USB for a lot of different devices with a lot of fakes and clones included
Post Reply

Return to “Hardware Support”