USB device drive 0: Found from USB device

Source: Internet
Author: User

After sorting and digesting the device model, you have the foundation to compile a device driver program.

You need to be familiar with the driver of the USB device because of the working relationship. Therefore, select the driver of the USB device as the start point.

 

How can a USB device be discovered by the USB System and installed with the corresponding device driver so that the USB device can work properly?

 

When a USB device connects to the host through a USB interface, it is actually linked to an interface of a USB Hub (hub, the interface of the hub has a level change (high-speed devices are uplinked to D +, and low-speed devices are uplinked to D +), so that the port has access from the device, in this way, the USB master controller can be notified that a device has been inserted on an interface of the hub. At this time, the USB Host determines what action to take.

 

Generally, a USB device can be directly connected to the hub or an intermediate hub. A is a USB device connected to the hub, and B is linked to the intermediate hub.

In this case, we first met a USB hub. How the hub discovers the device and how the device works through the hub is the basis for the work of the USB device.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.