CH382L Linux驱动问题

驱动下载地址:/download/CH38XDRV_ZIP.html
编译源码: zip里面的DRV_2S/LINUX/

编译错误:

# gmake
cd driver;\
        make
make[1]: Entering directory `/tmp/LINUX/driver'
make -C /lib/modules/3.8.13-98.1.2.el6uek.x86_64/build SUBDIRS=/tmp/LINUX/driver modules
make[2]: Entering directory `/usr/src/kernels/3.8.13-98.1.2.el6uek.x86_64'
  CC [M]  /tmp/LINUX/driver/wch_serial.o
/tmp/LINUX/driver/wch_serial.c:12: error: array type has incomplete element type
/tmp/LINUX/driver/wch_serial.c: In function ser_startup:
/tmp/LINUX/driver/wch_serial.c:718: error: invalid type argument of -> (have struct ktermios)
/tmp/LINUX/driver/wch_serial.c: In function ser_shutdown:
/tmp/LINUX/driver/wch_serial.c:759: error: invalid type argument of -> (have struct ktermios)
/tmp/LINUX/driver/wch_serial.c: In function ser_throttle:
/tmp/LINUX/driver/wch_serial.c:988: error: invalid type argument of -> (have struct ktermios)
/tmp/LINUX/driver/wch_serial.c: In function ser_unthrottle:
/tmp/LINUX/driver/wch_serial.c:1025: error: invalid type argument of -> (have struct ktermios)
/tmp/LINUX/driver/wch_serial.c: In function ser_change_speed:
/tmp/LINUX/driver/wch_serial.c:2155: error: wrong type argument to unary exclamation mark
/tmp/LINUX/driver/wch_serial.c:2160: error: incompatible types when assigning to type struct ktermios * from type struct ktermios
/tmp/LINUX/driver/wch_serial.c: In function ser_set_termios:
/tmp/LINUX/driver/wch_serial.c:2192: error: invalid type argument of -> (have struct ktermios)
/tmp/LINUX/driver/wch_serial.c:2203: error: invalid type argument of -> (have struct ktermios)
/tmp/LINUX/driver/wch_serial.c: In function ser_update_termios:
/tmp/LINUX/driver/wch_serial.c:2248: error: invalid type argument of -> (have struct ktermios)
/tmp/LINUX/driver/wch_serial.c: In function ser_block_til_ready:
/tmp/LINUX/driver/wch_serial.c:2393: error: invalid type argument of -> (have struct ktermios)
/tmp/LINUX/driver/wch_serial.c:2399: error: invalid type argument of -> (have struct ktermios)
make[3]: *** [/tmp/LINUX/driver/wch_serial.o] Error 1
make[2]: *** [_module_/tmp/LINUX/driver] Error 2
make[2]: Leaving directory `/usr/src/kernels/3.8.13-98.1.2.el6uek.x86_64'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/tmp/LINUX/driver'
gmake: *** [driver_make] Error 2


請問有沒有最新的驅動可下載?

您好!请发送邮件到zhangj@wch.cn请求最新CH38x驱动。


只有登录才能回复,可以选择微信账号登录