Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work when the same device connected to multiple bt-adapters. #10

Open
x2es opened this issue Jan 26, 2023 · 1 comment
Open

Comments

@x2es
Copy link
Owner

x2es commented Jan 26, 2023

          I'm using Fedora Silverblue 37 and Windows 10 (I'll update the version shortly).  I was ultimately unsuccessful with using the script.  First, the script crashed because evidently the `info` file for my Logitech MX Master 3S does not contain the `LinkKey` key.  Not sure what this means, but I removed it as a bluetooth device and was able to proceed.

The issue that ultimately prevented me from was this:

WARNING: Following devices paired on Windows for multiple BT-adapters: <headphone mac>

I do have two bluetooth adapters in my desktop; one is built-in to the motherboard and scarcely works, the other is an external one that I use. Indeed, my headphones have been, at different times, connected to each. I tried just about everything, but could not figure out how to get this error to go away. I wound up extracting the key by hand.

Originally posted by @J3RN in #1 (comment)

@retnag
Copy link

retnag commented Jan 4, 2025

I've just had the exact same problem. This program checks for adapters (and subsequently paired devices) inside the /var/bluetooth directory on the linux side. For some reason an old adapters file-structure was in there, while the adapter was not actually used anymore (propably a leftower, from when I copied my installation over to another PC). Removing the directory for the old adapter solved the issue for me.

You can check which adapters are currently available with bluetoothctl and then issueing the list command. I checked the MAC address of my single (actually existing) controller, then I deleted all other folders in /var/bluetooth, so only the folder with the matching MAC address remained. Afterwards the warning disappeared, and syncing of my remaining (old) Bluetooth devices worked like a charm. Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants