Trying to get serial communication working under linux.
-
Trying to get serial communication working under linux. It's working under win xpsp3, 7, 8, 10, and under emulation in linux. I really want to get it to work natively under linux.
the baud rate is custom, at 8192. It's ODB1 serial comms.
It just always hangs with the error. "Baud rate of serial port /dev/ttyUSB0 is set to 8193 instead of 8192 :divisor 2929.687500 unsupported"If I set the baud rate to 8193, which is within tolerance i get:
Baud rate of serial port /dev/ttyUSB0 is set to 8193 instead of 8193:divisor 2929.329834 unsupportedUsing qt5.5
How do I go about getting this to work. The hardware communicates perfectly in windows, and in linux under emulation. Is there some way to do this or am I out of luck?
-
Please do not duplicate own posts. Same was https://forum.qt.io/topic/59975/strange-behavior-qtserialport-on-linux-with-custom-baud-rate