windows-driver.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 26 Aug 2020 13:05:52 +0300
changeset 2430 315b44793009
parent 2230 9e6ad6607a9e
child 2490 cf18fc475250
permissions -rw-r--r--
Module defaults.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1153
ee88b4d14151 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
     1
.. -*- coding: utf-8; -*-
176
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
     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
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 790
diff changeset
    11
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    12
microsoft.public.development.device.drivers
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    13
  NNTP driver development group at msnews.microsoft.com:119
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    14
http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    15
  Web-interface to NNTP forum
791
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 790
diff changeset
    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
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    19
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    20
VxD
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    21
  Windows 3.x and Windows 9x
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    22
Windows Driver Model (WDM)
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    23
  Windows 98, Windows 98 Second Edition, Windows Me, Windows
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    24
  2000, Windows XP, Windows Server 2003 and Windows Vista (for
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    25
  backwards compatibility)
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    26
Windows Driver Foundation (WDF)
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    27
  Windows 2000 and later
176
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    28
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    29
http://en.wikipedia.org/wiki/VxD
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    30
  VxD
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    31
http://en.wikipedia.org/wiki/Windows_Driver_Model
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    32
  WDM.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    33
http://en.wikipedia.org/wiki/Windows_Driver_Foundation
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    34
  WDF.
176
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    35
2128
3a4f15d5aa5e List drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1960
diff changeset
    36
List drivers
3a4f15d5aa5e List drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1960
diff changeset
    37
============
3a4f15d5aa5e List drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1960
diff changeset
    38
3a4f15d5aa5e List drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1960
diff changeset
    39
List of all installed drivers::
3a4f15d5aa5e List drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1960
diff changeset
    40
3a4f15d5aa5e List drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1960
diff changeset
    41
  cmd> driverquery
2129
1a05311a594e List drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2128
diff changeset
    42
  cmd> driverquery /v
183
a5133e34ab75 About Msinfo32.exe
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 176
diff changeset
    43
2128
3a4f15d5aa5e List drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1960
diff changeset
    44
Show hardware information::
183
a5133e34ab75 About Msinfo32.exe
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 176
diff changeset
    45
2128
3a4f15d5aa5e List drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1960
diff changeset
    46
  cmd> msinfo32
3a4f15d5aa5e List drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1960
diff changeset
    47
3a4f15d5aa5e List drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1960
diff changeset
    48
http://support.microsoft.com/kb/308549
3a4f15d5aa5e List drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1960
diff changeset
    49
  Windows XP/2003 System Information Tool.
183
a5133e34ab75 About Msinfo32.exe
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 176
diff changeset
    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
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    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
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    75
1153
ee88b4d14151 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
    76
Supported device classes::
176
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    77
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    78
  cmd> devcon.exe classes
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    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
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    82
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    83
  cmd> devcon.exe driverfiles *
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    84
1153
ee88b4d14151 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
    85
Device ID (names included)::
176
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    86
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    87
  cmd> devcon.exe hwids *
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    88
1153
ee88b4d14151 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 899
diff changeset
    89
Device status (running/stoped)::
176
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    90
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    91
  cmd> devcon.exe status *
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    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
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    95
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    96
All USB peripherals are required to pass the Device Framework tests in order
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    97
to gain certification.
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
    98
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
    99
* http://www.usb.org/developers/tools/
176
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
   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
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
   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
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
   106
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   107
``.386``
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   108
  VxD driver under Windows 3.x
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   109
``.vxd``
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   110
  VxD driver under Windows 95
284
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
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
   114
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   115
``.inf``
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   116
  Stored in %Windir%\Inf.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   117
``.pnf``
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   118
  Precompiled INF File. Stored in %Windir%\Inf.
176
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
   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
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
   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
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
   125
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   126
http://support.microsoft.com/kb/837637
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   127
  How to use or to reference the Usbser.sys driver from
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   128
  universal serial bus (USB) modem .inf files.
176
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
   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
5181378e42af CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 173
diff changeset
   132
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   133
http://msdn.microsoft.com/en-us/library/ms791134.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   134
  System-Supplied Device Setup Classes
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   135
http://msdn.microsoft.com/en-us/library/ff538820.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   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
ff23efaf6857 How list drivers?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 301
diff changeset
   140
ff23efaf6857 How list drivers?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 301
diff changeset
   141
Set environment devmgr_show_nonpresent_devices to 1 and run Device Manager,
ff23efaf6857 How list drivers?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 301
diff changeset
   142
select "View" --> "Show hidden devices".
ff23efaf6857 How list drivers?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 301
diff changeset
   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
2d684ac1adf1 dpinst docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
   147
.. note::
2d684ac1adf1 dpinst docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
   148
2d684ac1adf1 dpinst docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
   149
   If you update any driver in Device Manager backup is created with old driver
2d684ac1adf1 dpinst docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
   150
   under following directory::
2d684ac1adf1 dpinst docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
   151
2d684ac1adf1 dpinst docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
   152
     %windir%\system32\ReinstallBackups
2d684ac1adf1 dpinst docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
   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
bae478dec531 About devcon.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 618
diff changeset
   156
1960
2d684ac1adf1 dpinst docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
   157
Driver Install Frameworks (DIFx) tools allow installing driver starting from
2d684ac1adf1 dpinst docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
   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
2d684ac1adf1 dpinst docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
   161
(``DPInst.exe``) which can be found in WDK and their licence allow
2d684ac1adf1 dpinst docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
   162
redistribution.
301
072d4cc9d726 How install drivers?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 284
diff changeset
   163
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   164
https://msdn.microsoft.com/en-us/library/windows/hardware/Dn653565.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   165
  Information about Driver Install Frameworks Tools.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   166
https://msdn.microsoft.com/en-us/library/ff544842.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   167
  Driver Package Installer (DPInst).
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   168
https://msdn.microsoft.com/en-us/library/ff540184.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   169
  Creating a DPInst Installation Package.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   170
https://msdn.microsoft.com/en-us/library/ff544775.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   171
  DPInst Command-Line Switches.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   172
https://msdn.microsoft.com/en-us/library/ff548674.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   173
  Logging Installation Information and Error Messages.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   174
  ``%SystemRoot%\DPINST.LOG``.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   175
https://msdn.microsoft.com/en-us/library/ff553383.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   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
bae478dec531 About devcon.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 618
diff changeset
   180
bae478dec531 About devcon.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 618
diff changeset
   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
bae478dec531 About devcon.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 618
diff changeset
   183
bae478dec531 About devcon.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 618
diff changeset
   184
  cmd# devcon.exe install c:\toaster\toastpkg.inf {b85b7c50-6a01-11d2-b841-00c04fad5171}\mstoaster
bae478dec531 About devcon.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 618
diff changeset
   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
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   188
http://msdn.microsoft.com/en-us/library/ff553642.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   189
  Using the DevCon Tool to Install a Driver Package
619
bae478dec531 About devcon.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 618
diff changeset
   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
cb53d2483faf Fix file name.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 789
diff changeset
   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
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   211
http://msdn.microsoft.com/en-us/library/ff553497.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   212
  Troubleshooting Install and Load Problems with Signed Driver Packages
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   213
http://www.microsoft.com/whdc/devtools/debugging/debugtips.mspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   214
  Improve Driver Debuggability
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   215
http://msdn.microsoft.com/en-us/library/ff551063.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   216
  Debugging Tools for Windows
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   217
http://msdn.microsoft.com/en-us/library/ff543450%28VS.85%29.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   218
  Checked and Free Build Differences
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   219
http://msdn.microsoft.com/en-us/library/windows/hardware/ff540793.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   220
  Debugging Driver Installation
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   221
http://msdn.microsoft.com/en-us/library/windows/hardware/ff550863.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
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
011003fc79d8 Type of signature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 629
diff changeset
   227
Type of signature:
011003fc79d8 Type of signature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 629
diff changeset
   228
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   229
* Signed by a Windows signing authority.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   230
* Signed by a trusted publisher.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   231
* Signed by an untrusted publisher.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   232
* Signed by a publisher of unknown trust.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   233
* Altered.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   234
* Unsigned.
640
011003fc79d8 Type of signature.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 629
diff changeset
   235
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   236
http://msdn.microsoft.com/en-us/library/ff544703.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   237
  Type of signature and performed action.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   238
http://www.microsoft.com/whdc/driver/install/drvsign/best-practices.mspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   239
  Code-Signing Best Practices.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   240
http://msdn.microsoft.com/en-us/library/ff550764.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   241
  Device Installation Signing Requirements.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   242
http://www.microsoft.com/whdc/winlogo/categories.mspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   243
  Windows Logo Program Test Categories.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   244
http://www.microsoft.com/whdc/driver/install/drvsign/crosscert.mspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   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
0f14d202a576 To revert back::
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1154
diff changeset
   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
0f14d202a576 To revert back::
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1154
diff changeset
   254
To revert back::
0f14d202a576 To revert back::
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1154
diff changeset
   255
0f14d202a576 To revert back::
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1154
diff changeset
   256
  cmd> bcdedit.exe -set loadoptions ENABLE_INTEGRITY_CHECKS
0f14d202a576 To revert back::
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1154
diff changeset
   257
  cmd> bcdedit.exe -set TESTSIGNING OFF
0f14d202a576 To revert back::
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1154
diff changeset
   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
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   275
http://msdn.microsoft.com/en-us/library/ff552958.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   276
  Tools for Signing Drivers
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   277
http://www.microsoft.com/download/en/details.aspx?id=16770
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
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
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
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
2230
9e6ad6607a9e Fixed formatting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2228
diff changeset
   294
* Windows selects the driver that has the lowest rank value as the best match for the device.
9e6ad6607a9e Fixed formatting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2228
diff changeset
   295
* For drivers that have equal rank, Windows selects the driver that has the most recent date.
9e6ad6607a9e Fixed formatting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2228
diff changeset
   296
* For the drivers that have equal rank and date, Windows selects the driver that has the highest version.
9e6ad6607a9e Fixed formatting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2228
diff changeset
   297
* Windows XP SP1 and later: For drivers that have equal rank, date, and version, Windows can select any driver.
9e6ad6607a9e Fixed formatting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2228
diff changeset
   298
* Windows XP and Windows 2000: For drivers that have equal rank, date, and version, Windows can select any driver.
624
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
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
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
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   307
http://msdn.microsoft.com/en-us/library/ff538820%28VS.85%29.aspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   308
  Drivers for the Supported USB Device Classes
1894
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
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   318
* Passes the WHQL test program and receives a WHQL release signature.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   319
* Qualifies for the Windows Logo program.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   320
* Meets additional requirements that ensure that Windows Update can determine the correct driver
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   321
  package for the user's device, can legally distribute it, and can automatically download it.
642
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
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   324
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   325
* http://msdn.microsoft.com/en-us/library/ff554874.aspx
1153
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
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   329
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   330
PCI and AGP buses: Contain subsystem ID and subsystem vendor ID (&SUBSYS in the ID string). Drivers
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   331
must have VID/DID/SVID/SID PNP ID entries to be published via Windows Update.
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   332
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   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
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   335
* http://www.microsoft.com/whdc/archive/pciidspec.mspx
649
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   336
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   337
PCMCIA: Always specific; contains PCMCIA in the ID string.
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   338
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   339
USB: Contains VID and &PID in the ID string.
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   340
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   341
IEEE 1394: Always specific; contains 1394 in the ID string.
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   342
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   343
HID: Contains &VID and &PID in the ID string.
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   344
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   345
IDE: Contains IDE\ in the ID string.
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   346
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   347
Parallel Port Printers: Contain LPTENUM\ in the ID string.
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   348
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   349
IrDA Printers: IDs begin with HWP.
2c884c88fd23 Hardware ID.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 643
diff changeset
   350
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   351
http://www.microsoft.com/whdc/winlogo/winup/default.mspx
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 2129
diff changeset
   352
  Windows Update Driver Publishing