28.2.USB 虚拟串行端口
28.2.1. 配置 USB 设备模式串行端口
ttyU0 "/usr/libexec/getty 3wire" vt100 onifconsole secure
ttyU1 "/usr/libexec/getty 3wire" vt100 onifconsole securenotify 100 {
match "system" "DEVFS";
match "subsystem" "CDEV";
match "type" "CREATE";
match "cdev" "ttyU[0-9]+";
action "/sbin/init q";
};# service devd restartumodem_load="YES"
hw.usb.template=328.2.2. 从 FreeBSD 连接到 USB 设备模式串行端口
28.2.3. 从 macOS 连接到 USB 设备模式串行端口
28.2.4. 从 Linux 连接到 USB 设备模式串行端口
28.2.5. 从 Microsoft Windows 10 连接到 USB 设备模式串行端口
最后更新于