Created
July 24, 2019 18:39
-
-
Save imbushuo/e51ca12702bb75658a9ddea1de5a7054 to your computer and use it in GitHub Desktop.
Composite configuration for Apple DFR device in Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; | |
| ; DFRUsbCCGP.inf | |
| ; | |
| ; Installs CCGP and WinUSB device for DFR | |
| ; | |
| [Version] | |
| Signature = "$Windows NT$" | |
| Class = USBDevice | |
| ClassGUID = {88BAE032-5A81-49f0-BC3D-A4FF138216D6} | |
| Provider = %ManufacturerName% | |
| CatalogFile=DFRUsbCCGP.cat | |
| [Manufacturer] | |
| %ManufacturerName% = Standard,NT$ARCH$ | |
| [Standard.NT$ARCH$] | |
| %CompDeviceName% = DFRDisplayComposite_Install, USB\VID_05AC&PID_8302 | |
| %DisplayDeviceName% = DisplayDevice_Install, USB\VID_05AC&PID_8302&MI_01 | |
| [DFRDisplayComposite_Install] | |
| Include=usb.inf | |
| Needs=Composite.Dev.NT | |
| [DisplayDevice_Install] | |
| Include=winusb.inf | |
| Needs=WINUSB.NT | |
| [DFRDisplayComposite_Install.Services] | |
| Include=usb.inf | |
| Needs=Composite.Dev.NT.Services | |
| [DisplayDevice_Install.Services] | |
| Include=winusb.inf | |
| AddService=WinUsb,%SPSVCINST_ASSOCSERVICE%,WinUsb_ServiceInstall | |
| [WinUsb_ServiceInstall] | |
| DisplayName = %WinUsb_SvcDesc% | |
| ServiceType = 1 | |
| StartType = 3 | |
| ErrorControl = 1 | |
| ServiceBinary = %12%\WinUSB.sys | |
| [DFRDisplayComposite_Install.HW] | |
| AddReg=CompositeDev_AddReg | |
| [DisplayDevice_Install.HW] | |
| AddReg=DisplayDev_AddReg | |
| [CompositeDev_AddReg] | |
| HKR,,FriendlyName,,%CompDeviceName% | |
| ; Switch to the macOS iBridge display configuration | |
| HKR,,OriginalConfigurationValue,%REG_DWORD%,1 | |
| [DisplayDev_AddReg] | |
| HKR,,FriendlyName,,%DisplayDeviceName% | |
| HKR,,DeviceInterfaceGUIDs,0x10000,"{6acf9c4b-9907-4d8f-bda7-ad7f70c02ce3}" | |
| [SourceDisksNames] | |
| 1 = %DiskName% | |
| [Strings] | |
| ManufacturerName="Bingxing Wang" | |
| ClassName="Universal Serial Bus devices" | |
| DiskName="DFR CCGP Installation Disk" | |
| WinUsb_SvcDesc="WinUSB Driver" | |
| CompDeviceName="iBridge Display Composition Device" | |
| DisplayDeviceName="iBridge Display" | |
| REG_MULTI_SZ = 0x00010000 | |
| REG_DWORD = 0x00010001 | |
| SPSVCINST_ASSOCSERVICE= 0x00000002 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment