driver-win.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Fri, 07 Aug 2009 09:41:26 +0300
changeset 173 939f50e22bda
parent 169 0f84c4f84770
child 176 5181378e42af
permissions -rw-r--r--
Driver type.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
169
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
-*- outline -*-
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
* Which version exist?
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
 - VxD
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
                Windows 3.x and Windows 9x
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
 - Windows Driver Model (WDM)
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
                Windows 98, Windows 98 Second Edition, Windows Me, Windows
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
                2000, Windows XP, Windows Server 2003 and Windows Vista (for
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
                backwards compatibility)
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
 - Windows Driver Foundation (WDF)
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
                Windows 2000 and later
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
* VxD.
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
See
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
  http://en.wikipedia.org/wiki/VxD
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    19
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    20
* WDM.
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    21
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    22
See
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    23
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    24
  http://en.wikipedia.org/wiki/Windows_Driver_Model
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    25
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    26
* WDF.
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    27
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    28
See
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    29
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    30
  http://en.wikipedia.org/wiki/Windows_Driver_Foundation
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    31
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    32
* Filename extension.
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    33
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    34
 * VxD
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    35
    .386 under Windows 3.x
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    36
    .vxd under Windows 95
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    37
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    38
* Tools.
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    39
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    40
** Microsoft DDK.
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    41
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    42
*** DevCon.
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    43
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    44
Supported device classes:
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    45
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    46
  cmd> devcon.exe classes
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    47
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    48
Which files used by specific driver (with "*" prints list of files for all drivers):
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    49
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    50
  cmd> devcon.exe driverfiles *
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    51
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    52
Device ID (names included):
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    53
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    54
  cmd> devcon.exe hwids *
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    55
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    56
Device status (running/stoped):
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    57
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    58
  cmd> devcon.exe status *
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    59
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    60
** USB Command Verifier.
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    61
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    62
All USB peripherals are required to pass the Device Framework tests in order
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    63
to gain certification.
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    64
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    65
  http://www.usb.org/developers/tools/
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    66
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    67
* Files.
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    68
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    69
** Windows 98 SE/ME.
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    70
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    71
** Windows NT (2000/XP/2003).
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    72
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    73
 * .inf
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    74
   Stored in %Windir%\Inf.
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    75
 * .pnf
0f84c4f84770 Development tools for windows drivers.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    76
   Precompiled INF File. Stored in %Windir%\Inf.
173
939f50e22bda Driver type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 169
diff changeset
    77
939f50e22bda Driver type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 169
diff changeset
    78
* Driver type.
939f50e22bda Driver type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 169
diff changeset
    79
939f50e22bda Driver type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 169
diff changeset
    80
** CDC.
939f50e22bda Driver type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 169
diff changeset
    81
939f50e22bda Driver type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 169
diff changeset
    82
  http://support.microsoft.com/kb/837637
939f50e22bda Driver type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 169
diff changeset
    83
                How to use or to reference the Usbser.sys driver from
939f50e22bda Driver type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 169
diff changeset
    84
                universal serial bus (USB) modem .inf files.
939f50e22bda Driver type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 169
diff changeset
    85
939f50e22bda Driver type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 169
diff changeset
    86
* Driver class.
939f50e22bda Driver type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 169
diff changeset
    87
939f50e22bda Driver type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 169
diff changeset
    88
See
939f50e22bda Driver type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 169
diff changeset
    89
939f50e22bda Driver type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 169
diff changeset
    90
  http://msdn.microsoft.com/en-us/library/ms791134.aspx
939f50e22bda Driver type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 169
diff changeset
    91
                System-Supplied Device Setup Classes