How to implement USB Mass Storage drive under Linux
Version:v0.7
How to Write Linux USB MSC (Mass Storage Class) Drivercrifan Li
Summary
This paper mainly introduces the relationship between the various protocols of USB Mass storage, and how to implement USB drive under the Linux driver framework.
|
This article provides a variety of formats for: |
Online reading |
Html |
Htmls |
Pdf |
Chm |
Txt |
Rtf |
WEBHELP |
Download (7zip compressed package) |
Html |
Htmls |
Pdf |
Chm |
Txt |
Rtf |
WEBHELP |
The online address of the HTML version is: Http://www.crifan.com/files/doc/docbook/usb_disk_driver/release/html/usb_disk_driver.html Have any comments, suggestions, submit bugs, etc., are welcome to discuss group Post discussion: http://www.crifan.com/bbs/categories/usb_disk_driver/ |
2013-09-05
Revision history |
Revision 0.4 |
2011-07-01 |
Ar. |
- Describes how to implement USB drive in Linux
|
Revision 0.7 |
2013-09-05 |
Ar. |
- Published by DocBook
- Update All Xml:id
|
Copyright © Crifan, http://crifan.com
This article complies with: Attribution-non-commercial use 2.5 mainland China (CC BY-NC 2.5)
Directory
-
- Abbreviated words
-
- Before the text
-
-
- 1. The purpose of this article
- 2. Read the prerequisite knowledge required for this article
- 3. Disclaimer
-
- 1. USB Basics
-
-
- 1.1. USB Hardware
- 1.2. USB-related protocols
- 1.3. USB-related software implementations
-
- 2. Basic knowledge of USB Mass storage bulk Storage
-
-
- 2.1. USB Mass Storage related protocols
-
-
- 2.1.1. Introduction to USB Mass Storage related protocols
-
- 2.1.1.1. USB MSC control/bulk/interrupt (CBI) Transport
- 2.1.1.2. USB MSC Bulk-only (BBB) Transport
-
- 2.1.1.2.1. Why USB MSc in Bulk-onl Y transport is called the BBB
- 2.1.1.2.2. Why we already have the CBI and get a BBB again
- 2.1.1.3. USB MSC UFI Command specification
- 2.1.1.4. USB MSC bootability specification
- 2.1.1.5. USB MSC Compliance Test specification
- 2.1.1.6. USB lockable Storage Devices Feature specification
- 2.1.1.7. USB MSC USB Attached SCSI Protocol (UASP)
-
- 2.1.1.7.1. already has a SCSI protocol, for Why do I have to get another uasp
-
- 2.1.2. Summary of the relationship between the various protocols of USB MSC
-
- 2.1.3. The corresponding relationship between the USB stick and the Class,subclass and protocol
-
-
- 2.1.3.1. Binterfaceclass=0x08=mass Storage
- 2.1.3.2. BINTERFACESUBCLASS=0X06=SCSI Transparent
- 2.1.3.3. Binterfaceprotocol=0x50=bulk only Transport
-
- 2.2. USB Mass Storage related software implementation
3. What is the whole process of implementing USB drive?
4. What the USB-driven framework has done under the Linux system
5. What you need to do and how to do it when implementing USB drive in Linux
Reference books
List of illustrations
-
1. U disk
-
2.1. USB Mass Storage Framework
-
2.2. PC and USB flash drive
-
2.3. Internal chip structure of PC and U disk
-
2.4. Internal logic block diagram for PC and U disk
-
2.5. PC and USB MSC devices
-
2.6. Classification of USB MSC
-
2.7. USB Storage Class Protocol Relation
-
2.8. Subclass Codes Mapped to Command Block specifications
-
2.9. Mass Storage Transport Protocol
-
3.1. USB Data Flow Diagram
Implementation of Linux USB Mass Storage Drive