能否給我發(fā)一個CH341的LINUX驅(qū)動,謝謝1 我的郵箱是個人信息保護,已隱藏 qq:394744990
首先感謝提供驅(qū)動。但是在編譯時出了一點問題。 我用的內(nèi)核是2.6.26-1 Debian (lenny) 進入fedora6目錄 make 顯示:
yg@debian-YG:~/ch34x/Fedora6$ make make -C /lib/modules/2.6.26-1-amd64/build SUBDIRS=/home/yg/ch34x/Fedora6 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.26-1-amd64' CC [M] /home/yg/ch34x/Fedora6/ch34x.o /home/yg/ch34x/Fedora6/ch34x.c:126: error: unknown field ‘num_interrupt_in’ specified in initializer /home/yg/ch34x/Fedora6/ch34x.c:126: error: ‘NUM_DONT_CARE’ undeclared here (not in a function) /home/yg/ch34x/Fedora6/ch34x.c:127: error: unknown field ‘num_bulk_in’ specified in initializer /home/yg/ch34x/Fedora6/ch34x.c:127: warning: missing braces around initializer /home/yg/ch34x/Fedora6/ch34x.c:127: warning: (near initialization for ‘ch34x_device.driver_list’) /home/yg/ch34x/Fedora6/ch34x.c:127: warning: initialization makes pointer from integer without a cast /home/yg/ch34x/Fedora6/ch34x.c:128: error: unknown field ‘num_bulk_out’ specified in initializer /home/yg/ch34x/Fedora6/ch34x.c:128: warning: initialization makes pointer from integer without a cast /home/yg/ch34x/Fedora6/ch34x.c:135: warning: initialization from incompatible pointer type /home/yg/ch34x/Fedora6/ch34x.c:138: warning: initialization from incompatible pointer type /home/yg/ch34x/Fedora6/ch34x.c:139: warning: initialization from incompatible pointer type /home/yg/ch34x/Fedora6/ch34x.c:140: warning: initialization from incompatible pointer type make[2]: *** [/home/yg/ch34x/Fedora6/ch34x.o] 錯誤 1 make[1]: *** [_module_/home/yg/ch34x/Fedora6] 錯誤 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-1-amd64' make: *** [module] 錯誤 2
在2.6.26內(nèi)核下因為usb_serial_driver結(jié)構(gòu)體定義改變了,所以你可以直接把num_interrupt_in,num_bulk_in, num_bulk_out注釋掉再編譯,應(yīng)該沒有問題
隨便在說明一下在2.6.26.3內(nèi)核已經(jīng)支持ch341驅(qū)動(usb轉(zhuǎn)異步串口)
我知道他支持ch341驅(qū)動,但是顯示有pl2303字樣,且在minicom中顯示的都是亂碼。
因此決定編譯ch341驅(qū)動,現(xiàn)在編譯通過了,這回一切正常了。
十分感謝!
我用的是UBUNTO的內(nèi)核,給我發(fā)一個CH341A的驅(qū)動吧,謝謝了!我的郵箱是個人信息保護,已隱藏, QQ:445185543,急用,謝了!
郵件已經(jīng)發(fā)送
能否給我發(fā)一份CH341的linux驅(qū)動,謝謝! 郵箱:PLXSHENG@126.com
能否給我也發(fā)一個,謝謝! 個人信息保護,已隱藏
郵件已發(fā)送,請查收
樓主能否也給我發(fā)一份?我的郵箱是:個人信息保護,已隱藏 萬分感謝,多多交流
郵件已發(fā)送,請查收
能否給我發(fā)一份CH341的linux驅(qū)動,謝謝! 郵箱:個人信息保護,已隱藏
郵件已經(jīng)發(fā)送,請查收!
能否給我發(fā)一份CH341的linux驅(qū)動,謝謝! 個人信息保護,已隱藏