it’s an LTK key that should look like this:
45DF80C537528D02DCA02E349B71A6F3
i cd into
cd /var/lib/bluetooth/
[bluetooth]# ls
XX:D4:XX:55:XX:7E
[bluetooth]# cd F0:XX:15:XX:85:XX
[F0:XX:15:XX:85:XX]# ls
00:XX:66:XX:72:XX A2:XX:BE:XX:E6:XX AC:XX:0A:XX:D2:XX cache CC:14:BC:D9:8C:86 settings
now i don’t know how to proceed.
it would have been easier if i could do that through Dolphin and use nano.
Honestly and simply:
I don’t think your approach to the issue is correct.
“gymnastics” like this should never be neccessary
I do not have Windows - but do use my BT devices interchangably between Android and Linux - and they also work when I pair them with someone elses Windows device.
Not an issue.
This here looks like a classic XY problem (sorry!).
i also have no issues using these earbuds with an android phone or a different PC that also has windows,but apparently it’s different with Dual booting when the same adapter is being used.
when switching from one OS to the other i need to first remove the earbuds from the list and pair them again.
it’s a known issue and that’s why I’m following the wiki.
If you refer to the Arch Wiki
you should give / replicate
the literal responses that you got from each command in that wiki, in sequence
so that people who know how to do it can follow along with what you did
I cannot help - because I do not have a Windows system alongside (dual boot).
No Windows at all, actually.
Good luck!
heretic speaking:
can’t you teach/adjust Windows to accept an in Linux already paired device?
… the other way around, you know?
i made some progress;
apparently i need to edit the “info” file related to the earbuds DeviceMAC /var/lib/bluetooth/<AdapterMAC>/<DeviceMAC>/info
i found it and it looks like this:
is a different blutooth device(this is their DeviceMAC).
i ls into the right one AC:XX:0A:XX:D2:XX and found it’s info file.
you can see above.
i’ll edit it and report back.
i succeeded and honestly it’s not complicated,but nothing is once you figure it out;
-pair earbuds in Linux so that the info file is created(then put them back in the case)
-pair earbuds in windows then follow above(arch wiki)instructions to retrieve 1.mac address of earbuds and 2. LinkKey(remove spaces,and the letters should be capital).
(put back earbuds in case)
-boot into Linux(don’t pair your earbuds!) and navigate to the folder of your earbuds(see above),edit the info file and replace the Linkkey with the one from windows.
reboot into Linux and put on the earbuds,they should pair automatically(don’t pair them manually).
it should also work on windows.
now i have to decide of the better way to sync the clocks(another dual-boot issue)
Linux defaults to using UTC time rather than Local time; Windows uses Local time.
This causes particular annoyance when multibooting, as each OS defaults to a different time standard and sets the BIOS clock accordingly on each boot. No matter how many times you might manually set the correct time (in either OS), it always resets after a reboot.
Methods exist to resolve this in Linux, however this author has found those to be unreliable. This issue only exists due to a Windows design flaw, or oversight; so, let Windows in turn assume the burden of repair.
Linux already handles UTC with superior grace.
The most elegant solution is to create a Windows registry file with the following content;
Let’s call it RealTimeIsUniversal.reg:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=dword:00000001
After merging this registry modification, Windows will be ready to set the BIOS time to UTC after the next reboot. Windows time will need to be manually set once after the reboot, but from that point forward, both Windows and Linux will use the UTC time standard.
Note that this modification will not affect your date/time display in Windows. Configure it as you would normally.