Skip to main content

Reading Mainboard and Toolboard IDs

Power Off Before Proceeding

Before starting, completely power off the printer and disconnect the power supply. Do not plug or unplug wiring harnesses, rearrange interface cable order, or touch terminals while the system is powered on.

Important Notes
  • Motherboard USB IDs: Used to search for mainboards connected to the FLY-Pi V3 via USB that have been flashed with USB firmware.
  • CANBus UUID: Used to search for CAN toolboards connected to the FLY-Pi V3 can0 network.
  • RS232 Tool Board: Used to configure toolboards connected to the FLY-Pi V3's onboard RS232 interface.
  • Both USB IDs and CANBus UUIDs are searched via SSH over the network, not through the DEVICES feature on the web interface.

Mainboard USB ID Retrieval​

Notes​

Power-Off Operation

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.

Scope of Use
  • 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/*
You Must Copy the Complete Device Path

/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 CharacteristicReasonExample
usb-1a86_USB_Serial-if00-port0The 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 katapultThe 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.

Loading...

No usable ID found: View device firmware and connection troubleshooting

Multiple IDs Appear

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 {…} icon on the left, then open printer.cfg.

Loading...

Mainsail: Click "Machine" on the left, then open printer.cfg.

Loading...
The ID Must Use the Actual Search Result

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.

Loading...