Commit 10944d9d authored by Dean Camera's avatar Dean Camera
Browse files

Update CDC driver INF files so that they should work even on systems without...

Update CDC driver INF files so that they should work even on systems without usbser.sys extracted by default (see MS KB entry 837637).
parent 8881e5a5
;************************************************************ ;************************************************************
; Windows USB CDC ACM Setup File ; Windows USB CDC ACM Setup File
; Copyright (c) 2000 Microsoft Corporation ; Copyright (c) 2000 Microsoft Corporation
;************************************************************
[Version] [Version]
Signature="$Windows NT$" Signature="$Windows NT$"
Class=Ports Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MFGNAME% Provider=%MFGNAME%
LayoutFile=layout.inf DriverVer=7/1/2012,10.0.0.0
CatalogFile=%MFGFILENAME%.cat
DriverVer=11/15/2007,5.1.2600.0
[Manufacturer] [Manufacturer]
%MFGNAME%=DeviceList, NTamd64 %MFGNAME%=DeviceList, NTx86, NTamd64, NTia64
[DestinationDirs]
DefaultDestDir=12
;------------------------------------------------------------------------------
; Windows 2000/XP/Vista-32bit Sections
;------------------------------------------------------------------------------
[DriverInstall.nt]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.nt
AddReg=DriverInstall.nt.AddReg
[DriverCopyFiles.nt]
usbser.sys,,,0x20
[DriverInstall.nt.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.nt.Services] [SourceDisksNames]
AddService=usbser, 0x00000002, DriverService.nt
[DriverService.nt]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------
; Vista-64bit Sections
;------------------------------------------------------------------------------
[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NTamd64
AddReg=DriverInstall.NTamd64.AddReg
[DriverCopyFiles.NTamd64] [SourceDisksFiles]
%DRIVERFILENAME%.sys,,,0x20
[DriverInstall.NTamd64.AddReg] [DestinationDirs]
HKR,,DevLoader,,*ntkern DefaultDestDir=12
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.NTamd64.Services] [DriverInstall]
AddService=usbser, 0x00000002, DriverService.NTamd64 Include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
AddReg=DriverInstall.AddReg
[DriverService.NTamd64] [DriverInstall.Services]
DisplayName=%SERVICE% Include=mdmcpq.inf
ServiceType=1 AddService=usbser, 0x00000002, LowerFilter_Service_Inst
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys
[DriverInstall.AddReg]
HKR,,EnumPropPages32,,"msports.dll,SerialPortPropPageProvider"
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Vendor and Product ID Definitions ; Vendor and Product ID Definitions
...@@ -83,14 +41,14 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys ...@@ -83,14 +41,14 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys
; Note: One INF file can be used for multiple devices with different VID and PIDs. ; Note: One INF file can be used for multiple devices with different VID and PIDs.
; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line. ; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
[SourceDisksFiles]
[SourceDisksNames]
[DeviceList] [DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204A %DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204A
[DeviceList.NTamd64] [DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204A %DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204A
[DeviceList.NTia64]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204A
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; String Definitions ; String Definitions
...@@ -98,9 +56,5 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys ...@@ -98,9 +56,5 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys
;Modify these strings to customize your device ;Modify these strings to customize your device
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
[Strings] [Strings]
MFGFILENAME="CDC_vista"
DRIVERFILENAME ="usbser"
MFGNAME="http://www.lufa-lib.org" MFGNAME="http://www.lufa-lib.org"
INSTDISK="LUFA CDC Bootloader Driver Installer" DESCRIPTION="LUFA CDC Class Bootloader"
DESCRIPTION="Communications Port" \ No newline at end of file
SERVICE="USB RS-232 Emulation Driver"
\ No newline at end of file
;************************************************************ ;************************************************************
; Windows USB CDC ACM Setup File ; Windows USB CDC ACM Setup File
; Copyright (c) 2000 Microsoft Corporation ; Copyright (c) 2000 Microsoft Corporation
;************************************************************
[Version] [Version]
Signature="$Windows NT$" Signature="$Windows NT$"
Class=Ports Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MFGNAME% Provider=%MFGNAME%
LayoutFile=layout.inf DriverVer=7/1/2012,10.0.0.0
CatalogFile=%MFGFILENAME%.cat
DriverVer=11/15/2007,5.1.2600.0
[Manufacturer] [Manufacturer]
%MFGNAME%=DeviceList, NTamd64 %MFGNAME%=DeviceList, NTx86, NTamd64, NTia64
[DestinationDirs]
DefaultDestDir=12
;------------------------------------------------------------------------------
; Windows 2000/XP/Vista-32bit Sections
;------------------------------------------------------------------------------
[DriverInstall.nt]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.nt
AddReg=DriverInstall.nt.AddReg
[DriverCopyFiles.nt]
usbser.sys,,,0x20
[DriverInstall.nt.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.nt.Services] [SourceDisksNames]
AddService=usbser, 0x00000002, DriverService.nt
[DriverService.nt]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------
; Vista-64bit Sections
;------------------------------------------------------------------------------
[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NTamd64
AddReg=DriverInstall.NTamd64.AddReg
[DriverCopyFiles.NTamd64] [SourceDisksFiles]
%DRIVERFILENAME%.sys,,,0x20
[DriverInstall.NTamd64.AddReg] [DestinationDirs]
HKR,,DevLoader,,*ntkern DefaultDestDir=12
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.NTamd64.Services] [DriverInstall]
AddService=usbser, 0x00000002, DriverService.NTamd64 Include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
AddReg=DriverInstall.AddReg
[DriverService.NTamd64] [DriverInstall.Services]
DisplayName=%SERVICE% Include=mdmcpq.inf
ServiceType=1 AddService=usbser, 0x00000002, LowerFilter_Service_Inst
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys
[DriverInstall.AddReg]
HKR,,EnumPropPages32,,"msports.dll,SerialPortPropPageProvider"
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Vendor and Product ID Definitions ; Vendor and Product ID Definitions
...@@ -83,14 +41,14 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys ...@@ -83,14 +41,14 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys
; Note: One INF file can be used for multiple devices with different VID and PIDs. ; Note: One INF file can be used for multiple devices with different VID and PIDs.
; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line. ; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
[SourceDisksFiles]
[SourceDisksNames]
[DeviceList] [DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204E&MI_00, USB\VID_03EB&PID_204E&MI_02 %DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204E&MI_00, USB\VID_03EB&PID_204E&MI_02
[DeviceList.NTamd64] [DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204E&MI_00, USB\VID_03EB&PID_204E&MI_02 %DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204E&MI_00, USB\VID_03EB&PID_204E&MI_02
[DeviceList.NTia64]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204E&MI_00, USB\VID_03EB&PID_204E&MI_02
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; String Definitions ; String Definitions
...@@ -98,9 +56,5 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys ...@@ -98,9 +56,5 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys
;Modify these strings to customize your device ;Modify these strings to customize your device
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
[Strings] [Strings]
MFGFILENAME="CDC_vista"
DRIVERFILENAME ="usbser"
MFGNAME="http://www.lufa-lib.org" MFGNAME="http://www.lufa-lib.org"
INSTDISK="LUFA Dual CDC Driver Installer" DESCRIPTION="LUFA CDC-ACM Virtual Serial Port"
DESCRIPTION="Communications Port" \ No newline at end of file
SERVICE="USB RS-232 Emulation Driver"
\ No newline at end of file
;************************************************************ ;************************************************************
; Windows USB CDC ACM Setup File ; Windows USB CDC ACM Setup File
; Copyright (c) 2000 Microsoft Corporation ; Copyright (c) 2000 Microsoft Corporation
;************************************************************
[Version] [Version]
Signature="$Windows NT$" Signature="$Windows NT$"
Class=Ports Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MFGNAME% Provider=%MFGNAME%
LayoutFile=layout.inf DriverVer=7/1/2012,10.0.0.0
CatalogFile=%MFGFILENAME%.cat
DriverVer=11/15/2007,5.1.2600.0
[Manufacturer] [Manufacturer]
%MFGNAME%=DeviceList, NTamd64 %MFGNAME%=DeviceList, NTx86, NTamd64, NTia64
[DestinationDirs]
DefaultDestDir=12
;------------------------------------------------------------------------------
; Windows 2000/XP/Vista-32bit Sections
;------------------------------------------------------------------------------
[DriverInstall.nt]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.nt
AddReg=DriverInstall.nt.AddReg
[DriverCopyFiles.nt]
usbser.sys,,,0x20
[DriverInstall.nt.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.nt.Services] [SourceDisksNames]
AddService=usbser, 0x00000002, DriverService.nt
[DriverService.nt]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------
; Vista-64bit Sections
;------------------------------------------------------------------------------
[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NTamd64
AddReg=DriverInstall.NTamd64.AddReg
[DriverCopyFiles.NTamd64] [SourceDisksFiles]
%DRIVERFILENAME%.sys,,,0x20
[DriverInstall.NTamd64.AddReg] [DestinationDirs]
HKR,,DevLoader,,*ntkern DefaultDestDir=12
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.NTamd64.Services] [DriverInstall]
AddService=usbser, 0x00000002, DriverService.NTamd64 Include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
AddReg=DriverInstall.AddReg
[DriverService.NTamd64] [DriverInstall.Services]
DisplayName=%SERVICE% Include=mdmcpq.inf
ServiceType=1 AddService=usbser, 0x00000002, LowerFilter_Service_Inst
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys
[DriverInstall.AddReg]
HKR,,EnumPropPages32,,"msports.dll,SerialPortPropPageProvider"
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Vendor and Product ID Definitions ; Vendor and Product ID Definitions
...@@ -83,14 +41,14 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys ...@@ -83,14 +41,14 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys
; Note: One INF file can be used for multiple devices with different VID and PIDs. ; Note: One INF file can be used for multiple devices with different VID and PIDs.
; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line. ; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
[SourceDisksFiles]
[SourceDisksNames]
[DeviceList] [DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044 %DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
[DeviceList.NTamd64] [DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044 %DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
[DeviceList.NTia64]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; String Definitions ; String Definitions
...@@ -98,9 +56,5 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys ...@@ -98,9 +56,5 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys
;Modify these strings to customize your device ;Modify these strings to customize your device
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
[Strings] [Strings]
MFGFILENAME="CDC_vista"
DRIVERFILENAME ="usbser"
MFGNAME="http://www.lufa-lib.org" MFGNAME="http://www.lufa-lib.org"
INSTDISK="LUFA CDC Driver Installer" DESCRIPTION="LUFA CDC-ACM Virtual Serial Port"
DESCRIPTION="Communications Port" \ No newline at end of file
SERVICE="USB RS-232 Emulation Driver"
\ No newline at end of file
;************************************************************ ;************************************************************
; Windows USB CDC ACM Setup File ; Windows USB CDC ACM Setup File
; Copyright (c) 2000 Microsoft Corporation ; Copyright (c) 2000 Microsoft Corporation
;************************************************************
[Version] [Version]
Signature="$Windows NT$" Signature="$Windows NT$"
Class=Ports Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MFGNAME% Provider=%MFGNAME%
LayoutFile=layout.inf DriverVer=7/1/2012,10.0.0.0
CatalogFile=%MFGFILENAME%.cat
DriverVer=11/15/2007,5.1.2600.0
[Manufacturer] [Manufacturer]
%MFGNAME%=DeviceList, NTamd64 %MFGNAME%=DeviceList, NTx86, NTamd64, NTia64
[DestinationDirs]
DefaultDestDir=12
;------------------------------------------------------------------------------
; Windows 2000/XP/Vista-32bit Sections
;------------------------------------------------------------------------------
[DriverInstall.nt]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.nt
AddReg=DriverInstall.nt.AddReg
[DriverCopyFiles.nt]
usbser.sys,,,0x20
[DriverInstall.nt.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.nt.Services] [SourceDisksNames]
AddService=usbser, 0x00000002, DriverService.nt
[DriverService.nt]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------
; Vista-64bit Sections
;------------------------------------------------------------------------------
[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NTamd64
AddReg=DriverInstall.NTamd64.AddReg
[DriverCopyFiles.NTamd64] [SourceDisksFiles]
%DRIVERFILENAME%.sys,,,0x20
[DriverInstall.NTamd64.AddReg] [DestinationDirs]
HKR,,DevLoader,,*ntkern DefaultDestDir=12
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.NTamd64.Services] [DriverInstall]
AddService=usbser, 0x00000002, DriverService.NTamd64 Include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
AddReg=DriverInstall.AddReg
[DriverService.NTamd64] [DriverInstall.Services]
DisplayName=%SERVICE% Include=mdmcpq.inf
ServiceType=1 AddService=usbser, 0x00000002, LowerFilter_Service_Inst
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys
[DriverInstall.AddReg]
HKR,,EnumPropPages32,,"msports.dll,SerialPortPropPageProvider"
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Vendor and Product ID Definitions ; Vendor and Product ID Definitions
...@@ -83,14 +41,14 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys ...@@ -83,14 +41,14 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys
; Note: One INF file can be used for multiple devices with different VID and PIDs. ; Note: One INF file can be used for multiple devices with different VID and PIDs.
; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line. ; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
[SourceDisksFiles]
[SourceDisksNames]
[DeviceList] [DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2068&MI_00 %DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2068&MI_00
[DeviceList.NTamd64] [DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2068&MI_00 %DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2068&MI_00
[DeviceList.NTia64]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2068&MI_00
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; String Definitions ; String Definitions
...@@ -98,9 +56,5 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys ...@@ -98,9 +56,5 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys
;Modify these strings to customize your device ;Modify these strings to customize your device
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
[Strings] [Strings]
MFGFILENAME="CDC_vista"
DRIVERFILENAME ="usbser"
MFGNAME="http://www.lufa-lib.org" MFGNAME="http://www.lufa-lib.org"
INSTDISK="LUFA CDC/Mass Storage Driver Installer" DESCRIPTION="LUFA CDC-ACM Virtual Serial Port"
DESCRIPTION="Communications Port" \ No newline at end of file
SERVICE="USB RS-232 Emulation Driver"
\ No newline at end of file
;************************************************************ ;************************************************************
; Windows USB CDC ACM Setup File ; Windows USB CDC ACM Setup File
; Copyright (c) 2000 Microsoft Corporation ; Copyright (c) 2000 Microsoft Corporation
;************************************************************
[Version] [Version]
Signature="$Windows NT$" Signature="$Windows NT$"
Class=Ports Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MFGNAME% Provider=%MFGNAME%
LayoutFile=layout.inf DriverVer=7/1/2012,10.0.0.0
CatalogFile=%MFGFILENAME%.cat
DriverVer=11/15/2007,5.1.2600.0
[Manufacturer] [Manufacturer]
%MFGNAME%=DeviceList, NTamd64 %MFGNAME%=DeviceList, NTx86, NTamd64, NTia64
[DestinationDirs]
DefaultDestDir=12