WCHSoftGroup / ch343ser_linux

USB driver for USB to serial chip ch342, ch343, ch344, ch9101, ch9102, ch9103, etc
125 stars 46 forks source link

Arch Linux-6.2.2内核编译失败 #18

Closed cmx0223 closed 1 year ago

cmx0223 commented 1 year ago

Arch Linux-6.2.2内核编译失败 image

AbraxasVi commented 1 year ago

image 甚至在使用第三方定制内核的Ubuntu里也会报这个错误,不管是liquorix还是xanmod内核 但在最新内核的PVE和树莓派版Ubuntu里又不会报错。

Souravgoswami commented 1 year ago

image

image

On file ch343.c, add that to both lines that has the function definition:

static void ch343_tty_set_termios(struct tty_struct *tty, const struct ktermios *termios_old)

Adding the const keyword fixes the compile error.

FirstLoveLife commented 1 year ago

Hi, I have already fixed this issue and packaged it as an aur package.

Arch users can install it via yay -S ch343-dkms now.

cmx0223 commented 1 year ago

Hi, I have already fixed this issue and packaged it as an aur package.

Arch users can install it via yay -S ch343-dkms now.

Thanks for your contribution.