Motherboard ID Reading and Viewing
- This tutorial is for reading and viewing the ID of the motherboard. For tool boards, please refer to the corresponding product's ID search tutorial.
Mainboard USB ID Retrieval
Notes
When you need to connect or reconnect the mainboard USB cable, please completely turn off the printer and disconnect the power supply first. Do not plug or unplug the wiring harness while powered on.
- You must log in to the host via SSH before executing the search command.
- Before operating, please confirm that the mainboard has been flashed with USB firmware and is connected to the host's USB port via a Type-C data cable.
- This tutorial is only for searching for the mainboard USB ID and is not applicable to searching for the tool board ID.
- For tool board devices, please use the USB or CAN ID retrieval tutorial in the corresponding product documentation.
Procedure
Search for the USB Device ID
Log in to the host via SSH, then execute the following command to list all USB serial device IDs:
ls /dev/serial/by-id/*
/dev/serial/by-id/ is part of the device path and cannot be omitted. Please copy the entire line of the path output by the terminal, and do not copy only the usb-Klipper_... name.
- Correct:
/dev/serial/by-id/usb-Klipper_stm32f072xb_123456-if00 - Incorrect:
usb-Klipper_stm32f072xb_123456-if00
Unusable IDs
After executing the command, please avoid using the following two types of IDs:
| ID Characteristic | Reason | Example |
|---|---|---|
usb-1a86_USB_Serial-if00-port0 | The default name of generic serial chips such as CH340, which cannot be used as the Klipper mainboard connection address | /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 |
Contains katapult | The device is in Katapult flashing mode and needs to be flashed with Klipper firmware first | /dev/serial/by-id/usb-katapult_xxxxxxxxxxxx |
Search Results
Under normal circumstances, the terminal will display a device path similar to the figure below. The ID in the figure is only used as a format example.
No usable ID found: View device firmware and connection troubleshooting
If the command returns multiple usable IDs, please combine the mainboard MCU model and the changes in the device list before and after plugging/unplugging to confirm the complete device path corresponding to the mainboard.
Fill the USB ID into the Configuration
Open printer.cfg in Fluidd or Mainsail:
Fluidd: Click the Loading... | Mainsail: Click "Machine" on the left, then open Loading... |
The device paths in the documentation are all examples. The USB ID of each mainboard may be different, so please copy the actual path returned by the SSH command in full.
Find the [mcu] configuration section and change serial to the complete device path you just queried:
[mcu]
serial: /dev/serial/by-id/usb-Klipper_xxxxxxxxxxxx
When using USB firmware, you should configure serial. Do not fill in canbus_uuid in the same [mcu] configuration section at the same time.
For the configuration location, refer to the figure below:
| Fluidd Configuration Example Loading... | Mainsail Configuration Example Loading... |
After the modification is complete, click SAVE & RESTART in the upper right corner to save the configuration and restart Klipper.