Changed Still Image Host class driver to auto-fill TransactionID element of sent headers depending on the current session state.

CDC based demos and project now work under 64 bit versions of Windows (thanks to Ronny Hanson, Thomas Bleeker).

The Benito Programmer project now has its own unique VID/PID pair allocated from the Atmel donated LUFA VID/PID pool.
pull/1469/head
Dean Camera 15 years ago
parent 6783bc4594
commit 064e6a2f32

@ -1,55 +1,106 @@
; Windows LUFA CDC Setup File ;************************************************************
; Windows USB CDC ACM Setup File
; Copyright (c) 2000 Microsoft Corporation ; Copyright (c) 2000 Microsoft Corporation
[Version]
Signature="$Windows NT$" [Version]
Signature="$Windows NT$"
Class=Ports Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%COMPANY% Provider=%MFGNAME%
LayoutFile=layout.inf LayoutFile=layout.inf
DriverVer=06/06/2006,1.0.0.0 CatalogFile=%MFGFILENAME%.cat
DriverVer=11/15/2007,5.1.2600.0
[Manufacturer] [Manufacturer]
%MFGNAME% = ManufName %MFGNAME%=DeviceList, NTamd64
[DestinationDirs] [DestinationDirs]
DefaultDestDir=12 DefaultDestDir=12
[ManufName]
%Modem3% = Modem3, USB\VID_03EB&PID_204A
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Windows 2000/XP Sections ; Windows 2000/XP/Vista-32bit Sections
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
[Modem3.nt] [DriverInstall.nt]
CopyFiles=USBModemCopyFileSection include=mdmcpq.inf
AddReg=Modem3.nt.AddReg CopyFiles=DriverCopyFiles.nt
AddReg=DriverInstall.nt.AddReg
[USBModemCopyFileSection] [DriverCopyFiles.nt]
usbser.sys,,,0x20 usbser.sys,,,0x20
[Modem3.nt.AddReg] [DriverInstall.nt.AddReg]
HKR,,DevLoader,,*ntkern HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[Modem3.nt.Services] [DriverInstall.nt.Services]
AddService=usbser, 0x00000002, DriverService AddService=usbser, 0x00000002, DriverService.nt
[DriverService] [DriverService.nt]
DisplayName=%SERVICE% DisplayName=%SERVICE%
ServiceType=1 ServiceType=1
StartType=3 StartType=3
ErrorControl=1 ErrorControl=1
ServiceBinary=%12%\usbser.sys ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; String Definitions ; Vista-64bit Sections
;------------------------------------------------------------------------------
[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NTamd64
AddReg=DriverInstall.NTamd64.AddReg
[DriverCopyFiles.NTamd64]
%DRIVERFILENAME%.sys,,,0x20
[DriverInstall.NTamd64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.NTamd64.Services]
AddService=usbser, 0x00000002, DriverService.NTamd64
[DriverService.NTamd64]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Vendor and Product ID Definitions
;------------------------------------------------------------------------------
; When developing your USB device, the VID and PID used in the PC side
; application program and the firmware on the microcontroller must match.
; Modify the below line to use your VID and PID. Use the format as shown below.
; 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.
;------------------------------------------------------------------------------
[SourceDisksFiles]
[SourceDisksNames]
[DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204A
[DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204A
[Strings]
COMPANY="LUFA Library" ;------------------------------------------------------------------------------
MFGNAME="Dean Camera" ; String Definitions
Modem3="USB AVR109 Bootloader" ;------------------------------------------------------------------------------
SERVICE="USB Virtual Serial Port CDC Driver" ;Modify these strings to customize your device
;------------------------------------------------------------------------------
[Strings]
MFGFILENAME="CDC_vista"
DRIVERFILENAME ="usbser"
MFGNAME="CCS, Inc."
INSTDISK="LUFA CDC Bootloader Driver Installer"
DESCRIPTION="Communications Port"
SERVICE="USB RS-232 Emulation Driver"

@ -1,55 +1,106 @@
; Windows LUFA CDC Setup File ;************************************************************
; Windows USB CDC ACM Setup File
; Copyright (c) 2000 Microsoft Corporation ; Copyright (c) 2000 Microsoft Corporation
[Version]
Signature="$Windows NT$" [Version]
Signature="$Windows NT$"
Class=Ports Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%COMPANY% Provider=%MFGNAME%
LayoutFile=layout.inf LayoutFile=layout.inf
DriverVer=06/06/2006,1.0.0.0 CatalogFile=%MFGFILENAME%.cat
DriverVer=11/15/2007,5.1.2600.0
[Manufacturer] [Manufacturer]
%MFGNAME% = ManufName %MFGNAME%=DeviceList, NTamd64
[DestinationDirs] [DestinationDirs]
DefaultDestDir=12 DefaultDestDir=12
[ManufName]
%Modem3% = Modem3, USB\VID_03EB&PID_2044
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Windows 2000/XP Sections ; Windows 2000/XP/Vista-32bit Sections
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
[Modem3.nt] [DriverInstall.nt]
CopyFiles=USBModemCopyFileSection include=mdmcpq.inf
AddReg=Modem3.nt.AddReg CopyFiles=DriverCopyFiles.nt
AddReg=DriverInstall.nt.AddReg
[USBModemCopyFileSection] [DriverCopyFiles.nt]
usbser.sys,,,0x20 usbser.sys,,,0x20
[Modem3.nt.AddReg] [DriverInstall.nt.AddReg]
HKR,,DevLoader,,*ntkern HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[Modem3.nt.Services] [DriverInstall.nt.Services]
AddService=usbser, 0x00000002, DriverService AddService=usbser, 0x00000002, DriverService.nt
[DriverService] [DriverService.nt]
DisplayName=%SERVICE% DisplayName=%SERVICE%
ServiceType=1 ServiceType=1
StartType=3 StartType=3
ErrorControl=1 ErrorControl=1
ServiceBinary=%12%\usbser.sys ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; String Definitions ; Vista-64bit Sections
;------------------------------------------------------------------------------
[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NTamd64
AddReg=DriverInstall.NTamd64.AddReg
[DriverCopyFiles.NTamd64]
%DRIVERFILENAME%.sys,,,0x20
[DriverInstall.NTamd64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.NTamd64.Services]
AddService=usbser, 0x00000002, DriverService.NTamd64
[DriverService.NTamd64]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Vendor and Product ID Definitions
;------------------------------------------------------------------------------
; When developing your USB device, the VID and PID used in the PC side
; application program and the firmware on the microcontroller must match.
; Modify the below line to use your VID and PID. Use the format as shown below.
; 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.
;------------------------------------------------------------------------------
[SourceDisksFiles]
[SourceDisksNames]
[DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
[DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
[Strings]
COMPANY="LUFA Library" ;------------------------------------------------------------------------------
MFGNAME="Dean Camera" ; String Definitions
Modem3="USB Virtual Serial Port" ;------------------------------------------------------------------------------
SERVICE="USB Virtual Serial Port CDC Driver" ;Modify these strings to customize your device
;------------------------------------------------------------------------------
[Strings]
MFGFILENAME="CDC_vista"
DRIVERFILENAME ="usbser"
MFGNAME="CCS, Inc."
INSTDISK="LUFA CDC Driver Installer"
DESCRIPTION="Communications Port"
SERVICE="USB RS-232 Emulation Driver"

@ -1,56 +1,106 @@
; Windows LUFA Dual CDC Setup File ;************************************************************
; Windows USB CDC ACM Setup File
; Copyright (c) 2000 Microsoft Corporation ; Copyright (c) 2000 Microsoft Corporation
[Version]
Signature="$Windows NT$" [Version]
Signature="$Windows NT$"
Class=Ports Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%COMPANY% Provider=%MFGNAME%
LayoutFile=layout.inf LayoutFile=layout.inf
DriverVer=06/06/2006,1.0.0.0 CatalogFile=%MFGFILENAME%.cat
DriverVer=11/15/2007,5.1.2600.0
[Manufacturer] [Manufacturer]
%MFGNAME% = ManufName %MFGNAME%=DeviceList, NTamd64
[DestinationDirs] [DestinationDirs]
DefaultDestDir=12 DefaultDestDir=12
[ManufName]
%Modem3% = Modem3, USB\VID_03EB&PID_204E&MI_00
%Modem3% = Modem3, USB\VID_03EB&PID_204E&MI_02
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Windows 2000/XP Sections ; Windows 2000/XP/Vista-32bit Sections
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
[Modem3.nt] [DriverInstall.nt]
CopyFiles=USBModemCopyFileSection include=mdmcpq.inf
AddReg=Modem3.nt.AddReg CopyFiles=DriverCopyFiles.nt
AddReg=DriverInstall.nt.AddReg
[USBModemCopyFileSection] [DriverCopyFiles.nt]
usbser.sys,,,0x20 usbser.sys,,,0x20
[Modem3.nt.AddReg] [DriverInstall.nt.AddReg]
HKR,,DevLoader,,*ntkern HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[Modem3.nt.Services] [DriverInstall.nt.Services]
AddService=usbser, 0x00000002, DriverService AddService=usbser, 0x00000002, DriverService.nt
[DriverService] [DriverService.nt]
DisplayName=%SERVICE% DisplayName=%SERVICE%
ServiceType=1 ServiceType=1
StartType=3 StartType=3
ErrorControl=1 ErrorControl=1
ServiceBinary=%12%\usbser.sys ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; String Definitions ; Vista-64bit Sections
;------------------------------------------------------------------------------
[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NTamd64
AddReg=DriverInstall.NTamd64.AddReg
[DriverCopyFiles.NTamd64]
%DRIVERFILENAME%.sys,,,0x20
[DriverInstall.NTamd64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.NTamd64.Services]
AddService=usbser, 0x00000002, DriverService.NTamd64
[DriverService.NTamd64]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Vendor and Product ID Definitions
;------------------------------------------------------------------------------
; When developing your USB device, the VID and PID used in the PC side
; application program and the firmware on the microcontroller must match.
; Modify the below line to use your VID and PID. Use the format as shown below.
; 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.
;------------------------------------------------------------------------------
[SourceDisksFiles]
[SourceDisksNames]
[DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204E&MI_00, USB\VID_03EB&PID_204E&MI_02
[DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204E&MI_00, USB\VID_03EB&PID_204E&MI_02
[Strings]
COMPANY="LUFA Library" ;------------------------------------------------------------------------------
MFGNAME="Dean Camera" ; String Definitions
Modem3="USB Virtual Serial Port" ;------------------------------------------------------------------------------
SERVICE="USB Virtual Serial Port CDC Driver" ;Modify these strings to customize your device
;------------------------------------------------------------------------------
[Strings]
MFGFILENAME="CDC_vista"
DRIVERFILENAME ="usbser"
MFGNAME="CCS, Inc."
INSTDISK="LUFA Dual CDC Driver Installer"
DESCRIPTION="Communications Port"
SERVICE="USB RS-232 Emulation Driver"

@ -1,55 +1,106 @@
; Windows LUFA USB to Serial Setup File ;************************************************************
; Windows USB CDC ACM Setup File
; Copyright (c) 2000 Microsoft Corporation ; Copyright (c) 2000 Microsoft Corporation
[Version]
Signature="$Windows NT$" [Version]
Signature="$Windows NT$"
Class=Ports Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%COMPANY% Provider=%MFGNAME%
LayoutFile=layout.inf LayoutFile=layout.inf
DriverVer=06/06/2006,1.0.0.0 CatalogFile=%MFGFILENAME%.cat
DriverVer=11/15/2007,5.1.2600.0
[Manufacturer] [Manufacturer]
%MFGNAME% = ManufName %MFGNAME%=DeviceList, NTamd64
[DestinationDirs] [DestinationDirs]
DefaultDestDir=12 DefaultDestDir=12
[ManufName]
%Modem3% = Modem3, USB\VID_03EB&PID_204B
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Windows 2000/XP Sections ; Windows 2000/XP/Vista-32bit Sections
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
[Modem3.nt] [DriverInstall.nt]
CopyFiles=USBModemCopyFileSection include=mdmcpq.inf
AddReg=Modem3.nt.AddReg CopyFiles=DriverCopyFiles.nt
AddReg=DriverInstall.nt.AddReg
[USBModemCopyFileSection] [DriverCopyFiles.nt]
usbser.sys,,,0x20 usbser.sys,,,0x20
[Modem3.nt.AddReg] [DriverInstall.nt.AddReg]
HKR,,DevLoader,,*ntkern HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[Modem3.nt.Services] [DriverInstall.nt.Services]
AddService=usbser, 0x00000002, DriverService AddService=usbser, 0x00000002, DriverService.nt
[DriverService] [DriverService.nt]
DisplayName=%SERVICE% DisplayName=%SERVICE%
ServiceType=1 ServiceType=1
StartType=3 StartType=3
ErrorControl=1 ErrorControl=1
ServiceBinary=%12%\usbser.sys ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; String Definitions ; Vista-64bit Sections
;------------------------------------------------------------------------------
[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NTamd64
AddReg=DriverInstall.NTamd64.AddReg
[DriverCopyFiles.NTamd64]
%DRIVERFILENAME%.sys,,,0x20
[DriverInstall.NTamd64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.NTamd64.Services]
AddService=usbser, 0x00000002, DriverService.NTamd64
[DriverService.NTamd64]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Vendor and Product ID Definitions
;------------------------------------------------------------------------------
; When developing your USB device, the VID and PID used in the PC side
; application program and the firmware on the microcontroller must match.
; Modify the below line to use your VID and PID. Use the format as shown below.
; 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.
;------------------------------------------------------------------------------
[SourceDisksFiles]
[SourceDisksNames]
[DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204B
[DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204B
[Strings]
COMPANY="LUFA Library" ;------------------------------------------------------------------------------
MFGNAME="Dean Camera" ; String Definitions
Modem3="USB Virtual Serial Port" ;------------------------------------------------------------------------------
SERVICE="USB Virtual Serial Port CDC Driver" ;Modify these strings to customize your device
;------------------------------------------------------------------------------
[Strings]
MFGFILENAME="CDC_vista"
DRIVERFILENAME ="usbser"
MFGNAME="CCS, Inc."
INSTDISK="LUFA USB-RS232 CDC Driver Installer"
DESCRIPTION="Communications Port"
SERVICE="USB RS-232 Emulation Driver"

@ -1,55 +1,106 @@
; Windows LUFA CDC Setup File ;************************************************************
; Windows USB CDC ACM Setup File
; Copyright (c) 2000 Microsoft Corporation ; Copyright (c) 2000 Microsoft Corporation
[Version]
Signature="$Windows NT$" [Version]
Signature="$Windows NT$"
Class=Ports Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%COMPANY% Provider=%MFGNAME%
LayoutFile=layout.inf LayoutFile=layout.inf
DriverVer=06/06/2006,1.0.0.0 CatalogFile=%MFGFILENAME%.cat
DriverVer=11/15/2007,5.1.2600.0
[Manufacturer] [Manufacturer]
%MFGNAME% = ManufName %MFGNAME%=DeviceList, NTamd64
[DestinationDirs] [DestinationDirs]
DefaultDestDir=12 DefaultDestDir=12
[ManufName]
%Modem3% = Modem3, USB\VID_03EB&PID_2044
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Windows 2000/XP Sections ; Windows 2000/XP/Vista-32bit Sections
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
[Modem3.nt] [DriverInstall.nt]
CopyFiles=USBModemCopyFileSection include=mdmcpq.inf
AddReg=Modem3.nt.AddReg CopyFiles=DriverCopyFiles.nt
AddReg=DriverInstall.nt.AddReg
[USBModemCopyFileSection] [DriverCopyFiles.nt]
usbser.sys,,,0x20 usbser.sys,,,0x20
[Modem3.nt.AddReg] [DriverInstall.nt.AddReg]
HKR,,DevLoader,,*ntkern HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[Modem3.nt.Services] [DriverInstall.nt.Services]
AddService=usbser, 0x00000002, DriverService AddService=usbser, 0x00000002, DriverService.nt
[DriverService] [DriverService.nt]
DisplayName=%SERVICE% DisplayName=%SERVICE%
ServiceType=1 ServiceType=1
StartType=3 StartType=3
ErrorControl=1 ErrorControl=1
ServiceBinary=%12%\usbser.sys ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; String Definitions ; Vista-64bit Sections
;------------------------------------------------------------------------------
[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NTamd64
AddReg=DriverInstall.NTamd64.AddReg
[DriverCopyFiles.NTamd64]
%DRIVERFILENAME%.sys,,,0x20
[DriverInstall.NTamd64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.NTamd64.Services]
AddService=usbser, 0x00000002, DriverService.NTamd64
[DriverService.NTamd64]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Vendor and Product ID Definitions
;------------------------------------------------------------------------------
; When developing your USB device, the VID and PID used in the PC side
; application program and the firmware on the microcontroller must match.
; Modify the below line to use your VID and PID. Use the format as shown below.
; 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.
;------------------------------------------------------------------------------
[SourceDisksFiles]
[SourceDisksNames]
[DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
[DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
[Strings]
COMPANY="LUFA Library" ;------------------------------------------------------------------------------
MFGNAME="Dean Camera" ; String Definitions
Modem3="USB Virtual Serial Port" ;------------------------------------------------------------------------------
SERVICE="USB Virtual Serial Port CDC Driver" ;Modify these strings to customize your device
;------------------------------------------------------------------------------
[Strings]
MFGFILENAME="CDC_vista"
DRIVERFILENAME ="usbser"
MFGNAME="CCS, Inc."
INSTDISK="LUFA CDC Driver Installer"
DESCRIPTION="Communications Port"
SERVICE="USB RS-232 Emulation Driver"

@ -1,56 +1,106 @@
; Windows LUFA Dual CDC Setup File ;************************************************************
; Windows USB CDC ACM Setup File
; Copyright (c) 2000 Microsoft Corporation ; Copyright (c) 2000 Microsoft Corporation
[Version]
Signature="$Windows NT$" [Version]
Signature="$Windows NT$"
Class=Ports Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%COMPANY% Provider=%MFGNAME%
LayoutFile=layout.inf LayoutFile=layout.inf
DriverVer=06/06/2006,1.0.0.0 CatalogFile=%MFGFILENAME%.cat
DriverVer=11/15/2007,5.1.2600.0
[Manufacturer] [Manufacturer]
%MFGNAME% = ManufName %MFGNAME%=DeviceList, NTamd64
[DestinationDirs] [DestinationDirs]
DefaultDestDir=12 DefaultDestDir=12
[ManufName]
%Modem3% = Modem3, USB\VID_03EB&PID_204E&MI_00
%Modem3% = Modem3, USB\VID_03EB&PID_204E&MI_02
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Windows 2000/XP Sections ; Windows 2000/XP/Vista-32bit Sections
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
[Modem3.nt] [DriverInstall.nt]
CopyFiles=USBModemCopyFileSection include=mdmcpq.inf
AddReg=Modem3.nt.AddReg CopyFiles=DriverCopyFiles.nt
AddReg=DriverInstall.nt.AddReg
[USBModemCopyFileSection] [DriverCopyFiles.nt]
usbser.sys,,,0x20 usbser.sys,,,0x20
[Modem3.nt.AddReg] [DriverInstall.nt.AddReg]
HKR,,DevLoader,,*ntkern HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[Modem3.nt.Services] [DriverInstall.nt.Services]
AddService=usbser, 0x00000002, DriverService AddService=usbser, 0x00000002, DriverService.nt
[DriverService] [DriverService.nt]
DisplayName=%SERVICE% DisplayName=%SERVICE%
ServiceType=1 ServiceType=1
StartType=3 StartType=3
ErrorControl=1 ErrorControl=1
ServiceBinary=%12%\usbser.sys ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; String Definitions ; Vista-64bit Sections
;------------------------------------------------------------------------------
[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NTamd64
AddReg=DriverInstall.NTamd64.AddReg
[DriverCopyFiles.NTamd64]
%DRIVERFILENAME%.sys,,,0x20
[DriverInstall.NTamd64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.NTamd64.Services]
AddService=usbser, 0x00000002, DriverService.NTamd64
[DriverService.NTamd64]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Vendor and Product ID Definitions
;------------------------------------------------------------------------------
; When developing your USB device, the VID and PID used in the PC side
; application program and the firmware on the microcontroller must match.
; Modify the below line to use your VID and PID. Use the format as shown below.
; 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.
;------------------------------------------------------------------------------
[SourceDisksFiles]
[SourceDisksNames]
[DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204E&MI_00, USB\VID_03EB&PID_204E&MI_02
[DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204E&MI_00, USB\VID_03EB&PID_204E&MI_02
[Strings]
COMPANY="LUFA Library" ;------------------------------------------------------------------------------
MFGNAME="Dean Camera" ; String Definitions
Modem3="USB Virtual Serial Port" ;------------------------------------------------------------------------------
SERVICE="USB Virtual Serial Port CDC Driver" ;Modify these strings to customize your device
;------------------------------------------------------------------------------
[Strings]
MFGFILENAME="CDC_vista"
DRIVERFILENAME ="usbser"
MFGNAME="CCS, Inc."
INSTDISK="LUFA Dual CDC Driver Installer"
DESCRIPTION="Communications Port"
SERVICE="USB RS-232 Emulation Driver"

@ -1,55 +1,106 @@
; Windows LUFA USB to Serial Setup File ;************************************************************
; Windows USB CDC ACM Setup File
; Copyright (c) 2000 Microsoft Corporation ; Copyright (c) 2000 Microsoft Corporation
[Version]
Signature="$Windows NT$" [Version]
Signature="$Windows NT$"
Class=Ports Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%COMPANY% Provider=%MFGNAME%
LayoutFile=layout.inf LayoutFile=layout.inf
DriverVer=06/06/2006,1.0.0.0 CatalogFile=%MFGFILENAME%.cat
DriverVer=11/15/2007,5.1.2600.0
[Manufacturer] [Manufacturer]
%MFGNAME% = ManufName %MFGNAME%=DeviceList, NTamd64
[DestinationDirs] [DestinationDirs]
DefaultDestDir=12 DefaultDestDir=12
[ManufName]
%Modem3% = Modem3, USB\VID_03EB&PID_204B
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Windows 2000/XP Sections ; Windows 2000/XP/Vista-32bit Sections
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
[Modem3.nt] [DriverInstall.nt]
CopyFiles=USBModemCopyFileSection include=mdmcpq.inf
AddReg=Modem3.nt.AddReg CopyFiles=DriverCopyFiles.nt
AddReg=DriverInstall.nt.AddReg
[USBModemCopyFileSection] [DriverCopyFiles.nt]
usbser.sys,,,0x20 usbser.sys,,,0x20
[Modem3.nt.AddReg] [DriverInstall.nt.AddReg]
HKR,,DevLoader,,*ntkern HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[Modem3.nt.Services] [DriverInstall.nt.Services]
AddService=usbser, 0x00000002, DriverService AddService=usbser, 0x00000002, DriverService.nt
[DriverService] [DriverService.nt]
DisplayName=%SERVICE% DisplayName=%SERVICE%
ServiceType=1 ServiceType=1
StartType=3 StartType=3
ErrorControl=1 ErrorControl=1
ServiceBinary=%12%\usbser.sys ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; String Definitions ; Vista-64bit Sections
;------------------------------------------------------------------------------
[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NTamd64
AddReg=DriverInstall.NTamd64.AddReg
[DriverCopyFiles.NTamd64]
%DRIVERFILENAME%.sys,,,0x20
[DriverInstall.NTamd64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.NTamd64.Services]
AddService=usbser, 0x00000002, DriverService.NTamd64
[DriverService.NTamd64]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Vendor and Product ID Definitions
;------------------------------------------------------------------------------
; When developing your USB device, the VID and PID used in the PC side
; application program and the firmware on the microcontroller must match.
; Modify the below line to use your VID and PID. Use the format as shown below.
; 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.
;------------------------------------------------------------------------------
[SourceDisksFiles]
[SourceDisksNames]
[DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204B
[DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204B
[Strings]
COMPANY="LUFA Library" ;------------------------------------------------------------------------------
MFGNAME="Dean Camera" ; String Definitions
Modem3="USB Virtual Serial Port" ;------------------------------------------------------------------------------
SERVICE="USB Virtual Serial Port CDC Driver" ;Modify these strings to customize your device
;------------------------------------------------------------------------------
[Strings]
MFGFILENAME="CDC_vista"
DRIVERFILENAME ="usbser"
MFGNAME="CCS, Inc."
INSTDISK="LUFA USB-RS232 CDC Driver Installer"
DESCRIPTION="Communications Port"
SERVICE="USB RS-232 Emulation Driver"

@ -110,6 +110,10 @@ int main(void)
break; break;
} }
printf("Turning off Device...\r\n");
SImage_Host_SendCommand(&DigitalCamera_SI_Interface, 0x1013, 0, 0, 0, 0, NULL);
printf("Device Off.\r\n");
printf("Closing Session...\r\n"); printf("Closing Session...\r\n");
if (SImage_Host_CloseSession(&DigitalCamera_SI_Interface) != PIPE_RWSTREAM_NoError) if (SImage_Host_CloseSession(&DigitalCamera_SI_Interface) != PIPE_RWSTREAM_NoError)
@ -119,8 +123,6 @@ int main(void)
break; break;
} }
printf("Device Idle.\r\n");
LEDs_SetAllLEDs(LEDMASK_USB_READY); LEDs_SetAllLEDs(LEDMASK_USB_READY);
USB_HostState = HOST_STATE_WaitForDeviceRemoval; USB_HostState = HOST_STATE_WaitForDeviceRemoval;
break; break;

@ -153,10 +153,7 @@ static uint8_t SImage_Host_SendBlockHeader(USB_ClassInfo_SI_Host_t* SIInterfaceI
{ {
uint8_t ErrorCode; uint8_t ErrorCode;
if (SIInterfaceInfo->State.IsSessionOpen) PIMAHeader->TransactionID = SIInterfaceInfo->State.TransactionID++;
PIMAHeader->TransactionID = SIInterfaceInfo->State.TransactionID++;
else
PIMAHeader->TransactionID = 0;
Pipe_SelectPipe(SIInterfaceInfo->Config.DataOUTPipeNumber); Pipe_SelectPipe(SIInterfaceInfo->Config.DataOUTPipeNumber);
Pipe_Unfreeze(); Pipe_Unfreeze();
@ -164,15 +161,12 @@ static uint8_t SImage_Host_SendBlockHeader(USB_ClassInfo_SI_Host_t* SIInterfaceI
if ((ErrorCode = Pipe_Write_Stream_LE(PIMAHeader, PIMA_COMMAND_SIZE(0), NO_STREAM_CALLBACK)) != PIPE_RWSTREAM_NoError) if ((ErrorCode = Pipe_Write_Stream_LE(PIMAHeader, PIMA_COMMAND_SIZE(0), NO_STREAM_CALLBACK)) != PIPE_RWSTREAM_NoError)
return ErrorCode; return ErrorCode;
if (PIMAHeader->Type == CType_CommandBlock) uint8_t ParamBytes = (PIMAHeader->DataLength - PIMA_COMMAND_SIZE(0));
{
uint8_t ParamBytes = (PIMAHeader->DataLength - PIMA_COMMAND_SIZE(0));
if (ParamBytes) if (ParamBytes)
{ {
if ((ErrorCode = Pipe_Write_Stream_LE(&PIMAHeader->Params, ParamBytes, NO_STREAM_CALLBACK)) != PIPE_RWSTREAM_NoError) if ((ErrorCode = Pipe_Write_Stream_LE(&PIMAHeader->Params, ParamBytes, NO_STREAM_CALLBACK)) != PIPE_RWSTREAM_NoError)
return ErrorCode; return ErrorCode;
}
} }
Pipe_ClearOUT(); Pipe_ClearOUT();
@ -318,14 +312,13 @@ uint8_t SImage_Host_OpenSession(USB_ClassInfo_SI_Host_t* SIInterfaceInfo)
.Params = {}, .Params = {},
}; };
SIInterfaceInfo->State.TransactionID = 1;
if ((ErrorCode = SImage_Host_SendBlockHeader(SIInterfaceInfo, &PIMABlock)) != PIPE_RWSTREAM_NoError) if ((ErrorCode = SImage_Host_SendBlockHeader(SIInterfaceInfo, &PIMABlock)) != PIPE_RWSTREAM_NoError)
return ErrorCode; return ErrorCode;
if ((ErrorCode = SImage_Host_ReceiveBlockHeader(SIInterfaceInfo, &PIMABlock)) != PIPE_RWSTREAM_NoError) if ((ErrorCode = SImage_Host_ReceiveBlockHeader(SIInterfaceInfo, &PIMABlock)) != PIPE_RWSTREAM_NoError)
return ErrorCode; return ErrorCode;
SIInterfaceInfo->State.TransactionID = 0;
SIInterfaceInfo->State.IsSessionOpen = true; SIInterfaceInfo->State.IsSessionOpen = true;
return PIPE_RWSTREAM_NoError; return PIPE_RWSTREAM_NoError;
@ -354,6 +347,37 @@ uint8_t SImage_Host_CloseSession(USB_ClassInfo_SI_Host_t* SIInterfaceInfo)
SIInterfaceInfo->State.IsSessionOpen = false; SIInterfaceInfo->State.IsSessionOpen = false;
if ((PIMABlock.Type != CType_ResponseBlock) || (PIMABlock.Code != 0x2001))
return SI_ERROR_LOGICAL_CMD_FAILED;
return PIPE_RWSTREAM_NoError;
}
uint8_t SImage_Host_SendCommand(USB_ClassInfo_SI_Host_t* SIInterfaceInfo, uint16_t Operation, uint8_t UsedParams,
uint32_t Param1, uint32_t Param2, uint32_t Param3, void* DataBuff)
{
if ((USB_HostState != HOST_STATE_Configured) || !(SIInterfaceInfo->State.IsActive))
return HOST_SENDCONTROL_DeviceDisconnect;
uint8_t ErrorCode;
SI_PIMA_Container_t PIMABlock = (SI_PIMA_Container_t)
{
.DataLength = PIMA_COMMAND_SIZE(UsedParams),
.Type = CType_CommandBlock,
.Code = Operation,
.Params = {Param1, Param2, Param3},
};
if ((ErrorCode = SImage_Host_SendBlockHeader(SIInterfaceInfo, &PIMABlock)) != PIPE_RWSTREAM_NoError)
return ErrorCode;
if ((ErrorCode = SImage_Host_ReceiveBlockHeader(SIInterfaceInfo, &PIMABlock)) != PIPE_RWSTREAM_NoError)
return ErrorCode;
if ((PIMABlock.Type != CType_ResponseBlock) || (PIMABlock.Code != 0x2001))
return SI_ERROR_LOGICAL_CMD_FAILED;
return PIPE_RWSTREAM_NoError; return PIPE_RWSTREAM_NoError;
} }

@ -54,6 +54,9 @@
#endif #endif
/* Public Interface - May be used in end-application: */ /* Public Interface - May be used in end-application: */
/* Macros: */
#define SI_ERROR_LOGICAL_CMD_FAILED 0xC0
/* Type Defines: */ /* Type Defines: */
typedef struct typedef struct
{ {
@ -125,6 +128,9 @@
uint8_t SImage_Host_OpenSession(USB_ClassInfo_SI_Host_t* SIInterfaceInfo); uint8_t SImage_Host_OpenSession(USB_ClassInfo_SI_Host_t* SIInterfaceInfo);
uint8_t SImage_Host_CloseSession(USB_ClassInfo_SI_Host_t* SIInterfaceInfo); uint8_t SImage_Host_CloseSession(USB_ClassInfo_SI_Host_t* SIInterfaceInfo);
uint8_t SImage_Host_SendCommand(USB_ClassInfo_SI_Host_t* SIInterfaceInfo, uint16_t Operation, uint8_t UsedParams,
uint32_t Param1, uint32_t Param2, uint32_t Param3, void* DataBuff);
/* Private Interface - For use in library only: */ /* Private Interface - For use in library only: */
#if !defined(__DOXYGEN__) #if !defined(__DOXYGEN__)

@ -36,6 +36,7 @@
* - Changed HIDParser to only zero out important values in the Parsed HID Report Item Information structure to save cycles * - Changed HIDParser to only zero out important values in the Parsed HID Report Item Information structure to save cycles
* - The HID report parser now always processed FEATURE items - HID_ENABLE_FEATURE_PROCESSING token now has no effect * - The HID report parser now always processed FEATURE items - HID_ENABLE_FEATURE_PROCESSING token now has no effect
* - The HID report parser now always ignores constant-data items, HID_INCLUDE_CONSTANT_DATA_ITEMS token now has no effect * - The HID report parser now always ignores constant-data items, HID_INCLUDE_CONSTANT_DATA_ITEMS token now has no effect
* - The Benito Programmer project now has its own unique VID/PID pair allocated from the Atmel donated LUFA VID/PID pool
* *
* <b>Fixed:</b> * <b>Fixed:</b>
* - Fixed possible lockup in the CDC device class driver, when the host sends data that is a multiple of the * - Fixed possible lockup in the CDC device class driver, when the host sends data that is a multiple of the
@ -54,6 +55,7 @@
* routine, so that ignored callbacks don't cause incorrect data to be sent * routine, so that ignored callbacks don't cause incorrect data to be sent
* - Fixed StillImageHost not correctly freezing and unfreezing data pipes while waiting for a response block header * - Fixed StillImageHost not correctly freezing and unfreezing data pipes while waiting for a response block header
* - Fixed error in PrinterHost preventing the full page data from being sent to the attached device * - Fixed error in PrinterHost preventing the full page data from being sent to the attached device
* - CDC based demos and project now work under 64 bit versions of Windows (thanks to Ronny Hanson, Thomas Bleeker)
* *
* *
* \section Sec_ChangeLog090810 Version 090810 * \section Sec_ChangeLog090810 Version 090810

@ -33,6 +33,7 @@
* - Bicycle POV: http://www.code.google.com/p/bicycleledpov/ * - Bicycle POV: http://www.code.google.com/p/bicycleledpov/
* - CAMTRIG, a remote Camera Trigger device: http://code.astraw.com/projects/motmot/camtrig * - CAMTRIG, a remote Camera Trigger device: http://code.astraw.com/projects/motmot/camtrig
* - "Fingerlicking Wingdinger" (WARNING: Bad Language if no Javascript), a MIDI controller - http://noisybox.net/electronics/wingdinger/ * - "Fingerlicking Wingdinger" (WARNING: Bad Language if no Javascript), a MIDI controller - http://noisybox.net/electronics/wingdinger/
* - Garmin GPS USB to NMEA standard serial sentence translator: http://github.com/nall/garmin-transmogrifier/tree/master
* - Opendous-JTAG, an open source JTAG device: http://code.google.com/p/opendous-jtag/ * - Opendous-JTAG, an open source JTAG device: http://code.google.com/p/opendous-jtag/
* - Openkubus, an open source hardware-based authentication dongle: http://code.google.com/p/openkubus/ * - Openkubus, an open source hardware-based authentication dongle: http://code.google.com/p/openkubus/
* - Orbee, a USB connected RGB Orb for notifications: http://www.franksworkshop.com.au/Electronics/Orbee/Orbee.htm * - Orbee, a USB connected RGB Orb for notifications: http://www.franksworkshop.com.au/Electronics/Orbee/Orbee.htm
@ -51,4 +52,5 @@
* - ARPS Locator: http://la3t.hamradio.no/lab//?id=tracker_en * - ARPS Locator: http://la3t.hamradio.no/lab//?id=tracker_en
* - Digital Survey Instruments Magnetometer and Pointer: http://www.digitalsurveyinstruments.com/ * - Digital Survey Instruments Magnetometer and Pointer: http://www.digitalsurveyinstruments.com/
* - Lightweight CC110x USB dongle for 868MHz Protocols: http://busware.de/tiki-index.php?page=CUL * - Lightweight CC110x USB dongle for 868MHz Protocols: http://busware.de/tiki-index.php?page=CUL
* - BAP, A tiny LUFA based AVR Programmer: http://www.busware.de/tiki-index.php?page=BAP
*/ */

@ -228,7 +228,7 @@
* 0x2060 * 0x2060
* </td> * </td>
* <td> * <td>
* <i>Currently Unallocated</i> * <i>Benito Programmer Project</i>
* </td> * </td>
* </tr> * </tr>
* *

@ -1,55 +1,106 @@
; Windows LUFA USB to Serial Setup File ;************************************************************
; Windows USB CDC ACM Setup File
; Copyright (c) 2000 Microsoft Corporation ; Copyright (c) 2000 Microsoft Corporation
[Version]
Signature="$Windows NT$" [Version]
Signature="$Windows NT$"
Class=Ports Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%COMPANY% Provider=%MFGNAME%
LayoutFile=layout.inf LayoutFile=layout.inf
DriverVer=06/06/2006,1.0.0.0 CatalogFile=%MFGFILENAME%.cat
DriverVer=11/15/2007,5.1.2600.0
[Manufacturer] [Manufacturer]
%MFGNAME% = ManufName %MFGNAME%=DeviceList, NTamd64
[DestinationDirs] [DestinationDirs]
DefaultDestDir=12 DefaultDestDir=12
[ManufName]
%Modem3% = Modem3, USB\VID_03EB&PID_204B
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Windows 2000/XP Sections ; Windows 2000/XP/Vista-32bit Sections
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
[Modem3.nt] [DriverInstall.nt]
CopyFiles=USBModemCopyFileSection include=mdmcpq.inf
AddReg=Modem3.nt.AddReg CopyFiles=DriverCopyFiles.nt
AddReg=DriverInstall.nt.AddReg
[USBModemCopyFileSection] [DriverCopyFiles.nt]
usbser.sys,,,0x20 usbser.sys,,,0x20
[Modem3.nt.AddReg] [DriverInstall.nt.AddReg]
HKR,,DevLoader,,*ntkern HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[Modem3.nt.Services] [DriverInstall.nt.Services]
AddService=usbser, 0x00000002, DriverService AddService=usbser, 0x00000002, DriverService.nt
[DriverService] [DriverService.nt]
DisplayName=%SERVICE% DisplayName=%SERVICE%
ServiceType=1 ServiceType=1
StartType=3 StartType=3
ErrorControl=1 ErrorControl=1
ServiceBinary=%12%\usbser.sys ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; String Definitions ; Vista-64bit Sections
;------------------------------------------------------------------------------
[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NTamd64
AddReg=DriverInstall.NTamd64.AddReg
[DriverCopyFiles.NTamd64]
%DRIVERFILENAME%.sys,,,0x20
[DriverInstall.NTamd64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.NTamd64.Services]
AddService=usbser, 0x00000002, DriverService.NTamd64
[DriverService.NTamd64]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Vendor and Product ID Definitions
;------------------------------------------------------------------------------
; When developing your USB device, the VID and PID used in the PC side
; application program and the firmware on the microcontroller must match.
; Modify the below line to use your VID and PID. Use the format as shown below.
; 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.
;------------------------------------------------------------------------------
[SourceDisksFiles]
[SourceDisksNames]
[DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2060
[DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2060
[Strings]
COMPANY="LUFA Library" ;------------------------------------------------------------------------------
MFGNAME="Dean Camera" ; String Definitions
Modem3="USB Virtual Serial Port" ;------------------------------------------------------------------------------
SERVICE="USB Virtual Serial Port CDC Driver" ;Modify these strings to customize your device
;------------------------------------------------------------------------------
[Strings]
MFGFILENAME="CDC_vista"
DRIVERFILENAME ="usbser"
MFGNAME="CCS, Inc."
INSTDISK="LUFA Benito Programmer Driver Installer"
DESCRIPTION="Communications Port"
SERVICE="USB RS-232 Emulation Driver"

@ -54,8 +54,8 @@ USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.Endpoint0Size = FIXED_CONTROL_ENDPOINT_SIZE, .Endpoint0Size = FIXED_CONTROL_ENDPOINT_SIZE,
.VendorID = 0x03EB, .VendorID = 0x03EB,
.ProductID = 0x204B, .ProductID = 0x2060,
.ReleaseNumber = 0x0001, .ReleaseNumber = 0x0000,
.ManufacturerStrIndex = 0x01, .ManufacturerStrIndex = 0x01,
.ProductStrIndex = 0x02, .ProductStrIndex = 0x02,

Loading…
Cancel
Save