Closed Naesstrom closed 2 years ago
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
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
● devmon@pi.service - devmon Service
Loaded: loaded (/lib/systemd/system/devmon@.service; 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/devmon@pi.service
├─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
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
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.
This issue has been automatically closed due to inactivity.
I'm trying to flash an BTT SKR E3 Turbo and I installed the udevil and started it, but now when I try to flash it can't find the destination disk. Do I need to change something in the platformio file to?
Here's the file I'm trying to flash: Marlin-2.1.zip