Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Treat USB media as SD card for serial control #1076

Open
compmstr opened this issue Nov 21, 2020 · 13 comments
Open

[FEATURE REQUEST] Treat USB media as SD card for serial control #1076

compmstr opened this issue Nov 21, 2020 · 13 comments
Assignees
Labels
feature request A request for adding a specific feature of change of behaviour. network/data Anything dealing with local or cloud data transfer and processing. Octoprint/serial All issues related to Octoprint or serial line third-party related to non-genuine-Prusa design, SW, or HW: remote control, extruder mod, different hotends...

Comments

@compmstr
Copy link

compmstr commented Nov 21, 2020

It would be nice to be able to use the USB media plugged in to the Prusa Mini as an SD card for use with Octoprint. If nothing else, it seems like it might alleviate issues with #739, since you would be able to remotely initiate a USB print, which does appear to properly pause with the filament sensor.

If it makes sense, enter what type of printer or upgrade the feature request applies to.
Printer type - [MINI]
Optional upgrades - [Filament Runout Sensor]

Is your feature request related to an existing problem? Please describe.
I wanted to use up the last of some filament, and so I kicked off a print from OctoPrint. The sensor never triggered the print to pause. Luckily I was watching it, so I was able to manually pause and change the filament. Researching the issue, it seems like printing from the USB is the only way to currently have the filament sensor properly work.
I then tried to use the 'SD' commands on octoprint (M20/M21, etc.), and they all appear to do nothing. I'm assuming this is because the hardware doesn't have an SD card. If the USB media storage could be treated like an SD card, this would allow us to remotely kick off and control USB prints from octoprint.

Describe the expected functionality
Have the SD card GCODE commands (M20, M21, M24, M25, etc.) use the USB media storage in place of a physical SD card slot.

@compmstr compmstr added the feature request A request for adding a specific feature of change of behaviour. label Nov 21, 2020
@JohnnyDeer
Copy link

Hi @compmstr fixing this commands is on our to do list.

@pickworthi
Copy link

I would like to add another use case, given that the original reason for this issue has potentially been solved by later firmware releases.
The use case I am interested in is to use the M20 to M32 commands over the serial link to load/delete files on the Mini+ USB stick. This allows a local operator to fetch gcode files from a remote source, without having to physically walk there and back with the USB stick in his/her hand.

@bschollnick
Copy link

bschollnick commented Dec 22, 2021 via email

@pickworthi
Copy link

The codes already exist in Marlin, and are implemented in other printers than the Mini+. I believe that the I3 supports them for example.
A bad actor would need to have access to the serial port of the printer, or the external controller (e.g. Octoprint). Both attack vectors are easily mitigated (e.g. lock on workshop door, isolated LAN sub net for Octoprint and firewalls).

@Rose-David
Copy link

Plus, if there is a security concern, just have it default to OFF. I feel like my octoprint is secure, and would love these useful features, but I also totally understand not wanting the risk.

@arekm
Copy link

arekm commented Apr 19, 2023

M20 works according to paste here #2387 (comment)
(well, partially, no support for "L", not support for "T" option - both supported in MK3, none in MK4).

M23 unfortunately is failing.

Marlin 2 (which Firmware-Buddy is based; but based on quite old version) generally supports all (or most) SD commands also with USB medium, so there is a chance to get that working on Firmware-Buddy, too.

@Prusa-Support Prusa-Support added the network/data Anything dealing with local or cloud data transfer and processing. label Jun 6, 2023
@Prusa-Support
Copy link
Collaborator

Thanks for reporting.
The issue remains open.
However, on a side note, the issue starts looking obsolete now that Prusa Link and Prusa Connect can allow uploading and starting prints from remote - Prusa Connect is enabled for MK4 already and will be enabled for MINI in the near future.

Michele Moramarco
Prusa Research

@Prusa-Support Prusa-Support added Octoprint/serial All issues related to Octoprint or serial line third-party related to non-genuine-Prusa design, SW, or HW: remote control, extruder mod, different hotends... labels Jun 6, 2023
@ghost
Copy link

ghost commented Jun 12, 2023

However, on a side note, the issue starts looking obsolete now that Prusa Link and Prusa Connect can allow uploading and starting prints from remote - Prusa Connect is enabled for MK4 already and will be enabled for MINI in the near future.

I'm not sure how wide spread it is, but for many of us that's not functional yet, it'll be nice when it arrives:

#3049

@Prusa-Support
Copy link
Collaborator

Some work on transmission speed has already been done but issue #3049 remains open as we keep working on it.
Improving transmission speed is among our main objectives at this early stage of the Prusa Link/Connect wide adoption.

Michele Moramarco
Prusa Research

Copy link

This issue has been flagged as stale because it has been open for 60 days with no activity. The issue will be closed in 7 days unless someone removes the "stale" label or adds a comment.

@jagerkin
Copy link

Comment to keep from auto-closing.

Copy link

github-actions bot commented Sep 2, 2024

Thank you for your contribution to our project. This issue has not received any updates for 60 days and may be considered "stale." If this issue is still important to you, please add an update within the next 7 days to keep it open. Administrators can manually reopen the issue if necessary.

@danopernis
Copy link
Member

This one is (slowly) being worked on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A request for adding a specific feature of change of behaviour. network/data Anything dealing with local or cloud data transfer and processing. Octoprint/serial All issues related to Octoprint or serial line third-party related to non-genuine-Prusa design, SW, or HW: remote control, extruder mod, different hotends...
Projects
None yet
Development

No branches or pull requests

9 participants