Feb 2, 2016 - There must have been a production of faulty ftdi drivers (version 2.12.0.0 or later) on august 2014 that makes some arduino boards and other. USB RS232 - FTDI designs and supplies USB semiconductor devices with Legacy support including royalty-free drivers. Application areas include USB RS232, ( USB Serial ), USB Parallel, USB Docking Stations, and upgrades of Legacy designs to USB.
High-end macOS drivers for your PL-2303, CH341 and CP2102 USB to Serial devices
The best driver
Have you been struggling to get your serial device to work? This high-end driver will end your troubles and gets you your working device!
No quick hacks, or security bypasses to get the driver operating.
Download the free Serial Detect App to check if your device is supported.
- Reliable data transfer
- Rich RS-232 feature support
- Long term support for macOS
Easy installation
Time-saving hassle-free installation via package installer. No need to use the Terminal.
- Click through installation
- Officially Signed and notarized KEXTs
- Over 150 supported USB serial devices
Safe 30-day guarantee: If the device will not work after support, you get your money back.
Works with macOS 10.12 and newer, including High Sierra. Mojave drivers are notarized. Legacy drivers for OS X 10.11 (signed), 10.10/10.9 (signed), 10.8, 10.7, 10.6, 10.5 (PowerPC) are also available.
The following code works for me correctly in Windows, but Linux does not work. I am using the same PC, both operating systems are installed native. I do not use virtual machine. I need to work on Linux. I have tried in different linux distributions and does not work anywhere.
If sending 1 byte the device responds and sends the data correctly.
Example:
If sent a more than 1 byte device does not respond the request in linux.
Example:
This event is triggered only in windows. In linux it never works, not received or arrives in bad format and never recognized the remote device.
My log in Windows:
(I replace the actual response of the device by the 'X' characters)
My log in Linux:
USB Serial Adapter: CH340
PD: Sorry for my English, try to do my best with Google Translator :(...
More information 1:
I rebuild ch341.c and add:
delta=0x01 in the log is flag:
More information 2:
In the thread of write / read I hope for wakeAll, running on onReadyRead. If you pass a second make a readAll before checking if the buffer is empty. example:
More information 3:
My Kernel is 3.12.6, but i updated from GitHub this file an rebuild this drivers:
https://github.com/torvalds/linux/blob/master/drivers/usb/serial/ch341.chttps://github.com/torvalds/linux/blob/master/drivers/usb/serial/usb-serial.c (commit d9a38a8741fdffabc32e6d0943b1cdcf22712bec)
1 Answer
Thanks to the developers of Linux, solved my problem, the CH34x driver not implemented parity in the maillist is the link PATCH for those who have this problem in the future, not whether they apply to the official kernel, for now only way is rebuild the driver.