Printer Model: Ender 3 V2
MCU / Printerboard: STFM103 - V4.2.2
Host / SBC - x86 based mini-pc with Debian 12 - Klipper + Moonraker + Mainsail
klippy.log
Fill out above information andin all cases attach yourklippy.logfile (use zip to compress it, if too big). Pasting yourprinter.cfgis not needed Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there
I’m trying to run Klipper on a Creality 4.2.2 board (Ender 3 V2). The firmware flashes fine, and the CH340 USB‑serial chip shows up in lsusb:
“Bus 001 Device 008: ID 1a86:7523 QinHeng Electronics CH340 serial converter”
But Klipper fails to connect. The log shows: “mcu ‘mcu’: Starting serial connect mcu ‘mcu’: Unable to open serial port: [Errno 5] could not open port /dev/ttyUSB0: Input/output error”
Earlier I also saw: “ch341-uart: probe of ttyUSB0 failed with error -71”
As I said earlier this is a fresh install of Debian Bookworm on an x86 based Mini-PC, I have used KIAUH to install Klipper, Mainsail, Crowsnest, and Moonraker. I would also get the “unable to connect to mcu” error in Mainsail.
Use the utility in KIAUH to find the id of the SERIAL device. USB is the conduit but connection with the MCU is serial.
My guess is your board didn’t actually flash. If that is the case KIAUH won’t find your MCU. Creality 4.2.2 and 4.2.7 boards are notoriously hard to flash.
Google [Creality 4.2.2 klipper] and you’ll get 100’s of hits starting with this:
I first flashed the stock creality firmware and then flashed it with firmware obtained thru ‘make menuconfig’ - and its giving me the same result. There is this repeated “-71” error, how does one fix that?
Yes, its always been showing up, I get the /dev/serial/by-id/ and the /by-path/, I just did a re-install of klipper only thru KIAUH and now this is the screen I get on Mainsail, I have attached a new log.
Yes it is, I got the printer to work though, I put tape on the 5v pad on a data cable so it wouldn’t interfere among some other stuff, thanks for helping though!