-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test on Ubuntu fully succesfull #6
Comments
Interestingly, my tutorial is mainly based on how the module is to be launched. I did not change anything in the code. I just downloaded it from the Chinese side (their side) while it was still working. After a while someone sent a Pull Request. That is all. I can try but I don't know what their reaction will be... |
Hi @stman How did you install on ubuntu? I can't see the device in my list I am on Ubuntu 20 |
Test On CentOS Linux release 8.3.2011 succesfull |
Hello. On Ubuntu, you need to perform the following :
I managed to make it persistant using a hack, but there is a more official way of doing it with According to what I have read, the Then I test unpluging and repluging my CH341 device, and display the debug message with the Please let me know how it worked out for you, Kind regards, Frederic. |
Works like a charm under QNAP QTS 5.0.0: Got a lag under my zigbee coordinator (cc2652P) on a version from Thanks! |
Great to hear that ! |
I think the way to go would be to identify the difference between this module and the official one at https://github.com/torvalds/linux/blob/master/drivers/usb/serial/ch341.c (which pretends to actually support 1a86:7523) : and (if CH341SER is under a GPL license), extract and merge the actual changes affecting the communication. |
Great to hear it works for QNAP as wel... but... How did you manage to install? |
Yes it works for me on 5.10.60. Regrds, |
Thank you for help dml... but... A bit struggling through. a) So i'm not sure why i need to download the kernel file from the site you mentioned. Also read that you need to redo this after every reboot? You're help is really appreciated. thx! |
To compile the module correctly you have to use kernel source code from the sourceforge link above. You may need to edit Makefile from this repo to set a proper KERNELDIR variable pointing to the extracted kernel source code/directory. Then follow readme.txt instructions (mainly do make and make load to compile the module). Then do insmod pathtocompiledmodule/ch34x.ko and at the end modprobe ch34x and voila, your driver is ready to work. If you dont get a proper /dev/ttyUSB0 try 'mknod /dev/ttyUSB0 c 188 0' If you still struggling with module compiler and you trust some random dml from the internet you can get my pre-compiled version for qnap 5.10 kernel here. |
Well, compiling is still a bridge to far for me for now :( |
Hello
I have tested it on Ubuntu 18.04.5 LTS and it works fine.
I highly suggest that you would mention your correction to the original chinese developer and that this version would be integrated into most linux distributions as it works fine.
The text was updated successfully, but these errors were encountered: