Mrnt / OctoPrint-FlashForge

OctoPrint plugin to support closed source printers from FlashForge, PowerSpec, Dremel
GNU General Public License v3.0
87 stars 12 forks source link

how to fix this error it does not want to connect to the printer #85

Open gabbelitoV2 opened 1 year ago

gabbelitoV2 commented 1 year ago

Changing monitoring state from "Offline" to "Detecting serial connection" Performing autodetection with 7 port/baudrate candidates: /dev/ttyS9@115200, /dev/ttyS9@250000, /dev/ttyS9@230400, /dev/ttyS9@57600, /dev/ttyS9@38400, /dev/ttyS9@19200, /dev/ttyS9@9600 Trying port /dev/ttyS9, baudrate 115200 Connecting to port /dev/ttyS9, baudrate 115200 Handshake attempt #1 with timeout 2.0s Connected to: Serial(port='/dev/ttyS9', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=2.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 250000 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 230400 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 57600 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 38400 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 19200 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 9600 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Changing monitoring state from "Detecting serial connection" to "Error" Changing monitoring state from "Error" to "Offline after error" Connection closed, closing down monitor Changing monitoring state from "Offline" to "Detecting serial connection" Performing autodetection with 7 port/baudrate candidates: /dev/ttyS9@115200, /dev/ttyS9@250000, /dev/ttyS9@230400, /dev/ttyS9@57600, /dev/ttyS9@38400, /dev/ttyS9@19200, /dev/ttyS9@9600 Trying port /dev/ttyS9, baudrate 115200 Connecting to port /dev/ttyS9, baudrate 115200 Handshake attempt #1 with timeout 2.0s Connected to: Serial(port='/dev/ttyS9', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=2.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 250000 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 230400 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 57600 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 38400 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 19200 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 9600 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Changing monitoring state from "Detecting serial connection" to "Error" Changing monitoring state from "Error" to "Offline after error" Connection closed, closing down monitor Changing monitoring state from "Offline" to "Detecting serial connection" Performing autodetection with 7 port/baudrate candidates: /dev/ttyS9@115200, /dev/ttyS9@250000, /dev/ttyS9@230400, /dev/ttyS9@57600, /dev/ttyS9@38400, /dev/ttyS9@19200, /dev/ttyS9@9600 Trying port /dev/ttyS9, baudrate 115200 Connecting to port /dev/ttyS9, baudrate 115200 Handshake attempt #1 with timeout 2.0s Connected to: Serial(port='/dev/ttyS9', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=2.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 250000 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Connection closed, closing down monitor Closing down send loop Changing monitoring state from "Detecting serial connection" to "Offline" Changing monitoring state from "Offline" to "Opening serial connection" Connecting to port /dev/ttyS9, baudrate 250000 Changing monitoring state from "Opening serial connection" to "Connecting" Connected to: Serial(port='/dev/ttyS9', baudrate=250000, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor Send: M601 S0 No answer from the printer within the connection timeout, trying another hello Send: M601 S0 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 "Detecting serial connection" Performing autodetection with 7 port/baudrate candidates: /dev/ttyS9@115200, /dev/ttyS9@250000, /dev/ttyS9@230400, /dev/ttyS9@57600, /dev/ttyS9@38400, /dev/ttyS9@19200, /dev/ttyS9@9600 Trying port /dev/ttyS9, baudrate 115200 Connecting to port /dev/ttyS9, baudrate 115200 Handshake attempt #1 with timeout 2.0s Connected to: Serial(port='/dev/ttyS9', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=2.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 250000 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 230400 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 57600 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 38400 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 19200 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 9600 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Changing monitoring state from "Detecting serial connection" to "Error" Changing monitoring state from "Error" to "Offline after error" Connection closed, closing down monitor Changing monitoring state from "Offline" to "Detecting serial connection" Performing autodetection with 7 port/baudrate candidates: /dev/ttyS9@115200, /dev/ttyS9@250000, /dev/ttyS9@230400, /dev/ttyS9@57600, /dev/ttyS9@38400, /dev/ttyS9@19200, /dev/ttyS9@9600 Trying port /dev/ttyS9, baudrate 115200 Connecting to port /dev/ttyS9, baudrate 115200 Handshake attempt #1 with timeout 2.0s Connected to: Serial(port='/dev/ttyS9', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=2.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 250000 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 230400 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 57600 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 38400 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0 Handshake attempt #3 with timeout 2.0s Send: M601 S0 Trying port /dev/ttyS9, baudrate 19200 Handshake attempt #1 with timeout 2.0s Send: M601 S0 Handshake attempt #2 with timeout 2.0s Send: M601 S0

gabbelitoV2 commented 1 year ago

does it even work with Adventurer 3?

Mrnt commented 1 year ago

In the ReadMe in the section Printer Compatibility it says not compatible because there is no USB port. You are welcome to help develop and debug ethernet support for it though :)

gabbelitoV2 commented 1 year ago

I'll see if I can figure out a way to get it into the computer

gabbelitoV2 commented 1 year ago

eat the serial number you should have?

gabbelitoV2 commented 1 year ago

is it not possible to take a cable that goes from a usb to a ubs and use the usb hole on the front of the printer to connect it to the computer to get the id

gabbelitoV2 commented 1 year ago

is it not possible to take a cable that goes from a usb to a ubs and use the usb hole on the front of the printer to connect it to the computer to get the id

Mrnt commented 1 year ago

Sorry for the late response. The USB connector on the front is for plugging in a USB flash drive - the printer uses this port as a USB "host" and access the drive as a USB "client" or accessory. In order to use the printer with OctoPrint via USB, the printer has to act as a USB client with the RaspberryPi (or whatever is running Octoprint) acting as the host. The USB client ports are typically one of the following - USB-B, USB mini or USB micro:

image