summaryrefslogtreecommitdiffstats
path: root/utils/tcctool/tcctool-driver-win32
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-11-10 20:26:54 +0000
committerDave Chapman <dave@dchapman.com>2007-11-10 20:26:54 +0000
commita5e4cc9e68640ed9ee82c02e7b9796c8511cfccf (patch)
tree8fa11c86514cafdfe8259f265f14c0d578abb936 /utils/tcctool/tcctool-driver-win32
parent0d8111cb399cf9db7a25d4a5ddc867a22de1a5bc (diff)
downloadrockbox-a5e4cc9e68640ed9ee82c02e7b9796c8511cfccf.tar.gz
rockbox-a5e4cc9e68640ed9ee82c02e7b9796c8511cfccf.tar.bz2
rockbox-a5e4cc9e68640ed9ee82c02e7b9796c8511cfccf.zip
Document how to use tcctool in Windows, and include the appropriate .inf file for use with the libusb-win32 device driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15559 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/tcctool/tcctool-driver-win32')
-rw-r--r--utils/tcctool/tcctool-driver-win32/tcc.cat3
-rw-r--r--utils/tcctool/tcctool-driver-win32/tcc.inf139
-rw-r--r--utils/tcctool/tcctool-driver-win32/tcc_x64.cat3
3 files changed, 145 insertions, 0 deletions
diff --git a/utils/tcctool/tcctool-driver-win32/tcc.cat b/utils/tcctool/tcctool-driver-win32/tcc.cat
new file mode 100644
index 0000000000..2ef39c526e
--- /dev/null
+++ b/utils/tcctool/tcctool-driver-win32/tcc.cat
@@ -0,0 +1,3 @@
+This file will contain the digital signature of the files to be installed
+on the system.
+This file will be provided by Microsoft upon certification of your drivers.
diff --git a/utils/tcctool/tcctool-driver-win32/tcc.inf b/utils/tcctool/tcctool-driver-win32/tcc.inf
new file mode 100644
index 0000000000..63bc8a64d4
--- /dev/null
+++ b/utils/tcctool/tcctool-driver-win32/tcc.inf
@@ -0,0 +1,139 @@
+[Version]
+Signature = "$Chicago$"
+provider = %manufacturer%
+DriverVer = 03/20/2007,0.1.12.1
+CatalogFile = tcc.cat
+CatalogFile.NT = tcc.cat
+CatalogFile.NTAMD64 = tcc_x64.cat
+
+Class = LibUsbDevices
+ClassGUID = {EB781AAF-9C70-4523-A5DF-642A87ECA567}
+
+[ClassInstall]
+AddReg=libusb_class_install_add_reg
+
+[ClassInstall32]
+AddReg=libusb_class_install_add_reg
+
+[libusb_class_install_add_reg]
+HKR,,,,"LibUSB-Win32 Devices"
+HKR,,Icon,,"-20"
+
+[Manufacturer]
+%manufacturer%=Devices,NT,NTAMD64
+
+;--------------------------------------------------------------------------
+; Files
+;--------------------------------------------------------------------------
+
+[SourceDisksNames]
+1 = "Libusb-Win32 Driver Installation Disk",,
+
+[SourceDisksFiles]
+libusb0.sys = 1,,
+libusb0.dll = 1,,
+libusb0_x64.sys = 1,,
+libusb0_x64.dll = 1,,
+
+[DestinationDirs]
+libusb_files_sys = 10,system32\drivers
+libusb_files_sys_x64 = 10,system32\drivers
+libusb_files_dll = 10,system32
+libusb_files_dll_wow64 = 10,syswow64
+libusb_files_dll_x64 = 10,system32
+
+[libusb_files_sys]
+libusb0.sys
+
+[libusb_files_sys_x64]
+libusb0.sys,libusb0_x64.sys
+
+[libusb_files_dll]
+libusb0.dll
+
+[libusb_files_dll_wow64]
+libusb0.dll
+
+[libusb_files_dll_x64]
+libusb0.dll,libusb0_x64.dll
+
+;--------------------------------------------------------------------------
+; Device driver
+;--------------------------------------------------------------------------
+
+[LIBUSB_DEV]
+CopyFiles = libusb_files_sys, libusb_files_dll
+AddReg = libusb_add_reg
+
+[LIBUSB_DEV.NT]
+CopyFiles = libusb_files_sys, libusb_files_dll
+
+[LIBUSB_DEV.NTAMD64]
+CopyFiles = libusb_files_sys_x64, libusb_files_dll_wow64, libusb_files_dll_x64
+
+[LIBUSB_DEV.HW]
+DelReg = libusb_del_reg_hw
+AddReg = libusb_add_reg_hw
+
+[LIBUSB_DEV.NT.HW]
+DelReg = libusb_del_reg_hw
+AddReg = libusb_add_reg_hw
+
+[LIBUSB_DEV.NTAMD64.HW]
+DelReg = libusb_del_reg_hw
+AddReg = libusb_add_reg_hw
+
+[LIBUSB_DEV.NT.Services]
+AddService = libusb0, 0x00000002, libusb_add_service
+
+[LIBUSB_DEV.NTAMD64.Services]
+AddService = libusb0, 0x00000002, libusb_add_service
+
+[libusb_add_reg]
+HKR,,DevLoader,,*ntkern
+HKR,,NTMPDriver,,libusb0.sys
+
+; 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
+
+; Device properties
+[libusb_add_reg_hw]
+HKR,,SurpriseRemovalOK, 0x00010001, 1
+
+;--------------------------------------------------------------------------
+; Services
+;--------------------------------------------------------------------------
+
+[libusb_add_service]
+DisplayName = "LibUsb-Win32 - Kernel Driver 03/20/2007, 0.1.12.1"
+ServiceType = 1
+StartType = 3
+ErrorControl = 0
+ServiceBinary = %12%\libusb0.sys
+
+;--------------------------------------------------------------------------
+; Devices
+;--------------------------------------------------------------------------
+
+[Devices]
+"TCC77x usb-boot mode"=LIBUSB_DEV, USB\VID_140E&PID_B021
+"TCC7801 usb-boot mode"=LIBUSB_DEV, USB\VID_140E&PID_B011
+
+[Devices.NT]
+"TCC77x usb-boot mode"=LIBUSB_DEV, USB\VID_140E&PID_B021
+"TCC7801 usb-boot mode"=LIBUSB_DEV, USB\VID_140E&PID_B011
+
+[Devices.NTAMD64]
+"TCC77x usb-boot mode"=LIBUSB_DEV, USB\VID_140E&PID_B021
+"TCC7801 usb-boot mode"=LIBUSB_DEV, USB\VID_140E&PID_B011
+
+
+;--------------------------------------------------------------------------
+; Strings
+;--------------------------------------------------------------------------
+
+[Strings]
+manufacturer = "Telechips"
diff --git a/utils/tcctool/tcctool-driver-win32/tcc_x64.cat b/utils/tcctool/tcctool-driver-win32/tcc_x64.cat
new file mode 100644
index 0000000000..2ef39c526e
--- /dev/null
+++ b/utils/tcctool/tcctool-driver-win32/tcc_x64.cat
@@ -0,0 +1,3 @@
+This file will contain the digital signature of the files to be installed
+on the system.
+This file will be provided by Microsoft upon certification of your drivers.