I'm trying to see if I can get a LulzBot TAZ Pro to work with OctoPrint, but I don't see any threads discussing this particular printer. Has anyone gotten it to work successfully?
Right now my stumbling block is getting the TAZ and the OctoPrint server to communicate. I've added /dev/ttyAMA0 under the Additional Serial Ports and that at least will let me attempt to connect, but the connection fails.
Looking at the serial.log I see the following:
2022-09-02 16:39:24,329 - Changing monitoring state from "Offline" to "Opening serial connection"
2022-09-02 16:39:24,334 - Connecting to port /dev/ttyAMA0, baudrate 250000
2022-09-02 16:39:24,361 - Changing monitoring state from "Opening serial connection" to "Connecting"
2022-09-02 16:39:24,367 - Connected to: Serial<id=0x6e5a6430, open=True>(port='/dev/ttyAMA0', baudrate=250000, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
2022-09-02 16:39:24,379 - Unexpected error while reading serial port, please consult octoprint.log for details: OSError: '[Errno 25] Inappropriate ioctl for device' @ comm.py:_readline:3997
2022-09-02 16:39:24,397 - Changing monitoring state from "Connecting" to "Offline after error"
2022-09-02 16:39:24,403 - Connection closed, closing down monitor
Looking at the Octoprint Log
2022-09-02 16:39:24,329 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Opening serial connection"
2022-09-02 16:39:24,334 - octoprint.util.comm - INFO - Connecting to port /dev/ttyAMA0, baudrate 250000
2022-09-02 16:39:24,361 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial connection" to "Connecting"
2022-09-02 16:39:24,369 - octoprint.util.comm - ERROR - Unexpected error while reading from serial port
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/comm.py", line 3997, in _readline
ret = self._serial.readline()
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/comm.py", line 6659, in readline
self._buffered += self.read(self.in_waiting)
File "/home/pi/oprint/lib/python3.7/site-packages/serial/serialposix.py", line 549, in in_waiting
s = fcntl.ioctl(self.fd, TIOCINQ, TIOCM_zero_str)
OSError: [Errno 25] Inappropriate ioctl for device
2022-09-02 16:39:24,397 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Offline after error"
2022-09-02 16:39:24,408 - octoprint.plugins.action_command_notification - INFO - Notifications cleared