1.9.3 won't connect to printer on ttyACM0

What is the problem?

I have a CTC Bizer that connects to my RPi on /dev/ttyACM0. This printer was working fine with an older version of Octoprint (1.3.9). I was forced to upgrade when my old SD card with the image crashed and I rebuilt the OctoPi/Octoprint sw.

I have an Ender 3 Pro that connects on /dev/ttyUSB0 and that's working fine.

What did you already try to solve it?

The printer can be seen by the RPi.

sudo lsusb -v
Bus 001 Device 007: ID 23c1:d314 MakerBot Industries The Replicator
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x23c1
idProduct 0xd314
bcdDevice 0.01
iManufacturer 1 MakerBot Industries
iProduct 2 The Replicator
iSerial 220 75533353637351C0F182
bNumConfigurations 1

From dmesg:
[Wed Oct 18 15:22:15 2023] cdc_acm 1-1.5:1.0: ttyACM0: USB ACM device
[Wed Oct 18 15:22:15 2023] usbcore: registered new interface driver cdc_acm
[Wed Oct 18 15:22:15 2023] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[Sat Oct 21 11:53:05 2023] cdc_acm 1-1.5:1.0: ttyACM0: USB ACM device

ls -l /dev/octo_CTC
lrwxrwxrwx 1 root root 7 Oct 21 11:53 /dev/octo_CTC -> ttyACM0

From the serial.log:
2023-10-21 18:28:18,230 - Changing monitoring state from "Offline" to "Detecting serial connection"
2023-10-21 18:28:18,241 - Performing autodetection with 7 port/baudrate candidates: /dev/ttyACM0@115200, /dev/ttyACM0@250000, /dev/ttyACM0@230400, /dev/ttyACM0@57600, /dev/ttyACM0@38400, /dev/ttyACM0@19200, /dev/ttyACM0@9600
2023-10-21 18:28:18,251 - Trying port /dev/ttyACM0, baudrate 115200
2023-10-21 18:28:18,255 - Connecting to port /dev/ttyACM0, baudrate 115200
2023-10-21 18:28:18,279 - Handshake attempt #1 with timeout 2.0s
2023-10-21 18:28:18,283 - Connected to: Serial<id=0x684e0118, open=True>(port='/dev/ttyACM0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=2.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
2023-10-21 18:28:18,287 - Send: N0 M110 N0125
2023-10-21 18:28:20,297 - Handshake attempt #2 with timeout 2.0s
2023-10-21 18:28:20,305 - Send: N0 M110 N0
125
2023-10-21 18:28:22,307 - Handshake attempt #3 with timeout 2.0s
2023-10-21 18:28:22,322 - Send: N0 M110 N0125
2023-10-21 18:28:24,318 - Trying port /dev/ttyACM0, baudrate 250000
2023-10-21 18:28:24,321 - Handshake attempt #1 with timeout 2.0s
2023-10-21 18:28:24,335 - Send: N0 M110 N0
125
2023-10-21 18:28:26,337 - Handshake attempt #2 with timeout 2.0s
2023-10-21 18:28:26,349 - Send: N0 M110 N0125
2023-10-21 18:28:28,348 - Handshake attempt #3 with timeout 2.0s
2023-10-21 18:28:28,363 - Send: N0 M110 N0
125
2023-10-21 18:28:30,360 - Trying port /dev/ttyACM0, baudrate 230400
2023-10-21 18:28:30,363 - Handshake attempt #1 with timeout 2.0s
2023-10-21 18:28:30,380 - Send: N0 M110 N0125
2023-10-21 18:28:32,376 - Handshake attempt #2 with timeout 2.0s
2023-10-21 18:28:32,389 - Send: N0 M110 N0
125
2023-10-21 18:28:34,392 - Handshake attempt #3 with timeout 2.0s
2023-10-21 18:28:34,406 - Send: N0 M110 N0125
2023-10-21 18:28:36,407 - Trying port /dev/ttyACM0, baudrate 57600
2023-10-21 18:28:36,410 - Handshake attempt #1 with timeout 2.0s
2023-10-21 18:28:36,426 - Send: N0 M110 N0
125
2023-10-21 18:28:38,427 - Handshake attempt #2 with timeout 2.0s
2023-10-21 18:28:38,443 - Send: N0 M110 N0125
2023-10-21 18:28:40,439 - Handshake attempt #3 with timeout 2.0s
2023-10-21 18:28:40,455 - Send: N0 M110 N0
125
2023-10-21 18:28:42,463 - Trying port /dev/ttyACM0, baudrate 38400
2023-10-21 18:28:42,466 - Handshake attempt #1 with timeout 2.0s
2023-10-21 18:28:42,560 - Send: N0 M110 N0125
2023-10-21 18:28:44,483 - Handshake attempt #2 with timeout 2.0s
2023-10-21 18:28:44,496 - Send: N0 M110 N0
125
2023-10-21 18:28:46,500 - Handshake attempt #3 with timeout 2.0s
2023-10-21 18:28:46,513 - Send: N0 M110 N0125
2023-10-21 18:28:48,516 - Trying port /dev/ttyACM0, baudrate 19200
2023-10-21 18:28:48,518 - Handshake attempt #1 with timeout 2.0s
2023-10-21 18:28:48,538 - Send: N0 M110 N0
125
2023-10-21 18:28:50,542 - Handshake attempt #2 with timeout 2.0s
2023-10-21 18:28:50,555 - Send: N0 M110 N0125
2023-10-21 18:28:52,559 - Handshake attempt #3 with timeout 2.0s
2023-10-21 18:28:52,575 - Send: N0 M110 N0
125
2023-10-21 18:28:54,573 - Trying port /dev/ttyACM0, baudrate 9600
2023-10-21 18:28:54,575 - Handshake attempt #1 with timeout 2.0s
2023-10-21 18:28:54,592 - Send: N0 M110 N0125
2023-10-21 18:28:56,592 - Handshake attempt #2 with timeout 2.0s
2023-10-21 18:28:56,606 - Send: N0 M110 N0
125
2023-10-21 18:28:58,606 - Handshake attempt #3 with timeout 2.0s
2023-10-21 18:28:58,618 - Send: N0 M110 N0*125
2023-10-21 18:29:00,617 - Changing monitoring state from "Detecting serial connection" to "Error"
2023-10-21 18:29:00,656 - Changing monitoring state from "Error" to "Offline after error"
2023-10-21 18:29:00,667 - Connection closed, closing down monitor

Have you tried running in safe mode?

Yes

Did running in safe mode solve the problem?

No

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

octoprint-systeminfo-20231021185149.zip (22.4 KB)

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

See systeminfo.txt

Thanks.
Tom

Found the solution. Had to force the baud rate to 115200.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.