Before Yan
In 1991, Linux was born. Because of the open source code, Linux has become increasingly popular over the past decade, and the flames have burned to the vast land of China. Many colleges and universities begin to offer Linux-related courses, and many enterprises begin to recruit Linux-related talents. There are also endless books on Linux on the market, which are roughly divided into two categories: Application books, such as how to build various servers; and kernel books, it mainly analyzes the kernel source code. This book is represented by the Linux Device Driver and Linux kernel. From the current talent market in China, there is no need to worry about finding a job that understands the Linux kernel. In fact, it is no exaggeration to say that if contemporary college students can read and understand these two books, they will be in first-tier cities such as Beijing, Shanghai, and Shenzhen, it is easy to find a decent technical job.
So why do we need to write another Linux kernel book? Because the Linux kernel contains a large amount of code, the above two books represent that many Linux kernel books cover a wide range of content. Most books describe and analyze each part of the Linux kernel one by one, however, in reality, no one is proficient in all parts of the Linux kernel, including Linus Torvalds himself. Users who are interested in Linux development do not need to have enough time to understand each part of Linux. On the other hand, many friends who are interested in the Linux kernel are often troubled by a problem, that is, the huge amount of code in the Linux kernel. Where should I learn from beginners? In fact, the Linux Device Driver provides a good answer. Learning the driver code is the most effective way to get started. The first reason is that about 87.53% of the huge Linux kernel source code is a variety of driver code, and its importance can be imagined. The second reason is that the difficulty of the driver code is relatively low, it rarely involves complex and advanced algorithms, so it is suitable for beginners to study.
However, the netizen "Never fall" once asked us: "since we already have the" Linux Device Driver ", why do you need to write a book related to the Linux Device Driver? Are you doing this ?" What we want to talk about here is that although the book "Linux device drivers" is very powerful, it introduces various types of device drivers, but after reading this book, do some readers dare to write their own Linux device drivers? Dare they say they fully understand how a real Linux device driver is written? At least after reading this book, I think it has benefited a lot, but I still don't know how to write the Linux driver, I still don't think I can write the Linux Device Driver. Then I decided to select a sub-system for research. After the research, I wrote out my research experience and shared it with you. In the end, we chose the USB subsystem. The reason is very simple. USB bus and various USB devices connected to the USB Bus have been widely used in contemporary computers, especially for college students, the most exposed devices are USB devices. Therefore, we research and analyze the USB bus, and the various USB devices above should make everyone feel very kind, real, practical, and nostalgic. Someone once said: "USB Bus is like a river, and the left bank is a memory that I can't forget. The Right Bank is a bright period of time worth holding on, flowing in the middle. It is a kind of sentimental feeling that I feel every year!"
I would like to extend my sincere gratitude to you for your help in writing this book. First of all, I would like to thank sun xuexiao for editing the book. Without her efforts, the content of this book will remain on the Internet and will not be published to help more people who need it. Then I would like to thank many teachers and friends who have given us technical guidance and help, especially maintaner on the USB side. Alan stem's patience in answering and replying to our questions.
Title: LinuxI amUSB
Author: Xiao linfu Xiao Jidong Ren qiaowei By
ISBN 978-7-121-11178-5
Publication date: 2010Year7Month
Pricing:79.00RMB
Start: 16Open
Page number: 576Page
Publicity
Tens of thousands of people compete to read
Csdn blogExpertsFudan_abcLatest masterpiece
Internal Capacity Simplified Introduction
Based on the 2.6.22 kernel, this book analyzes most of the source code of the USB subsystem line by line and systematically explains how the USB subsystem works in the Linux kernel, how the modules inside the subsystem cooperate with each other.
This book uses humorous pen calls to analyze the source code of the USB sub-system in the Linux kernel, and introduces the implementation of USB in Linux in detail. This book covers all aspects of USB implementation from USB flash drive, Hub, USB core to host controller, and is hailed by some netizens as the "Bible" developed by USB ".
For Linux beginners, you can use this book to learn the kernel and browse the kernel code. For Linux drivers, you can use this book to have a profound understanding of the device model. For USB developers, you can use this book to fully understand the implementation of USB in an operating system. For Linux kernel developers, you can also use this book to learn how many Linux experts develop and maintain a complete subsystem.