Article Directory
platform | Kernel version | Android version |
---|---|---|
RK3399 | Linux4.4 | Android7.1 |
Serial tty
detection device is a member function usb_serial_probe()
, it USB
has an important role in the development of serial device drivers, it is used on the serial port USB
when the device is inserted to obtain the corresponding configuration information, and initializes the corresponding URB
structure information
directly on the big picture analysis:
usb_serial_probe()
Function by first search_serial_device()
function to find the corresponding kernelu