Multiple Klipper instances on one host and what happens if one device disconnects

@pavluchenkor (https://t.me/pavluchenkor), you did two Klipper instances, right? One for the printer, the other for the dryer. If you unplug the dryer’s USB or turn it off, does the printer’s Klipper stay out of error?

Then I guess I mixed it up with multiple MCUs, where if one drops off, everything crashes. Though that “one host - one MCU” rule is lodged somewhere in the back of my mind :grin: I think there used to be an issue with this, and they even fixed it

🇷🇺 Оригинал

@pavluchenkor (https://t.me/pavluchenkor) ты же делал два инстанса клиппера? Один для принтера, второй для сушилки. Если выдернуть USB из сушилки или выключить её, клиппер принтера в ошибку не выпадает?

Тогда я с несколькими мцу попутал, что если одно отваливается - всё падает. Хотя правило “один хост - один мцу” сидит где-то на подкорке :grin: Вроде была проблема с этим и её даже исправляли

I’ll be making a separate instance. And I’ll slap a screen with an encoder onto an additional RPi Pico.
The samurai has no goal, only the path.

There is no such rule. I’ve got 3-4 MCUs in the printer. Main Octopus Pro, CAN toolhead, the Pi’s host MCU, and an optional USB accelerometer if I really want to measure resonance closer to the nozzle instead of on the CAN toolhead board.

🇷🇺 Оригинал

Я буду отдельный инстанс делать. И экран с энкодером присру к дополнительному RPi Pico.
У самурая нет цели, есть только путь.

Нет такого правила. У меня 3-4 mcu в принтере. Основной Octopus Pro, CAN-голова, host MCU малины и опциональный USB акселерометр, если очень хочется померять резонансы ближе к соплу, а не на CAN-плате головы.

One MCU meaning one printer. No questions about additional MCUs. It’s just stuck in my head that there used to be an issue where if you hung multiple printers off one host, then if one dropped off, they all dropped off

🇷🇺 Оригинал

Один мцу - в смысле, принтер. К дополнительным мцу вопроса нет. Вот в голове засело, что была проблема, что если на один хост повесить несколько принтеров, то при отвале одного - отваливаются все

Well, you can’t run multiple printers on a single Klipper instance anyway. So each printer is its own isolated Klipper, and they don’t affect each other. A host reboot, though, will affect all of them.

🇷🇺 Оригинал

Так а не получится несколько принтеров на один инстанс Klipper. То есть каждый принтер это изолированный Klipper, которые друг на друга не влияют. Вот перезагрузка хоста повлияет на всех.

and thank the gods for that. they haven’t seen that kind of perversion even in German porn

🇷🇺 Оригинал

и слава богам что не получится. такого извращения даже в нем ецком кино не видели