I'm setting to 8192, I get the error:
"Baud rate of serial port /dev/ttyUSB0 is set to 8193 instead of 8192 :divisor 2929.687500 unsupported"
Yet it works in windows, and in emulation under linux, so the hardware does work at this baud rate.
If I set it to 8193 baud i get this error, which is strange:
Baud rate of serial port /dev/ttyUSB0 is set to 8193 instead of 8193 :divisor 2929.329834 unsupported
Baud rate is set to 8193 instead of 8193
I'd really like to get this working
thank you
https://secure.gravatar.com/avatar/4...33c0?d=mm&s=16 Denis Shienkov added a comment - 7 hours ago - edited
@Brian Labbie ,
in your case it is not an error! it was already explained to you at a forum
in this case your device got 8193 baud instead of 8192.
UPD: You can also try 5.6.0 branch.
https://secure.gravatar.com/avatar/0...e678?d=mm&s=16 Brian Labbie added a comment - 1 hour ago
Not sure how it was explained to me...
I got no real answer on this.
"in this case your device got 8193 baud instead of 8192. "
then why if I set to 8193 do i get the error:
Baud rate of serial port /dev/ttyUSB0 is set to 8193 instead of 8193 :divisor 2929.329834 unsupported
it makes no sense!
https://secure.gravatar.com/avatar/4...33c0?d=mm&s=16 Denis Shienkov added a comment - 1 hour ago
> Baud rate of serial port /dev/ttyUSB0 is set to 8193 instead of 8193 :divisor 2929.329834 unsupported
it is just incorrect output of the debug information, where the fractional part of real baud rate is lost.. should be like:
Baud rate of serial port /dev/ttyUSB0 is set to 8193.blablabla instead of 8193 :divisor 2929.329834 unsupported
Instead of:
if (serial.custom_divisor * baudRate != serial.baud_base) {
qWarning("Baud rate of serial port %s is set to %d instead of %d: divisor %f unsupported",
qPrintable(systemLocation),
serial.baud_base / serial.custom_divisor,
baudRate, (float)serial.baud_base / baudRate);
}
should be:
if (serial.custom_divisor * baudRate != serial.baud_base) {
qWarning("Baud rate of serial port %s is set to %f instead of %d: divisor %f unsupported",
qPrintable(systemLocation),
(float)serial.baud_base / serial.custom_divisor,
baudRate, (float)serial.baud_base / baudRate);
}
and I repeat again: this debug output does not matter to your issue, because the method does not returns an errors!