Skip to content

OctoPi Serial Port Failure During Print #532

@JabawokJayUK

Description

@JabawokJayUK

Linked to Issue raised in OctoPrint: OctoPrint/OctoPrint#2647

During a normal print operation (tested in both safe mode and normal), the print will stop but the temps will remain steady on the printer.

Evaluating serial.log a serial connection issue occurs:

018-05-20 18:53:04,982 - Send: N114890 G1 X222.788 Y103.174 E0.2691*110 2018-05-20 18:53:04,993 - Recv: ok 2018-05-20 18:53:04,997 - Send: N114891 G1 X222.657 Y103.318 E0.2769*98 2018-05-20 18:53:05,163 - Unexpected error while reading serial port, please consult octoprint.log for details: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:2417 2018-05-20 18:53:05,165 - Please see https://faq.octoprint.org/serialerror for possible reasons of this. 2018-05-20 18:53:05,177 - 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:2417)" 2018-05-20 18:53:05,189 - Connection closed, closing down monitor

This is due to a failure of the FTDI Drivers in the kernel as shown in syslog:

Syslog would indicate that the serial driver is dropping: May 20 18:53:05 octopi kernel: [194758.424374] ftdi_sio ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32 May 20 18:53:05 octopi kernel: [194758.424479] ftdi_sio ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32 May 20 18:53:05 octopi kernel: [194758.562635] usb 1-1.3: USB disconnect, device number 9 May 20 18:53:05 octopi kernel: [194758.562930] ftdi_sio ttyUSB0: error from flowcontrol urb May 20 18:53:05 octopi kernel: [194758.563302] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0 May 20 18:53:05 octopi kernel: [194758.563339] ftdi_sio 1-1.3:1.0: device disconnected May 20 18:53:05 octopi kernel: [194758.855333] usb 1-1.3: new full-speed USB device number 10 using dwc_otg May 20 18:53:05 octopi kernel: [194759.013986] usb 1-1.3: New USB device found, idVendor=0403, idProduct=6001 May 20 18:53:05 octopi kernel: [194759.013995] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 May 20 18:53:05 octopi kernel: [194759.013999] usb 1-1.3: Product: FT232R USB UART May 20 18:53:05 octopi kernel: [194759.014002] usb 1-1.3: Manufacturer: FTDI May 20 18:53:05 octopi kernel: [194759.014006] usb 1-1.3: SerialNumber: A907S16M May 20 18:53:05 octopi kernel: [194759.022120] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected May 20 18:53:05 octopi kernel: [194759.022310] usb 1-1.3: Detected FT232RL May 20 18:53:05 octopi kernel: [194759.023110] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB0

This behavior has only just started wince the most recent updates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions