author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sat, 10 Feb 2018 01:28:53 +0200 | |
changeset 2227 | 1e9323e7ec88 |
parent 2129 | 1a05311a594e |
child 2228 | 837f1337c59b |
permissions | -rw-r--r-- |
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
1 |
.. -*- coding: utf-8; -*- |
176 | 2 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
3 |
===================== |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
4 |
Driver for Windows. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
5 |
===================== |
1346
a2fbf50a43f4
Fix: Has no 'contents::' directive.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1334
diff
changeset
|
6 |
.. contents:: |
1905
fba288d59662
Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1894
diff
changeset
|
7 |
:local: |
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
8 |
|
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
9 |
About. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
10 |
====== |
791 | 11 |
|
12 |
microsoft.public.development.device.drivers |
|
13 |
NNTP driver development group at msnews.microsoft.com:119 |
|
14 |
http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx |
|
15 |
Web-interface to NNTP forum |
|
16 |
||
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
17 |
Which version exist? |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
18 |
==================== |
176 | 19 |
|
20 |
- VxD |
|
21 |
Windows 3.x and Windows 9x |
|
22 |
- Windows Driver Model (WDM) |
|
23 |
Windows 98, Windows 98 Second Edition, Windows Me, Windows |
|
24 |
2000, Windows XP, Windows Server 2003 and Windows Vista (for |
|
25 |
backwards compatibility) |
|
26 |
- Windows Driver Foundation (WDF) |
|
27 |
Windows 2000 and later |
|
28 |
||
29 |
http://en.wikipedia.org/wiki/VxD |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
30 |
VxD |
176 | 31 |
http://en.wikipedia.org/wiki/Windows_Driver_Model |
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
32 |
WDM. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
33 |
http://en.wikipedia.org/wiki/Windows_Driver_Foundation |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
34 |
WDF. |
176 | 35 |
|
2128 | 36 |
List drivers |
37 |
============ |
|
38 |
||
39 |
List of all installed drivers:: |
|
40 |
||
41 |
cmd> driverquery |
|
2129 | 42 |
cmd> driverquery /v |
183 | 43 |
|
2128 | 44 |
Show hardware information:: |
183 | 45 |
|
2128 | 46 |
cmd> msinfo32 |
47 |
||
48 |
http://support.microsoft.com/kb/308549 |
|
49 |
Windows XP/2003 System Information Tool. |
|
183 | 50 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
51 |
Sysinternals. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
52 |
============= |
184
380c761db215
About WinObj and devtree.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
183
diff
changeset
|
53 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
54 |
WinObj. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
55 |
------- |
184
380c761db215
About WinObj and devtree.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
183
diff
changeset
|
56 |
|
380c761db215
About WinObj and devtree.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
183
diff
changeset
|
57 |
Winobj is a program that lets you browse the Windows NT Object Manager |
380c761db215
About WinObj and devtree.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
183
diff
changeset
|
58 |
namespace. |
380c761db215
About WinObj and devtree.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
183
diff
changeset
|
59 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
60 |
devtree. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
61 |
-------- |
184
380c761db215
About WinObj and devtree.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
183
diff
changeset
|
62 |
|
380c761db215
About WinObj and devtree.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
183
diff
changeset
|
63 |
The DeviceTree V2.12 utility is a Windows XP/Server 2003 utility written by |
380c761db215
About WinObj and devtree.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
183
diff
changeset
|
64 |
OSR, that allows the user the ability to display the drivers and devices |
380c761db215
About WinObj and devtree.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
183
diff
changeset
|
65 |
loaded in 2 different views. The first view Driver View the user sees a list |
380c761db215
About WinObj and devtree.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
183
diff
changeset
|
66 |
of all the drivers loaded in kernel mode and all the devices that those |
380c761db215
About WinObj and devtree.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
183
diff
changeset
|
67 |
drivers have created. In the second view PnP View the user sees a list of all |
380c761db215
About WinObj and devtree.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
183
diff
changeset
|
68 |
the devices in the system from that of Plug and Play Manager (PnP). |
380c761db215
About WinObj and devtree.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
183
diff
changeset
|
69 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
70 |
Microsoft DDK. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
71 |
============== |
176 | 72 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
73 |
DevCon. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
74 |
------- |
176 | 75 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
76 |
Supported device classes:: |
176 | 77 |
|
78 |
cmd> devcon.exe classes |
|
79 |
||
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
80 |
Which files used by specific driver (with "*" prints list of files for all |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
81 |
drivers):: |
176 | 82 |
|
83 |
cmd> devcon.exe driverfiles * |
|
84 |
||
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
85 |
Device ID (names included):: |
176 | 86 |
|
87 |
cmd> devcon.exe hwids * |
|
88 |
||
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
89 |
Device status (running/stoped):: |
176 | 90 |
|
91 |
cmd> devcon.exe status * |
|
92 |
||
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
93 |
USB Command Verifier. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
94 |
===================== |
176 | 95 |
|
96 |
All USB peripherals are required to pass the Device Framework tests in order |
|
97 |
to gain certification. |
|
98 |
||
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
99 |
* http://www.usb.org/developers/tools/ |
176 | 100 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
101 |
Files. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
102 |
====== |
176 | 103 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
104 |
Windows 98 SE/ME. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
105 |
----------------- |
176 | 106 |
|
284
b21079a6bc2b
Files for windows driver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
184
diff
changeset
|
107 |
* .386 |
b21079a6bc2b
Files for windows driver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
184
diff
changeset
|
108 |
VxD driver under Windows 3.x |
b21079a6bc2b
Files for windows driver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
184
diff
changeset
|
109 |
* .vxd |
b21079a6bc2b
Files for windows driver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
184
diff
changeset
|
110 |
VxD driver under Windows 95 |
b21079a6bc2b
Files for windows driver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
184
diff
changeset
|
111 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
112 |
Windows NT (2000/XP/2003). |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
113 |
-------------------------- |
176 | 114 |
|
115 |
* .inf |
|
116 |
Stored in %Windir%\Inf. |
|
117 |
* .pnf |
|
118 |
Precompiled INF File. Stored in %Windir%\Inf. |
|
119 |
||
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
120 |
Driver type. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
121 |
============ |
176 | 122 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
123 |
CDC. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
124 |
---- |
176 | 125 |
|
126 |
http://support.microsoft.com/kb/837637 |
|
127 |
How to use or to reference the Usbser.sys driver from |
|
128 |
universal serial bus (USB) modem .inf files. |
|
129 |
||
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
130 |
Driver class. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
131 |
============= |
176 | 132 |
|
133 |
http://msdn.microsoft.com/en-us/library/ms791134.aspx |
|
134 |
System-Supplied Device Setup Classes |
|
450 | 135 |
http://msdn.microsoft.com/en-us/library/ff538820.aspx |
136 |
Drivers for the Supported USB Device Classes |
|
301
072d4cc9d726
How install drivers?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
284
diff
changeset
|
137 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
138 |
How list drivers? |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
139 |
================= |
303 | 140 |
|
141 |
Set environment devmgr_show_nonpresent_devices to 1 and run Device Manager, |
|
142 |
select "View" --> "Show hidden devices". |
|
143 |
||
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
144 |
How install drivers? |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
145 |
==================== |
301
072d4cc9d726
How install drivers?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
284
diff
changeset
|
146 |
|
1960 | 147 |
.. note:: |
148 |
||
149 |
If you update any driver in Device Manager backup is created with old driver |
|
150 |
under following directory:: |
|
151 |
||
152 |
%windir%\system32\ReinstallBackups |
|
153 |
||
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
154 |
dpinst. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
155 |
------- |
619 | 156 |
|
1960 | 157 |
Driver Install Frameworks (DIFx) tools allow installing driver starting from |
158 |
Windows 2000 and onward. |
|
301
072d4cc9d726
How install drivers?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
284
diff
changeset
|
159 |
|
072d4cc9d726
How install drivers?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
284
diff
changeset
|
160 |
It consist from API (from library, DIFxAPI, DIFxApp) and command line tool |
1960 | 161 |
(``DPInst.exe``) which can be found in WDK and their licence allow |
162 |
redistribution. |
|
301
072d4cc9d726
How install drivers?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
284
diff
changeset
|
163 |
|
1960 | 164 |
https://msdn.microsoft.com/en-us/library/windows/hardware/Dn653565.aspx |
165 |
Information about Driver Install Frameworks Tools. |
|
166 |
https://msdn.microsoft.com/en-us/library/ff544842.aspx |
|
167 |
Driver Package Installer (DPInst). |
|
168 |
https://msdn.microsoft.com/en-us/library/ff540184.aspx |
|
169 |
Creating a DPInst Installation Package. |
|
170 |
https://msdn.microsoft.com/en-us/library/ff544775.aspx |
|
171 |
DPInst Command-Line Switches. |
|
172 |
https://msdn.microsoft.com/en-us/library/ff548674.aspx |
|
173 |
Logging Installation Information and Error Messages. |
|
174 |
``%SystemRoot%\DPINST.LOG``. |
|
175 |
https://msdn.microsoft.com/en-us/library/ff553383.aspx |
|
176 |
Summary of the DPInst XML Elements. |
|
301
072d4cc9d726
How install drivers?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
284
diff
changeset
|
177 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
178 |
devcon. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
179 |
------- |
619 | 180 |
|
181 |
This command-line specifies the location of the driver package's INF file (c:\toaster\toastpkg.inf) |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
182 |
and the toaster device's hardware identifier (ID), which is specified within the INF file:: |
619 | 183 |
|
184 |
cmd# devcon.exe install c:\toaster\toastpkg.inf {b85b7c50-6a01-11d2-b841-00c04fad5171}\mstoaster |
|
185 |
||
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
186 |
See: |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
187 |
|
619 | 188 |
http://msdn.microsoft.com/en-us/library/ff553642.aspx |
189 |
Using the DevCon Tool to Install a Driver Package |
|
190 |
||
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
191 |
How debug Windows drivers. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
192 |
========================== |
458
b4a231e0296a
How debug Windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
450
diff
changeset
|
193 |
|
618
ef2c73fcca44
How debug Windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
459
diff
changeset
|
194 |
To detect whether a driver loaded, check the status of the device in Device Manager. |
ef2c73fcca44
How debug Windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
459
diff
changeset
|
195 |
|
789
6472b80a8b24
SetupAPI log for Windows XP/2003.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
735
diff
changeset
|
196 |
SetupAPI logs information about device installation in a plain-text log file |
6472b80a8b24
SetupAPI log for Windows XP/2003.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
735
diff
changeset
|
197 |
that you can use to verify the installation of a device and to troubleshoot |
6472b80a8b24
SetupAPI log for Windows XP/2003.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
735
diff
changeset
|
198 |
device installation problems. |
6472b80a8b24
SetupAPI log for Windows XP/2003.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
735
diff
changeset
|
199 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
200 |
For Windows XP/2003 check:: |
789
6472b80a8b24
SetupAPI log for Windows XP/2003.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
735
diff
changeset
|
201 |
|
790 | 202 |
%SystemRoot%/setupapi.log |
789
6472b80a8b24
SetupAPI log for Windows XP/2003.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
735
diff
changeset
|
203 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
204 |
For Windows Vista and later versions of Windows check:: |
618
ef2c73fcca44
How debug Windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
459
diff
changeset
|
205 |
|
ef2c73fcca44
How debug Windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
459
diff
changeset
|
206 |
%SystemRoot%\inf\SetupAPI.dev.log installation events in the device |
ef2c73fcca44
How debug Windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
459
diff
changeset
|
207 |
%SystemRoot%\inf\SetupAPI.app.log application installation |
ef2c73fcca44
How debug Windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
459
diff
changeset
|
208 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
209 |
See: |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
210 |
|
618
ef2c73fcca44
How debug Windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
459
diff
changeset
|
211 |
http://msdn.microsoft.com/en-us/library/ff553497.aspx |
ef2c73fcca44
How debug Windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
459
diff
changeset
|
212 |
Troubleshooting Install and Load Problems with Signed Driver Packages |
458
b4a231e0296a
How debug Windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
450
diff
changeset
|
213 |
http://www.microsoft.com/whdc/devtools/debugging/debugtips.mspx |
b4a231e0296a
How debug Windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
450
diff
changeset
|
214 |
Improve Driver Debuggability |
b4a231e0296a
How debug Windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
450
diff
changeset
|
215 |
http://msdn.microsoft.com/en-us/library/ff551063.aspx |
b4a231e0296a
How debug Windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
450
diff
changeset
|
216 |
Debugging Tools for Windows |
459 | 217 |
http://msdn.microsoft.com/en-us/library/ff543450%28VS.85%29.aspx |
218 |
Checked and Free Build Differences |
|
1202
4115eb3a6f03
SetupAPI Device Installation Log Entries
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1156
diff
changeset
|
219 |
http://msdn.microsoft.com/en-us/library/windows/hardware/ff540793.aspx |
4115eb3a6f03
SetupAPI Device Installation Log Entries
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1156
diff
changeset
|
220 |
Debugging Driver Installation |
4115eb3a6f03
SetupAPI Device Installation Log Entries
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1156
diff
changeset
|
221 |
http://msdn.microsoft.com/en-us/library/windows/hardware/ff550863.aspx |
4115eb3a6f03
SetupAPI Device Installation Log Entries
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1156
diff
changeset
|
222 |
SetupAPI Device Installation Log Entries |
618
ef2c73fcca44
How debug Windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
459
diff
changeset
|
223 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
224 |
Driver signing. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
225 |
=============== |
618
ef2c73fcca44
How debug Windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
459
diff
changeset
|
226 |
|
640 | 227 |
Type of signature: |
228 |
||
229 |
* Signed by a Windows signing authority. |
|
230 |
* Signed by a trusted publisher. |
|
231 |
* Signed by an untrusted publisher. |
|
232 |
* Signed by a publisher of unknown trust. |
|
233 |
* Altered. |
|
234 |
* Unsigned. |
|
235 |
||
236 |
http://msdn.microsoft.com/en-us/library/ff544703.aspx |
|
237 |
Type of signature and performed action. |
|
628
0af4870462ea
Tools for Signing Drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
624
diff
changeset
|
238 |
http://www.microsoft.com/whdc/driver/install/drvsign/best-practices.mspx |
643 | 239 |
Code-Signing Best Practices. |
240 |
http://msdn.microsoft.com/en-us/library/ff550764.aspx |
|
241 |
Device Installation Signing Requirements. |
|
649 | 242 |
http://www.microsoft.com/whdc/winlogo/categories.mspx |
243 |
Windows Logo Program Test Categories. |
|
244 |
http://www.microsoft.com/whdc/driver/install/drvsign/crosscert.mspx |
|
245 |
Root Authority Cross-Certificate List |
|
628
0af4870462ea
Tools for Signing Drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
624
diff
changeset
|
246 |
|
1154
26b6fca0cf39
Disable signing requirement on Windows 7 x64.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1153
diff
changeset
|
247 |
Disable signing requirement on Windows 7 x64. |
26b6fca0cf39
Disable signing requirement on Windows 7 x64.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1153
diff
changeset
|
248 |
============================================= |
26b6fca0cf39
Disable signing requirement on Windows 7 x64.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1153
diff
changeset
|
249 |
:: |
26b6fca0cf39
Disable signing requirement on Windows 7 x64.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1153
diff
changeset
|
250 |
|
1155 | 251 |
cmd> bcdedit -set loadoptions DDISABLE_INTEGRITY_CHECKS |
1154
26b6fca0cf39
Disable signing requirement on Windows 7 x64.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1153
diff
changeset
|
252 |
cmd> bcdedit -set TESTSIGNING ON |
26b6fca0cf39
Disable signing requirement on Windows 7 x64.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1153
diff
changeset
|
253 |
|
1155 | 254 |
To revert back:: |
255 |
||
256 |
cmd> bcdedit.exe -set loadoptions ENABLE_INTEGRITY_CHECKS |
|
257 |
cmd> bcdedit.exe -set TESTSIGNING OFF |
|
258 |
||
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
259 |
Tools for Signing Drivers. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
260 |
========================== |
628
0af4870462ea
Tools for Signing Drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
624
diff
changeset
|
261 |
|
629
f677b24ac51b
Tools for Signing Drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
628
diff
changeset
|
262 |
'certmgr.msc' present in Windows 2000 and upper. |
f677b24ac51b
Tools for Signing Drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
628
diff
changeset
|
263 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
264 |
From Windows SDK/WDK:: |
629
f677b24ac51b
Tools for Signing Drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
628
diff
changeset
|
265 |
|
f677b24ac51b
Tools for Signing Drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
628
diff
changeset
|
266 |
CertMgr Inf2Cat MakeCat MakeCert Pvk2Pfx SignTool |
628
0af4870462ea
Tools for Signing Drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
624
diff
changeset
|
267 |
|
1156
783158979d5f
register certificate in Windows
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1155
diff
changeset
|
268 |
To register certificate in Windows 7 (or install "Admin Tools Pack" in Windows |
783158979d5f
register certificate in Windows
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1155
diff
changeset
|
269 |
XP):: |
783158979d5f
register certificate in Windows
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1155
diff
changeset
|
270 |
|
783158979d5f
register certificate in Windows
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1155
diff
changeset
|
271 |
cmd> certutil -addstore TrustedPublisher cert.cer |
783158979d5f
register certificate in Windows
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1155
diff
changeset
|
272 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
273 |
See: |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
274 |
|
618
ef2c73fcca44
How debug Windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
459
diff
changeset
|
275 |
http://msdn.microsoft.com/en-us/library/ff552958.aspx |
ef2c73fcca44
How debug Windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
459
diff
changeset
|
276 |
Tools for Signing Drivers |
1156
783158979d5f
register certificate in Windows
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1155
diff
changeset
|
277 |
http://www.microsoft.com/download/en/details.aspx?id=16770 |
783158979d5f
register certificate in Windows
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1155
diff
changeset
|
278 |
Admin Tools Pack |
623
fd703dc282b7
Invoking a Device Properties Dialog Box from a Command-line Prompt.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
620
diff
changeset
|
279 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
280 |
Invoking a Device Properties Dialog Box from a Command-line Prompt. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
281 |
=================================================================== |
623
fd703dc282b7
Invoking a Device Properties Dialog Box from a Command-line Prompt.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
620
diff
changeset
|
282 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
283 |
You need get device-instance-ID-parameter:: |
623
fd703dc282b7
Invoking a Device Properties Dialog Box from a Command-line Prompt.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
620
diff
changeset
|
284 |
|
fd703dc282b7
Invoking a Device Properties Dialog Box from a Command-line Prompt.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
620
diff
changeset
|
285 |
cmd# rundll32.exe devmgr.dll,DeviceProperties_RunDLL /DeviceID "ACPI\PNP0F03\4&1A8C8C2E&0" |
fd703dc282b7
Invoking a Device Properties Dialog Box from a Command-line Prompt.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
620
diff
changeset
|
286 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
287 |
* http://msdn.microsoft.com/en-us/library/ff548170.aspx |
624
76016e0c69f9
Driver Selection Process.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
623
diff
changeset
|
288 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
289 |
Driver Selection Process. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
290 |
========================= |
624
76016e0c69f9
Driver Selection Process.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
623
diff
changeset
|
291 |
|
76016e0c69f9
Driver Selection Process.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
623
diff
changeset
|
292 |
Windows uses the following criteria to select a driver for a device: |
76016e0c69f9
Driver Selection Process.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
623
diff
changeset
|
293 |
|
76016e0c69f9
Driver Selection Process.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
623
diff
changeset
|
294 |
* Windows selects the driver that has the lowest rank value as the best match for the device. |
76016e0c69f9
Driver Selection Process.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
623
diff
changeset
|
295 |
* For drivers that have equal rank, Windows selects the driver that has the most recent date. |
76016e0c69f9
Driver Selection Process.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
623
diff
changeset
|
296 |
* For the drivers that have equal rank and date, Windows selects the driver that has the highest version. |
76016e0c69f9
Driver Selection Process.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
623
diff
changeset
|
297 |
* Windows XP SP1 and later: For drivers that have equal rank, date, and version, Windows can select any driver. |
76016e0c69f9
Driver Selection Process.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
623
diff
changeset
|
298 |
* Windows XP and Windows 2000: For drivers that have equal rank, date, and version, Windows can select any driver. |
76016e0c69f9
Driver Selection Process.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
623
diff
changeset
|
299 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
300 |
See: |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
301 |
|
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
302 |
* http://msdn.microsoft.com/en-us/library/ff549553.aspx |
642
e1732c85cd1a
Distributing a Driver Package. Windows Update.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
640
diff
changeset
|
303 |
|
1894
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1346
diff
changeset
|
304 |
Windows driver for USB |
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1346
diff
changeset
|
305 |
====================== |
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1346
diff
changeset
|
306 |
|
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1346
diff
changeset
|
307 |
http://msdn.microsoft.com/en-us/library/ff538820%28VS.85%29.aspx |
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1346
diff
changeset
|
308 |
Drivers for the Supported USB Device Classes |
2e3bc2435d68
Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1346
diff
changeset
|
309 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
310 |
Distributing a Driver Package. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
311 |
============================== |
642
e1732c85cd1a
Distributing a Driver Package. Windows Update.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
640
diff
changeset
|
312 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
313 |
Windows Update. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
314 |
--------------- |
642
e1732c85cd1a
Distributing a Driver Package. Windows Update.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
640
diff
changeset
|
315 |
|
e1732c85cd1a
Distributing a Driver Package. Windows Update.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
640
diff
changeset
|
316 |
You can distribute a driver package through the Windows Update program if the driver package: |
e1732c85cd1a
Distributing a Driver Package. Windows Update.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
640
diff
changeset
|
317 |
|
e1732c85cd1a
Distributing a Driver Package. Windows Update.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
640
diff
changeset
|
318 |
* Passes the WHQL test program and receives a WHQL release signature. |
e1732c85cd1a
Distributing a Driver Package. Windows Update.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
640
diff
changeset
|
319 |
* Qualifies for the Windows Logo program. |
e1732c85cd1a
Distributing a Driver Package. Windows Update.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
640
diff
changeset
|
320 |
* Meets additional requirements that ensure that Windows Update can determine the correct driver |
e1732c85cd1a
Distributing a Driver Package. Windows Update.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
640
diff
changeset
|
321 |
package for the user's device, can legally distribute it, and can automatically download it. |
e1732c85cd1a
Distributing a Driver Package. Windows Update.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
640
diff
changeset
|
322 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
323 |
See: |
649 | 324 |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
325 |
* http://msdn.microsoft.com/en-us/library/ff554874.aspx |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
326 |
|
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
327 |
Hardware ID. |
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
328 |
------------ |
649 | 329 |
|
330 |
PCI and AGP buses: Contain subsystem ID and subsystem vendor ID (&SUBSYS in the ID string). Drivers |
|
331 |
must have VID/DID/SVID/SID PNP ID entries to be published via Windows Update. |
|
332 |
||
333 |
PCI Device Subsystem IDs and Windows specifications are available at: |
|
1153
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
334 |
|
ee88b4d14151
Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
899
diff
changeset
|
335 |
* http://www.microsoft.com/whdc/archive/pciidspec.mspx |
649 | 336 |
|
337 |
PCMCIA: Always specific; contains PCMCIA in the ID string. |
|
338 |
||
339 |
USB: Contains VID and &PID in the ID string. |
|
340 |
||
341 |
IEEE 1394: Always specific; contains 1394 in the ID string. |
|
342 |
||
343 |
HID: Contains &VID and &PID in the ID string. |
|
344 |
||
345 |
IDE: Contains IDE\ in the ID string. |
|
346 |
||
347 |
Parallel Port Printers: Contain LPTENUM\ in the ID string. |
|
348 |
||
349 |
IrDA Printers: IDs begin with HWP. |
|
350 |
||
351 |
http://www.microsoft.com/whdc/winlogo/winup/default.mspx |
|
352 |
Windows Update Driver Publishing |