Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone01.am1.xlned.com!bcyclone01.am1.xlned.com!newsfeed.xs4all.nl!newsfeed1.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: UNSURE 0.356 X-Spam-Level: *** X-Spam-Evidence: '*H*': 0.50; '*S*': 0.21; 'tries': 0.07; 'parameter': 0.09; 'subject: [': 0.09; 'header:User-Agent:1': 0.23; 'exists': 0.24; 'header:In-Reply-To:1': 0.27; 'open': 0.33; 'linux': 0.33; 'device': 0.34; 'problem': 0.35; 'but': 0.35; 'should': 0.36; 'subject:]': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:62': 0.63; 'only...': 0.84; 'received:192.168.13': 0.84; 'received:192.168.13.238': 0.84; 'received:62.179': 0.84; 'received:62.179.121': 0.84; 'received:edge03.upcmail.net': 0.84; 'received:upcmail.net': 0.84 X-SourceIP: 86.101.30.243 Date: Sat, 18 Oct 2014 12:35:12 +0200 From: =?ISO-8859-1?Q?Nagy_L=E1szl=F3_Zsolt?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: pyserial on freebsd 10.10 i386 [SOLVED] References: <5442301E.9060205@shopzeus.com> In-Reply-To: <5442301E.9060205@shopzeus.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sat, 18 Oct 2014 13:31:46 +0200 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: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1413631907 news.xs4all.nl 2858 [2001:888:2000:d::a6]:36331 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 2633 X-Received-Body-CRC: 1618616778 Xref: csiph.com comp.lang.python:79270 The port parameter of serial.Serial should be /dev/ttyu0 instead of COM1, and /dev/ttyu1 instead of COM2. Strangely, pyserial will accept the number 0, but then it tries to open a device that exists on Linux only... Anyway, problem solved.