Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.048 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; 'apis': 0.07; 'subject:How': 0.09; 'subject:set': 0.09; '04:01': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'wrote:': 0.17; 'seems': 0.23; 'tried': 0.25; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; 'subject: ?': 0.30; 'error': 0.30; 'code': 0.31; 'problem': 0.33; 'to:addr:python- list': 0.33; 'likely': 0.33; 'pm,': 0.35; 'received:org': 0.36; 'but': 0.36; 'message-id:@gmail.com': 0.36; 'does': 0.37; 'uses': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'most': 0.61; 'email addr:gmail.com': 0.63; 'special': 0.73; 'device.': 0.93 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Fri, 26 Oct 2012 16:08:05 -0600 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.7) Gecko/20120824 Thunderbird/10.0.7 MIME-Version: 1.0 To: python-list@python.org Subject: Re: How to set 250000 baud rate in pyserial ? References: <10b2bbd7-c2b5-409e-be83-bd11948e16a8@googlegroups.com> In-Reply-To: <10b2bbd7-c2b5-409e-be83-bd11948e16a8@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1351289302 news.xs4all.nl 6869 [2001:888:2000:d::a6]:49690 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:32240 On 10/26/2012 04:01 PM, kurabas@gmail.com wrote: > Error is like cannot set special baud rate. But as I said pyserial > set this speed without problem for ttyUSB0 So it seems pyserial uses > diefferent code depending of port type. I tried to simlink ln -s > ttyACM0 ttyUSB0 but it does not work No the difference in how baud rate is set is most likely in the driver. pyserial just uses standard kernel apis and ioctls to control the device.