Skip to content

pause: Fix infinite loop in filament stuck logic with MMU#5082

Open
m42e wants to merge 1 commit intoprusa3d:masterfrom
m42e:4791-mabi-fix-filament-stuck-mmu-hang
Open

pause: Fix infinite loop in filament stuck logic with MMU#5082
m42e wants to merge 1 commit intoprusa3d:masterfrom
m42e:4791-mabi-fix-filament-stuck-mmu-hang

Conversation

@m42e
Copy link

@m42e m42e commented Jan 12, 2026

When the filament is stuck on a printer with MMU (e.g. MK4S), the firmware would enter an infinite loop in the pause state machine because 'LoadType::filament_stuck' was not handled in 'mmu_unload_start_process'.

This change adds the missing case to allow the MMU to unload and eject the stuck filament.

Fixes #4791

IMHO: I am not sure if you would want to handle this error case differently and maybe try to reload the filament a few times more to automatically resolve the filament stuck error in the case it happens mid-print. This will now lead to a pause but the user will be able to continue after removing and reinserting the filament into the MMU.

@m42e m42e changed the title pause: Fix infinite loop in filament stuck logic with MMU WIP: pause: Fix infinite loop in filament stuck logic with MMU Jan 12, 2026
@m42e
Copy link
Author

m42e commented Jan 12, 2026

Ok, resuming does not work correctly, I will have another look.
resuming works.

When the filament is stuck on a printer with MMU (e.g. MK4S), the firmware would enter an infinite loop in the pause state machine because 'LoadType::filament_stuck' was not handled in 'mmu_unload_start_process'.

This change adds the missing case to allow the MMU to unload and eject the stuck filament.
@m42e m42e force-pushed the 4791-mabi-fix-filament-stuck-mmu-hang branch from ffc000c to d80c508 Compare January 12, 2026 21:09
@m42e m42e changed the title WIP: pause: Fix infinite loop in filament stuck logic with MMU pause: Fix infinite loop in filament stuck logic with MMU Jan 12, 2026
@thomasloven
Copy link

thomasloven commented Jan 22, 2026

I can confirm that this works as intended on MK3.9S with MMU3.
I recommend it is merged as soon as possible seeing as this is an entirely breaking bug which severely impacts the trademark reliability of the MMU3.

Off topic

Thank you thank you thank you thank you thank you!!
My MMU3 is at all useable again!

@JGeiger2024
Copy link

Does anyone know when this type of fix is going to be provided to the public by Prusa?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] MMU3 filament change halting a print

3 participants