Coder Social home page Coder Social logo

Comments (5)

Renaud11232 avatar Renaud11232 commented on August 21, 2024

Hello,

Can you provide the output of the following commands (assuming you are running on a RPi running octopi) :

ls -lah /mnt
ls -lah /media
systemctl status devmon@pi

If you are not using a RPi replace devmon@pi with devmon@<the user running OctoPrint> without the <>

Thanks

from octoprint-marlin-flasher.

Naesstrom avatar Naesstrom commented on August 21, 2024

Yup here it is. I manually created the "pi" folder in the "Media" one earlier today when it said it was missing.

pi@octopi:~ $ ls -lah /mnt
total 8.0K
drwxr-xr-x  2 root root 4.0K Dec  2  2020 .
drwxr-xr-x 18 root root 4.0K Dec  2  2020 ..
pi@octopi:~ $ ls -lah /media
total 12K
drwxr-xr-x  3 root root 4.0K Jul 28 09:59 .
drwxr-xr-x 18 root root 4.0K Dec  2  2020 ..
drwxr-xr-x  2 root root 4.0K Jul 28 09:59 pi
pi@octopi:~ $ systemctl status devmon@pi
● [email protected] - devmon Service
   Loaded: loaded (/lib/systemd/system/[email protected]; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2022-07-28 10:03:34 CEST; 10h ago
 Main PID: 1943 (devmon)
    Tasks: 2 (limit: 4915)
   CGroup: /system.slice/system-devmon.slice/[email protected]
           ├─1943 /bin/bash /usr/bin/devmon
           └─1964 /usr/bin/udevil --monitor

Jul 28 10:03:34 octopi systemd[1]: Started devmon Service.
Jul 28 12:55:33 octopi devmon[1943]: ===========================================
Jul 28 12:55:33 octopi devmon[1943]: Monitoring activity from the disks daemon. Press Ctrl+C to cancel.
Jul 28 12:55:33 octopi devmon[1943]: ===========================================
Jul 28 12:55:33 octopi devmon[1943]: removed:   /org/freedesktop/UDisks/devices/sda
Jul 28 12:55:33 octopi devmon[1943]: devmon: /usr/bin/udevil clean
pi@octopi:~ $

Might be related but I've tried uploading it through visual studio code to without success, says there's no port available even though I can connect with pronterface for example

from octoprint-marlin-flasher.

Renaud11232 avatar Renaud11232 commented on August 21, 2024

Hello,

If I remember correctly, you don't need to create the pi directory manually as udevil will create it automatically once it detects a mass storage device.

I have other questions :

Is the SD Card usable by the version of Marlin currently running on the board (ie for storing gcode) ?
If so, you'll need to unmount it. (M22 gcode command or via OctoPrint "eject" button)
If this fixes the issue, you can add this to the plugin settings so it does it automatically every time. (Settings > Marlin Falsher > General > Advanced options > Pre flash script > Type in M22). You may also need to add a small delay to let udevil mount the sd card.

When you tried directly with Vistual Studio Code, was it on Windows ?

Thanks

from octoprint-marlin-flasher.

github-actions avatar github-actions commented on August 21, 2024

This issue has been automatically marked as stale because it has not had recent activity. If this is related to a bug you experienced, make sure you provided all requested information. It will be closed if no further activity occurs. Thank you for your contributions.

from octoprint-marlin-flasher.

github-actions avatar github-actions commented on August 21, 2024

This issue has been automatically closed due to inactivity.

from octoprint-marlin-flasher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.