cmake: win: Modernize USRP inf files (NI signed), add B206mini inf file

Modernized USRP inf files by:
- Removing using co-installers and depend instead on WINUSB.NT
  install service (provided by Windows OS itself)
- Defined version string in addition to date string
- Switched to using unique USRPs specific ClassGuid, instead of
  standard Windows defined ClassGuid to avoid infver (WDK) errors
  - ERROR(1280) Class name and ClassGuid mismatch, expecting Class
    "Sample" for ClassGuid "{78A1C341-4539-11d3-B88D-00C04FAD5171}"
  - ERROR(1285) Cannot specify [ClassInstall32] section for
    Microsoft-defined class
- Verified inf files with WDK infver utility.
Added new inf file for B206mini.
Extended erllc_uhd_b200_reinit.inf file to support initializing
unprogrammed FX3 based USRPs (B200 Series).
This commit is contained in:
Marian Koop 2025-03-14 01:01:56 +01:00 committed by Jörg Hofrichter
parent ccc8369d69
commit 2ddc080605
13 changed files with 184 additions and 347 deletions

Binary file not shown.

View File

@ -24,11 +24,6 @@
; the inf2cat utility from the WinDDK, with the the following command:
; inf2cat /driver:"path_to_your inf" /os:7_X86,7_X64,Vista_X86,Vista_X64
;
; Note 2: The co-installers provided in these files are version 1.9.
; Please refer to:
; http://blogs.msdn.com/iliast/archive/2008/03/10/why-do-we-need-wdf-coinstallers.aspx and
; http://blogs.msdn.com/iliast/archive/2009/08/13/wdf-logo-requirements-regarding-coinstallers.aspx
; for more information about co-installers and their versioning
; ===================== Strings =======================
@ -42,28 +37,29 @@ DeviceName = "Ettus Research LLC B100"
VendorID = "VID_2500"
ProductID = "PID_0002"
DeviceGUID = "{43ec6c7f-2686-492f-add6-601ebbf5e89a}"
DeviceClassGUID = "{78a1c341-4539-11d3-b88d-00c04fad5171}"
DeviceClassGUID = "{69B50283-8B4F-40BF-AE63-0F2609E68DE1}"
; Date MUST be in MM/DD/YYYY format
Date = "03/29/2016"
Date = "04/08/2025"
Version = "4.8.0.0"
; =====================================================
; ========== END USER CONFIGURABLE SECTION ============
; =====================================================
ProviderName = "Ettus Research"
WinUSB_SvcDesc = "WinUSB Driver Service"
DiskName = "libusb (WinUSB) Device Install Disk"
ClassName = "USRPs"
; ====================== Version ======================
[Version]
DriverVer = %Date%
DriverVer = %Date%,%Version%
Signature = "$Windows NT$"
Class = %ClassName%
ClassGuid = %DeviceClassGUID%
Provider = %ProviderName%
CatalogFile = erllc_uhd.cat
PnpLockdown = 1
; =================== Class section ===================
@ -103,16 +99,7 @@ Needs=WINUSB.NT
; modified.
[USB_Install.Services]
Include=winusb.inf
AddService=WinUSB,0x00000002,WinUSB_ServiceInstall
; The WinUSB_ServiceInstall section contains the data for installing WinUsb.sys
; as a service. This section should not be modified.
[WinUSB_ServiceInstall]
DisplayName = %WinUSB_SvcDesc%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WinUSB.sys
Needs=WINUSB.NT.Services
; The KmdfService directive installs WinUsb.sys as a kernel-mode service. The
; referenced WinUSB_Install section specifies the KMDF library version.
@ -137,38 +124,3 @@ AddReg=Dev_AddReg
[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,%DeviceGUID%
; The USB_Install.CoInstallers section, including the referenced AddReg and
; CopyFiles sections, contains data and instructions to install the WinUSB and
; KMDF co installers and associate them with the device. Most USB devices can
; use these sections and directives without modification.
[USB_Install.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=CoInstallers_CopyFiles
[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01009.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"
[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll
[DestinationDirs]
CoInstallers_CopyFiles=11
; =============== Source Media Section ================
; The x86 and x64 versions of Windows have separate co installers. This example
; stores them on the installation disk in folders that are named x86 and amd64
[SourceDisksNames]
1 = %DiskName%,,,\x86
2 = %DiskName%,,,\amd64
[SourceDisksFiles.x86]
WinUSBCoInstaller2.dll=1
WdfCoInstaller01009.dll=1
[SourceDisksFiles.amd64]
WinUSBCoInstaller2.dll=2
WdfCoInstaller01009.dll=2

View File

@ -23,12 +23,6 @@
; Note 1: if you need to create a matching cat file for this inf, you can use
; the inf2cat utility from the WinDDK, with the the following command:
; inf2cat /driver:"path_to_your inf" /os:7_X86,7_X64,Vista_X86,Vista_X64
;
; Note 2: The co-installers provided in these files are version 1.9.
; Please refer to:
; http://blogs.msdn.com/iliast/archive/2008/03/10/why-do-we-need-wdf-coinstallers.aspx and
; http://blogs.msdn.com/iliast/archive/2009/08/13/wdf-logo-requirements-regarding-coinstallers.aspx
; for more information about co-installers and their versioning
; ===================== Strings =======================
@ -42,28 +36,29 @@ DeviceName = "Ettus Research LLC B200/B210"
VendorID = "VID_2500"
ProductID = "PID_0020"
DeviceGUID = "{43ec6c7f-2686-492f-add6-601ebbf5e89a}"
DeviceClassGUID = "{78a1c341-4539-11d3-b88d-00c04fad5171}"
DeviceClassGUID = "{69B50283-8B4F-40BF-AE63-0F2609E68DE1}"
; Date MUST be in MM/DD/YYYY format
Date = "03/29/2016"
Date = "04/08/2025"
Version = "4.8.0.0"
; =====================================================
; ========== END USER CONFIGURABLE SECTION ============
; =====================================================
ProviderName = "Ettus Research"
WinUSB_SvcDesc = "WinUSB Driver Service"
DiskName = "libusb (WinUSB) Device Install Disk"
ClassName = "USRPs"
; ====================== Version ======================
[Version]
DriverVer = %Date%
DriverVer = %Date%,%Version%
Signature = "$Windows NT$"
Class = %ClassName%
ClassGuid = %DeviceClassGUID%
Provider = %ProviderName%
CatalogFile = erllc_uhd.cat
PnpLockdown = 1
; =================== Class section ===================
@ -99,20 +94,11 @@ Needs=WINUSB.NT
; The Include directive in the USB_Install.Services section includes the system-
; supplied INF for WinUSB. This INF is installed by the WinUSB co-installer if
; it is not already on the target system. The AddService directive specifies
; WinUsb.sys as the device’s function driver. These directives should not be
; WinUsb.sys as the device<EFBFBD>s function driver. These directives should not be
; modified.
[USB_Install.Services]
Include=winusb.inf
AddService=WinUSB,0x00000002,WinUSB_ServiceInstall
; The WinUSB_ServiceInstall section contains the data for installing WinUsb.sys
; as a service. This section should not be modified.
[WinUSB_ServiceInstall]
DisplayName = %WinUSB_SvcDesc%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WinUSB.sys
Needs=WINUSB.NT.Services
; The KmdfService directive installs WinUsb.sys as a kernel-mode service. The
; referenced WinUSB_Install section specifies the KMDF library version.
@ -127,7 +113,7 @@ KmdfLibraryVersion=1.9
; USB_Install.HW is the key section in the INF. It specifies the device
; interface globally unique identifier (GUID) for your device. The AddReg
; directive puts the interface GUID in a standard registry value. When
; WinUsb.sys is loaded as the device’s function driver, it reads the registry
; WinUsb.sys is loaded as the device<EFBFBD>s function driver, it reads the registry
; value and uses the specified GUID to represent the device interface. You
; should replace the GUID in this example with one that you create specifically
; for your device. If the protocols for the device change, you should create a
@ -138,37 +124,3 @@ AddReg=Dev_AddReg
[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,%DeviceGUID%
; The USB_Install.CoInstallers section, including the referenced AddReg and
; CopyFiles sections, contains data and instructions to install the WinUSB and
; KMDF co installers and associate them with the device. Most USB devices can
; use these sections and directives without modification.
[USB_Install.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=CoInstallers_CopyFiles
[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01009.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"
[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll
[DestinationDirs]
CoInstallers_CopyFiles=11
; =============== Source Media Section ================
; The x86 and x64 versions of Windows have separate co installers. This example
; stores them on the installation disk in folders that are named x86 and amd64
[SourceDisksNames]
1 = %DiskName%,,,\x86
2 = %DiskName%,,,\amd64
[SourceDisksFiles.x86]
WinUSBCoInstaller2.dll=1
WdfCoInstaller01009.dll=1
[SourceDisksFiles.amd64]
WinUSBCoInstaller2.dll=2
WdfCoInstaller01009.dll=2

View File

@ -1,39 +1,34 @@
; USRP_B200.inf
; Copyright (c) 2010 libusb (GNU LGPL)
[Strings]
DeviceName = "USRP B200 - Reinitialization"
VendorName = "Cypress Semiconductor Corp."
SourceName = "USRP B200 Install Disk"
ProviderName = "Ettus Research"
VendorID = "VID_04B4"
ProductID = "PID_00F0"
dev0_DeviceName = "USRP B200 - Reinitialization"
dev1_DeviceName = "Cypress FX3"
dev0_DeviceID = "PID_00F0"
dev1_DeviceID = "PID_00F3"
DeviceGUID = "{2E9CF8FE-046C-4318-B05A-928F69AFBD32}"
[Version]
Signature = "$Windows NT$"
Class = %ClassName%
Class = "USBDevice"
ClassGuid = {88bae032-5a81-49f0-bc3d-a4ff138216d6}
Provider = %ProviderName%
CatalogFile = erllc_uhd.cat
DriverVer = 07/13/2009, 6.1.7600.16385
[ClassInstall32]
Addreg = WinUSBDeviceClassReg
[WinUSBDeviceClassReg]
HKR,,,0,"Universal Serial Bus devices"
HKR,,Icon,,-20
DriverVer = 03/31/2025, 6.1.7600.16385
[Manufacturer]
%VendorName% = libusbDevice_WinUSB,NTx86,NTamd64,NTia64
%VendorName% = libusbDevice_WinUSB,NTx86,NTamd64
[libusbDevice_WinUSB.NTx86]
%DeviceName% = USB_Install, USB\%DeviceID%
%dev0_DeviceName% = USB_Install, USB\%VendorID%&%dev0_DeviceID%
%dev1_DeviceName% = USB_Install, USB\%VendorID%&%dev1_DeviceID%
[libusbDevice_WinUSB.NTamd64]
%DeviceName% = USB_Install, USB\%DeviceID%
[libusbDevice_WinUSB.NTia64]
%DeviceName% = USB_Install, USB\%DeviceID%
%dev0_DeviceName% = USB_Install, USB\%VendorID%&%dev0_DeviceID%
%dev1_DeviceName% = USB_Install, USB\%VendorID%&%dev1_DeviceID%
[USB_Install]
Include = winusb.inf
@ -41,14 +36,7 @@ Needs = WINUSB.NT
[USB_Install.Services]
Include = winusb.inf
AddService = WinUSB,0x00000002,WinUSB_ServiceInstall
[WinUSB_ServiceInstall]
DisplayName = "WinUSB - Kernel Driver 07/13/2009 6.1.7600.16385"
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WinUSB.sys
Needs=WINUSB.NT.Services
[USB_Install.Wdf]
KmdfService = WINUSB, WinUsb_Install
@ -64,33 +52,3 @@ AddReg = AddDeviceInterfaceGUID
[AddDeviceInterfaceGUID]
HKR,,DeviceInterfaceGUIDs,0x10000,%DeviceGUID%
[USB_Install.CoInstallers]
AddReg = CoInstallers_AddReg
CopyFiles = CoInstallers_CopyFiles
[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01009.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"
[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll
[DestinationDirs]
CoInstallers_CopyFiles = 11
[SourceDisksNames]
1 = %SourceName%
[SourceDisksFiles.x86]
WinUSBCoInstaller2.dll = 1,x86
WdfCoInstaller01009.dll = 1,x86
[SourceDisksFiles.amd64]
WinUSBCoInstaller2.dll = 1,amd64
WdfCoInstaller01009.dll = 1,amd64
[SourceDisksFiles.ia64]
WinUSBCoInstaller2.dll = 1,ia64
WdfCoInstaller01009.dll = 1,ia64

View File

@ -23,12 +23,6 @@
; Note 1: if you need to create a matching cat file for this inf, you can use
; the inf2cat utility from the WinDDK, with the the following command:
; inf2cat /driver:"path_to_your inf" /os:7_X86,7_X64,Vista_X86,Vista_X64
;
; Note 2: The co-installers provided in these files are version 1.9.
; Please refer to:
; http://blogs.msdn.com/iliast/archive/2008/03/10/why-do-we-need-wdf-coinstallers.aspx and
; http://blogs.msdn.com/iliast/archive/2009/08/13/wdf-logo-requirements-regarding-coinstallers.aspx
; for more information about co-installers and their versioning
; ===================== Strings =======================
@ -43,28 +37,29 @@ DeviceName = "Ettus Research LLC B200mini"
VendorID = "VID_2500"
ProductID = "PID_0021"
DeviceGUID = "{6960fcb7-8440-4271-a4e3-fef0cb9d01f7}"
DeviceClassGUID = "{78a1c341-4539-11d3-b88d-00c04fad5171}"
DeviceClassGUID = "{69B50283-8B4F-40BF-AE63-0F2609E68DE1}"
; Date MUST be in MM/DD/YYYY format
Date = "03/29/2016"
Date = "04/08/2025"
Version = "4.8.0.0"
; =====================================================
; ========== END USER CONFIGURABLE SECTION ============
; =====================================================
ProviderName = "Ettus Research"
WinUSB_SvcDesc = "WinUSB Driver Service"
DiskName = "libusb (WinUSB) Device Install Disk"
ClassName = "USRPs"
; ====================== Version ======================
[Version]
DriverVer = %Date%
DriverVer = %Date%,%Version%
Signature = "$Windows NT$"
Class = %ClassName%
ClassGuid = %DeviceClassGUID%
Provider = %ProviderName%
CatalogFile = erllc_uhd.cat
PnpLockdown = 1
; =================== Class section ===================
@ -100,20 +95,11 @@ Needs=WINUSB.NT
; The Include directive in the USB_Install.Services section includes the system-
; supplied INF for WinUSB. This INF is installed by the WinUSB co-installer if
; it is not already on the target system. The AddService directive specifies
; WinUsb.sys as the device’s function driver. These directives should not be
; WinUsb.sys as the device<EFBFBD>s function driver. These directives should not be
; modified.
[USB_Install.Services]
Include=winusb.inf
AddService=WinUSB,0x00000002,WinUSB_ServiceInstall
; The WinUSB_ServiceInstall section contains the data for installing WinUsb.sys
; as a service. This section should not be modified.
[WinUSB_ServiceInstall]
DisplayName = %WinUSB_SvcDesc%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WinUSB.sys
Needs=WINUSB.NT.Services
; The KmdfService directive installs WinUsb.sys as a kernel-mode service. The
; referenced WinUSB_Install section specifies the KMDF library version.
@ -128,7 +114,7 @@ KmdfLibraryVersion=1.9
; USB_Install.HW is the key section in the INF. It specifies the device
; interface globally unique identifier (GUID) for your device. The AddReg
; directive puts the interface GUID in a standard registry value. When
; WinUsb.sys is loaded as the device’s function driver, it reads the registry
; WinUsb.sys is loaded as the device<EFBFBD>s function driver, it reads the registry
; value and uses the specified GUID to represent the device interface. You
; should replace the GUID in this example with one that you create specifically
; for your device. If the protocols for the device change, you should create a
@ -138,38 +124,3 @@ AddReg=Dev_AddReg
[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,%DeviceGUID%
; The USB_Install.CoInstallers section, including the referenced AddReg and
; CopyFiles sections, contains data and instructions to install the WinUSB and
; KMDF co installers and associate them with the device. Most USB devices can
; use these sections and directives without modification.
[USB_Install.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=CoInstallers_CopyFiles
[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01009.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"
[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll
[DestinationDirs]
CoInstallers_CopyFiles=11
; =============== Source Media Section ================
; The x86 and x64 versions of Windows have separate co installers. This example
; stores them on the installation disk in folders that are named x86 and amd64
[SourceDisksNames]
1 = %DiskName%,,,\x86
2 = %DiskName%,,,\amd64
[SourceDisksFiles.x86]
WinUSBCoInstaller2.dll=1
WdfCoInstaller01009.dll=1
[SourceDisksFiles.amd64]
WinUSBCoInstaller2.dll=2
WdfCoInstaller01009.dll=2

View File

@ -23,12 +23,6 @@
; Note 1: if you need to create a matching cat file for this inf, you can use
; the inf2cat utility from the WinDDK, with the the following command:
; inf2cat /driver:"path_to_your inf" /os:7_X86,7_X64,Vista_X86,Vista_X64
;
; Note 2: The co-installers provided in these files are version 1.9.
; Please refer to:
; http://blogs.msdn.com/iliast/archive/2008/03/10/why-do-we-need-wdf-coinstallers.aspx and
; http://blogs.msdn.com/iliast/archive/2009/08/13/wdf-logo-requirements-regarding-coinstallers.aspx
; for more information about co-installers and their versioning
; ===================== Strings =======================
@ -42,28 +36,29 @@ DeviceName = "Ettus Research B205mini"
VendorID = "VID_2500"
ProductID = "PID_0022"
DeviceGUID = "{211d89c8-92d7-11e5-be76-3c970eb8a18b}"
DeviceClassGUID = "{78a1c341-4539-11d3-b88d-00c04fad5171}"
DeviceClassGUID = "{69B50283-8B4F-40BF-AE63-0F2609E68DE1}"
; Date MUST be in MM/DD/YYYY format
Date = "03/29/2016"
Date = "04/08/2025"
Version = "4.8.0.0"
; =====================================================
; ========== END USER CONFIGURABLE SECTION ============
; =====================================================
ProviderName = "Ettus Research"
WinUSB_SvcDesc = "WinUSB Driver Service"
DiskName = "libusb (WinUSB) Device Install Disk"
ClassName = "USRPs"
; ====================== Version ======================
[Version]
DriverVer = %Date%
DriverVer = %Date%,%Version%
Signature = "$Windows NT$"
Class = %ClassName%
ClassGuid = %DeviceClassGUID%
Provider = %ProviderName%
CatalogFile = erllc_uhd.cat
PnpLockdown = 1
; =================== Class section ===================
@ -99,20 +94,11 @@ Needs=WINUSB.NT
; The Include directive in the USB_Install.Services section includes the system-
; supplied INF for WinUSB. This INF is installed by the WinUSB co-installer if
; it is not already on the target system. The AddService directive specifies
; WinUsb.sys as the device’s function driver. These directives should not be
; WinUsb.sys as the device<EFBFBD>s function driver. These directives should not be
; modified.
[USB_Install.Services]
Include=winusb.inf
AddService=WinUSB,0x00000002,WinUSB_ServiceInstall
; The WinUSB_ServiceInstall section contains the data for installing WinUsb.sys
; as a service. This section should not be modified.
[WinUSB_ServiceInstall]
DisplayName = %WinUSB_SvcDesc%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WinUSB.sys
Needs=WINUSB.NT.Services
; The KmdfService directive installs WinUsb.sys as a kernel-mode service. The
; referenced WinUSB_Install section specifies the KMDF library version.
@ -127,7 +113,7 @@ KmdfLibraryVersion=1.9
; USB_Install.HW is the key section in the INF. It specifies the device
; interface globally unique identifier (GUID) for your device. The AddReg
; directive puts the interface GUID in a standard registry value. When
; WinUsb.sys is loaded as the device’s function driver, it reads the registry
; WinUsb.sys is loaded as the device<EFBFBD>s function driver, it reads the registry
; value and uses the specified GUID to represent the device interface. You
; should replace the GUID in this example with one that you create specifically
; for your device. If the protocols for the device change, you should create a
@ -137,38 +123,3 @@ AddReg=Dev_AddReg
[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,%DeviceGUID%
; The USB_Install.CoInstallers section, including the referenced AddReg and
; CopyFiles sections, contains data and instructions to install the WinUSB and
; KMDF co installers and associate them with the device. Most USB devices can
; use these sections and directives without modification.
[USB_Install.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=CoInstallers_CopyFiles
[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01009.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"
[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll
[DestinationDirs]
CoInstallers_CopyFiles=11
; =============== Source Media Section ================
; The x86 and x64 versions of Windows have separate co installers. This example
; stores them on the installation disk in folders that are named x86 and amd64
[SourceDisksNames]
1 = %DiskName%,,,\x86
2 = %DiskName%,,,\amd64
[SourceDisksFiles.x86]
WinUSBCoInstaller2.dll=1
WdfCoInstaller01009.dll=1
[SourceDisksFiles.amd64]
WinUSBCoInstaller2.dll=2
WdfCoInstaller01009.dll=2

View File

@ -0,0 +1,125 @@
; ======== libusb 1.0 (WinUSB) device driver ==========
;
; To customize this inf file for your own device
;
; 1. Change "DeviceName" with the name you want your device to appear with
; on your system.
;
; 2. Change "VendorID" and "ProductID" according to those of your device.
; If your device is plugged in, you can retrieve these values through the
; Device Manager (regardless of whether the driver is installed or not).
;
; 3. Change "DeviceGUID" to a value that is unique on your system. For more
; information and tools to help you generate your own GUIDs, see
; http://en.wikipedia.org/wiki/Universally_Unique_Identifier.
;
; 4. Change "DeviceClassGUID" to reflect your USB Device Class.
; The following Device Classes are listed for reference:
; {745a17a0-74d3-11d0-b6fe-00a0c90f57da} : HID device
; {78a1c341-4539-11d3-b88d-00c04fad5171} : Generic WinUSB device
;
; 5. (Optional) Change the "Date" string.
;
; Note 1: if you need to create a matching cat file for this inf, you can use
; the inf2cat utility from the WinDDK, with the the following command:
; inf2cat /driver:"path_to_your inf" /os:7_X86,7_X64,Vista_X86,Vista_X64
; ===================== Strings =======================
[Strings]
; =====================================================
; ========= START USER CONFIGURABLE SECTION ===========
; =====================================================
DeviceName = "Ettus Research B206mini"
VendorID = "VID_2500"
ProductID = "PID_0023"
DeviceGUID = "{34ef3f9c-1d8e-4b08-9767-833220981ac2}"
DeviceClassGUID = "{69B50283-8B4F-40BF-AE63-0F2609E68DE1}"
; Date MUST be in MM/DD/YYYY format
Date = "04/08/2025"
Version = "4.8.0.0"
; =====================================================
; ========== END USER CONFIGURABLE SECTION ============
; =====================================================
ProviderName = "Ettus Research"
DiskName = "libusb (WinUSB) Device Install Disk"
ClassName = "USRPs"
; ====================== Version ======================
[Version]
DriverVer = %Date%,%Version%
Signature = "$Windows NT$"
Class = %ClassName%
ClassGuid = %DeviceClassGUID%
Provider = %ProviderName%
CatalogFile = erllc_uhd.cat
PnpLockdown = 1
; =================== Class section ===================
; Since the device is not a standard USB device, we define a new class for it.
[ClassInstall32]
Addreg = WinUSBDeviceClassReg
[WinUSBDeviceClassReg]
HKR,,,0,%ClassName%
; -20 is for the USB icon
HKR,,Icon,,-20
; =========== Manufacturer/Models sections ============
[Manufacturer]
%ProviderName% = libusbDevice_WinUSB,NTx86,NTamd64
[libusbDevice_WinUSB.NTx86]
%DeviceName% = USB_Install, USB\%VendorID%&%ProductID%
[libusbDevice_WinUSB.NTamd64]
%DeviceName% = USB_Install, USB\%VendorID%&%ProductID%
; ==================== Installation ===================
; The Include and Needs directives in the USB_Install section are required for
; installing WinUSB on Windows Vista systems. Windows XP systems ignore these
; directives. These directives should not be modified.
[USB_Install]
Include=winusb.inf
Needs=WINUSB.NT
; The Include directive in the USB_Install.Services section includes the system-
; supplied INF for WinUSB. This INF is installed by the WinUSB co-installer if
; it is not already on the target system. The AddService directive specifies
; WinUsb.sys as the device<63>s function driver. These directives should not be
; modified.
[USB_Install.Services]
Include=winusb.inf
Needs=WINUSB.NT.Services
; The KmdfService directive installs WinUsb.sys as a kernel-mode service. The
; referenced WinUSB_Install section specifies the KMDF library version.
; Usually, the version can be derived from the WdfCoInstallerxxyyy.dll with
; xx = major, yyy = minor
[USB_Install.Wdf]
KmdfService=WINUSB, WinUsb_Install
[WinUSB_Install]
KmdfLibraryVersion=1.9
; USB_Install.HW is the key section in the INF. It specifies the device
; interface globally unique identifier (GUID) for your device. The AddReg
; directive puts the interface GUID in a standard registry value. When
; WinUsb.sys is loaded as the device<63>s function driver, it reads the registry
; value and uses the specified GUID to represent the device interface. You
; should replace the GUID in this example with one that you create specifically
; for your device. If the protocols for the device change, you should create a
; new device interface GUID.
[USB_Install.HW]
AddReg=Dev_AddReg
[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,%DeviceGUID%

View File

@ -2,16 +2,13 @@
Name=erllc_uhd.cat
PublicVersion=0x0000001
EncodingType=0x00010001
CATATTR1=0x10010001:OSAttr:2:5.1
CATATTR1=0x10010001:OSAttr:2:6.0
[CatalogFiles]
<hash>erllc_uhd_usrp1.inf=erllc_uhd_usrp1.inf
<hash>erllc_uhd_b100.inf=erllc_uhd_b100.inf
<hash>erllc_uhd_b200.inf=erllc_uhd_b200.inf
<hash>erllc_uhd_b200_reinit.inf=erllc_uhd_b200_reinit.inf
<hash>erllc_uhd_b200mini.inf=erllc_uhd_b200mini.inf
<hash>erllc_uhd_b205mini.inf=erllc_uhd_b205mini.inf
<hash>WdfCoInstaller01009.dll=amd64\WdfCoInstaller01009.dll
<hash>WdfCoInstaller01009.dll=x86\WdfCoInstaller01009.dll
<hash>winusbcoinstaller2.dll=amd64\winusbcoinstaller2.dll
<hash>winusbcoinstaller2.dll=x86\winusbcoinstaller2.dll
<hash>File1=erllc_uhd_usrp1.inf
<hash>File2=erllc_uhd_b100.inf
<hash>File3=erllc_uhd_b200.inf
<hash>File4=erllc_uhd_b200_reinit.inf
<hash>File5=erllc_uhd_b200mini.inf
<hash>File6=erllc_uhd_b205mini.inf
<hash>File7=erllc_uhd_b206mini.inf

View File

@ -23,12 +23,6 @@
; Note 1: if you need to create a matching cat file for this inf, you can use
; the inf2cat utility from the WinDDK, with the the following command:
; inf2cat /driver:"path_to_your inf" /os:7_X86,7_X64,Vista_X86,Vista_X64
;
; Note 2: The co-installers provided in these files are version 1.9.
; Please refer to:
; http://blogs.msdn.com/iliast/archive/2008/03/10/why-do-we-need-wdf-coinstallers.aspx and
; http://blogs.msdn.com/iliast/archive/2009/08/13/wdf-logo-requirements-regarding-coinstallers.aspx
; for more information about co-installers and their versioning
; ===================== Strings =======================
@ -42,28 +36,29 @@ DeviceName = "Ettus Research LLC USRP1"
VendorID = "VID_FFFE"
ProductID = "PID_0002"
DeviceGUID = "{E61C0BFC-4E86-4E82-B1F5-1C3EA28802FC}"
DeviceClassGUID = "{78a1c341-4539-11d3-b88d-00c04fad5171}"
DeviceClassGUID = "{69B50283-8B4F-40BF-AE63-0F2609E68DE1}"
; Date MUST be in MM/DD/YYYY format
Date = "03/29/2016"
Date = "04/08/2025"
Version = "4.8.0.0"
; =====================================================
; ========== END USER CONFIGURABLE SECTION ============
; =====================================================
ProviderName = "Ettus Research"
WinUSB_SvcDesc = "WinUSB Driver Service"
DiskName = "libusb (WinUSB) Device Install Disk"
ClassName = "USRPs"
; ====================== Version ======================
[Version]
DriverVer = %Date%
DriverVer = %Date%,%Version%
Signature = "$Windows NT$"
Class = %ClassName%
ClassGuid = %DeviceClassGUID%
Provider = %ProviderName%
CatalogFile = erllc_uhd.cat
PnpLockdown = 1
; =================== Class section ===================
@ -99,20 +94,11 @@ Needs=WINUSB.NT
; The Include directive in the USB_Install.Services section includes the system-
; supplied INF for WinUSB. This INF is installed by the WinUSB co-installer if
; it is not already on the target system. The AddService directive specifies
; WinUsb.sys as the device’s function driver. These directives should not be
; WinUsb.sys as the device<EFBFBD>s function driver. These directives should not be
; modified.
[USB_Install.Services]
Include=winusb.inf
AddService=WinUSB,0x00000002,WinUSB_ServiceInstall
; The WinUSB_ServiceInstall section contains the data for installing WinUsb.sys
; as a service. This section should not be modified.
[WinUSB_ServiceInstall]
DisplayName = %WinUSB_SvcDesc%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WinUSB.sys
Needs=WINUSB.NT.Services
; The KmdfService directive installs WinUsb.sys as a kernel-mode service. The
; referenced WinUSB_Install section specifies the KMDF library version.
@ -127,7 +113,7 @@ KmdfLibraryVersion=1.9
; USB_Install.HW is the key section in the INF. It specifies the device
; interface globally unique identifier (GUID) for your device. The AddReg
; directive puts the interface GUID in a standard registry value. When
; WinUsb.sys is loaded as the device’s function driver, it reads the registry
; WinUsb.sys is loaded as the device<EFBFBD>s function driver, it reads the registry
; value and uses the specified GUID to represent the device interface. You
; should replace the GUID in this example with one that you create specifically
; for your device. If the protocols for the device change, you should create a
@ -137,38 +123,3 @@ AddReg=Dev_AddReg
[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,%DeviceGUID%
; The USB_Install.CoInstallers section, including the referenced AddReg and
; CopyFiles sections, contains data and instructions to install the WinUSB and
; KMDF co installers and associate them with the device. Most USB devices can
; use these sections and directives without modification.
[USB_Install.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=CoInstallers_CopyFiles
[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01009.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"
[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll
[DestinationDirs]
CoInstallers_CopyFiles=11
; =============== Source Media Section ================
; The x86 and x64 versions of Windows have separate co installers. This example
; stores them on the installation disk in folders that are named x86 and amd64
[SourceDisksNames]
1 = %DiskName%,,,\x86
2 = %DiskName%,,,\amd64
[SourceDisksFiles.x86]
WinUSBCoInstaller2.dll=1
WdfCoInstaller01009.dll=1
[SourceDisksFiles.amd64]
WinUSBCoInstaller2.dll=2
WdfCoInstaller01009.dll=2