首页>
外国专利>
USB SERIAL PORT REALIZATION METHOD FOR LINUX SYSTEM CONSOLE, AND RELATED PRODUCT
USB SERIAL PORT REALIZATION METHOD FOR LINUX SYSTEM CONSOLE, AND RELATED PRODUCT
展开▼
机译:Linux系统控制台和相关产品的USB串行端口实现方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
A USB serial port realization method for a Linux system console. The method comprises the following steps: when a console terminal is started, invoking a kernel to configure a kernel command line cmdline to be a multi-terminal start, and registering a USB serial port as a terminal; when the console terminal detects that a USB cable is inserted, configuring the connection state of the USB cable to be a connected state, and invoking a function to adjust the state of the USB serial port to be open; when it is determined that a first USB serial port at a peer end of the USB serial port is open, configuring the state of the USB serial port to be an open state; and the console terminal acquiring printk information, and invoking a write function of a console port to send the printk information and data in a preset cache region to a peer device by means of the USB serial port. The method has the advantage of a high transmission speed.
展开▼