USB Print
This tutorial is only applicable to FLY host computer
Notes
- You need to install it by yourself
- FAST system does not need this step
- This tutorial will replace the
klipper/klippy/extras/virtual_sdcard.py
file of Klipper. - It can automatically copy the files in the USB drive to the system's
/tmp
directory after selecting a print file from the USB drive. - After the copy is completed, the web command line will prompt
File selected
- This file will detect the
sdaX
folder, and if it does not exist, it will not be executed (where X in sda represents A-Z and 0-9) - Currently, it has only been tested with the FLY host computer, and other host computers have not been tested.
Usage Method
-
Connect to the host computer using SSH software and execute the following command
-
Please note that this command will restart the host computer!!!
-
This step enables the USB printing function
sudo rm -rf /etc/udev/rules.d/fly_devices.rules && sudo wget https://cnb.cool/3dmellow/public/static-files/-/git/raw/main/klipper/fly_devices.rules -O /etc/udev/rules.d/fly_devices.rules > /dev/null 2>&1 && sudo chmod +x /etc/udev/rules.d/fly_devices.rules && sudo service udev restart && sudo reboot
USB Print Operation Method
Backup and download the file
- Please note that this command will stop Kipper
- This step enables the function of automatically copying the selected USB file to the system's
/tmp
directorysudo systemctl stop klipper && mv ~/klipper/klippy/extras/virtual_sdcard.py ~/virtual_sdcard.py && curl -kfsSL https://cnb.cool/3dmellow/public/static-files/-/git/raw/main/klipper/fly_devices.rules -o ~/klipper/klippy/extras/virtual_sdcard.py && sudo systemctl restart klipper
This step restores the original file
- Please note that this command restores the original Klipper
sudo systemctl stop klipper && mv ~/virtual_sdcard.py ~/klipper/klippy/extras/virtual_sdcard.py && sudo systemctl restart klipper
Loading...