[问题求助]
在RK3588 Linux系统中安装 CH341 驱动,串口没法使用。要怎么处理?
|
使用的是RK3588 Linux系统,安装 CH341.ko 后,驱动还是没法使用,麻烦看看是什么原因?下面是异常的日志。
- [ 14.249014] rockchip-dp fdec0000.edp: failed to read max link rate
- [ 14.284922] rockchip-dp fdec0000.edp: failed to read max link rate
- [ 14.957707] ttyFIQ ttyFIQ0: tty_port_close_start: tty->count = 1 port count = 2
- [ 16.886640] rockchip-dp fdec0000.edp: failed to read max link rate
- [ 18.334406] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
- [ 18.334881] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
- [ 18.335418] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
- [ 18.335612] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
- [ 21.880613] rk_gmac-dwmac fe1c0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
- [ 21.880705] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
- [ 21.881324] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
- [ 21.890376] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
- [ 23.228796] of_dma_request_slave_channel: dma-names property of node '/serial@feb40000' missing or empty
- [ 23.228814] dw-apb-uart feb40000.serial: failed to request DMA, use interrupt mode
- [ 23.270482] of_dma_request_slave_channel: dma-names property of node '/serial@feb70000' missing or empty
- [ 23.270499] dw-apb-uart feb70000.serial: failed to request DMA, use interrupt mode
- [ 23.344844] of_dma_request_slave_channel: dma-names property of node '/serial@feba0000' missing or empty
- [ 23.344862] dw-apb-uart feba0000.serial: failed to request DMA, use interrupt mode
- [ 31.465118] systemd-journald[272]: Failed to read journal file /var/log/journal/bcd2c5c6c2234abfaca379a4c143245a/user-1000.journal for rotation, trying to move it out of the way: Device or resource busy
- [ 38.410360] vcc3v3_pcie30: disabling
- [ 38.410578] vcc3v3_lcd_dsi0: disabling
- [ 38.410589] vcc3v3_lcd_dsi1: disabling
- [ 49.057052] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
- [ 49.057420] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
- [ 49.057710] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
- [ 49.287064] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
- [ 49.287484] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
- [ 49.287802] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
- [ 385.101808] usbcore: registered new interface driver usb_ch341
- [ 385.101818] ch341: USB serial driver for ch340, ch341, etc.
- [ 385.101820] ch341: V1.7 On 2023.07
- [ 406.073316] usb 1-1.2: USB disconnect, device number 3
- [ 411.066930] usb 1-1.1: new full-speed USB device number 4 using ehci-platform
- [ 411.188819] usb 1-1.1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice=81.34
- [ 411.188832] usb 1-1.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
- [ 411.188836] usb 1-1.1: Product: USB Serial
- [ 411.190035] usb_ch341 1-1.1:1.0: ttyCH341USB0: ch341 USB device
- [ 411.274618] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input6
- [ 411.276029] usb 1-1.1: usbfs: interface 0 claimed by usb_ch341 while 'brltty' sets config #1
- [ 411.276711] usb_ch341 1-1.1:1.0: ch341 usb device disconnect.
复制代码
|
|
|
|
|
|
|
从日志来看,就是 brltty 服务和 CH341冲突了,可以用下面命令移除 britty 服务。然后再重新加载驱动。
|
|
|
|
|
|