Comments (7)
Did you sign the compiled ch34x.ko?
openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=Descriptive name/"
sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der ch34x.ko
sudo mokutil --import MOK.der
Enter your password, reboot, then load the key
from ch341ser.
Even if you have the same warnings, check the work of module and tell me about results
from ch341ser.
Hello, I have the same problem here on Ubuntu 18.04. The module is successfully loaded:
However, it fails to convert my USB device to ttyUSB:
Is there any solutions? Thanks!
from ch341ser.
Did you sign the compiled ch34x.ko?
openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=Descriptive name/"
sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der ch34x.ko
sudo mokutil --import MOK.der
Enter your password, reboot, then load the key
Thanks for your suggestion! Now the warning disappears but still no conversion is made:
Looks like the conversion problem is not related with the verification. Are there any other possible causes for the problem? The ch340 driver works for my device on Windows.
from ch341ser.
What device are you trying to connect to? the idVendor and idProduct from your screenshot don't seems to match with ch341x signature. Perhaps your device need another driver, not this one.
From the source code:
#define CH34x_VENDOR_ID 0x1A86
#define CH340_PRODUCT_ID 0x7523
#define CH341_PRODUCT_ID 0x5523
from ch341ser.
Thanks for your suggestion. Seems that I should look for other drivers.
from ch341ser.
Thank you @hesaputra for help and sorry for being late. Closed.
from ch341ser.
Related Issues (20)
- Unable to compile -Arch Linux HOT 1
- Driver results in warning/trace HOT 4
- 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
- make error on arch linux —— ch34x.c:1294:27: error: initialization of ‘void (*)(struct tty_struct *, struct usb HOT 5
- 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
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.