Belkin F8T065 doesn't register properly (BCM20702A0)

Maksim Yevmenkin maksim.yevmenkin at gmail.com
Fri Mar 6 00:06:26 UTC 2015


[...]

> i think you need to use libusb. here some linux python code that might
> be of some help
>
> https://github.com/Dolnor/DELL-SCT-Support/blob/master/Clover/OEM/Wireless/SLE/BTFirmwareUploader.kext/Contents/Resources/bcmfwup.py

just a few of comments

- the code above seems to be parsing and reading .hex file into the memory

- the .hex, might be intex hex, i.e. http://en.wikipedia.org/wiki/Intel_HEX

- upload initialized by sending a couple of VENDOR HCI commands, i.e.
[0x79, 0xfc, 0x00] and [0x2e, 0xfc, 0x00]

- decoded firmware then uploaded using bulk(?) transfers

- upload finalized by sending 3 other VENDOR HCI commands, i.e. [0x4e,
0xfc, 0x04, 0xff, 0xff, 0xff, 0xff], [0x79, 0xfc, 0x00] and [0x53,
0xfc, 0x01, 0x13]

- finally device is reset by sending HCI RESET command, i.e. [0x03, 0x0c, 0x00]

this is definitely not what ubtbcmfw(4) and bcmfw(8) pair does. so,
basically, you have to write something from scratch using libusb api.

thanks,
max


More information about the freebsd-bluetooth mailing list