rv1126開發(fā)板添加ch343驅(qū)動出現(xiàn)錯誤

icon_rar.gifch343ser_linux-main.zip

用的是這個代碼。

編譯正常。能正常識別到ttyCH343USB0.


[? 163.815243] usb 2-1: new full-speed USB device number 2 using ohci-platform

[? 164.042656] usb 2-1: New USB device found, idVendor=1a86, idProduct=55d3, bcdDevice= 4.45

[? 164.042685] usb 2-1: New USB device strings: Mfr=0, Product=2, SerialNumber=3

[? 164.042695] usb 2-1: Product: USB Single Serial

[? 164.042703] usb 2-1: SerialNumber: 5719028097

[? 164.044893] usb_ch343 2-1:1.0: ttyCH343USB0: usb to uart device

[? 164.046660] usb_ch343 2-1:1.0: chip idproduct is 21971,chiptype is 8

[? 164.048648] usb_ch343 2-1:1.0: chip type is 2

[? 164.048830] usb_ch343 2-1:1.0: normal to probe


[root@RV1126_RV1109:/]# stty -F /dev/ttyCH343USB0?

[? 181.176634] usb_ch343 2-1:1.0: chip type is 2

[? 181.176665] usb_ch343 2-1:1.0: ch343_update_status - unknown status received:len:10, data0:0xa1, data1:0x20

speed 9600 baud; line = 0;

-brkint -imaxbel

[root@RV1126_RV1109:/]#?

[root@RV1126_RV1109:/]# printf "01" >/dev/ttyCH343USB0?

[root@RV1126_RV1109:/]#?


發(fā)數(shù)據(jù)的時候會出現(xiàn)多出2個數(shù)據(jù)。

微信截圖_20240419112133.png


這是什么原因?qū)е碌?。而且每次第一次插上,只要直接通信,都會報ch343_update_status - unknown status received:len:10, data0:0xa1, data1:0x20這個。后續(xù)不會報。但是發(fā)數(shù)據(jù)就很奇怪


熱門產(chǎn)品 : USB3.0 HUB控制器:CH634

您好,看您發(fā)的是V1.6的老版本驅(qū)動,麻煩下載安裝最新的CH343 Linux驅(qū)動,驅(qū)動鏈接:https://github.com/WCHSoftGroup/ch343ser_linux。?


下載了最新的驅(qū)動后,解決了發(fā)送數(shù)據(jù)出錯的問題。在設(shè)備插上后,第一次對ttyCH343USB0進行操作(配置或者使用默認配置進行數(shù)據(jù)發(fā)送)的時候會報錯。但是后續(xù)操作并沒有受影響

ch343_update_status - unknown status received:len:10, data0:0xa1, data1:0x20

speed 9600 baud; line = 0;


只有登錄才能回復(fù),可以選擇微信賬號登錄

国产91精品新入口,国产成人综合网在线播放,九热这里只有精品,本道在线观看,美女视频a美女视频,韩国美女激情视频,日本美女pvp视频