diff options
Diffstat (limited to 'utils/jz4740_tools/windows_driver/jz4740_usbtool.inf')
-rwxr-xr-x | utils/jz4740_tools/windows_driver/jz4740_usbtool.inf | 136 |
1 files changed, 136 insertions, 0 deletions
diff --git a/utils/jz4740_tools/windows_driver/jz4740_usbtool.inf b/utils/jz4740_tools/windows_driver/jz4740_usbtool.inf new file mode 100755 index 0000000000..1ccae7d0e2 --- /dev/null +++ b/utils/jz4740_tools/windows_driver/jz4740_usbtool.inf | |||
@@ -0,0 +1,136 @@ | |||
1 | [Version] | ||
2 | Signature = "$Chicago$" | ||
3 | provider = %manufacturer% | ||
4 | DriverVer = 03/20/2007,0.1.12.1 | ||
5 | CatalogFile = jz4740_usbtool.cat | ||
6 | CatalogFile.NT = jz4740_usbtool.cat | ||
7 | CatalogFile.NTAMD64 = jz4740_usbtool_x64.cat | ||
8 | |||
9 | Class = LibUsbDevices | ||
10 | ClassGUID = {EB781AAF-9C70-4523-A5DF-642A87ECA567} | ||
11 | |||
12 | [ClassInstall] | ||
13 | AddReg=libusb_class_install_add_reg | ||
14 | |||
15 | [ClassInstall32] | ||
16 | AddReg=libusb_class_install_add_reg | ||
17 | |||
18 | [libusb_class_install_add_reg] | ||
19 | HKR,,,,"LibUSB-Win32 Devices" | ||
20 | HKR,,Icon,,"-20" | ||
21 | |||
22 | [Manufacturer] | ||
23 | %manufacturer%=Devices,NT,NTAMD64 | ||
24 | |||
25 | ;-------------------------------------------------------------------------- | ||
26 | ; Files | ||
27 | ;-------------------------------------------------------------------------- | ||
28 | |||
29 | [SourceDisksNames] | ||
30 | 1 = "Libusb-Win32 Driver Installation Disk",, | ||
31 | |||
32 | [SourceDisksFiles] | ||
33 | libusb0.sys = 1,, | ||
34 | libusb0.dll = 1,, | ||
35 | libusb0_x64.sys = 1,, | ||
36 | libusb0_x64.dll = 1,, | ||
37 | |||
38 | [DestinationDirs] | ||
39 | libusb_files_sys = 10,system32\drivers | ||
40 | libusb_files_sys_x64 = 10,system32\drivers | ||
41 | libusb_files_dll = 10,system32 | ||
42 | libusb_files_dll_wow64 = 10,syswow64 | ||
43 | libusb_files_dll_x64 = 10,system32 | ||
44 | |||
45 | [libusb_files_sys] | ||
46 | libusb0.sys | ||
47 | |||
48 | [libusb_files_sys_x64] | ||
49 | libusb0.sys,libusb0_x64.sys | ||
50 | |||
51 | [libusb_files_dll] | ||
52 | libusb0.dll | ||
53 | |||
54 | [libusb_files_dll_wow64] | ||
55 | libusb0.dll | ||
56 | |||
57 | [libusb_files_dll_x64] | ||
58 | libusb0.dll,libusb0_x64.dll | ||
59 | |||
60 | ;-------------------------------------------------------------------------- | ||
61 | ; Device driver | ||
62 | ;-------------------------------------------------------------------------- | ||
63 | |||
64 | [LIBUSB_DEV] | ||
65 | CopyFiles = libusb_files_sys, libusb_files_dll | ||
66 | AddReg = libusb_add_reg | ||
67 | |||
68 | [LIBUSB_DEV.NT] | ||
69 | CopyFiles = libusb_files_sys, libusb_files_dll | ||
70 | |||
71 | [LIBUSB_DEV.NTAMD64] | ||
72 | CopyFiles = libusb_files_sys_x64, libusb_files_dll_wow64, libusb_files_dll_x64 | ||
73 | |||
74 | [LIBUSB_DEV.HW] | ||
75 | DelReg = libusb_del_reg_hw | ||
76 | AddReg = libusb_add_reg_hw | ||
77 | |||
78 | [LIBUSB_DEV.NT.HW] | ||
79 | DelReg = libusb_del_reg_hw | ||
80 | AddReg = libusb_add_reg_hw | ||
81 | |||
82 | [LIBUSB_DEV.NTAMD64.HW] | ||
83 | DelReg = libusb_del_reg_hw | ||
84 | AddReg = libusb_add_reg_hw | ||
85 | |||
86 | [LIBUSB_DEV.NT.Services] | ||
87 | AddService = libusb0, 0x00000002, libusb_add_service | ||
88 | |||
89 | [LIBUSB_DEV.NTAMD64.Services] | ||
90 | AddService = libusb0, 0x00000002, libusb_add_service | ||
91 | |||
92 | [libusb_add_reg] | ||
93 | HKR,,DevLoader,,*ntkern | ||
94 | HKR,,NTMPDriver,,libusb0.sys | ||
95 | |||
96 | ; Older versions of this .inf file installed filter drivers. They are not | ||
97 | ; needed any more and must be removed | ||
98 | [libusb_del_reg_hw] | ||
99 | HKR,,LowerFilters | ||
100 | HKR,,UpperFilters | ||
101 | |||
102 | ; Device properties | ||
103 | [libusb_add_reg_hw] | ||
104 | HKR,,SurpriseRemovalOK, 0x00010001, 1 | ||
105 | |||
106 | ;-------------------------------------------------------------------------- | ||
107 | ; Services | ||
108 | ;-------------------------------------------------------------------------- | ||
109 | |||
110 | [libusb_add_service] | ||
111 | DisplayName = "LibUsb-Win32 - Kernel Driver 03/20/2007, 0.1.12.1" | ||
112 | ServiceType = 1 | ||
113 | StartType = 3 | ||
114 | ErrorControl = 0 | ||
115 | ServiceBinary = %12%\libusb0.sys | ||
116 | |||
117 | ;-------------------------------------------------------------------------- | ||
118 | ; Devices | ||
119 | ;-------------------------------------------------------------------------- | ||
120 | |||
121 | [Devices] | ||
122 | "Jz4740 USB Boot Device (Rockbox USBtool)"=LIBUSB_DEV, USB\VID_601a&PID_4740 | ||
123 | |||
124 | [Devices.NT] | ||
125 | "Jz4740 USB Boot Device (Rockbox USBtool)"=LIBUSB_DEV, USB\VID_601a&PID_4740 | ||
126 | |||
127 | [Devices.NTAMD64] | ||
128 | "Jz4740 USB Boot Device (Rockbox USBtool)"=LIBUSB_DEV, USB\VID_601a&PID_4740 | ||
129 | |||
130 | |||
131 | ;-------------------------------------------------------------------------- | ||
132 | ; Strings | ||
133 | ;-------------------------------------------------------------------------- | ||
134 | |||
135 | [Strings] | ||
136 | manufacturer = "Ingenic" | ||