Lookup commands for my alpha squad - Phil1988/FreeDi GitHub Wiki

This is for you to lookup common commands for testing :)


Summary of the latest findings, based from the image I cooked for you: The printer name at the freedi.cfg must be "q1_pro" for the Q1, not "q1-pro" image

There is a error based on this typo in the helper.cpython-311-aarch64-linux-gnu.so. Please replace this file at /home/mks/FreeDi/FreeDiLCD


Starting FreeDi manually with debug option: This is of high value when you find an issue/bug - so I can find it more easily. To make this work, the FreeDi.service must be stoped first (see below hot to):

cd ~/FreeDi/FreeDiLCD && sudo ~/klippy-env/bin/python3 start.py -debug

Starting FreeDi manually and force it to flash the screen with the latest firmware (in case I fixed a bug and resend you a new firmware):

cd ~/FreeDi/FreeDiLCD && sudo ~/klippy-env/bin/python3 start.py -debug -force_flash

Important: It can happen that the screen firmware update gets stuck. This is caused by an overload of the serial communication hardware. To solve this, switch off the printer, turn it on (so that the screen doesnt get power - otherwise it remains stuck in the middle of the update). Then re-do the flashing command.

Some machines have this problem more often then others. You may need a few attempts.

Enable FreeDi.service (auto start):

sudo systemctl enable FreeDi.service
sudo systemctl daemon-reload

Disable FreeDi.service (auto start):

sudo systemctl disable FreeDi.service
sudo systemctl daemon-reload

Check/stop/start/restart the service:

sudo systemctl status FreeDi.service
sudo systemctl stop FreeDi.service
sudo systemctl start FreeDi.service
sudo systemctl restart FreeDi.service

Checking the journal / for the last 50 messages:

journalctl -u FreeDi.service
journalctl -u FreeDi.service -n 50

Things you may want to have a look at: https://github.com/frap129/qidi_auto_z_offset https://github.com/Phil1988/FreeDi/wiki/Flashing-the-toolhead-%E2%80%90-Q1-Pro https://github.com/Phil1988/FreeDi/wiki/Flashing-the-toolhead-%E2%80%90-Plus4