After updates Creality motherboard no longer seen by klipper

Basic Information:

Printer Model: Ender 3
MCU / Printerboard: Creality 4.2.7
Host / SBC Linux Mint laptop
klippy(3).log (963.3 KB)

I’ve have Mainsail/Klipper running on a Linux Mint laptop for a few weeks now with no issues been printing fine. I decided to try to install an accelerometer to figure out Input shaping. As I got the dashboard to recognize the accelerometer finally I noticed there was some pending updates in Mainsail/Klipper and also the Linux os. I did a restart after updating everything and now my printer wont be seen by klipper. When I run the dev command I can see the printer when its connected though…

$ ls /dev/serial/by-id/*
/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0

As far as I know my dev id is correct in the printer.cfg and it never changed. And I dont think im on the buggy update for linux however im completely new to this so I could be totally wrong.

Any help is greatly appreciated I felt so accomplished getting it all running and now I have hit a wall lol.

Quick update by commenting out ##[include sample-bigtreetech-lis2dw-v1.0.cfg] in my printer.cfg my ender is being recognized again. Not sure what it doesn’t like in my treetech.cfg so its back to the drawing board with the input shaping with Orca though. At least I know it isnt bricked.

This is the file I grabbed for the accelerometer that was in the mainsail dashboard

# This file contains common pin mappings for the bigtreetech lis2dw v1.0
# To use this config, the firmware should be compiled for the
# RP2040 with "USB"
# The micro-controller will be used to control the components on the nozzle.

# See docs/Config_Reference.md for a description of parameters.

[mcu btt_lis2dw]
serial: /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00

[lis2dw]
cs_pin: btt_lis2dw:gpio9
#spi_bus: spi1a
spi_software_sclk_pin: btt_lis2dw:gpio10
spi_software_mosi_pin: btt_lis2dw:gpio11
spi_software_miso_pin: btt_lis2dw:gpio8
axes_map: -y,x,-z

[resonance_tester]
probe_points: 100, 100, 20
accel_chip: lis2dw

You need to run

ls /dev/serial/by-id/*

When you’ve plugged in your BTT lis2dw and make sure that serial address is correct for your specific board.

mcu 'btt_lis2dw': Starting serial connect
mcu 'btt_lis2dw': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00'
mcu 'btt_lis2dw': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00'
b'Got EOF when reading from device'
mcu 'btt_lis2dw': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00'
mcu 'btt_lis2dw': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00'
mcu 'btt_lis2dw': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00'
mcu 'btt_lis2dw': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00'
mcu 'btt_lis2dw': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00'
mcu 'btt_lis2dw': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00'
mcu 'btt_lis2dw': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00'
mcu 'btt_lis2dw': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00'
mcu 'btt_lis2dw': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00'
mcu 'btt_lis2dw': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00'
mcu 'btt_lis2dw': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00'
mcu 'btt_lis2dw': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00'
mcu 'btt_lis2dw': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00'
mcu 'btt_lis2dw': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00'
mcu 'btt_lis2dw': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00'
mcu 'btt_lis2dw': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_rp2040_4547415053899A4A-if00'
MCU error during connect
Traceback (most recent call last):
  File "/home/ian/klipper/klippy/mcu.py", line 791, in _mcu_identify
    self._serial.connect_uart(self._serialport, self._baud, rts)
  File "/home/ian/klipper/klippy/serialhdl.py", line 182, in connect_uart
    self._error("Unable to connect")
  File "/home/ian/klipper/klippy/serialhdl.py", line 61, in _error
    raise error(self.warn_prefix + (msg % params))
serialhdl.error: mcu 'btt_lis2dw': Unable to connect

Klipper couldnt’ find it with that serial config

if by-id doesn’t work run

ls /dev/serial/by-path/*