Coder Social home page Coder Social logo

Comments (7)

hesaputra avatar hesaputra commented on July 4, 2024 1

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.

juliagoda avatar juliagoda commented on July 4, 2024

Even if you have the same warnings, check the work of module and tell me about results

from ch341ser.

Esther-99 avatar Esther-99 commented on July 4, 2024

Hello, I have the same problem here on Ubuntu 18.04. The module is successfully loaded:
image
However, it fails to convert my USB device to ttyUSB:
image

Is there any solutions? Thanks!

from ch341ser.

Esther-99 avatar Esther-99 commented on July 4, 2024

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:
image
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.

hesaputra avatar hesaputra commented on July 4, 2024

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.

Esther-99 avatar Esther-99 commented on July 4, 2024

Thanks for your suggestion. Seems that I should look for other drivers.

from ch341ser.

juliagoda avatar juliagoda commented on July 4, 2024

Thank you @hesaputra for help and sorry for being late. Closed.

from ch341ser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.