Jump to content
UltiMaker Community of 3D Printing Experts

Linux connection problem


Recommended Posts

Posted · Linux connection problem

Cura can upload new firmware fine, but cannot connect for me.

I get this error:

cura trying baudrate 250000

There is some comment here (which does not work for me):


I am using Linux Mint which has python-serial 2.6, and the patch explanation above seems to only work for python 2.7 and python3.

I have tried Cura 13.06.5 and 13.10 without luck.

What steps should I do to be able to connect to the UM from Linux?


  • Link to post
    Share on other sites

    Posted · Linux connection problem

    250000 baud is a problem on Linux. I added a patch to the latest git version of Cura which might help, but I have not had reports that it works.

    You can install the 115200 baudrate firmware, this should fix the connecting problem. It installs as default firmware if you run on linux.

    (And the patch should work. PySerial is at version 2.6, but your Python version is 2.7, as Cura needs python 2.7)


  • Link to post
    Share on other sites

    Posted · Linux connection problem

    The default baudrate on the latest github Cura (yesterday) was set to 250000, so initially starting Cura failed on the initial machine test.

    It connects now when I change that as follows:

    File -> Machine Settings -> Baudrate = 115200


    Expert -> Run first run wizard


  • Link to post
    Share on other sites

    Posted · Linux connection problem

    The connection stopped working for some odd reason.

    If I set the serial port to the actual one wired to the UM (/dev/ttyACM0) then the SD card icon replaces the Print icon. I assume that the print icon disappears because Cura cannot connect to ttyACM0.

    If the serial port is set to AUTO, then the Print icon shows up (with no SD icon), Clicking on the Print icon is doing something to the machine (slight sounds heard from the machine), but the connection fails with the following error log:

    Changing monitoring state from 'Offline' to 'Detecting serial port'

    Serial port list: [u'/dev/ttyACM0', '/dev/ttyUSB2', '/dev/ttyUSB0', '/dev/ttyUSB1']

    Connecting to: /dev/ttyACM0

    Error while connecting to /dev/ttyACM0: 'Timeout'

    Connecting to: /dev/ttyUSB2

    Error while connecting to /dev/ttyUSB2: 'Timeout'

    Connecting to: /dev/ttyUSB0

    Error while connecting to /dev/ttyUSB0: 'Failed to open serial port'

    Connecting to: /dev/ttyUSB1

    Error while connecting to /dev/ttyUSB1: 'Timeout'

    Failed to open serial port (AUTO)

    Changing monitoring state from 'Detecting serial port' to 'Error: Failed to autodetect...'

    dmesg shows that ttyACM0 was connected (when I initially plugged in the cable):

    [273450.701652] usb 8-1: new full-speed USB device number 11 using uhci_hcd

    [273450.903657] usb 8-1: New USB device found, idVendor=2341, idProduct=0042

    [273450.903662] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=220

    [273450.903665] usb 8-1: Manufacturer: Arduino (www.arduino.cc)

    [273450.903667] usb 8-1: SerialNumber: 7523031373335151A120

    [273450.905767] cdc_acm 8-1:1.0: ttyACM0: USB ACM device



  • Link to post
    Share on other sites

    Posted · Linux connection problem

    The auto-serial-port detection tries to find an Arduino Mega2560 bootloader. It might not find that for some reason, you could set the serial port from AUTO to ttyACM0, might help, this also sets longer timeouts on a few things (helps with none-Ultimaker hardware seen in RepRaps)


  • Link to post
    Share on other sites

    Posted · Linux connection problem

    The AUTO setting worked once today, but failed later. I tried setting to ACM0 and only the floppy disk icon shows now (with no SD card installed). Further tests with AUTO turned on shows the print icon, but the connection always fails.

    As a side note comparison, Pronterface does connect to ACM0 and completes the entire print connected to the UM.

    To confirm, I am not running Cura (13.10) and Pronterface (2013.08.17) at the same time, so there should be no connection conflict.

    Are there any other tests or log files I can provide to help?


  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.3 stable released
        In this stable release, Cura 5.3 achieves yet another huge leap forward in 3D printing thanks to material interlocking! As well as introducing an expanded recommended print settings menu and lots of print quality improvements. Not to mention, a whole bunch of new printer profiles for non-UltiMaker printers!
          • Thanks
          • Like
        • 24 replies
      • Here it is. The new UltiMaker S7
        The UltiMaker S7 is built on the success of the UltiMaker S5 and its design decisions were heavily based on feedback from customers.
        So what’s new?
        The obvious change is the S7’s height. It now includes an integrated Air Manager. This filters the exhaust air of every print and also improves build temperature stability. To further enclose the build chamber the S7 only has one magnetically latched door.
        The build stack has also been completely redesigned. A PEI-coated flexible steel build plate makes a big difference to productivity. Not only do you not need tools to pop a printed part off. But we also don’t recommend using or adhesion structures for UltiMaker materials (except PC, because...it’s PC). Along with that, 4 pins and 25 magnets make it easy to replace the flex plate perfectly – even with one hand.
        The re-engineered print head has an inductive sensor which reduces noise when probing the build plate. This effectively makes it much harder to not achieve a perfect first layer, improving overall print success. We also reversed the front fan direction (fewer plastic hairs, less maintenance), made the print core door magnets stronger, and add a sensor that helps avoid flooding.

        The UltiMaker S7 also includes quality of life improvements:
        Reliable bed tilt compensation (no more thumbscrews) 2.4 and 5 GHz Wi-Fi A 1080p camera (mounted higher for a better view) Compatibility with 280+ Marketplace materials Compatibility with S5 project files (no reslicing needed) And a whole lot more  
        Curious to see the S7 in action?
        We’re hosting a free tech demo on February 7.
        It will be live and you can ask any questions to our CTO, Miguel Calvo.
        Register here for the Webinar
          • Like
        • 18 replies
      • UltiMaker Cura Alpha 🎄 Tree Support Spotlight 🎄
        Are you a fan of tree support, but dislike the removal process and the amount of filament it uses? Then we would like to invite you to try this special release of UltiMaker Cura. Brought to you by our special community contributor @thomasrahm
        We generated a special version of Cura 5.2 called 5.3.0 Alpha + Xmas. The only changes we introduced compared to UltiMaker Cura 5.2.1 are those which are needed for the new supports. So keep in mind, this is not a sneak peek for Cura 5.3 (there are some really cool new features coming up) but a spotlight release highlighting this new version of tree supports.  
          • Like
        • 22 replies
    • Create New...