Results 1 to 15 of 1070

Thread: new $EE tuning thing!

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Fuel Injected! fbody_Brian's Avatar
    Join Date
    Mar 2013
    Location
    Biloxi MS
    Posts
    166
    on a side note, been desperately trying to get this working on nix. I've posted on qt forums and posted on qtbug for qtserialport.

    here's some of the conversation:

    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

    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.




    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!




    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!
    So even though it hangs with that debug output, it's not an error.
    I'll just keep rebooting into win7 to log and flash, unless you have some idea.

    EDIT:
    the latest:
    "Maybe the linux drivers of your device do not support using of custom divizors... try 5.6.0 branch, where are used the new 'termios V2' feature instead of old 'serial_struct', maybe it will work.."

    So I'll probably muck around with it tonight.
    would be so awesome to have a native linux app for this
    Last edited by fbody_Brian; 12-30-2015 at 07:05 PM.
    1994 LT1/4L60E Formula

Similar Threads

  1. 1badcell and thats not the only thing
    By 1badcell in forum Introductions
    Replies: 2
    Last Post: 12-31-2013, 02:25 AM
  2. Replies: 6
    Last Post: 11-27-2012, 09:03 PM
  3. Replies: 2
    Last Post: 11-07-2012, 05:26 PM
  4. Minor thing.
    By historystamp in forum GearHead EFI Forum Support
    Replies: 7
    Last Post: 01-22-2012, 12:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •