Ubuntu 中的串行输入,USB 转串行转换器 (Pl2303 - Prolific) 在 ubuntu 18.04 中不工作
Serial Input in Ubuntu, Usb to serial converter (Pl2303 - Prolific) not working in ubuntu 18.04
我正在尝试使用 Prolific PL2303 串行转换器电缆 (CA-US9) 从连接到 Ubuntu 启用的 UDOO 板的电子称重秤(称重传感器)读取输入,但无法读取任何输入从传感器。为了监视我尝试使用的输入(Coolterm 和 GTKTerm),假设我提到的驱动程序有问题并尝试更新 DTR 行作为以下堆栈溢出资源中建议的解决方案 Reference 1,Reference 2,Reference 3.
我也在基于 ubuntu 的计算机上进行了同样的设置,但问题仍然存在。使用 dmesg
命令,我能够检查连接时是否已正确检测到设备。作为dmesg | tail
执行的命令的输出如下:
[ 7365.393110] usb 1-3: new full-speed USB device number 53 using xhci_hcd
[ 7365.542407] usb 1-3: New USB device found, idVendor=067b, idProduct=2303, bcdDevice= 4.00
[ 7365.542424] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7365.542437] usb 1-3: Product: USB-Serial Controller D
[ 7365.542448] usb 1-3: Manufacturer: Prolific Technology Inc.
[ 7365.545546] pl2303 1-3:1.0: pl2303 converter detected
[ 7365.552313] usb 1-3: pl2303 converter now attached to ttyUSB0
[ 7373.296214] usb 1-3: USB disconnect, device number 53
[ 7373.297492] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[ 7373.297644] pl2303 1-3:1.0: device disconnected
设备保持物理连接,但命令输出似乎已断开连接,另外请建议如何找到连接的串行端口的端口 ID。
需要为 /dev/ttyUSB0 设置权限。
如果用户拨出很麻烦,那么我们必须授予 /dev/ttyUSB0 通用权限。
命令是 "sudo chmod 666 /dev/ttyUSB0"
我正在尝试使用 Prolific PL2303 串行转换器电缆 (CA-US9) 从连接到 Ubuntu 启用的 UDOO 板的电子称重秤(称重传感器)读取输入,但无法读取任何输入从传感器。为了监视我尝试使用的输入(Coolterm 和 GTKTerm),假设我提到的驱动程序有问题并尝试更新 DTR 行作为以下堆栈溢出资源中建议的解决方案 Reference 1,Reference 2,Reference 3.
我也在基于 ubuntu 的计算机上进行了同样的设置,但问题仍然存在。使用 dmesg
命令,我能够检查连接时是否已正确检测到设备。作为dmesg | tail
执行的命令的输出如下:
[ 7365.393110] usb 1-3: new full-speed USB device number 53 using xhci_hcd
[ 7365.542407] usb 1-3: New USB device found, idVendor=067b, idProduct=2303, bcdDevice= 4.00
[ 7365.542424] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7365.542437] usb 1-3: Product: USB-Serial Controller D
[ 7365.542448] usb 1-3: Manufacturer: Prolific Technology Inc.
[ 7365.545546] pl2303 1-3:1.0: pl2303 converter detected
[ 7365.552313] usb 1-3: pl2303 converter now attached to ttyUSB0
[ 7373.296214] usb 1-3: USB disconnect, device number 53
[ 7373.297492] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[ 7373.297644] pl2303 1-3:1.0: device disconnected
设备保持物理连接,但命令输出似乎已断开连接,另外请建议如何找到连接的串行端口的端口 ID。
需要为 /dev/ttyUSB0 设置权限。 如果用户拨出很麻烦,那么我们必须授予 /dev/ttyUSB0 通用权限。 命令是 "sudo chmod 666 /dev/ttyUSB0"