Path: csiph.com!usenet.pasdenom.info!gegeweb.org!newsfeed.kamp.net!newsfeed.kamp.net!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3a.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.415 X-Spam-Level: **** X-Spam-Evidence: '*H*': 0.52; '*S*': 0.35; 'root': 0.05; 'from:charset:iso-8859-2': 0.09; 'mem': 0.09; 'release,': 0.09; 'random': 0.14; 'grep': 0.16; 'machine?': 0.16; 'stderr': 0.16; 'stdout': 0.16; 'obviously': 0.18; 'trying': 0.19; 'header:User- Agent:1': 0.23; 'question': 0.24; "i'm": 0.30; 'flags': 0.31; 'python2.7': 0.31; 'open': 0.33; 'machine.': 0.36; 'operating': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'received:62': 0.63; 'charset:iso-8859-2': 0.64; 'here': 0.66; 'serial': 0.72; 'compaq': 0.84; 'freebsd': 0.84; 'pci': 0.84; 'pts': 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:62.179.121.47': 0.84; 'received:edge03.upcmail.net': 0.84; 'received:upcmail.net': 0.84; 'audit': 0.93; 'ports': 0.93 X-SourceIP: 86.101.30.243 Date: Sat, 18 Oct 2014 11:17:18 +0200 From: =?ISO-8859-2?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: pyserial on freebsd 10.10 i386 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sat, 18 Oct 2014 12:28:48 +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: 49 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1413628130 news.xs4all.nl 2937 [2001:888:2000:d::a6]:51884 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:79267 I'm trying to open a serial port with pyserial on a Compaq Deskpro EN machine. Operating system is FreeBSD 10.10 RELEASE, i386. root@merleg:~ # kldload scc root@merleg:~ # python2.7 -m serial.tools.list_ports no ports found root@merleg:~ # whoami root Here are all the devices: root@merleg:~ # ls /dev acpi ctty klog stdin ttyva ad0 cuau0 kmem stdout ttyvb ad0p1 cuau0.init log sysmouse ttyvc ad0p2 cuau0.lock lpt0 ttyu0 ttyvd ad0p3 cuau1 lpt0.ctl ttyu0.init ttyve ada0 cuau1.init mdctl ttyu0.lock ttyvf ada0p1 cuau1.lock mem ttyu1 ufssuspend ada0p2 devctl midistat ttyu1.init ugen0.1 ada0p3 devstat mixer0 ttyu1.lock ugen0.2 agpgart fd nfslock ttyv0 uhid0 apm fd0 null ttyv1 ukbd0 apmctl fido pass0 ttyv2 urandom atkbd0 geom.ctl pass1 ttyv3 usb audit gptid pci ttyv4 usbctl bpf io ppi0 ttyv5 xpt0 bpf0 kbd0 pts ttyv6 zero cd0 kbd1 random ttyv7 console kbd2 sndstat ttyv8 consolectl kbdmux0 stderr ttyv9 And here is what I see in dmesg: root@merleg:~ # dmesg | grep uart uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 Obviously the question is: how do I open the COM port from pyserial on this machine?