Skip to content

Instantly share code, notes, and snippets.

View peterbudai's full-sized avatar

Péter Budai peterbudai

View GitHub Profile
@peterbudai
peterbudai / btbcm.txt
Last active April 24, 2020 18:46
C snippet to check under which name Linux kernel looks for different Bluetooth firmware files listed in https://github.com/winterheart/broadcom-bt-firmware.
I cross-checked the device names, subversions and kernel behavior in devices/bluetooth/btbcm.c (Linux v5.6,
commit dde8010be0a0). The last two columns represent the firmware names the kernel will look for in USB or UART HCI
modes. @ denotes that the device is explicitly listed in kernel, . when the generic naming is used.
Source file name Device vID pID SubVer USB Firmware file UART Firmware file
BCM20702A1-0489-e032.hcd -> BCM20702A1 0489 e032 220e -> @ brcm/BCM20702A1-0489-e032.hcd @ brcm/BCM20702A1.hcd
BCM20702A1-0489-e042.hcd -> BCM20702A1 0489 e042 220e -> @ brcm/BCM20702A1-0489-e042.hcd @ brcm/BCM20702A1.hcd
BCM20702A1-0489-e046.hcd -> BCM20702A1 0489 e046 220e -> @ brcm/BCM20702A1-0489-e046.hcd @ brcm/BCM20702A1.hcd
BCM20702A1-0489-e04f.hcd -> BCM20702A1 0489 e04f 220e -> @ brcm/BCM20702A1-0489-e04f.hcd @ brcm/BCM20702A1.hcd
BCM20702A1-0489-e052.hcd -> BCM20702A1 0489 e052 220e -> @ brcm/BCM20702A1-0489-e052.hcd @ brcm/BCM