this post was submitted on 02 Feb 2024
54 points (83.8% liked)

Linux

48143 readers
760 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm noticing a lot of issues with bluetooth popping up, and they only seem to be getting worse.

First it was my PS3 controller. Randomly stopped working with bluetooth after an update.

Then I noticed bluetooth sometimes just... crashes and doesn't recover. There's probably some weird/sketchy command I can use to reset it, but I've just resorted to rebooting whenever it happened.

Now my bluetooth speaker just straight up fails to connect. I was using it, the connection 'failed', and now it won't connect. Lol.

Meanwhile on my phone it works just fine.

Is anyone else having issues? Does it feels like the quality of bluetooth support has diminished in recent months?

To me, this feels like some new contributors are doing things they shouldn't be doing or some other cultural shift among them.

all 28 comments
sorted by: hot top controversial new old
[–] jntesteves@lemmy.world 50 points 9 months ago* (last edited 9 months ago)

Hi, I can answer about the PS3 controller issue. I thought about making a public announcement about this, but I forgot. I'll work on that now and then link to it here, but to sum up the situation: Support for insecure legacy devices is now disabled due to CVE-2023-45866, and that includes the PS3 controller. You can re-enable support, but that will make your PC vulnerable when Bluetooth is in discoverable mode — that's when you're pairing a device; in GNOME that's when you just have the Bluetooth settings open; easy to have on by accident.

I'll explain how to re-enable support in the PSA post. It's a one-liner, but I won't put it here because I think people should be well-informed of the risks before considering it.

Edit: PSA posted at https://lemmy.world/post/11498269

[–] drwankingstein@lemmy.dbzer0.com 23 points 9 months ago

for me it's been a lot better, I currently run arch without any issues (other then wine but thats because I never bothered to config it right when I setup bottles)

[–] Pantherina@feddit.de 10 points 9 months ago

Lol!! Perfect timing

https://lemmy.world/post/11498269

This is a patch for a security vulnerability probably

[–] noisypine@infosec.pub 8 points 9 months ago

I would have to say that it is not getting worse, its just never been very good.

[–] CameronDev@programming.dev 7 points 9 months ago* (last edited 9 months ago) (1 children)

What kind of bluetooth adapter do you have? There are some knock off USB adapters around that sorta work, but then crash and die sporadically. I havent had much luck with them in linux.

https://askubuntu.com/questions/1205962/bluetooth-dongle-problem - some more info here

[–] maness300@lemmy.world 10 points 9 months ago (2 children)

It's just the one that's in my laptop, a Lenovo Ideapad Gaming 3.

[–] CameronDev@programming.dev 4 points 9 months ago (1 children)

Probably not counterfeit then, i would hope anyway

[–] maness300@lemmy.world 6 points 9 months ago (1 children)

No, and it worked (mostly) fine until recently.

[–] CameronDev@programming.dev 4 points 9 months ago

These adapters worked fine for a while for me as well, i had one work fine for a few years, but only recently did the driver support break for it. It was some new feature added to the driver that the hardware didnt support (from memory, i could be wrong)

[–] d3Xt3r@lemmy.nz 2 points 9 months ago

FWIW, I've had no issues here with my Lenovo ThinkPad Z13 and Fedora 39 (Bazzite).I use my 8BitDo Ultimate Bluetooth controller almost daily as well as my Sony WH1000-XM5 headphones, both work just fine.

I'm on BlueZ v5.72 and kernel v6.6.14

What distro / kernel / BlueZ are you on? If you're not on the latest BlueZ and/or a recent kernel, you should update them.

[–] bizdelnick@lemmy.ml 7 points 9 months ago

What exactly has updated? Kernel? Have you tried booting the old kernel?

[–] WeLoveCastingSpellz@lemmy.dbzer0.com 6 points 9 months ago (2 children)

If you are dual booting, windows messes up yoyr bluetooth chip

[–] tutus@links.hackliberty.org 2 points 9 months ago (1 children)
[–] WeLoveCastingSpellz@lemmy.dbzer0.com 9 points 9 months ago* (last edited 9 months ago) (1 children)

it's the problem that this video https://www.youtube.com/watch?v=BprSnu6KWTA, and this post https://libreddit.northboot.xyz/r/pop_os/comments/lf8kvu/guide_pair_and_use_the_same_bluetooth_device_on/ are talking about also one that I have personally experienced the way bluetooth codes are stored in the bluetooth chip is different or something. meaning they get corrupted each boot to the otherside

[–] PipedLinkBot@feddit.rocks 2 points 9 months ago

Here is an alternative Piped link(s):

https://www.piped.video/watch?v=BprSnu6KWTA

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[–] ben_dover@lemmy.world 2 points 9 months ago (1 children)

you sure about that? how would that work?

[–] WeLoveCastingSpellz@lemmy.dbzer0.com 6 points 9 months ago* (last edited 9 months ago) (1 children)

it's the problem that this video https://www.youtube.com/watch?v=BprSnu6KWTA, and this post https://libreddit.northboot.xyz/r/pop_os/comments/lf8kvu/guide_pair_and_use_the_same_bluetooth_device_on/ are talking about also one that I have personally experienced the way bluetooth codes are stored in the bluetooth adapter is different or something. meaning they get corrupted each boot to the otherside

[–] PipedLinkBot@feddit.rocks 1 points 9 months ago

Here is an alternative Piped link(s):

https://www.piped.video/watch?v=BprSnu6KWTA

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[–] shadowintheday2@lemmy.world 6 points 9 months ago* (last edited 9 months ago)

...no ? years ago I couln't even dream of using bluetooth in linux; few weeks ago I found an old bluetooth dongle and now my usb speakers work just fine - even better than connecting via smartphone because plasma has sbc-xq codec easily selectable. It auto connects everytime I boot the pc, I just had to add btusb.enable_autosuspend=0 to kernel cmdline parameters

make sure you follow these guides, whicever distro you use

if it crashes, try sudo systemctl stop bluetooth.service and sudo systemctl start bluetooth.service

remember, bluetooth is a very cursed embrace-it-all protocol and may randomly crash/refuse to pair/connect unless you reset the devices manually, and this may happen with any hardware/software

[–] dan@upvote.au 4 points 9 months ago (1 children)

I was trying to use a Bluetooth USB dongle on my home server with Home Assistant to integrate Bluetooth devices like Switchbot Locks into it. It worked sometimes, but it was so unreliable that I ended up getting an ESP32-based device and making it into an ESPHome Bluetooth proxy. Not an option for everything (it's only really designed for use with Home Assistant) but works well for my use case.

[–] CameronDev@programming.dev 2 points 9 months ago* (last edited 9 months ago) (1 children)

Homeassistant is super fussy about bluetooth. Its how i found out my bluetooth adapters were counterfeit. I bought some genuine Asus BT500 adapters and they have worked fine (i think)

[–] dan@upvote.au 2 points 9 months ago

It wasn't a Home Assistant issue though. All the errors were coming from Bluez.

[–] NOOBMASTER@lemmy.ml 3 points 9 months ago

Been having similar issues here, on Zorin OS. DS4 controller(s) sometimes disconnect, sometimes one of them gets noticeable input delay. Then, after some time or some update, the controllers stopped connecting automatically to the dongle I am using, even though they were already paired to it. Actually, I think they stop connecting automatically only after I reboot the computer, so that means it's an OS / software issue. It's a cheap bluetooth dongle, so at first I thought that chinesium was to blame, but seeing as others have these problems...

[–] ArcaneSlime@lemmy.dbzer0.com 3 points 9 months ago

Have you seen the recently posted PSA on the linux page here? Seems a security hole was patched in bluez and it has affected some devices.

[–] memphis@sopuli.xyz 2 points 9 months ago

Did you install powertop recently? I had issues with Bluetooth with it.

[–] vojel@discuss.tchncs.de 1 points 9 months ago

I ended up using 3rd party controllers with 2,4Ghz dongles like 8bitdo. I even blacklisted the Bluetooth kernel module because it is so borked.