thxomas / bdaddr

Updated version of the bluez bdaddr tool
23 stars 4 forks source link

Does not work with generic CSR dongle #1

Open gchehab opened 2 years ago

gchehab commented 2 years ago

Hi @thxomas, I have been trying to make it work with a generic CSR dongle. It reports the address has changed, appearing to have worked normally. However, after the device reset, the mac address remains the original one. Any clues or tips?

Tried with -r and even a temporary change -t, but all with the same results.

thxomas commented 2 years ago

Hi ! What is reported after the "Manufacturer :" word when you run it ?

gchehab commented 2 years ago

It reports:

$ sudo ./bdaddr -r -i hci0 <new mac>
Manufacturer: Cambridge Silicon Radio (10)
Device address: <old mac>
New BD address: <new mac>

Address changed - Device reset successfully

And the mac address is not changed. I am using the current main branch commit. I will try another dongle I have somewhere...

Perhaps there is something odd on this specific unit or firmware version...

thxomas commented 2 years ago

Yes, looks like something specific. I'm sorry this part of the code was not written by me, and I have no CSR device to test.

YusukeDS commented 1 year ago

Yes, looks like something specific. I'm sorry this part of the code was not written by me, and I have no CSR device to test.

Hello! Can you help me out? With me im getting a "Can't write new address"..

helgek commented 1 year ago

I'm having the same issue: Manufacturer: Intel Corp. (2) Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP) (it's an Intel NUC device)

helgek commented 1 year ago

I searched for BLE capable USB dongles with the chipsets mentioned as supported but I couldn't find any. Do I assume correctly that only old bluetooth sticks are supported?

KilianSSL commented 4 months ago

I had the same issue like https://github.com/thxomas/bdaddr/issues/1#issuecomment-964477748 when i tried to reset the device using bdaddr -r, but when i use hciconfig hci1 reset it shows me the new bdaddr when running hcitool dev