Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Vanaf Windows 2000 biedt het besturingssysteem systeem systeemeigen ondersteuning voor veel USB-apparaten voor massaopslag. The Usbstor.inf installation file contains device IDs for those devices that are explicitly supported. If the USB hub driver enumerates one of these devices, the operating system will automatically load the USB storage port driver, Usbstor.sys.
The device IDs for USB mass storage devices in Usbstor.inf take the usual form for USB device IDs composed by using information in the USB device's device descriptor:
USB\VID_v(4)&PID_d(4)&REV_r(4)
Where:
v(4) is the 4-digit vendor code that the USB committee assigns to the vendor.
d(4) is the 4-digit product code that the vendor assigns to the device.
r(4) is the revision code.
In addition to these device IDs, Usbstor.inf contains compatible IDs for class 8 ATAPI CD-ROM and removable media devices that support bulk-only transport:
USB\CLASS_08&SUBCLASS_02&PROT_50
USB\CLASS_08&SUBCLASS_05&PROT_50
USB\CLASS_08&SUBCLASS_06&PROT_50
Where:
klasse 08h = massaopslagapparaten.
subklasse 02h = SFF-8020i ATAPI CD-ROM apparaten.
subklasse 05h = SFF-8070i ATAPI verwisselbare media.
subklasse 06h = algemene SCSI-media.
protocol 50h = het bulk-only transportprotocol.
If the data retrieved from the device's device descriptor matches any of these compatible IDs, the operating system will load Usbstor.sys.
Zodra deze is geladen, maakt het stuurprogramma voor de USB-opslagpoort een nieuwe PDO voor elk van de logische eenheden van het apparaat. For more information, see the example device stack created by Usbstor.sys illustrated in Device Object Example for a USB Mass Storage Device.
Wanneer de PnP-manager query's uitvoert op de apparaatidentificatiereeksen van de zojuist gemaakte PnP-beheerprogramma's, maakt het stuurprogramma voor usb-opslagpoorten een nieuwe set apparaat-, hardware- en compatibele id's die zijn afgeleid van de SCSI-aanvraaggegevens van het apparaat. De indeling van de apparaat-id is als volgt:
USBSTOR\v(8)p(16)r(4)
Where:
v(8) is an 8-character vendor identifier.
p(16) is a 16-character product identifier.
r(4) is a 4-character revision level value.
Een voorbeeld van een apparaat-id voor een schijfstation is als volgt:
USBSTOR\SEAGATE_ST39102LW_______0004
De hardware-id's die door het stuurprogramma voor de USB-opslagpoort worden gegenereerd, zijn als volgt:
USBSTOR\t*v(8)p(16)r(4)
USBSTOR\t*v(8)p(16)
USBSTOR\t*v(8)
USBSTOR\v(8)p(16)r(1)
v(8)p(16)r(1)
USBSTOR\GenericTypeString
GenericTypeString
Where:
t* is a SCSI device type code of variable length.
v(8) is an 8-character vendor identifier.
p(16) is a 16-character product identifier.
r(4) is a 4-character revision level value. In these additional identifiers, r(1) represents just the first character of the revision identifier.
De volgende tabel bevat de SCSI-apparaattypecodes die door het stuurprogramma voor de USB-opslagpoort worden gebruikt om id-tekenreeksen te genereren.
| SCSI-typecode | Device type | Generic type |
|---|---|---|
DIRECT_ACCESS_DEVICE (0) |
Schijf of SFloppy |
GenDisk of GenSFloppy |
SEQUENTIAL_ACCESS_DEVICE (1) |
Sequential |
GenSequential |
WRITE_ONCE_READ_MULTIPLE_DEVICE (4) |
Worm |
GenWorm |
READ_ONLY_DIRECT_ACCESS_DEVICE (5) |
CdRom |
GenCdRom |
OPTICAL_DEVICE (7) |
Optical |
GenOptical |
MEDIUM_CHANGER (8) |
Changer |
GenChanger |
Standaardtype (alle waarden die niet eerder worden vermeld) |
Other |
UsbstorOther |
In deze voorbeelden ziet u de hardware-id's die worden gegenereerd door het stuurprogramma voor de USB-opslagpoort:
USBSTOR\DiskSEAGATE_ST39102LW_______0004
USBSTOR\DiskSEAGATE_ST39102LW_______
USBSTOR\DiskSEAGATE_
USBSTOR\SEAGATE_ST39102LW_______0
SEAGATE_ST39102LW_______0
USBSTOR\GenDisk
GenDisk
Het stuurprogramma voor de USB-opslagpoort genereert twee compatibele id's.
USBSTOR\t*
USBSTOR\RAW
where t* is a SCSI device type code of variable length.
De compatibele id's die door het stuurprogramma voor de USB-opslagpoort worden gegenereerd, worden geïllustreerd door de volgende voorbeelden:
USBSTOR\Disk
USBSTOR\RAW