You are not logged in.

#1 2023-02-02 11:11:42

joanmanel
Member
Registered: 2012-11-06
Posts: 250

Trying to pair bluetooth headphones both in ArchLinux and Windows

Hi There,

As you know, if you dual boot between Linux and Windows, the BT keys change between the OSs.

I am following the following guide https://wiki.archlinux.org/title/blueto … g_on_Linux

And everything seems to be fine (my device is not BT 5.1, it is an Anker headphone). I get the keys from linux, and then copy paste them into the info file, removing the spaces. But once I restart the bluetooth service, the headphones appear as disconnected. Trying to connect them does nothing. I need to forget them and pair again, and then it works, but it also changes the key.

I remember doing this exact process a few months ago for a BT keyboard, so I am not sure what I am doing wrong. I thought perhaps I am pasting the wrong key, but I am copy/pasting it.

This is what I get using chnt -e SYSTEM

(...)\Services\BTHPORT\Parameters\Keys> cd 48f17f002c8c

(...)\BTHPORT\Parameters\Keys\48f17f002c8c> ls
Node has 0 subkeys and 1 values
  size     type              value name             [value if type DWORD]
    16  3 REG_BINARY         <e8eecc3eae7d>

(...)\BTHPORT\Parameters\Keys\48f17f002c8c> hex e8eecc3eae7d
Value <e8eecc3eae7d> of type REG_BINARY (3), data length 16 [0x10]
:00000  DB 9F 1B 24 6C 82 67 3B 58 55 7A 41 13 16 D6 69 ...$l.g;XUzA...i

so then I go to "/var/lib/bluetooth/48:F1:7F:00:2C:8C/E8:EE:CC:3E:AE:7D"

Where I add that key in the info file:

[General]
Name=soundcore Space Q45
Class=0x240404
SupportedTechnologies=BR/EDR;
Trusted=true
Blocked=false
Services=00001101-0000-1000-8000-00805f9b34fb;0000110b-0000-1000-8000-00805f9b34fb;0000110c-0000-1000-8000-00805f9b34>

[LinkKey]
Key=DB9F1B246C82673B58557A411316D669
Type=4
PINLength=0

But as said, once I restart the bluetooth services, it does not work.

Offline

Board footer

Powered by FluxBB