What is the problem?
On my Mac, I can use Octoprint just fine. This is because I can access the printer easily by doing screen /dev/cu.usbserial-1440 115200 and I can send and view stuff. On my raspberry pi 4 however I cannot.
What did you already try to solve it?
- I have tried several cables. I know that certain ones work because when I plug them into my Mac, the printer works
- I have a known good power supply that outputs 5v 2 amps.
- I have tried running octoprint on a basic linux machine (same problem).
- I have tried and am using the plugin for Malyan/Monoprice Connection Fix (0.1.3)
Logs (without plugin)
Changing monitoring state from "Offline" to "Opening serial connection"
Connecting to port /dev/ttyUSB0, baudrate 115200
Changing monitoring state from "Opening serial connection" to "Connecting"
Connected to: Serial<id=0xae702af0, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Send: N0 M110 N0*125
No answer from the printer within the connection timeout, trying another hello
Send: N0 M110 N0*125
There was a timeout while trying to connect to the printer
Changing monitoring state from "Connecting" to "Offline"
Connection closed, closing down monitor
Logs (with Plugin):
Changing monitoring state from "Offline" to "Opening serial connection"
Connecting to: /dev/ttyUSB0
Using Malyan/Monoprice Connection Fix Plugin to create serial connection
Changing monitoring state from "Opening serial connection" to "Connecting"
Connected to: Serial<id=0xaccd4930, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Send: N0 M110 N0*125
No answer from the printer within the connection timeout, trying another hello
Send: N0 M110 N0*125
There was a timeout while trying to connect to the printer
Changing monitoring state from "Connecting" to "Offline"
Connection closed, closing down monitor
I can see this on the device:
pi@octopi:~ $ cat /dev/ttyUSB0
�start
echo:PowerUp
Marlin 1.1.5
If I echo stuff to the device I get nothing:
pi@octopi:~ $ echo "N0 M110 N0*125" >> /dev/ttyUSB0
pi@octopi:~ $
I just ordered a new raspberry pi 3 to see if maybe something changed between them to cause this issue.
Have you tried running in safe mode?
Yes.
Did running in safe mode solve the problem?
No
Systeminfo Bundle
browser.user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Firefox/91.0
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: 4
env.hardware.freq: 1500
env.hardware.ram: 3959984128
env.os.bits: 32
env.os.id: linux
env.os.platform: linux
env.plugins.pi_support.model: Raspberry Pi 4 Model B Rev 1.1
env.plugins.pi_support.octopi_version: 0.18.0
env.plugins.pi_support.throttle_state: 0x0
env.python.pip: 20.3.3
env.python.version: 3.7.3
env.python.virtualenv: true
octoprint.safe_mode: false
octoprint.version: 1.6.1
systeminfo.generator: systemapi