Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #32152
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: How to set 250000 baud rate in pyserial ? |
| Date | 2012-10-25 14:11 -0400 |
| Organization | > Bestiaria Support Staff < |
| References | <d5871091-63c8-4582-9485-138195cf6d36@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2858.1351188682.27098.python-list@python.org> (permalink) |
On Thu, 25 Oct 2012 04:09:56 -0700 (PDT), kurabas@gmail.com declaimed
the following in gmane.comp.python.general:
> I use Arduino 1280 and Arduino 2560 under Fedora 15.
> 1280 creates ttyUSB0 port and can be set at 2500000 successfully.
> 2560 creates ttyACM0 port and can be only set at speeds from list (no 250000) in pyserial. How to set 250000 to ttyACM0 port?? Need I patch kernel or python?
You don't say what error you are receiving but looking at the source
(serialposix.py) implies that it accepts nearly anything on Linux, and
relies on the OS returning a success/failure if the value is allowed or
not.
xxxBSD, SunOS, HPUX, IRIX, and CYGWIN systems don't allow "special"
baudrates at all.
.NET, JVM, and Windows don't seem to have explicit call outs for bad
rates -- just a generic port configured OK test.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to set 250000 baud rate in pyserial ? kurabas@gmail.com - 2012-10-25 04:09 -0700
Re: How to set 250000 baud rate in pyserial ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-10-25 14:11 -0400
Re: How to set 250000 baud rate in pyserial ? Grant Edwards <invalid@invalid.invalid> - 2012-10-25 21:14 +0000
Re: How to set 250000 baud rate in pyserial ? kurabas@gmail.com - 2012-10-26 15:01 -0700
Re: How to set 250000 baud rate in pyserial ? Michael Torrie <torriem@gmail.com> - 2012-10-26 16:08 -0600
Re: How to set 250000 baud rate in pyserial ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-10-27 00:43 -0400
Re: How to set 250000 baud rate in pyserial ? kurabas@gmail.com - 2012-10-26 15:01 -0700
csiph-web