Jump to content

Cura 13.10 not connecting on Linux and Marlin-firmware


Recommended Posts

Posted · Cura 13.10 not connecting on Linux and Marlin-firmware


I have been reading the UM-Forum for a while and you guys give great support!

Until today there was no reason for me to post anything because most of my problems were solved by either you or the google.groups-ppl. (and most of you are active in both) so first of all thank you!

So here is the first problem i haven't found a solution for. I have a Linux system (ubuntu 13.10) and recently updated to Cura 13.10.

I am running my UM over an Ulticontroller. On the machine itself there is a Marlin-Firmware running that has been updated a few months ago (but not by me. I share my printer with some other people).

Today i wanted to connect Cura to the printer and it now doesn't connect. That is propably because the firmware update was the original Marlin directly from the github which is set to 250000 baudrate, which is a known problem on Linux.

My Question: How do I install a new firmware without using Cura? Is there a way to do this with an SD-card and ulticontroller or must i use Pronterface?

Greetings Jumpmobile


  • Link to post
    Share on other sites

    Posted · Cura 13.10 not connecting on Linux and Marlin-firmware

    Even if Cura fails to connect to the firmware, it still should be able to update the firmware.

    13.10 also contains an experimental patch for 250000 baud on linux, but I have no idea if it actually works.


  • Link to post
    Share on other sites

    Posted · Cura 13.10 not connecting on Linux and Marlin-firmware

    When I try to install the custon firmware I made Cura immediately vanishes. I ran it again in a console and got this error:

    python: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0.

    [xcb] Unknown sequence number while processing queue

    [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called

    [xcb] Aborting, sorry about that.

    python: ../../src/xcb_io.c:274: poll_for_event: Zusicherung »!xcb_xlib_threads_sequence_lost« nicht erfüllt.

    Aborted (core dumped)

    I have no idea what that means (but it is kind of neat that the program actually apologizes for aborting :-)


  • Link to post
    Share on other sites

    Posted · Cura 13.10 not connecting on Linux and Marlin-firmware

    I have shown my problem to a friend of mine who is into computer science. He managed to stop it from crashing, when trying to update the firmware, but the connection problems still exist.

    I don't have time yet, but I will write what he did in the next post.


  • Link to post
    Share on other sites

    Posted · Cura 13.10 not connecting on Linux and Marlin-firmware

    I've been successfully using Pronterface for a while now for Linux connections to the UM.

    Slice your project in Cura, save the gcode, use Pronterface to send the code to the printer.


  • Link to post
    Share on other sites

    Posted · Cura 13.10 not connecting on Linux and Marlin-firmware


    This is the the friend of Jumpmobile writing. His version of Cura is now comunication with the printer. Firmwareupdates and First run wizard are working fine. Here is what I did:

    About firmware upgrades:

    On Linux (not tested on other platforms...) only the Thread that created the UI can interact with it. It's therfore not possible to update it in a seperate thread. My solution (i'm not experienced in python - unfortunatly it breaks the firmware upgrade dialog) was:

    in firmwareInstall.py - replace




    with everything in the OnRun definition

    --> Upgrade dialog is broken but update works

    About connecting with autodetecting baudrates:

    It seems like the printer is crashing if you try to communicate with the wrong baudrade (Seems to be a firmware bug). Simple solution:

    add time.sleep(5) in line 377 of machineCom.py

    --> Cura waits for 5 seconds after each baudrate, the printer restarts in that time and the connection works.


  • 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

      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
      • Ultimaker Cura 5.6 stable released
        Cura now supports Method series printers!
        A year after the merger of Ultimaker and MakerBotQQ, we have unlocked the ability for users of our Method series printers to slice files using UltiMaker Cura. As of this release, users can find profiles for our Method and Method XL printers, as well as material profiles for ABS-R, ABS-CF, and RapidRinse. Meaning it’s now possible to use either Cura or the existing cloud-slicing software CloudPrint when printing with these printers or materials
        • 4 replies
    • Create New...