by Fanxiushu 2016 05-15 reprint or quote this article, please indicate the original author.People who have used VMware should know that VMware virtual machines have such a feature,When a USB device is plugged into the host, the USB device can be accessed in VMware's virtual machine system via setup.and accessing this USB device is just as true as inserting the
What about USB devices that are not recognized by USB tips? USB interface Devices in our life is very common, not as common as our USB mouse, USB keyboard, USB speakers, USBU disk, etc., but the use of
In the code of the entire USB-storage module, the most soul part is in a function called usb_stor_control_thread (), which is naturally the climax of our entire story. Some special functions are called from the usb_stor_acquire_resources () function, which we will see soon. It only appears once in the whole play, that is, in storage_probe, where the row number is 1005.
However, before that, there were four functions in front of us, namely get_device_i
This article was reproduced from: http://blog.csdn.net/zqixiao_09/article/details/50984074In the end user's view, USB device provides a variety of additional functions, such as file transfer, sound playback, etc., but it is consistent with the interface of all USB devices for USB host. A USB device consists of 3 functi
In the previous article, we have given the link address of the USB protocol, from this article, we will involve a lot of USB 1.1 content, our guiding ideology is to start with the familiar USB 1.1 protocol, first use off-the-shelf HCD and USBD, directly face the client driver programming, see the results as soon as possible, So that readers have confidence in the
After reading get_transport (), continue to read the get_protocol () and get_pipes () functions. Still from drivers/usb/storage/usb. c: 672staticintget_protocol (structus_data * us) 673 {674 switch (us- gt; subclass) {675
After reading get_transport (), continue to read the get_protocol () and get_pipes () functions. Still from drivers/usb/storage/
Technorati label: Boot Disk
How to Create a USB flash drive and install the system with a USB flash drive (reprinted)
Many of my friends are using laptops without optical drives, but the problem also arises. When we need to reinstall the system, there is no optical drive. What should we do? Maybe you can say that the hard disk can be installed under DOS, but how many people will use dos?
In fact, not only d
I. Advantages of USB Interface
Simple, fast, support for plug-and-play and hot swapping
2. USB communication
Host is the core of USB communication, and the common USB host is PC. Any USB data transmission must be initiated and controlled by the host. All
Linux-USB Gadget
OverviewThe Linux-USB Gadget driver framework (hereinafter referred to as gadget) provides software functions for devices defined by the USB protocol.Compared with the Linux USB host driver, the gadget driver appears later than 2.4.23.The Gadget Framework proposes a set of standard APIs, which are driv
From the Protocol to the Protocol (above)
In structusb_driver, the prototype of. Probe and. Disconnect is as follows:
836 int (* probe) (struct usb_interface * INTF,
837 const struct usb_device_id * ID );
838
839 void (* disconnect) (struct usb_interface * INTF );
Let's take a look at the parameter structusb_device_id, Which is needless to say. As we have already introduced, where does struct usb_interface come from? Let's start with struct usb_device.
We know that each device corresponds to a s
For the entire USB-storage module, the usb_stor_init () function is its start. However, for the USB flash drive, the function that actually drives the USB flash drive starts with the storage_probe () function.
As long as the two parallel lines overlap, it is doomed to start a lifetime of entanglement, no matter whether the middle is a short separation.
Come out and try again later. Basically, each directory in the Linux kernel has a Makefile. Makefile and Kconfig are just like a map of a city. a map shows us a city, while Makefile and Kconfig let us know what is under this directory...
"Come out and try again sooner or later ."
Basically, there is a Makefile under each directory in the Linux kernel. Makefile and Kconfig are like a map of a city. a map leads us to know a city, while Makefile and Kconfig let us know the structure under this dire
1, after the system plugged into the USB device, from the console interface has the following prompt:From the console information, you can see the inserted USB device name.As you can see, the plugged-in USB device is sde4.However, if the CRT tool is remotely connected to the past, you can use the following command to view the
Install a Linux system to a USB flash drive or a USB flash drive for a linux System
Step 1: First insert the usb flash drive to the usb interface of the Computer Host (it is recommended to insert the usb interface to the rear of the hosts box), and then open the UltraISO sof
USB protocol analysis, usb protocol
1. Description structure of USB devices
1. Logical Organizational Structure
The logical organization of a USB device consists of four layers: device, configuration, interface, and endpoint. A device usually has one or more configurations. The configuration usually has one or more int
"Come out and try again sooner or later ."
Basically, LinuxEach directory in the kernel has a makefile. MakefileAnd kconfigJust like a map of a city, a map leads us to know a city, while makefileAnd kconfigSo that we can understand the structure under this directory. Drivers/USB/storage/Makefile under the DirectoryThe content is as follows:
Lfg1:/usr/src/linux-2.6.22/Drivers/USB/storage #Cat makefile
#
# Ma
In the end user's view, USB device provides a variety of additional functions, such as file transfer, sound playback, etc., but it is consistent with the interface of all USB devices for USB host. A USB device consists of 3 function modules:USB bus interface ,USB logic devic
1-2 is omited, for more detail please referWww.usb.org.
.......
3 layout guidelines
3.1 General Routing and placementUse the following general routing and placement guidelines when laying out a new design. TheseGuidelines will help to minimize signal quality and EMI problems. The high speed USB validation effortsFocused on a four-layer motherboard where the first layer is a signal layer, the second layer is power,Third layer is ground and the fourth i
I. Overview of the ContentUsing STM32 internal USB controller outside the larger page NAND FLASH k9f1g08u0a implementation of a 128M u disk.1, STM32 USB controller stm32f103of theMCUcomes withUSBfrom the controller, in accordance withUSBspecification of communication connections;PCThe data transfer between the host and the microcontroller is accomplished by sharing a dedicated data buffer that can beUSBd
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.