I’ll start out saying, i’m not very good with this stuff… I have an Ender 5+.
I had it setup with octoprint and klipper from a guide I found a couple years ago, and it worked OK for me to get klipper installed, working on octoprint, and pressure advance tuned ok ish.

Recently my SD Card became corrupt, and like an idiot I didn’t have anything backed up.

So I’m trying to setup the system again from less than scratch and it’s kicking my ass.

I’ve decided i’d like to try Mainsail, as it’s interface looks interesting (no other reason) But I can’t for the life of me get it working.

EVERY guide I try and follow seems to fail on the connect between klipper and the printer.

I can flash the klipper firmware successfully, and have updated the port ID in the printer.cfg file, but it always comes back to klipper not being able to see/access the port.

Any help would be appreciated here.

  • stoppillowrape@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    What hardware are you using for hosting klipper and mainsail? Are you using a pi and mainsail os or a pi with raspberry pi os and kiauh to setup klipper and mainsail? Could you post your klippy.log?

  • joemansmoke@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Have you tried using another USB cable? I got stuck for too long on account of using a non-data cable…

    Have you verified the /dev/serial/… file path to the printer? Have you tried changing the path to match other people’s config file? I believe the path is determined by the STM chip on the printer mainboard, so anyone else with an Ender 5+ might have the correct path.

    Only other suggestion is to check if the host is successfully opening the connection with the printer. You can try lsusb and dmesg and scrub through the output to see if the STM device is being registered properly.

    This is my best advice as a Linux novice. When in doubt, as much as I hate to say it, there might be an old Reddit post of someone having the same issue.

  • joemansmoke@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Also, make sure [include mainsail.cfg] is present in your printer.cfg file. Apparently this is important when changing frontends (octoprint -> mainsail).

  • Ajen
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Would you mind sharing how you found the port ID and the line you made for it in printer.cfg? Assuming the USB cable works, this is the next thing I’d check.

    • ironhydroxide@partizle.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Found the port ID by ls /dev/serial/by-id/* I only have one usb device connected, the printer.

      I didn’t make a new line in the printer.cfg, just edited the [mcu] serial: /dev/serial/by-id/usbXXXXXXXX To match the id I found in the previous command.

      • Ajen
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        That sounds right. And “klipper” is in the XXXXXX part, right?

        How did you install klipper? Are you using mainsailos, or did you install manually? Or with KIAUH? I have an ender 3 and ender 5+, both running klipper. I used the official raspberry pi imager program to install mainsailos to both SD cards, and things went fairly smoothly.

        What error message are you seeing in mainsail? I’m wondering if klipper doesn’t have permission to access the USB device, but that seems unlikely if you are using mainsailos.

  • NixDev@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Are you still having issues? I just rebuilt my e5p (Klipper, Fluidd, bigtreetech skr mini e3 v3, and new screen) and have been working out the bugs. Everything is working good so far, but still need to find tune the printer.

    • ironhydroxide@partizle.comOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Nope, found my problem with the install of mainsail being a permissions thing.

      I’m still running the stock board, but have upgraded to a remote direct drive extruder.