RehabMan / OS-X-BrcmPatchRAM

Broadcom PatchRAM driver for OS X
GNU General Public License v2.0
243 stars 47 forks source link

info.plist entry for new firmware #50

Closed SpiGAndromeda closed 6 years ago

SpiGAndromeda commented 6 years ago

Hi,

I trie to load a new firmware with the kext. I already extracted hex and stuff. As far as I understand, if have to create a new entry in the Info.plist of the BrcmPatchRAM2.kext The entry should look like this?

<key>0489_e032</key>
<dict>
    <key>CFBundleIdentifier</key>
    <string>com.no-one.BrcmPatchRAM2</string>
    <key>DisplayName</key>
    <string>Broadcom Bluetooth 4.0 USB</string>
    <key>FirmwareKey</key>
    <string>BCM20702A1_001.002.014.1443.1485_v5581</string>
    <key>IOClass</key>
    <string>BrcmPatchRAM2</string>
    <key>IOMatchCategory</key>
    <string>BrcmPatchRAM2</string>
    <key>IOProviderClass</key>
    <string>IOUSBHostDevice</string>
    <key>idProduct</key>
    <integer>57394</integer>
    <key>idVendor</key>
    <integer>1161</integer>
</dict>

I have to replace DisplayName, FirmwareKey (should correspond with the hex file), idProduct, idVendor and the primary key (I got from my device). Honestly I have no idea what idProduct and idVendor are because it's not the PCIIDs?

After that the the zhx file should be placed under Ressources of the BrcmFirmwareRepo.kext?

Is that correct?

best regards, spigandromeda