What is the problem?
Hi, I'm trying to connect a Raspberry Pi 3B+ with OctoPrint 1.11.7 and OctoPi 1.1.0 on a Prusa i3 MK3S with firmware 3.11.0-4955. The printer is perfectly working, and the Raspberry can be accessed through OctoPi Server using its IP, but the board isn't communicating with the printer properly. The log returns the following message:
Changing monitoring state from "Offline" to "Opening serial connection"
Connecting to port /dev/serial/by-id/usb-Prusa_Research__prusa3d.com__Original_Prusa_i3_MK3_CZPX2921X004XK96266-if00, baudrate 115200
Changing monitoring state from "Opening serial connection" to "Connecting"
Connected to: Serial<id=0x6e658fa0, open=True>(port='/dev/serial/by-id/usb-Prusa_Research__prusa3d.com__Original_Prusa_i3_MK3_CZPX2921X004XK96266-if00', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Send: N0 M110 N0125
Recv: start
Send: N0 M110 N0125
There was a timeout while trying to connect to the printer
Changing monitoring state from "Connecting" to "Offline"
Connection closed, closing down monitor
What did you already try to solve it?
First of all, I thought it was a power supply error. I switched the power supply of the board with 5W 5.25V 1A charger. When I run:
vcgencmd get_throttled
it returns:
throttled 0x0
That I think means the power supply it's ok? I also tried to change the USB-B cable to connect the board to the printer, and when I run:
lsusb
it returns:
Bus 001 Device 004: ID 2c99:0002 Prusa Original Prusa i3 MK3
Bus 001 Device 005: ID 0424:7800 Microchip Technology, Inc. (formerly SMSC)
Bus 001 Device 003: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
So it detects the printer. Note that with the same cable, if I connect the printer to my laptop, PrusaSlicer can detect the print, so I'm pretty sure it's working fine.
I also tried with a baudrate of 25000 and of course, to connect directly to /dev/ttyACM0, but nothing. The name
/dev/serial/by-id/usb-Prusa_Research__prusa3d.com__Original_Prusa_i3_MK3_CZPX2921X004XK96266-if00
that you can see in my error log is the name I found running the command:
ls -l /dev/serial/by-id/
