Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

117 lines
6.1 KiB

  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
  5. <meta name="ProgId" content="FrontPage.Editor.Document">
  6. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  7. <title>This sample demonstrates basic Isochronous IO under WDM with the Intel
  8. i82930 USB controller</title>
  9. </head>
  10. <body>
  11. <p>This sample demonstrates basic Isochronous IO under WDM with the Intel i82930
  12. USB controller. <br>
  13. <br>
  14. See the document for the corresponding Bulk IO sample, &quot;BulkUsb.Doc&quot; for
  15. discussion of basic architechtural issues,as well as Plug and Play and Power
  16. Management IRP handling, as it is basically the same as in this sample.<br>
  17. <br>
  18. The accompanying console test application for IsoUsb.Sys, RwIso.Exe, operates
  19. similarly to RwBulk.Exe, the console test app for BulkUsb.sys. See BulkUsb.Doc.</p>
  20. <p>Installing IsoUsb.sys<br>
  21. ---------------------</p>
  22. <ol>
  23. <li>Make an 'OEM installation diskette' or equivalent installation source
  24. directory for IsoUsb.sys by copying IsoUsb.sys and IsoUsb.inf into it.The
  25. sample IsoUsb.Inf is in the DDK IsoUsb\Sys source directory. </li>
  26. <li>Make sure your device has been programmed with the device VID/PID in the
  27. IsoUsb.inf file. If not, edit the device VID, PID, and description text to
  28. match your test board/device.</li>
  29. <li>Depending on the operating system you are using:</li>
  30. </ol>
  31. <p>On Windows 2000:</p>
  32. <blockquote>
  33. <p>When you plug in the device, the &quot;Found New Hardware Wizard&quot; dialog box
  34. will appear with the subheading &quot;Install Hardware Device Drivers&quot;. Hit the
  35. radio button labelled &quot;Search for a suitable driver for your device
  36. (Recommended)&quot; and then hit the &quot;Next&quot; button. The following screen has you
  37. specify your installation source floppy or directory. Do so, then hit the
  38. &quot;Next&quot; button. The next screen should indicate that Windows 2000 is ready to
  39. install the driver. Near the middle of the box, you should see the full source
  40. path to IsoUsb.Inf. Hit the &quot;Next&quot; button. You'll briefly see a &quot;copying
  41. Files&quot; message box, then once again the &quot;Found New Hardware Wizard&quot; box, now
  42. displaying the subheading, &quot;Hardware Install: The hardware installation is
  43. complete&quot;. Hit the &quot;Finish&quot; button. You should now have a copy of IsoUsb.Sys
  44. in your \System32\Drivers directory, a IsoUsb.Inf in your \Winnt\Inf
  45. directory, and a newly-created IsoUsb.Pnf file, which is a precompiled setup
  46. info file that Windows 2000 creates. If the final &quot;Add New Hardware Wizard&quot;
  47. box indicates any error, or if the OS says you must reboot to finish
  48. installation of this device, something has gone wrong. Check your Inf file,
  49. Install directory, or driver code, follow the instructions in the below
  50. section on simulating a 'first-time' install, and start over.</p>
  51. </blockquote>
  52. <p>On Win98: </p>
  53. <blockquote>
  54. <p>Plug in the device. The &quot;Add New Hardware Wizard&quot; dialog box will appear,
  55. indicating that &quot;This wizard searches for new drivers for: [your deviceName as
  56. programmed into your board's hardware]. Hit the &quot;Next&quot; button. On the
  57. following screen, hit the radio button labelled &quot;Search for the best driver
  58. for your device (Recommended)&quot; . Hit the &quot;Next&quot; button. The next screen has
  59. you specify your installation source floppy or directory. Do so, then hit the
  60. &quot;Next&quot; button. The next screen should indicate that Windows is ready to
  61. install the driver. You should see the full source path to IsoUsb.Inf under
  62. the label: &quot;Location of Driver&quot;. Hit the &quot;Next&quot; button. You will see the
  63. &quot;Building Driver Information Database&quot; message box, then, if the installation
  64. and loading of the driver have succeeded, you will see the final wizard box
  65. saying &quot; Windows has finished installing the software that your new hardware
  66. device requires.&quot; Hit the &quot;Finish&quot; button. If the final &quot;Add New Hardware
  67. Wizard&quot; box indicates any error, or if the OS says you must reboot to finish
  68. installation of this device, something has gone wrong. Check your Inf file,
  69. Install directory,or driver code, follow the below instructions on simulating
  70. a 'first-time' install, and start over.</p>
  71. </blockquote>
  72. <p>Updating the Driver<br>
  73. -------------------</p>
  74. <p>To install a new version of your driver after a successful initial
  75. installation, simply replace the binary in \System32\Drivers. If the initial or
  76. last installation failed for any reason, follow the below instructions on
  77. simulating a 'first-time' install.</p>
  78. <p><br>
  79. Simulating a 'First-time' Install <br>
  80. -------------------------------<br>
  81. If you want to test Inf file or installation program modifications, or if your
  82. first install failed for any reason and you need to do, in effect, a new
  83. 'first-time' driver installation without reinstalling a fresh Win98 or Windows
  84. 2000, do the following:</p>
  85. <ol>
  86. <li>Delete IsoUsb.inf from the \Windows\Inf or \Winnt\Inf directory. On Winnt,
  87. also delete IsoUsb.PNF from the \Winnt\Inf directory.</li>
  88. <li>Delete IsoUsb.Sys from the \System32\Drivers directory.</li>
  89. <li>Using RegEdit on Win98, or RegEdt32 on Windows 2000, purge the registry of
  90. the following driver information:</li>
  91. </ol>
  92. <p>For Windows 98: </p>
  93. <blockquote>
  94. <p>Delete the following registry key:<br>
  95. \LocalMachine\System\Enum\USB\[the key with your device ID/PID], <br>
  96. ( in the case of our sample as published, this would be:<br>
  97. \LocalMachine\System\Enum\USB\VID_045E&amp;PID_930A )</p>
  98. </blockquote>
  99. <p>For Windows 2000:</p>
  100. <blockquote>
  101. <p>Delete the following registry key:<br>
  102. \LocalMachine\System\CurrentControlSet\Enum\USB\[the key with your deviceId/PID]<br>
  103. On Windows 2000, you must restart the system before reinstalling the driver;
  104. this is not neccesary on Win98.</p>
  105. </blockquote>
  106. <p><br>
  107. IsoUsb.Inf is in the Sys subdirectory.</p>
  108. <p>It allows you to set registry overrides for:</p>
  109. <p>&quot;DebugLevel&quot; debug verbosity level, where 0 == no debug output, 1 == default
  110. , higher == more verbose.</p>
  111. </body>
  112. </html>