Bug 2321690 - Bluetooth devices are not getting paired
Summary: Bluetooth devices are not getting paired
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: bluez
Version: 41
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Gopal krishna tiwari
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2323852 2324809 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-25 04:31 UTC by ConEst
Modified: 2024-11-26 09:49 UTC (History)
9 users (show)

Fixed In Version: kernel-6.11.10-300 fedora-release-41-28
Clone Of:
Environment:
Last Closed: 2024-11-26 09:49:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Bluetoothctl results when pairing from Gnome Bluetooth and from Terminal (3.53 KB, text/plain)
2024-10-25 04:31 UTC, ConEst
no flags Details
Video demonstration (1.14 MB, video/mp4)
2024-10-25 10:29 UTC, ConEst
no flags Details

Description ConEst 2024-10-25 04:31:17 UTC
Created attachment 2053618 [details]
Bluetoothctl results when pairing from Gnome Bluetooth and from Terminal

Description of problem:

Bluetooth device wouldn't pair with gnome gui but if I force the pairing process through bluetoothctl command, they will eventually pair.
I'm facing this issue on latest kernel 6.11.4-301 and it wasn't there on 6.11.0.

Here's a bug I found that closely resembles to mine -

https://bugzilla.redhat.com/show_bug.cgi?id=2001702


Version-Release number of selected component (if applicable):


How reproducible:

Any bluetooth device I try to connect will not pair through gui, I have to manually pair them through bluetoothctl command. It also shows ghost entries for same device which it anyways won't connect to.

Steps to Reproduce:
1. Open gnome gui to pair to your blueooth speaker/headphones
2. Try to pair them with your pc
3. It will keep loading and the pairing process eventually goes nowhere.
4. Open bluetoothctl while keepinh your blueooth switch on from gui.
5. Type `scan on` and find the pertaining bluetooth device.
6. Type `connect [mac address here].
7. Pairing process is successfully completed.

I'm attaching the logs conmprising results of bluetoothctl.

Previous I've filed bug under kernel and done so here 
-

https://bugzilla.redhat.com/show_bug.cgi?id=2319597


But it was eventually taken over by people who got their bt broken by 6.11.4-300 or 6.11.3 and it turned into a blocker for fedora 41 but the original issue was about devices not getting paired.
Broken bluetooth was fixed with 6.11.4-301 but pairing issue remains.

Comment 1 ConEst 2024-10-25 10:29:36 UTC
Created attachment 2053658 [details]
Video demonstration

Bluetooth module name - CSR8510 A10

Comment 2 Peter Robinson 2024-11-02 15:05:00 UTC
This looks very much like https://bugzilla.redhat.com/show_bug.cgi?id=2319597

Please update to latest updates and confirm if it's still an issue.

Is this still a problem? If so please report:
* kernel version
* linux-firmware version
* bluez version
* type of bluetooth controller (lsusb| grep -i blue)
* the bluetooth devices (make and model) that you are trying to pair

Comment 3 ConEst 2024-11-03 05:32:05 UTC
(In reply to Peter Robinson from comment #2)
> This looks very much like https://bugzilla.redhat.com/show_bug.cgi?id=2319597
> 
> Please update to latest updates and confirm if it's still an issue.
It is.

And in this thread 
https://bugzilla.redhat.com/show_bug.cgi?id=2319597

You literally asked me to file a new bug because you thought it's different from what other people faced and it turned into a blocker.
But my main issue was always with pairing bluetooth devices.

Bluez version 5.78.1
Kernel 6.11.5
Bluetooth controller - Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bluetooth devices - Realme brick bluetooth speaker, Oneplus Nord buds

Comment 4 Peter Robinson 2024-11-03 15:02:55 UTC
> You literally asked me to file a new bug because you thought it's different
> from what other people faced and it turned into a blocker.

I deal with *LOTS* of bugs so I don't always remember every bit of context.

And the reason I asked is you didn't include all the details like versions on the bug.

> Bluetooth devices - Realme brick bluetooth speaker, Oneplus Nord buds

What audio mode do they operate in? There's been reports of some AVRCP devices having issues.

Comment 5 Anatoly 2024-11-06 08:13:08 UTC
Have the same problem with bluetooth speaker, cannot connect via gnome gui, but if i connect it manually in bluetoothctl it works and connect it. Strange behaviour, no errors, nothing. Before, some recent update everything was worked fine.

Comment 6 Peter Robinson 2024-11-06 10:03:21 UTC
It's probably bug 2321690, please put details there and answer the questions asked there.

Comment 7 Peter Robinson 2024-11-06 10:04:44 UTC
(In reply to Peter Robinson from comment #6)
> It's probably bug 2321690, please put details there and answer the questions
> asked there.

Bah, ignore that, too many bugs

Comment 8 Chester 2024-11-06 22:36:59 UTC
(In reply to ConEst from comment #3)
> (In reply to Peter Robinson from comment #2)
> > This looks very much like https://bugzilla.redhat.com/show_bug.cgi?id=2319597
> > 
> > Please update to latest updates and confirm if it's still an issue.
> It is.
> 
> And in this thread 
> https://bugzilla.redhat.com/show_bug.cgi?id=2319597
> 
> You literally asked me to file a new bug because you thought it's different
> from what other people faced and it turned into a blocker.
> But my main issue was always with pairing bluetooth devices.
> 
> Bluez version 5.78.1
> Kernel 6.11.5
> Bluetooth controller - Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI
> mode)
> Bluetooth devices - Realme brick bluetooth speaker, Oneplus Nord buds

Do you have problems connecting after pairing? Or is your issue only with the initial pairing process and then everything works fine after that?
For example, after pairing, can you successfully disconnect and reconnect to your BT device?

Comment 9 ConEst 2024-11-07 23:02:25 UTC
(In reply to Chester from comment #8)

> For example, after pairing, can you successfully disconnect and reconnect to
> your BT device?

Yes everything works fine after that. I'm able to connect to my bt devices with gui.
One thing - auto connect does not work properly.

Comment 10 lukajioshvili 2024-11-09 15:35:43 UTC
I have simmalar issues with Fedora 41 Gnome and Sony WF-1000XM5 earbuds. 

Kernel: 6.11.6-300.fc41.x86_64
Device: Sony WF-1000XM5	
Bluethooth controller: Bus 003 Device 005: ID 8087:0033 Intel Corp. AX211 Bluetooth


I tried both pairing/connecting/trusting via bluetoothctl and fedora 41 gnome bluethooth settings.

P.S I managed once to pair and use earphones last week , it worked but with only bluethoothctl ( gnome is bugged ) , but still auto connect was not working.

Now i need just to pair it, i do not care about auto connect :(

Comment 11 Peter Robinson 2024-11-15 14:07:42 UTC
*** Bug 2323852 has been marked as a duplicate of this bug. ***

Comment 12 Peter Robinson 2024-11-15 14:08:12 UTC
*** Bug 2324809 has been marked as a duplicate of this bug. ***

Comment 13 Peter Robinson 2024-11-15 14:13:54 UTC
> > Bluetooth devices - Realme brick bluetooth speaker, Oneplus Nord buds
> 
> What audio mode do they operate in? There's been reports of some AVRCP
> devices having issues.

Can people answer this for me? Are their devices AVRCP (Audio/Video Remote Control Profile) devices?

Comment 14 Łukasz Lis 2024-11-15 14:19:11 UTC
(In reply to Peter Robinson from comment #13)
> > > Bluetooth devices - Realme brick bluetooth speaker, Oneplus Nord buds
> > 
> > What audio mode do they operate in? There's been reports of some AVRCP
> > devices having issues.
> 
> Can people answer this for me? Are their devices AVRCP (Audio/Video Remote
> Control Profile) devices?

Yes, in my case.

	Name: WH-1000XM5
	Alias: WH-1000XM5
	Class: 0x00240404 (2360324)
	Icon: audio-headset
	Paired: yes
	Bonded: yes
	Trusted: yes
	Blocked: no
	Connected: yes
	WakeAllowed: yes
	LegacyPairing: no
	UUID: Vendor specific           (00000000-deca-fade-deca-deafdecacaff)
	UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
	UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
	UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control Cont.. (0000110f-0000-1000-8000-00805f9b34fb)
	UUID: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)
	UUID: Human Interface Device... (00001124-0000-1000-8000-00805f9b34fb)
	UUID: Headset HS                (00001131-0000-1000-8000-00805f9b34fb)
	UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
	UUID: Vendor specific           (45c93e07-d90d-4b93-a9db-91e5dd734e35)
	UUID: Vendor specific           (764cbf0d-bbcb-438f-a8bb-6b92759d6053)
	UUID: Vendor specific           (81c2e72a-0591-443e-a1ff-05f988593351)
	UUID: Vendor specific           (8901dfa8-5c7e-4d8f-9f0c-c2b70683f5f0)
	UUID: Vendor specific           (931c7e8a-540f-4686-b798-e8df0a2ad9f7)
	UUID: Vendor specific           (956c7b26-d49a-4ba8-b03f-b17d393cb6e2)
	UUID: Vendor specific           (9b26d8c0-a8ed-440b-95b0-c4714a518bcc)
	UUID: Vendor specific           (df21fe2c-2515-4fdb-8886-f12c4d67927c)
	UUID: Vendor specific           (f76acb00-7cab-495f-bb1a-e664598fd77f)
	UUID: Vendor specific           (f7a96061-a1b3-40de-aff0-e78ec45a151e)
	UUID: Vendor specific           (f8d1fbe4-7966-4334-8024-ff96c9330e15)
	Modalias: usb:v054Cp0DF0d0231
	Battery Percentage: 0x64 (100)

Comment 15 lukajioshvili 2024-11-16 10:28:43 UTC
Update on my case:

As I stated I am using Sony WF-1000XM5 and found solution for successful pairing and good connection of Laptop (Fedora41) and earbuds. I am using Samsung S24 as a mobile device, I Connected to my earbuds with mobile ( i have installed Sony official application "Sound Connect" ), In this application I toggled off every feature. This was important because i think something was interfaring with linux bluetooth to pair my earbuds. 

I restarted bluetoothctl and checked if my earbuds was connected "info MAC_ADDRESS" and found out that is was still connected ( not paired tho ) used command "remove MAC_ADDRESS", and than restarted using "sudo systemctl restart bluetooth" after it i check with that bluetooth was up "sudo systemctl status bluetooth", entered in "bluetoothctl" and use command "scan on". 
After  this I activated as usual pairing mode for earbuds , and it was shown in bluetoothctl, I used "pair MAC_ADDRESS" and it paired successfully, after this I used "connect MAC_ADDRESS" and it connected successfully (no issue of playback or microphone, everything is cool). For extra, i just added in trusted "trust MAC_ADDRESS" and that is all.

After doing this all, I re-enabled everything from "Sound Connect" mobile app and everything is good for now.

P.S unfortunately i do not have time to deep dive and find out which setting was messing with bluetooth of my laptop (Dell Latitude 3540). I hope you can find this useful.

Comment 16 Peter Robinson 2024-11-25 12:47:00 UTC
So I believe this has been fixed with the kernel-6.11.10-300.fc41 update, the fedora-release-41-28 release may also aide in improving the situations for AVRCP headsets (Which I think the Sony one is).

Comment 17 ConEst 2024-11-26 02:53:17 UTC
(In reply to Peter Robinson from comment #16)
> So I believe this has been fixed with the kernel-6.11.10-300.fc41 update,
> the fedora-release-41-28 release may also aide in improving the situations
> for AVRCP headsets (Which I think the Sony one is).

Can confirm.. Bluetooth is working perfectly now.

Thanks a lot, Team Fedora!


Note You need to log in before you can comment on or make changes to this bug.