Description: USB海量存储设备类规范包括四个独立的子类规范:(ATA command的那个没有)
①USB Mass Storgage Class Control/Bulk/Interrupt(CBI)Transport
②USB Mass Storage Class Bulk-Only Transport
③USB Mass Storage Class ATA Command Block
④USB Mass Stroage Class UFI Command Specification。
前两个子规范定义了数据/命令/状态在USB上的传输方法。
Bulk-Only传输规范仅仅使用Bulk端点传送数据/命令/状态,
CBI传输规范则使用Control/Bulk/Interrupt三种类型的端点进行数据/命令/状态传送。
后两个子规范定义了对存储介质的操作命令。
ATA 命令规范用于硬盘。
UFI命令规范是针对USB移动存储而制定的,实际上UFI命令格式是基于SFF-8070i和SCSI-2规范,总共定义了19个12字节长度的操作命令。 Platform: |
Size: 349817 |
Author:常工 |
Hits:
Description: The CD Audio sample allows some non-SCSI2 CD ROMs to support audio operations by intercepting the relevant audio ioctls and translating them into the command block(s) expected by the non-compliant cdroms. It supports Plug and Play and Power Management, and is 64-bit compliant. - The CD Audio sample allows some non-SCSI2 CD ROMs to support audio operations by intercepting the relevant audio ioctls and translating them into the command block(s) expected by the non-compliant cdroms. It supports Plug and Play and Power Management, and is 64-bit compliant. Platform: |
Size: 53248 |
Author:真姓名 |
Hits:
Description: USB海量存储设备类规范包括四个独立的子类规范:(ATA command的那个没有)
①USB Mass Storgage Class Control/Bulk/Interrupt(CBI)Transport
②USB Mass Storage Class Bulk-Only Transport
③USB Mass Storage Class ATA Command Block
④USB Mass Stroage Class UFI Command Specification。
前两个子规范定义了数据/命令/状态在USB上的传输方法。
Bulk-Only传输规范仅仅使用Bulk端点传送数据/命令/状态,
CBI传输规范则使用Control/Bulk/Interrupt三种类型的端点进行数据/命令/状态传送。
后两个子规范定义了对存储介质的操作命令。
ATA 命令规范用于硬盘。
UFI命令规范是针对USB移动存储而制定的,实际上UFI命令格式是基于SFF-8070i和SCSI-2规范,总共定义了19个12字节长度的操作命令。-err Platform: |
Size: 349184 |
Author:常工 |
Hits:
Description: SCSI Multimedia Commands 鈥?2 (MMC-2)
NCITS 333 T10/1228-D
4.1.1. CD address reporting formats (MSF bit)
Several CD commands can report addresses either in logical block address or in MSF format (see Table 1).
The READ HEADER, READ SUB-CHANNEL, and READ TOC/PMA/ATIP commands have this Feature Platform: |
Size: 1284096 |
Author:zyx |
Hits:
Description: SCSI Multimedia Commands 鈥?3 (MMC-3)
T10/1363-D
5.16 READ CAPACITY Command
The READ CAPACITY command (Table 144) provides a means for the Initiator to request information
regarding the capacity of the Logical Unit. This command shall not report the correct capacity of the
recorded data for CD-R, CD-RW and DVD-R/-RW media that does not have a Lead-out in the last
Session or last Border-out. For CD-ROM, the returned logical block address is modified to allow returning
a possibly inexact value (but one with a known error bound) based on the Table of Contents data Platform: |
Size: 1736704 |
Author:zyx |
Hits:
Description: ---
page_type: sample
description: "Demonstrates how to communicate with a SCSI device using pass-through IOCTLs in an application using DeviceIoControl API."
languages:
- cpp
products:
- windows
- windows-wdk
---
# SCSI Pass-Through Interface Tool
The SCSI Pass Through Interface sample demonstrates how to communicate with a SCSI device from Microsoft Win32 applications by using the **DeviceIoControl** API.
## Installation and Operation
The storage port drivers provide an interface for Win32 applications to send SCSI CBDs (Command Descriptor Block) to SCSI devices. The interfaces are [**IOCTL\_SCSI\_PASS\_THROUGH**](https://docs.microsoft.com/windows-hardware/drivers/ddi/content/ntddscsi/ni-ntddscsi-ioctl_scsi_pass_through) and [**IOCTL\_SCSI\_PASS\_THROUGH\_DIRECT**](https://docs.microsoft.com/windows-hardware/drivers/ddi/content/ntddscsi/ni-ntddscsi-ioctl_scsi_pass_through_direct). Applications can build a pass-through request and send it to the device by using this IOCTL.
Two command line parameters can be used with *SPTI.EXE*. The first parameter is mandatory. It is the name of the device to be opened. Typical values for this are drive letters such as "C:", or device names as defined by a class driver such as Scanner0, or the SCSI port driver name, ScsiN:, where N = 0, 1, 2, etc. The second parameter is optional and is used to set the share mode (note that access mode and share mode are different things) and sector size. The default share mode is (FILE\_SHARE\_READ | FILE\_SHARE\_WRITE) and the default sector size is 512. A parameter of "r" changes the share mode to only FILE\_SHARE\_READ. A parameter of "w" changes the share mode to only FILE\_SHARE\_WRITE. A parameter of "c" changes the share mode to only FILE\_SHARE\_READ and also changes the sector size to 2048. Typically, a CD-ROM device would use the "c" parameter. Platform: |
Size: 16254 |
Author:vitali_b@bk.ru |
Hits: