rudetrooper / Octoprint-Chituboard

Added basic support chituboard based printers(Elegoo Mars, Anycubic Photon, Phrozen, etc.) to octoprint.
GNU Affero General Public License v3.0
81 stars 18 forks source link

Suddenly not connecting via serial, also the serial port stays open after failure. #26

Closed MythikWolf closed 2 years ago

MythikWolf commented 2 years ago

This was working. Suddenly not working.

Changing monitoring state from "Offline" to "Opening serial connection" Connecting to port /dev/ttyS0, baudrate 115200 Changing monitoring state from "Opening serial connection" to "Connecting" Connected to: Serial(port='/dev/ttyS0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor Send: M4002 No answer from the printer within the connection timeout, trying another hello Send: M4002 There was a timeout while trying to connect to the printer Changing monitoring state from "Connecting" to "Offline" Connection closed, closing down monitor Changing monitoring state from "Offline" to "Opening serial connection" Connecting to port /dev/ttyS0, baudrate 115200 Changing monitoring state from "Opening serial connection" to "Error" Changing monitoring state from "Error" to "Offline after error" Unexpected error while connecting to serial port /dev/ttyS0, baudrate 115200 from hook default: error: '(22, 'Invalid argument')' @ comm.py:_open_serial:3836

Seems it stays stuck afterwards. Working with an original Anycubic Photon. As mentioned it was working fine. None of the connections look like they got knocked loose.

MythikWolf commented 2 years ago

Nvm. It was just a dying Pi. I'll give it a good burial.

rudetrooper commented 2 years ago

RIP Pi

rudetrooper commented 2 years ago

Also It might just be the microSD card that died not the Pi.

MythikWolf commented 2 years ago

Actually transferred it to a new Pi. Works fine. RIP Pi.

On Wed, Jun 29, 2022, 9:36 PM Vikram Sarkhel @.***> wrote:

Also It might just be the microSD card that died not the Pi.

— Reply to this email directly, view it on GitHub https://github.com/rudetrooper/Octoprint-Chituboard/issues/26#issuecomment-1170752368, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDS7UDGKQAY4AQN7XHCL4TVRUP6FANCNFSM52HLFJHA . You are receiving this because you authored the thread.Message ID: @.***>