Bluetooth Pairing Dual Boot
Hello,
i'm trying to sync the BT pairing between my Windows 11 installation and Bazzite.
The device in question is an xbox series s gamepad. I'm on the currently latest image bazzite-deck:stable v3.6-40.20240809.0.
After following https://wiki.archlinux.org/title/Bluetooth#Dual_boot_pairing and fully rebooting the system after completion, whenever I'll try and connect the the gamepad to Bazzite, it repeatedly changes between connected and disconnected.
The log of bluetooth.service contains the following after enabling the gamepad:
Could you, please, help me with this issue?
10 Replies
unpair and re-pair
xbox controllers only tend to support 1 bluetooth pairing at a time
meaning when you switch to windows and pair, it invalidates the linux pairing
Hi, thanks for your answer.
Yes, that is precisely what I'm trying to workaround.
By transfer the necessary bt pairing information from Windows by hand, it is normally possible to have use the same pairing in both OS.
yeah there is no way around that unless you own a 3rd party controller that has an android mode and a "windows" mode like the kingkong 3 max
Actually, it does work like it says on the archlinux wiki.
It works on my main machine just fine. I can connect the same xbox gamepad to both os without the need for a repair.
It just doesn't work with Bazzite, so far.
oh right it might be confused as to why the same bluetooth mac is trying to connect with a different profile than what it has saved
That sounds promising. 🙂
Would you happen to have some information about what profile you're referring to?
Maybe I could change that as well.
the one on the controller
imagine the controller being you and you get handed the key to an apartment youre renting by the landlord (linux) and then you go away from a weekend and the lock is changed because the landlord is on vacation so the landlady is in charge of the apartment instead
the controller wont know the handshake for the connection to windows because it will be different than the handshake used in linux
I was under the impression that that is what the pairing information is for?
I basically:
* Paired the pad with Bazzite
* Paired it with Windows (overwritting the previous pairing on the gamepad)
* Exported the necessary bt keys out of the Windows registry
* Booted back to Bazzite
* Edited the now defunct Bazzite device profile and replaced the IdentityResolvingKey, SlaveLongTermKey and PeripheralLongTermKey
Is there anything else that is required for the bluetooth connectivity?
not sure, havent tried to hack around it like that myself, but then again im the weirdo here with 2 bt controllers on my pc 🤣
That's fine. Thanks anyway!
I hope its fine to push my issue