Octoprint (on Raspberry4) when i try connect to printer Tevo lockdown PWC V2.0

Hallo
I have Raspberry 4 with 4 GBRAM, just installed last Octoprint 1.4.
I have Tevo Flash with MB MKS GEN L V1.0 connected with a MKS TFT 32 external touchscreen display who manage the PWC V2.0 that i install to control the power off.
All ok BUT when i press on CONNECT to printer, the PWC cut off the 220V to the POWER switch
and all goes down. (raspberry too that is same under pwc unit trought its personal 5V transformator).
So raspberry send a signal to printer that send something to PWC.
i had disconect tft that manage the pwc but is the same....so it is not the problem....
Someone had the same problem?

Hi @balsamicoud!

Sadly you deleted the template that was given here. So the most important informations are missing: the logs!

i think is a good choice i re-install from zero the octoprint and THAN i will ask you to help me in configuring it

ehy friend, here my log of yesterday when machine shutdown when octoprint connect it

octoprint.log.2020-04-17.zip (11.7 KB)

Ok, you may try safemode.

hallo .
ok, i had re-install octoprint without plugins, no thange even the same

i had try in safe mode, and it switch off the same....
Any other suggestion? i so sad....

You may connect it to your PC and run Pronterface to see if it is an issue with the Pi or the printer board.

i connect printer with any slicer, i usually use Simplify3D, never problems.
i control raspberry trought ethernet, no problems....

when you say "it" mean....what?

With it I mean the problem you have with your configuration.
So could you also share the serial.log? You may have to enable it first.
In that log all the commands are listed that are send to the printer.

2020-04-18 23:15:34,592 - octoprint.startup - INFO - Starting OctoPrint 1.4.0
2020-04-18 23:15:34,593 - octoprint.startup - INFO - ******************************************************************************
2020-04-18 23:15:34,993 - octoprint.startup - INFO - We don't appear to be online, not fetching plugin blacklist
2020-04-18 23:15:35,044 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2020-04-18 23:15:35,728 - octoprint.plugin.core - INFO - Plugin Anonymous Usage Tracking is disabled.
2020-04-18 23:15:35,983 - octoprint.plugin.core - INFO - Found 15 plugin(s) providing 14 mixin implementations, 27 hook handlers
2020-04-18 23:15:36,101 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2020-04-18 23:15:36,127 - octoprint.server - INFO - Intermediary server started
2020-04-18 23:15:36,128 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2020-04-18 23:15:36,197 - octoprint.plugin.core - INFO - Found 15 plugin(s) providing 14 mixin implementations, 27 hook handlers
2020-04-18 23:15:36,216 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2020-04-18 23:15:36,217 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2020-04-18 23:15:36,220 - octoprint.server - INFO - Added new permission from plugin action_command_prompt: PLUGIN_ACTION_COMMAND_PROMPT_INTERACT (needs: u"Need(method='role', value=u'plugin_action_command_prompt_interact')")
2020-04-18 23:15:36,221 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_READ (needs: u"Need(method='role', value=u'plugin_announcements_read')")
2020-04-18 23:15:36,222 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_MANAGE (needs: u"Need(method='role', value=u'plugin_announcements_manage'), Need(method='role', value=u'plugin_announcements_read')")
2020-04-18 23:15:36,223 - octoprint.server - INFO - Added new permission from plugin appkeys: PLUGIN_APPKEYS_ADMIN (needs: u"Need(method='role', value=u'plugin_appkeys_admin')")
2020-04-18 23:15:36,224 - octoprint.server - INFO - Added new permission from plugin backup: PLUGIN_BACKUP_ACCESS (needs: u"Need(method='role', value=u'plugin_backup_access')")
2020-04-18 23:15:36,225 - octoprint.server - INFO - Added new permission from plugin logging: PLUGIN_LOGGING_MANAGE (needs: u"Need(method='role', value=u'plugin_logging_manage')")
2020-04-18 23:15:36,226 - octoprint.server - INFO - Added new permission from plugin pi_support: PLUGIN_PI_SUPPORT_STATUS (needs: u"Need(method='role', value=u'plugin_pi_support_check')")
2020-04-18 23:15:36,227 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_MANAGE (needs: u"Need(method='role', value=u'plugin_pluginmanager_manage')")
2020-04-18 23:15:36,228 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_INSTALL (needs: u"Need(method='role', value=u'plugin_pluginmanager_install'), Need(method='role', value=u'plugin_pluginmanager_manage')")
2020-04-18 23:15:36,229 - octoprint.server - INFO - Added new permission from plugin printer_safety_check: PLUGIN_PRINTER_SAFETY_CHECK_DISPLAY (needs: u"Need(method='role', value=u'plugin_printer_safety_check_display')")
2020-04-18 23:15:36,230 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_CHECK (needs: u"Need(method='role', value=u'plugin_softwareupdate_check')")
2020-04-18 23:15:36,230 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_UPDATE (needs: u"Need(method='role', value=u'plugin_softwareupdate_update')")
2020-04-18 23:15:36,264 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2020-04-18 23:15:36,949 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip
2020-04-18 23:15:37,504 - octoprint.util.pip - INFO - Version of pip is 19.3.1
2020-04-18 23:15:37,506 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-04-18 23:15:37,506 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-04-18 23:15:37,510 - octoprint.plugin.core - INFO - Initialized 14 plugin implementation(s)
2020-04-18 23:15:37,515 - octoprint.plugin.core - INFO - 15 plugin(s) registered with the system:
| Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
| Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements
| !Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/tracking
| Application Keys Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/appkeys
| Backup & Restore (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/backup
| Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/corewizard
| Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/discovery
| Error Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/errortracking
| Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/logging
| Login UI (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/loginui
| Pi Support Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pi_support
| Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager
| Printer Safety Check (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
| Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
| Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/virtual_printer
Prefix legend: ! = disabled, # = blacklisted, * = incompatible
2020-04-18 23:15:37,527 - octoprint.environment - INFO - Detected environment is Python 2.7.16 under Linux (linux2). Details:
| hardware:
| cores: 4
| freq: 1500.0
| ram: 4041728000
| os:
| id: linux
| platform: linux2
| plugins:
| pi_support:
| model: Raspberry Pi 4 Model B Rev 1.1
| octopi_version: 0.17.0
| python:
| pip: 19.3.1
| version: 2.7.16
| virtualenv: /home/pi/oprint
2020-04-18 23:15:37,533 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2020-04-18 23:15:37,545 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2020-04-18 23:15:38,020 - octoprint.server - INFO - Shutting down intermediary server...
2020-04-18 23:15:38,130 - octoprint.server - INFO - Intermediary server shut down
2020-04-18 23:15:38,132 - octoprint.events - INFO - Processing startup event, this is our first event
2020-04-18 23:15:38,133 - octoprint.events - INFO - Adding 0 events to queue that were held back before startup event
2020-04-18 23:15:38,135 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2020-04-18 23:15:38,137 - octoprint.server - INFO - Autoconnect on startup is configured, trying to connect to the printer...
2020-04-18 23:15:38,137 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2020-04-18 23:15:38,162 - octoprint.server - INFO - Trying to connect to configured serial port /dev/ttyS0
2020-04-18 23:15:38,188 - octoprint.server.util.watchdog - INFO - Running initial scan on watched folder...
2020-04-18 23:15:38,190 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Opening serial port"
2020-04-18 23:15:38,192 - octoprint.server.util.watchdog - INFO - ... initial scan done.
2020-04-18 23:15:38,199 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Connecting"
2020-04-18 23:15:38,202 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on TevoOcto' for _http._tcp
2020-04-18 23:15:38,205 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-04-18 23:15:38,213 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on TevoOcto' for _octoprint._tcp
2020-04-18 23:15:38,235 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2020-04-18 23:15:38,323 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2020-04-18 23:15:39,018 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip
2020-04-18 23:15:39,068 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-04-18 23:15:39,129 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-04-18 23:15:39,230 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2020-04-18 23:15:39,800 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip
2020-04-18 23:15:41,942 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages/ (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-04-18 23:15:41,942 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-04-18 23:15:41,952 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2020-04-18 23:15:42,018 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://192.168.0.40/'}
2020-04-18 23:15:44,448 - octoprint.util.comm - ERROR - Unexpected error while reading from serial port
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 2823, in _readline
ret = self._serial.readline()
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 4968, in readline
c = self.read(1)
File "/home/pi/oprint/local/lib/python2.7/site-packages/serial/serialposix.py", line 501, 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?)
2020-04-18 23:15:44,522 - octoprint.util.comm - ERROR - Please see https://faq.octoprint.org/serialerror for possible reasons of this.
2020-04-18 23:15:44,528 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Offline (Error: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:2823)"
2020-04-18 23:15:45,546 - octoprint.server.util.flask - INFO - Passively logging in user enrico from ::ffff:192.168.0.2
2020-04-18 23:15:45,577 - octoprint.access.users - INFO - Logged in user: enrico
2020-04-18 23:15:45,768 - tornado.access - WARNING - 404 GET /static/webassets/packed_client.js?313d9a0c (::ffff:192.168.0.2) 8.11ms
2020-04-18 23:15:45,772 - tornado.access - WARNING - 404 GET /static/webassets/packed_core.js?f80774c4 (::ffff:192.168.0.2) 2.13ms
2020-04-18 23:15:46,145 - tornado.access - WARNING - 404 GET /static/webassets/packed_core.js?f80774c4 (::ffff:192.168.0.2) 2.44ms
2020-04-18 23:15:46,417 - octoprint.server.preemptive_cache - INFO - ... done in 4.40s
\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\002020-04-18 23:25:32,561 - octoprint.startup - INFO - ******************************************************************************
2020-04-18 23:25:32,563 - octoprint.startup - INFO - Starting OctoPrint 1.4.0
2020-04-18 23:25:32,563 - octoprint.startup - INFO - ******************************************************************************
2020-04-18 23:25:32,983 - octoprint.startup - INFO - We don't appear to be online, not fetching plugin blacklist
2020-04-18 23:25:33,038 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2020-04-18 23:25:33,749 - octoprint.plugin.core - INFO - Plugin Anonymous Usage Tracking is disabled.
2020-04-18 23:25:34,016 - octoprint.plugin.core - INFO - Found 15 plugin(s) providing 14 mixin implementations, 27 hook handlers
2020-04-18 23:25:34,141 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2020-04-18 23:25:34,172 - octoprint.server - INFO - Intermediary server started
2020-04-18 23:25:34,174 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2020-04-18 23:25:34,243 - octoprint.plugin.core - INFO - Found 15 plugin(s) providing 14 mixin implementations, 27 hook handlers
2020-04-18 23:25:34,262 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2020-04-18 23:25:34,263 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2020-04-18 23:25:34,266 - octoprint.server - INFO - Added new permission from plugin action_command_prompt: PLUGIN_ACTION_COMMAND_PROMPT_INTERACT (needs: u"Need(method='role', value=u'plugin_action_command_prompt_interact')")
2020-04-18 23:25:34,267 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_READ (needs: u"Need(method='role', value=u'plugin_announcements_read')")
2020-04-18 23:25:34,268 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_MANAGE (needs: u"Need(method='role', value=u'plugin_announcements_manage'), Need(method='role', value=u'plugin_announcements_read')")
2020-04-18 23:25:34,269 - octoprint.server - INFO - Added new permission from plugin appkeys: PLUGIN_APPKEYS_ADMIN (needs: u"Need(method='role', value=u'plugin_appkeys_admin')")
2020-04-18 23:25:34,270 - octoprint.server - INFO - Added new permission from plugin backup: PLUGIN_BACKUP_ACCESS (needs: u"Need(method='role', value=u'plugin_backup_access')")
2020-04-18 23:25:34,271 - octoprint.server - INFO - Added new permission from plugin logging: PLUGIN_LOGGING_MANAGE (needs: u"Need(method='role', value=u'plugin_logging_manage')")
2020-04-18 23:25:34,271 - octoprint.server - INFO - Added new permission from plugin pi_support: PLUGIN_PI_SUPPORT_STATUS (needs: u"Need(method='role', value=u'plugin_pi_support_check')")
2020-04-18 23:25:34,272 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_MANAGE (needs: u"Need(method='role', value=u'plugin_pluginmanager_manage')")
2020-04-18 23:25:34,273 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_INSTALL (needs: u"Need(method='role', value=u'plugin_pluginmanager_install'), Need(method='role', value=u'plugin_pluginmanager_manage')")
2020-04-18 23:25:34,274 - octoprint.server - INFO - Added new permission from plugin printer_safety_check: PLUGIN_PRINTER_SAFETY_CHECK_DISPLAY (needs: u"Need(method='role', value=u'plugin_printer_safety_check_display')")
2020-04-18 23:25:34,275 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_CHECK (needs: u"Need(method='role', value=u'plugin_softwareupdate_check')")
2020-04-18 23:25:34,276 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_UPDATE (needs: u"Need(method='role', value=u'plugin_softwareupdate_update')")
2020-04-18 23:25:34,310 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2020-04-18 23:25:34,997 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip
2020-04-18 23:25:35,554 - octoprint.util.pip - INFO - Version of pip is 19.3.1
2020-04-18 23:25:35,555 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-04-18 23:25:35,556 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-04-18 23:25:35,559 - octoprint.plugin.core - INFO - Initialized 14 plugin implementation(s)
2020-04-18 23:25:35,565 - octoprint.plugin.core - INFO - 15 plugin(s) registered with the system:
| Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
| Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements
| !Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/tracking
| Application Keys Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/appkeys
| Backup & Restore (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/backup
| Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/corewizard
| Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/discovery
| Error Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/errortracking
| Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/logging
| Login UI (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/loginui
| Pi Support Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pi_support
| Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager
| Printer Safety Check (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
| Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
| Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/virtual_printer
Prefix legend: ! = disabled, # = blacklisted, * = incompatible
2020-04-18 23:25:35,578 - octoprint.environment - INFO - Detected environment is Python 2.7.16 under Linux (linux2). Details:
| hardware:
| cores: 4
| freq: 1500.0
| ram: 4041728000
| os:
| id: linux
| platform: linux2
| plugins:
| pi_support:
| model: Raspberry Pi 4 Model B Rev 1.1
| octopi_version: 0.17.0
| python:
| pip: 19.3.1
| version: 2.7.16
| virtualenv: /home/pi/oprint
2020-04-18 23:25:35,584 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2020-04-18 23:25:35,598 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2020-04-18 23:25:36,080 - octoprint.server - INFO - Shutting down intermediary server...
2020-04-18 23:25:36,177 - octoprint.server - INFO - Intermediary server shut down
2020-04-18 23:25:36,179 - octoprint.events - INFO - Processing startup event, this is our first event
2020-04-18 23:25:36,180 - octoprint.events - INFO - Adding 0 events to queue that were held back before startup event
2020-04-18 23:25:36,181 - octoprint.server - INFO - Autoconnect on startup is configured, trying to connect to the printer...
2020-04-18 23:25:36,181 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2020-04-18 23:25:36,201 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2020-04-18 23:25:36,211 - octoprint.server - INFO - Trying to connect to configured serial port /dev/ttyS0
2020-04-18 23:25:36,234 - octoprint.server.util.watchdog - INFO - Running initial scan on watched folder...
2020-04-18 23:25:36,237 - octoprint.server.util.watchdog - INFO - ... initial scan done.
2020-04-18 23:25:36,241 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Opening serial port"
2020-04-18 23:25:36,249 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on TevoOcto' for _http._tcp
2020-04-18 23:25:36,250 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Connecting"
2020-04-18 23:25:36,258 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on TevoOcto' for _octoprint._tcp
2020-04-18 23:25:36,260 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-04-18 23:25:36,286 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2020-04-18 23:25:36,366 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2020-04-18 23:25:37,040 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip
2020-04-18 23:25:37,087 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-04-18 23:25:37,104 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-04-18 23:25:37,200 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2020-04-18 23:25:37,796 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip
2020-04-18 23:25:39,936 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages/ (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-04-18 23:25:39,937 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-04-18 23:25:39,946 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2020-04-18 23:25:40,011 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://192.168.0.40/'}
2020-04-18 23:25:41,783 - octoprint.util.comm - ERROR - Unexpected error while reading from serial port
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 2823, in _readline
ret = self._serial.readline()
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 4968, in readline
c = self.read(1)
File "/home/pi/oprint/local/lib/python2.7/site-packages/serial/serialposix.py", line 501, 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?)
2020-04-18 23:25:41,820 - octoprint.util.comm - ERROR - Please see https://faq.octoprint.org/serialerror for possible reasons of this.
2020-04-18 23:25:41,842 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Offline (Error: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:2823)"
2020-04-18 23:25:44,156 - octoprint.server.preemptive_cache - INFO - ... done in 4.15s
2020-04-18 23:25:54,528 - octoprint.server.util.flask - INFO - Passively logging in user enrico from ::ffff:192.168.0.2
2020-04-18 23:25:54,531 - octoprint.access.users - INFO - Logged in user: enrico
2020-04-18 23:25:54,947 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.0.2
2020-04-18 23:25:55,005 - octoprint.server.util.flask - INFO - Passively logging in user enrico from ::ffff:192.168.0.2
2020-04-18 23:25:55,006 - octoprint.access.users - INFO - Logged in user: enrico
2020-04-18 23:25:55,405 - octoprint.server.util.sockjs - INFO - User enrico logged in on the socket from client ::ffff:192.168.0.2
2020-04-18 23:25:55,976 - octoprint.util.connectivity_checker - INFO - Connectivity changed from offline to online
2020-04-18 23:25:56,021 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2020-04-18 23:25:56,761 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2020-04-18 23:25:56,843 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2020-04-18 23:29:56,977 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.0.2
2020-04-18 23:29:57,011 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.0.2
2020-04-18 23:29:57,091 - octoprint.server.util.flask - INFO - Passively logging in user enrico from ::ffff:192.168.0.2
2020-04-18 23:29:57,092 - octoprint.access.users - INFO - Logged in user: enrico
2020-04-18 23:29:57,128 - octoprint.server.util.sockjs - INFO - User enrico logged in on the socket from client ::ffff:192.168.0.2
2020-04-18 23:31:06,502 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.0.2

Sorry, that is the octoprint.log - not the serial.log

sorry my mistake, now i send

first i deleted it, so is clean with last shut down only
here serial.log:

2020-04-18 23:33:41,531 - Connecting to: /dev/ttyS0
2020-04-18 23:33:41,539 - Changing monitoring state from "Offline" to "Opening serial port"
2020-04-18 23:33:41,546 - Connected to: Serial<id=0xb1a83dd0, open=True>(port='/dev/ttyS0', baudrate=250000, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
2020-04-18 23:33:41,547 - Changing monitoring state from "Opening serial port" to "Connecting"
2020-04-18 23:33:41,556 - Send: N0 M110 N0*125
2020-04-18 23:33:47,498 - 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:2823
2020-04-18 23:33:47,500 - Please see https://faq.octoprint.org/serialerror for possible reasons of this.
2020-04-18 23:33:47,502 - Changing monitoring state from "Connecting" to "Offline (Error: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:2823)"
2020-04-18 23:33:47,505 - Connection closed, closing down monitor

is strange because on ttys0 it give me error, and it connect and switch off with ttyUSB

Do you use one of the USB2 connectors of the Pi or a USB3?

now is connected in the black plug so 2.0

maybe i have to reconfigure interfaces enabled in octoprint server?

i mean I2C, SPI, serial, 1-wire, remote GPIO, VNC...