Question
How can I customize the Silicon Labs Mac VCP driver?
Answer
To customize the VID and PID of the Silicon Labs Mac VCP driver v2.6 and v3.x:
Steps 2-12 will be repeated for each kext file.
Either rename the kext file to some meaningful name (Product Name, Company, etc.) OR make a backup copy of the initial .kext file.
Right click (2-finger click) the kext file and select 'Show Package Contents'.
Open the Contents/Info.plist file.
Expand 'IOKitPersonalities'.
Copy one of the personalities, then paste it.
Rename the newly pasted personality to something significant to the customization (Product Name, Company, etc.).
Expand the new personality and change the VID and PID to match the device, as well as the Device and Vendor Descriptions.
Close the plist editor and the contents folder.
Open up a terminal window and navigate to the location of the kext file.
Use these commands:
sudo chown -R root:wheel myKext.kext
sudo chmod -R 755 myKext.kext
Copy the kext file back into the SystemLibraryExtensions folder.
Use this command:
sudo kextutil /System/Library/Extensions/myKext.kext
Note that starting in OSX 10.10 Apple is enforcing driver signing and a driver customized in this way may not be loaded due to an unverified signature. This forum conversation has details on bypassing driver validation for development purposes.
CP210x USB to UART Driver - ERROR: invalid signature - Mac
To customize the VID and PID of the Silicon Labs Mac VCP driver v4.x, v5.x and later, see this knowledge base article:
https://www.silabs.com/community/interface/knowledge-base.entry.html/2016/04/04/mac_vcp_driver_custo-Y1r9.html
Customization of Mac OS drivers
Question
How can I customize the Silicon Labs Mac VCP driver?
Answer
To customize the VID and PID of the Silicon Labs Mac VCP driver v2.6 and v3.x:
Steps 2-12 will be repeated for each kext file.
Either rename the kext file to some meaningful name (Product Name, Company, etc.) OR make a backup copy of the initial .kext file.
Right click (2-finger click) the kext file and select 'Show Package Contents'.
Open the Contents/Info.plist file.
Expand 'IOKitPersonalities'.
Copy one of the personalities, then paste it.
Rename the newly pasted personality to something significant to the customization (Product Name, Company, etc.).
Expand the new personality and change the VID and PID to match the device, as well as the Device and Vendor Descriptions.
Close the plist editor and the contents folder.
Open up a terminal window and navigate to the location of the kext file.
Use these commands:
sudo chown -R root:wheel myKext.kext
sudo chmod -R 755 myKext.kext
Copy the kext file back into the SystemLibraryExtensions folder.
Use this command:
sudo kextutil /System/Library/Extensions/myKext.kext
Note that starting in OSX 10.10 Apple is enforcing driver signing and a driver customized in this way may not be loaded due to an unverified signature. This forum conversation has details on bypassing driver validation for development purposes.
CP210x USB to UART Driver - ERROR: invalid signature - Mac
To customize the VID and PID of the Silicon Labs Mac VCP driver v4.x, v5.x and later, see this knowledge base article:
https://www.silabs.com/community/interface/knowledge-base.entry.html/2016/04/04/mac_vcp_driver_custo-Y1r9.html