1回答

0收藏

[问题求助] 在RK3588 Linux系统中安装 CH341 驱动,串口没法使用。要怎么处理?

Linux OS Linux OS 22 人阅读 | 1 人回复 | 2024-12-24

使用的是RK3588  Linux系统,安装  CH341.ko 后,驱动还是没法使用,麻烦看看是什么原因?下面是异常的日志。
  1. [   14.249014] rockchip-dp fdec0000.edp: failed to read max link rate
  2. [   14.284922] rockchip-dp fdec0000.edp: failed to read max link rate
  3. [   14.957707] ttyFIQ ttyFIQ0: tty_port_close_start: tty->count = 1 port count = 2
  4. [   16.886640] rockchip-dp fdec0000.edp: failed to read max link rate
  5. [   18.334406] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
  6. [   18.334881] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
  7. [   18.335418] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
  8. [   18.335612] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
  9. [   21.880613] rk_gmac-dwmac fe1c0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
  10. [   21.880705] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
  11. [   21.881324] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
  12. [   21.890376] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
  13. [   23.228796] of_dma_request_slave_channel: dma-names property of node '/serial@feb40000' missing or empty
  14. [   23.228814] dw-apb-uart feb40000.serial: failed to request DMA, use interrupt mode
  15. [   23.270482] of_dma_request_slave_channel: dma-names property of node '/serial@feb70000' missing or empty
  16. [   23.270499] dw-apb-uart feb70000.serial: failed to request DMA, use interrupt mode
  17. [   23.344844] of_dma_request_slave_channel: dma-names property of node '/serial@feba0000' missing or empty
  18. [   23.344862] dw-apb-uart feba0000.serial: failed to request DMA, use interrupt mode
  19. [   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
  20. [   38.410360] vcc3v3_pcie30: disabling
  21. [   38.410578] vcc3v3_lcd_dsi0: disabling
  22. [   38.410589] vcc3v3_lcd_dsi1: disabling
  23. [   49.057052] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
  24. [   49.057420] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
  25. [   49.057710] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
  26. [   49.287064] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
  27. [   49.287484] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
  28. [   49.287802] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
  29. [  385.101808] usbcore: registered new interface driver usb_ch341
  30. [  385.101818] ch341: USB serial driver for ch340, ch341, etc.
  31. [  385.101820] ch341: V1.7 On 2023.07
  32. [  406.073316] usb 1-1.2: USB disconnect, device number 3
  33. [  411.066930] usb 1-1.1: new full-speed USB device number 4 using ehci-platform
  34. [  411.188819] usb 1-1.1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice=81.34
  35. [  411.188832] usb 1-1.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
  36. [  411.188836] usb 1-1.1: Product: USB Serial
  37. [  411.190035] usb_ch341 1-1.1:1.0: ttyCH341USB0: ch341 USB device
  38. [  411.274618] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input6
  39. [  411.276029] usb 1-1.1: usbfs: interface 0 claimed by usb_ch341 while 'brltty' sets config #1
  40. [  411.276711] usb_ch341 1-1.1:1.0: ch341 usb device disconnect.
复制代码


分享到:
回复

使用道具 举报

回答|共 1 个

admin

发表于 9 小时前 | 显示全部楼层

从日志来看,就是 brltty 服务和 CH341冲突了,可以用下面命令移除 britty 服务。然后再重新加载驱动。
  1. sudo apt remove brltty
复制代码


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

6 积分
2 主题