; atmel_usb_dfu.inf
; Copyright (c) 2010 libusb-win32 (GNU LGPL)
[Strings]
VendorName   = "Atmel Corporation"
SourceName   = "DFU Install Disk"
DeviceGUID   = "{1D56CA95-D886-4388-B73B-CBAA759AD3DD}"

[Version]
Signature   = "$Windows NT$"
Class       = "Atmel USB Devices"
ClassGuid   = {EB781AAF-9C70-4523-A5DF-642A87ECA567}
Provider    = "Atmel Corporation"
CatalogFile = atmel_usb_dfu.cat
DriverVer   = 10/02/2010, 1.2.2.0

[ClassInstall32]
Addreg = libusb_class_install_add_reg

[libusb_class_install_add_reg]
HKR,,,0,"Atmel USB Devices"
HKR,,Icon,,-20

[Manufacturer]
%VendorName% = Devices, NT, NTAMD64, NTIA64

;--------------------------------------------------------------------------
; libusb-win32 files
;--------------------------------------------------------------------------

[SourceDisksNames]
1 = %SourceName%

[SourceDisksFiles.x86]
libusb0.sys     = 1,x86
libusb0_x86.dll = 1,x86

[SourceDisksFiles.amd64]
libusb0.sys     = 1,amd64
libusb0.dll     = 1,amd64
libusb0_x86.dll = 1,x86

[SourceDisksFiles.ia64]
libusb0.sys     = 1,ia64
libusb0.dll     = 1,ia64
libusb0_x86.dll = 1,x86

[DestinationDirs]
libusb_files_sys       = 10,system32\drivers
libusb_files_dll       = 10,system32
libusb_files_dll_wow64 = 10,syswow64
libusb_files_dll_x86   = 10,system32

[libusb_files_sys]
libusb0.sys

[libusb_files_dll]
libusb0.dll

[libusb_files_dll_x86]
libusb0.dll, libusb0_x86.dll

[libusb_files_dll_wow64]
libusb0.dll, libusb0_x86.dll

;--------------------------------------------------------------------------
; libusb-win32 device driver
;--------------------------------------------------------------------------

[LIBUSB_WIN32_DEV.NT]
CopyFiles = libusb_files_sys, libusb_files_dll_x86

[LIBUSB_WIN32_DEV.NTAMD64]
CopyFiles = libusb_files_sys, libusb_files_dll, libusb_files_dll_wow64

[LIBUSB_WIN32_DEV.NTIA64]
CopyFiles = libusb_files_sys, libusb_files_dll, libusb_files_dll_wow64

[LIBUSB_WIN32_DEV.NT.HW]
DelReg = libusb_del_reg_hw
AddReg = libusb_add_reg_hw

[LIBUSB_WIN32_DEV.NTAMD64.HW]
DelReg = libusb_del_reg_hw
AddReg = libusb_add_reg_hw

[LIBUSB_WIN32_DEV.NTIA64.HW]
DelReg = libusb_del_reg_hw
AddReg = libusb_add_reg_hw

[LIBUSB_WIN32_DEV.NT.Services]
AddService = libusb0, 0x00000002, libusb_add_service

[LIBUSB_WIN32_DEV.NTAMD64.Services]
AddService = libusb0, 0x00000002, libusb_add_service

[LIBUSB_WIN32_DEV.NTIA64.Services]
AddService = libusb0, 0x00000002, libusb_add_service

; Older versions of this .inf file installed filter drivers. They are not
; needed any more and must be removed
[libusb_del_reg_hw]
HKR,,LowerFilters
HKR,,UpperFilters

; libusb-win32 device properties
[libusb_add_reg_hw]
HKR,,SurpriseRemovalOK,0x00010001,1

; (Optional) the usb configuration value to select when this device
; is started.  If this key does not exist the first config is selected.
;HKR,,InitialConfigValue,0x00010001,<your config value>

;--------------------------------------------------------------------------
; libusb-win32 service
;--------------------------------------------------------------------------

[libusb_add_service]
DisplayName   = "Atmel - LibUsb Kernel Driver 10/02/2010 1.2.2.0"
ServiceType   = 1
StartType     = 3
ErrorControl  = 0
ServiceBinary = %12%\libusb0.sys

;--------------------------------------------------------------------------
; libusb-win32 devices
;--------------------------------------------------------------------------

; Hardware IDs in a 'Devices' section can be installed by libusb-win32
; using usb_install_driver_np(), usb_install_driver_np_rundll(), or the
; inf-wizard utility.
;
[Devices]
"ATUC3 D"      = LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FE9
"AT32UC3C"     = LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FEB
"ATxmega128A1U"= LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FED
"ATxmega256A3U"= LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FEC
"ATxmega128B1" = LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FEA
"ATmega8U2"    = LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FEE
"ATmega16U2"   = LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FEF
"ATmega32U2"   = LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FF0
"AT32UC3A3"    = LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FF1
"ATmega32U6"   = LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FF2
"ATmega16U4"   = LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FF3
"ATmega32U4"   = LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FF4
"AT32UC3B"     = LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FF6
"AT90USB82"    = LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FF7
"AT32UC3A"     = LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FF8
"AT90USB64"    = LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FF9
"AT90USB162"   = LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FFA
"AT90USB128"   = LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FFB
"AT89C5130/AT89C5131"= LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FFD
"AT8XC5122"    = LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FFE
"AT89C5132/AT89C51SND1/AT89C51SND2"= LIBUSB_WIN32_DEV, USB\VID_03EB&PID_2FFF

[Devices.NT]
"ATUC3 D"      = LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FE9
"AT32UC3C"     = LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FEB
"ATxmega128A1U"= LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FED
"ATxmega256A3U"= LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FEC
"ATxmega128B1" = LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FEA
"ATmega8U2"    = LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FEE
"ATmega16U2"   = LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FEF
"ATmega32U2"   = LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FF0
"AT32UC3A3"    = LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FF1
"ATmega32U6"   = LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FF2
"ATmega16U4"   = LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FF3
"ATmega32U4"   = LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FF4
"AT32UC3B"     = LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FF6
"AT90USB82"    = LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FF7
"AT32UC3A"     = LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FF8
"AT90USB64"    = LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FF9
"AT90USB162"   = LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FFA
"AT90USB128"   = LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FFB
"AT89C5130/AT89C5131"= LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FFD
"AT8XC5122"    = LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FFE
"AT89C5132/AT89C51SND1/AT89C51SND2"= LIBUSB_WIN32_DEV.NT, USB\VID_03EB&PID_2FFF

[Devices.NTAMD64]
"ATUC3 D"      = LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FE9
"AT32UC3C"     = LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FEB
"ATxmega128A1U"= LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FED
"ATxmega256A3U"= LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FEC
"ATxmega128B1" = LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FEA
"ATmega8U2"    = LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FEE
"ATmega16U2"   = LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FEF
"ATmega32U2"   = LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FF0
"AT32UC3A3"    = LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FF1
"ATmega32U6"   = LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FF2
"ATmega16U4"   = LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FF3
"ATmega32U4"   = LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FF4
"AT32UC3B"     = LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FF6
"AT90USB82"    = LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FF7
"AT32UC3A"     = LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FF8
"AT90USB64"    = LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FF9
"AT90USB162"   = LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FFA
"AT90USB128"   = LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FFB
"AT89C5130/AT89C5131"= LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FFD
"AT8XC5122"    = LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FFE
"AT89C5132/AT89C51SND1/AT89C51SND2"= LIBUSB_WIN32_DEV.NTAMD64, USB\VID_03EB&PID_2FFF

[Devices.NTIA64]
"ATUC3 D"      = LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FE9
"AT32UC3C"     = LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FEB
"ATxmega128A1U"= LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FED
"ATxmega256A3U"= LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FEC
"ATxmega128B1" = LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FEA
"ATmega8U2"    = LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FEE
"ATmega16U2"   = LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FEF
"ATmega32U2"   = LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FF0
"AT32UC3A3"    = LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FF1
"ATmega32U6"   = LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FF2
"ATmega16U4"   = LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FF3
"ATmega32U4"   = LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FF4
"AT32UC3B"     = LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FF6
"AT90USB82"    = LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FF7
"AT32UC3A"     = LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FF8
"AT90USB64"    = LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FF9
"AT90USB162"   = LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FFA
"AT90USB128"   = LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FFB
"AT89C5130/AT89C5131"= LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FFD
"AT8XC5122"    = LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FFE
"AT89C5132/AT89C51SND1/AT89C51SND2"= LIBUSB_WIN32_DEV.NTIA64, USB\VID_03EB&PID_2FFF
