28b939db80
This python module provides access to the serial port, with backends for standard Python running on Windows, Linux, BSD (possibly any POSIX compilant system), Jython and IronPython. The module named "serial" automatically selects the appropriate backend. Port by MAINTAINER (Daniel Gruber <daniel at tydirium dot org>) with tweaks from me.
13 lines
477 B
Plaintext
13 lines
477 B
Plaintext
$OpenBSD: patch-serialposix_py,v 1.1.1.1 2009/06/05 04:29:22 wcmaier Exp $
|
|
--- serial/serialposix.py.orig Wed Apr 1 14:52:46 2009
|
|
+++ serial/serialposix.py Wed Apr 1 14:52:57 2009
|
|
@@ -35,7 +35,7 @@ elif plat == 'cygwin': #cywin/win32 (confirmed)
|
|
def device(port):
|
|
return '/dev/com%d' % (port + 1)
|
|
|
|
-elif plat == 'openbsd3': #BSD (confirmed)
|
|
+elif plat == 'openbsd4': #BSD (confirmed)
|
|
def device(port):
|
|
return '/dev/ttyp%d' % port
|
|
|