[RK3399][Android7.1]USB Notes (3)-USB serial device driver usb_serial_probe focuses on analysis

Insert picture description here

Article Directory

platform Kernel version Android version
RK3399 Linux4.4 Android7.1

Serial ttydetection device is a member function usb_serial_probe(), it USBhas an important role in the development of serial device drivers, it is used on the serial port USBwhen the device is inserted to obtain the corresponding configuration information, and initializes the corresponding URBstructure information
directly on the big picture analysis:
Insert picture description here

usb_serial_probe()Function by first search_serial_device()function to find the corresponding kernelu

Guess you like

Origin blog.csdn.net/qq_33487044/article/details/108030759