jjzjj

linux -/dev/tty* 的设备节点未为 uart 串行驱动程序创建

我在使用mdev规则运行busybox的嵌入式Linux中编写了一个简单的UART串​​行驱动程序。我在我的驱动程序代码中提供了.dev_name作为“ttyC2C”。staticstructuart_driverserial_omap_reg={.owner=THIS_MODULE,.driver_name="Omap-C2C-Serial",.dev_name="ttyC2C",.nr=OMAP_MAX_HSUART_PORTS,.cons=NULL,};但是节点是在中创建的./sys/devices/platform/omap_c2c_uart.0/tty/ttyC2C0./sy

linux -/dev/tty* 的设备节点未为 uart 串行驱动程序创建

我在使用mdev规则运行busybox的嵌入式Linux中编写了一个简单的UART串​​行驱动程序。我在我的驱动程序代码中提供了.dev_name作为“ttyC2C”。staticstructuart_driverserial_omap_reg={.owner=THIS_MODULE,.driver_name="Omap-C2C-Serial",.dev_name="ttyC2C",.nr=OMAP_MAX_HSUART_PORTS,.cons=NULL,};但是节点是在中创建的./sys/devices/platform/omap_c2c_uart.0/tty/ttyC2C0./sy