sovol_mods
Table of Contents
THIS WIKI HAS MOVED!
ACTUAL LOCATION:
https://torte71.github.io/InsideSovolKlipperScreen/sovol_mods.html
.
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?
- added power loss recovery (plr)
- ~/plr.sh modified? old version?: G31 (called from CANCEL_PRINT) calls ~/clear_plr.sh
- Kernel:
- (unsure, if changed - but not working for all later kernels → spi-dev missing)
- “/boot/dtb/rockchip/overlay/rockchip-fixup.scr”
- “/boot/dtb/rockchip/rk3328-roc-cc.dtb”
- Serial console (u-boot messages): 1500000,8,n,1
- 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
- uart
- unknown binary, source code missing
- udp_server
- unknown binary, source code missing
Services
makerbase-auto-fresh.service
- Installs system updates
- Files: makerbase-auto-fresh-files
- Unofficial package: makerbase-auto-fresh-service.deb
- 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
- Mounts all storage devices/partitions under /home/mks/printer_data/gcodes/USB/
- Files: makerbase-automount-files
- Unofficial package: makerbase-automount-service.deb
- Useful for those who want to have USB-drives automatically mounted as gcode storage
makerbase-beep.service
- Beeps if touchscreen is touched
- Files: makerbase-beep-files
- 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
- Updates
serial:
from section[mcu]
inhome/mks/printer_data/config/printer.cfg
- Files: makerbase-byid-files
- Unofficial package: makerbase-byid-service.deb
- Probably useless, the name of the serial connection doesn't change
makerbase-net-mods.service
- copies
/boot/wpa_supplicant-wlan0.conf
(if existing) into/etc/wpa_supplicant/
- Files: makerbase-net-mods-files
- Unofficial package: makerbase-net-mods-service.deb
- Probably useless, you can configure wifi on the screen
makerbase-soft-shutdown.service
- looks disabled
- does something with the “supper” capacitor
- Unofficial package: makerbase-soft-shutdown-service.deb
- Useless
makerbase-timezone-monitor.service
- Fetches time via NTP every 3 seconds (spamming syslog)
- Update timezone to that from
/home/mks/target_timezone.txt
- Unofficial package: makerbase-timezone-monitor-service.deb
- requires
/home/mks/target_timezone.txt
- Probably useless, works fine without
makerbase-wlan0.service
- configures wpa_supplicant
- Files: makerbase-wlan0-files
- Unofficial package: makerbase-wlan0-service.deb
- Probably useless, works fine without
power loss recovery (plr)
- resumes print after power failure
- Used files:
- Unofficial package: plr-klipper.deb
- Included in Sovol's default printer.cfg, thus it's recommended
Reverting
power loss recovery (plr)
- Make a backup of printer.cfg!
- Edit printer.cfg, find and remove the 3 paragraphs shown below.
- Test the new config: Do a normal print with normal end. And then cancel a print.
- If there are errors, revert to your backed-up printer.cfg
- 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