diff --git a/AUTHORS.md b/AUTHORS.md index a85ff3f2..4ff4458d 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -74,6 +74,7 @@ date of first contribution): * [Mathias Rangel Wulff](https://github.com/mathiasrw) * [Clemens Niemeyer](https://github.com/clemniem) * ["I-am-me"](https://github.com/I-am-me) + * [J-J Heinonen](https://github.com/jammi) OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by [Daid Braam](https://github.com/daid). Parts of its communication layer and diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index dd0ab9c6..fb1e1118 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -144,6 +144,7 @@ def serialList(): + glob.glob("/dev/tty.usb*") \ + glob.glob("/dev/cu.*") \ + glob.glob("/dev/cuaU*") \ + + glob.glob("/dev/ttyS*") \ + glob.glob("/dev/rfcomm*") additionalPorts = settings().get(["serial", "additionalPorts"]) @@ -1544,7 +1545,7 @@ class MachineCom(object): def _poll_temperature(self): """ - Polls the temperature after the temperature timeout, re-enqueues itself. + Polls the temperature. If the printer is not operational, closing the connection, not printing from sd, busy with a long running command or heating, no poll will be done. @@ -1555,7 +1556,7 @@ class MachineCom(object): def _poll_sd_status(self): """ - Polls the sd printing status after the sd status timeout, re-enqueues itself. + Polls the sd printing status. If the printer is not operational, closing the connection, not printing from sd, busy with a long running command or heating, no poll will be done.