首页> 外国专利> 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.
机译:用于Linux系统控制台的USB串行端口实现方法。该方法包括以下步骤:启动控制台终端时,调用内核以将内核命令行cmdline配置为多终端启动,并将USB串行端口注册为终端;当控制台终端检测到插入USB电缆时,将USB电缆的连接状态配置为连接状态,并调用函数以调整USB串口的状态以打开;当确定USB串口的对等端的第一个USB串行端口打开时,将USB串行端口的状态配置为打开状态;和控制台终端获取打印信息,并调用控制台端口的写入功能,以通过USB串行端口将预设高速缓存区域中的打印信息和数据发送到对等设备。该方法具有高传输速度的优点。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号