Looking at your logs, here are the attempts to connect to your printer:
2021-10-16 10:32:38,515 - octoprint.util.comm - INFO - Serial detection: Performing autodetection with 66 port/baudrate candidates: /dev/ttyUSB0@115200, /dev/ttyUSB0@250000, /dev/ttyS31@115200, /dev/ttyS31@250000, /dev/ttyS30@115200, /dev/ttyS30@250000, /dev/ttyS29@115200, /dev/ttyS29@250000, /dev/ttyS28@115200, /dev/ttyS28@250000, /dev/ttyS27@115200, /dev/ttyS27@250000, /dev/ttyS26@115200, /dev/ttyS26@250000, /dev/ttyS25@115200, /dev/ttyS25@250000, /dev/ttyS24@115200, /dev/ttyS24@250000, /dev/ttyS23@115200, /dev/ttyS23@250000, /dev/ttyS22@115200, /dev/ttyS22@250000, /dev/ttyS21@115200, /dev/ttyS21@250000, /dev/ttyS20@115200, /dev/ttyS20@250000, /dev/ttyS19@115200, /dev/ttyS19@250000, /dev/ttyS18@115200, /dev/ttyS18@250000, /dev/ttyS17@115200, /dev/ttyS17@250000, /dev/ttyS16@115200, /dev/ttyS16@250000, /dev/ttyS15@115200, /dev/ttyS15@250000, /dev/ttyS14@115200, /dev/ttyS14@250000, /dev/ttyS13@115200, /dev/ttyS13@250000, /dev/ttyS12@115200, /dev/ttyS12@250000, /dev/ttyS11@115200, /dev/ttyS11@250000, /dev/ttyS10@115200, /dev/ttyS10@250000, /dev/ttyS9@115200, /dev/ttyS9@250000, /dev/ttyS8@115200, /dev/ttyS8@250000, /dev/ttyS7@115200, /dev/ttyS7@250000, /dev/ttyS6@115200, /dev/ttyS6@250000, /dev/ttyS5@115200, /dev/ttyS5@250000, /dev/ttyS4@115200, /dev/ttyS4@250000, /dev/ttyS3@115200, /dev/ttyS3@250000, /dev/ttyS2@115200, /dev/ttyS2@250000, /dev/ttyS1@115200, /dev/ttyS1@250000, /dev/ttyS0@115200, /dev/ttyS0@250000
2021-10-16 10:32:38,516 - octoprint.util.comm - INFO - Serial detection: Trying port /dev/ttyUSB0, baudrate 115200
2021-10-16 10:32:38,518 - octoprint.util.comm - INFO - Connecting to port /dev/ttyUSB0, baudrate 115200
2021-10-16 10:32:38,553 - octoprint.util.comm - ERROR - Could not set low latency mode on serial port, continuing without
Traceback (most recent call last):
File "/home/simone/OctoPrint/venv/lib/python3.6/site-packages/serial/serialposix.py", line 135, in set_low_latency_mode
fcntl.ioctl(self.fd, termios.TIOCGSERIAL, buf)
OSError: [Errno 25] Inappropriate ioctl for device
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/simone/OctoPrint/venv/lib/python3.6/site-packages/octoprint/util/comm.py", line 3758, in default
serial_obj.set_low_latency_mode(True)
File "/home/simone/OctoPrint/venv/lib/python3.6/site-packages/serial/serialposix.py", line 146, in set_low_latency_mode
raise ValueError('Failed to update ASYNC_LOW_LATENCY flag to {}: {}'.format(low_latency_settings, e))
ValueError: Failed to update ASYNC_LOW_LATENCY flag to True: [Errno 25] Inappropriate ioctl for device
2021-10-16 10:32:38,742 - octoprint.util.comm - INFO - Serial detection: Handshake attempt #1 with timeout 2.0s
2021-10-16 10:32:38,764 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2021-10-16 10:32:39,109 - octoprint.plugins.shutdownprinter - ERROR - send status off 1
2021-10-16 10:32:39,171 - octoprint.plugins.shutdownprinter - INFO - eventView
2021-10-16 10:32:39,497 - octoprint.plugins.octovox - ERROR - Failed to update printer status: Failed to update one or more statuses.
2021-10-16 10:32:40,775 - octoprint.util.comm - INFO - Serial detection: Handshake attempt #2 with timeout 2.0s
2021-10-16 10:32:40,798 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2021-10-16 10:32:42,787 - octoprint.util.comm - INFO - Serial detection: Handshake attempt #3 with timeout 2.0s
2021-10-16 10:32:42,814 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2021-10-16 10:32:43,239 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from https://plugins.octoprint.org/plugins.json
2021-10-16 10:32:44,804 - octoprint.util.comm - INFO - Serial detection: Trying port /dev/ttyUSB0, baudrate 250000
2021-10-16 10:32:44,815 - octoprint.util.comm - INFO - Serial detection: Handshake attempt #1 with timeout 2.0s
2021-10-16 10:32:44,837 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2021-10-16 10:32:46,828 - octoprint.util.comm - INFO - Serial detection: Handshake attempt #2 with timeout 2.0s
2021-10-16 10:32:46,863 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2021-10-16 10:32:48,849 - octoprint.util.comm - INFO - Serial detection: Handshake attempt #3 with timeout 2.0s
2021-10-16 10:32:48,865 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
According to your logs, your printer is connected to /dev/ttyUSB0
so you shouldn't bother trying with other serial ports (i.e. /dev/ttySnn
, which are serial ports from your computer, and not connected to anything in particular).
It seems that OctoPrint is able to send the M110 N0
command, but your printer isn't responding in time. Could you try to enable serial logging (Settings, Serial, General, Serial logging at the bottom of the menu), try to reconnect to the printer and then upload the serial.log
file.
Also it would help us if you could tell us more about the computer it's running from, since it doesn't seem to be running off a Pi and OctoPi.