How can we leverage the unfamiliar linux-usb driver development?
Source: Internet
Author: User
How to crack the unfamiliar linux-usb driver development-general Linux technology-Linux programming and kernel information, the following is a detailed description. Because there are many devices using u232 and serial ports, we are familiar with the transaction and data processes of serial ports, such as opening, configuring, reading, and writing, therefore, you can choose u232 for the analysis of the usb system, starting with driver/usb/serial/Mct_u232.c and Mct_u232.h, analyze the transaction process and data process, and gradually open the usb door under linux, therefore, I personally think it is better to start with the transaction process and data process than to perform a local analysis on a usb Block, each unit structure will naturally come out in the Process of transaction process and data process analysis. What comes out of this way gives people the feeling that they are not as abrupt and overwhelmed as the local analysis, if we overhead the analysis results obtained from local analysis, we will be confused about how the local structure is actually applied and where it will be applied, therefore, from the perspective of transaction flow and data flow, the whole process of walking through a single line is gradually enriched by several specific local structures in the process of analysis, highlight its advantage (gliethttp ). -- The above is a small impression after analysis.
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.