Serial issue: OSError: '[Errno 25] Inappropriate ioctl for device'

What is the problem?

OSError: '[Errno 25] Inappropriate ioctl for device'
Connected to: Serial<id=0x7f6563ab00, open=True>(port='/dev/ttyS9', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Unexpected error while reading serial port, please consult octoprint.log for details: OSError: '[Errno 25] Inappropriate ioctl for device' @ comm.py:_readline:3997
Send: N0 M110 N0*125
Changing monitoring state from "Connecting" to "Offline after error"
Connection closed, closing down monitor

Have you tried running in safe mode?

Yes, no difference

Did running in safe mode solve the problem?

No

Systeminfo Bundle

browser.user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15
connectivity.connection_check: 1.1.1.1:53
connectivity.connection_ok: True
connectivity.enabled: True
connectivity.online: True
connectivity.resolution_check: octoprint.org
connectivity.resolution_ok: True
env.hardware.cores: 8
env.hardware.freq: 2152.0
env.hardware.ram: 16467406848
env.os.bits: 64
env.os.id: linux
env.os.platform: linux
env.python.pip: 22.3.1
env.python.version: 3.10.6
env.python.virtualenv: True
octoprint.last_safe_mode.date: 2023-01-24T09:58:58Z
octoprint.last_safe_mode.reason: incomplete_startup
octoprint.safe_mode: False
octoprint.version: 1.8.6
systeminfo.generated: 2023-01-24T13:03:42Z
systeminfo.generator: zipapi

Additional information about your setup

Hello @cg_racer !

A quick forum search gave this:

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