Created attachment 175645 [details] svn(1) diff of comms/py-serial Hi, Support for arbitrary baudrates in the BSD family has landed upstream [1], and should appear in the next release of pyserial. I've backported the patch to do this from the latest version to the version we have in ports -- please consider adding it to the current version. I have indeed tested this patch with my 3D printer @ 250k baud and I've experienced no problems. Any application that worked without this patch should still work, perhaps even better because it no longer errors out if a baudrate without a B'{}' definition in termios is used. Once the version of upstream currently in progress gets released, perhaps it will be a good idea to update this port completely then? The version in the tree was released in 2013, and the latest version comes with a fair number of improvements (bugfixes and this patch, namely). [1] https://github.com/pyserial/pyserial/commit/21a306b77630116b052d53fc7a4deddaccec4d40
Comment on attachment 175645 [details] svn(1) diff of comms/py-serial Thanks for the patch. Please note the maintainer-approval(?) request requires the maintainer's e-mail address be provided to the flag.
(In reply to Vladimir Krstulja from comment #1) Whoops, my apologies. Thanks! =)
A commit references this bug: Author: sbz Date: Thu Oct 27 20:34:29 UTC 2016 New revision: 424787 URL: https://svnweb.freebsd.org/changeset/ports/424787 Log: - Update to 3.2.1 PR: 213401 Reported by: Kyle Evans <kevans91 at ksu.edu> Changes: head/comms/py-serial/Makefile head/comms/py-serial/distinfo head/comms/py-serial/files/ head/comms/py-serial/pkg-descr head/comms/py-serial/pkg-plist
Hi Kyle, According to our discussion I updated against the last release 3.2.1 [1] which contains your patch (issue #161) [2]. Committed in r424787 [3]. Thank you for your update! [1] https://github.com/pyserial/pyserial/releases/tag/v3.2.1 [2] https://github.com/pyserial/pyserial/pull/169 [3] https://svnweb.freebsd.org/ports?view=revision&sortby=date&revision=424787