What is the problem?
i got this error after some hours or minutes of jobs:
2021-02-20 19:22:13,117 - octoprint.util.comm - ERROR - Unexpected error while reading from serial port
Traceback (most recent call last):
File "/home/octopi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 3831, in _readline
ret = self._serial.readline()
File "/home/octopi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 6455, in readline
c = self.read(1)
File "/home/octopi/OctoPrint/venv/local/lib/python2.7/site-packages/serial/serialposix.py", line 596, in read
'device reports readiness to read but returned no data '
SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
2021-02-20 19:22:13,169 - octoprint.util.comm - ERROR - Please see https://faq.octoprint.org/serialerror for possible reasons of this.
2021-02-20 19:22:13,233 - octoprint.util.comm - INFO - Changing monitoring state from "Printing" to "Offline (Error: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:3831)"
What did you already try to solve it?
1.used an usb charger 3.1A
2.changed the power cable with a AWG28 (good quality uses with some device that needs more current)
3.changed the power supply with a specific model used with RPi 4 3A with usb type C connector and a HUB usb to connect it (it is not a good solution but i did't find other solution at home)
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, what kind of hardware precisely, ...)
- octoprint 1.5.3 installed 2 days ago
- orange pi zero (dedicated)
- creality ender 5 fw 1.1.6-3
two days ago i encountered the first disconnect issue
yesterday for example i was excited with octoprint and i decide to print 15 items for my children.
after 6 or 7 hours if fails again. i changed my power supply and it fails again and again.
from my OPi i got:
Feb 20 19:22:13 orangepizero kernel: [19213.911602] usb 6-1: USB disconnect, device number 2
Feb 20 19:22:13 orangepizero kernel: [19213.914404] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
Feb 20 19:22:13 orangepizero kernel: [19213.914559] ch341 6-1:1.0: device disconnected
Feb 20 19:22:13 orangepizero kernel: [19214.248570] usb 6-1: new full-speed USB device number 3 using ohci-platform
Feb 20 19:22:13 orangepizero kernel: [19214.477282] usb 6-1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64
Feb 20 19:22:13 orangepizero kernel: [19214.477322] usb 6-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
Feb 20 19:22:13 orangepizero kernel: [19214.477338] usb 6-1: Product: USB Serial
Feb 20 19:22:13 orangepizero kernel: [19214.479612] ch341 6-1:1.0: ch341-uart converter detected
Feb 20 19:22:13 orangepizero kernel: [19214.491992] usb 6-1: ch341-uart converter now attached to ttyUSB0
but what it is important is that i see my display reseatting and display again the creality logo.... i checked the logs and i see the disconnecting/reconnecting message above.
using the printer from SD it works like a charm.
i have also two question:
1) is it possible to write directly into my SD card ? because i tried to inizialize it but i see the sdcard always grayed.
2) is it possible to flash the firmware on my model ? because i read on the logs that it uses the Marlin firmware but i am not sure. what do you suggest ? it is safe to do this from octoprint with the reset issue ? what is the best method that anyone can suggest?
thanks a lot