User Tools

Site Tools


sovol_mods

THIS WIKI HAS MOVED!

ACTUAL LOCATION:

2025/01/21 11:53 · torte

https://torte71.github.io/InsideSovolKlipperScreen/sovol_mods.html

.








2025/01/21 11:53 · torte

Sovol KlipperScreen (Makerbase MKS KLIPAD50)

Please note that this is just work-in-progress.
The changes listed here may not be complete and are just quickly tested.
Thanks to Vasyl Gontar for his additions/corrections to this list.

Modifications by Sovol

  • KlipperScreen
    • incomplete “.git” directory (throws errors on KIAUH update page)
    • revision must be around 926d78de01efb114d00e021364b04bbe6f28690b (Mar 8 2023)
    • translations are younger (~ Jun 16 2023)
    • some changes (theme “sovol dark” instead of “z-bolt”)
  • fluidd: git information removed?
  • mainsail: git information removed?
  • u-boot (bootloader)
    • Sovols bootloader allows booting from an external device (USB-stick)
    • Booting from an external device (USB-stick)

Files in /root

  • auto_refresh + auto_refresh.cpp
    • update helper
    • used by makerbase-auto-fresh.service
  • beep.sh
    • beep if touch is pressed
    • used by makerbase-beep.service
  • get_id + get_id.cpp
    • retrieves serial connection
    • used by makerbase-byid.service
  • set-timezone.sh
    • update timezone, fetch time every 3 seconds via NTP (syslog spammer)
    • used by makerbase-timezone-monitor.service
  • soft_shutdown.sh
    • sets up GPIOs for “supper” capacitor, effectively does nothing
    • used by makerbase-soft-shutdown.service
  • hid-flash
    • unknown binary, source code missing
    • probably precompiled klipper/lib/hidflash
    • references
  • uart
    • unknown binary, source code missing
    • references
  • udp_server
    • unknown binary, source code missing
    • references

Services

makerbase-auto-fresh.service

  • Installs system updates
  • Details:
    • if existing: install /root/system_deb/*.deb and reboot
    • if existing: install /root/bootsplash.armbian and reboot
    • if USB drive found:
      • ensure running automounter (mounts to ./printer_data/gcodes/USB)
      • move armbian-update.deb from automount to /home/mks, then install and reboot
  • Depends on makerbase-automount@.service
  • Might become useful once there is an unbricking-package like Sovol's armbian-update.deb

makerbase-automount@.service

makerbase-beep.service

  • Beeps if touchscreen is touched
  • Unofficial package: makerbase-beep-service.deb
  • Details:
    • initializes GPIO#82 (beeper pin)
    • reads events from touchscreen (with vendor_product_id=*1a86*e5e3*)
    • beeps if touch-button got pressed
  • Useful

makerbase-byid.service

makerbase-net-mods.service

makerbase-soft-shutdown.service

makerbase-timezone-monitor.service

makerbase-wlan0.service


power loss recovery (plr)


Reverting

power loss recovery (plr)

  1. Make a backup of printer.cfg!
  2. Edit printer.cfg, find and remove the 3 paragraphs shown below.
  3. Test the new config: Do a normal print with normal end. And then cancel a print.
  4. If there are errors, revert to your backed-up printer.cfg
  5. If everything is fine, log in via ssh/putty and remove the unused files: “rm ~/plr.sh ~/clear_plr.sh ~/printer_data/config/plr.cfg”

#1: Somewhere at the beginning:

[include plr.cfg]

#2: At the start of “[gcode_macro CANCEL_PRINT]”, after “gcode:”:

    SAVE_VARIABLE VARIABLE=was_interrupted VALUE=False
    RUN_SHELL_COMMAND CMD=clear_plr
    clear_last_file
    G31

#3: Before the “SAVE_CONFIG” section:

[gcode_macro PRINT_START]
gcode:
    SAVE_VARIABLE VARIABLE=was_interrupted VALUE=True
[gcode_macro PRINT_END]
gcode:
    SAVE_VARIABLE VARIABLE=was_interrupted VALUE=False
    RUN_SHELL_COMMAND CMD=clear_plr
    clear_last_file
  

Back to start

sovol_mods.txt · Last modified: 2025/01/21 12:21 by torte