pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-octoprint: also look for the default USB serial ports on NetBSD



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Sun Jan 3 21:13:20 2021 +0100
Changeset:	b5d56e1ee001c30067904a534cdcb789a2e79725

Added Files:
	py-octoprint/patches/patch-src_octoprint_util_comm.py

Log Message:
py-octoprint: also look for the default USB serial ports on NetBSD

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b5d56e1ee001c30067904a534cdcb789a2e79725

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-octoprint/patches/patch-src_octoprint_util_comm.py | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diffs:
diff --git a/py-octoprint/patches/patch-src_octoprint_util_comm.py b/py-octoprint/patches/patch-src_octoprint_util_comm.py
new file mode 100644
index 0000000000..545fd1b62b
--- /dev/null
+++ b/py-octoprint/patches/patch-src_octoprint_util_comm.py
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Also look for the default USB serial ports on NetBSD
+
+--- src/octoprint/util/comm.py.orig	2020-12-10 11:34:21.000000000 +0000
++++ src/octoprint/util/comm.py
+@@ -211,6 +211,7 @@ def serialList():
+             + glob.glob("/dev/cu.*")
+             + glob.glob("/dev/cuaU*")
+             + glob.glob("/dev/ttyS*")
++            + glob.glob("/dev/ttyU*")
+             + glob.glob("/dev/rfcomm*")
+         )
+ 


Home | Main Index | Thread Index | Old Index