this post was submitted on 02 Feb 2024
55 points (85.7% liked)

Linux

48738 readers
973 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 30 comments
sorted by: hot top controversial new old
[–] jntesteves 50 points 10 months ago* (last edited 10 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

[–] [email protected] 21 points 11 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)

[–] [email protected] 10 points 10 months ago

Lol!! Perfect timing

https://lemmy.world/post/11498269

This is a patch for a security vulnerability probably

[–] [email protected] 8 points 10 months ago

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

[–] [email protected] 7 points 11 months ago* (last edited 11 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 10 points 11 months ago (2 children)

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

[–] [email protected] 4 points 11 months ago (1 children)

Probably not counterfeit then, i would hope anyway

[–] maness300 6 points 11 months ago (1 children)

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

[–] [email protected] 4 points 11 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)

[–] [email protected] 2 points 10 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.

[–] [email protected] 6 points 11 months ago (2 children)

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

[–] ben_dover 2 points 10 months ago (1 children)

you sure about that? how would that work?

[–] [email protected] 6 points 10 months ago* (last edited 10 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

[–] [email protected] 1 points 10 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.

[–] [email protected] 2 points 10 months ago (1 children)
[–] [email protected] 9 points 10 months ago* (last edited 10 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

[–] [email protected] 2 points 10 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.

[–] [email protected] 6 points 11 months ago

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

[–] shadowintheday2 6 points 10 months ago* (last edited 10 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

[–] [email protected] 4 points 11 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.

[–] [email protected] 2 points 10 months ago* (last edited 10 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)

[–] [email protected] 2 points 10 months ago

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

[–] [email protected] 3 points 11 months ago (1 children)

I’ve had issues since kernel 6.4. Since early December, one pair of Bluetooth headphones works again (mostly, with occasional connection issues), but the AirPods still fail to pair at all.

[–] [email protected] 4 points 10 months ago* (last edited 10 months ago)

I had issues with AirPods connecting to Debian 12. It turned out to be codecs (from memory - I just remember some proprietary Apple shit) that were needed. Once they were installed it connected first time.

If yours were working and stopped connecting after an update this is unlikely to be the issue. But I thought I'd point out out just in case.

[–] [email protected] 3 points 10 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...

[–] [email protected] 3 points 10 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.

[–] [email protected] 2 points 11 months ago

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

[–] [email protected] 1 points 10 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.