Comments (5)
Hi, could you create pull request and send it to this repo? I will add a reference to you as an author. Unfortunately, I don't have time to take care of this repo much anymore.
from ch341ser.
ok, no longer necessary, line changed according to advice
from ch341ser.
so on linux mint 21.1 I had to remove that const to get it to compile. I was getting
ch34x.c:1294:27: error: initialization of ‘void (*)(struct tty_struct *, struct usb_serial_port *, struct ktermios *)’ from incompatible pointer type ‘void (*)(struct tty_struct *, struct usb_serial_port *, const struct ktermios *)’ [-Werror=incompatible-pointer-types] 1294 | .set_termios = ch34x_set_termios,
I figured since adding it seemed to fix it for someone I'd try removing it and that fixed it for me
from ch341ser.
Hi, could you create pull request and send it to this repo? I will add a reference to you as an author. Unfortunately, I don't have time to take care of this repo much anymore.
OK,I'll do as you say next time (I find you fix it this time).
from ch341ser.
so on linux mint 21.1 I had to remove that const to get it to compile. I was getting
ch34x.c:1294:27: error: initialization of ‘void (*)(struct tty_struct *, struct usb_serial_port *, struct ktermios *)’ from incompatible pointer type ‘void (*)(struct tty_struct *, struct usb_serial_port *, const struct ktermios *)’ [-Werror=incompatible-pointer-types] 1294 | .set_termios = ch34x_set_termios,
I figured since adding it seemed to fix it for someone I'd try removing it and that fixed it for me
Same thing for me... but i'm on arch (latest kernel 6.1.8-arch1-1) so that makes it all the more confusing.
from ch341ser.
Related Issues (20)
- RPi 4 - Invalid module format HOT 1
- test ok in ubuntu 22.04
- Missing instructions for SecureBoot HOT 1
- on manjaro linux device detected but not initialized. HOT 3
- `make` error on Linux Mint 20.2 HOT 24
- Repo transfer
- CH340G
- incompatible-pointer-types error near ch34x_device.set_termios
- Build failed on PopOS 22.04
- Build failed on kernel 5.14.21 HOT 1
- initialization of ‘unsigned int - Werror=incompatible-pointer-types HOT 1
- CH340 keeps repetedly connecting and disconnecting HOT 1
- Device not recognized HOT 1
- brltty driver blocks use of CH340
- Segmentation Fault when accessing the tty device after load
- can`t make HOT 2
- This driver is too old, please refer to the new repo: https://github.com/WCHSoftGroup/ch341ser_linux HOT 1
- insmod: ERROR: could not insert module ch34x.ko: Key was rejected by service
- Can't make file on Ubuntu
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ch341ser.