From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NVSRq-0000sH-3t for garchives@archives.gentoo.org; Thu, 14 Jan 2010 16:21:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7DA8DE0B35; Thu, 14 Jan 2010 16:21:11 +0000 (UTC) Received: from barracuda.orion-sys.com (unknown [63.85.152.91]) by pigeon.gentoo.org (Postfix) with ESMTP id 69A69E0B35 for ; Thu, 14 Jan 2010 16:21:11 +0000 (UTC) X-ASG-Debug-ID: 1263486069-78f400530000-wzzWQD X-Barracuda-URL: http://192.149.240.6:8000/cgi-bin/mark.cgi Received: from mailsvr.orion-sys.com (localhost [127.0.0.1]) by barracuda.orion-sys.com (Spam Firewall) with ESMTP id 49B5A20052FD for ; Thu, 14 Jan 2010 11:21:09 -0500 (EST) Received: from mailsvr.orion-sys.com (mailsvr.orion-sys.com [192.149.240.91]) by barracuda.orion-sys.com with ESMTP id kpIC6AyMI1vUChVx for ; Thu, 14 Jan 2010 11:21:09 -0500 (EST) X-Barracuda-Envelope-From: david.relson@orion-sys.com Content-class: urn:content-classes:message X-ASG-Orig-Subj: RE: [gentoo-embedded] serial port handling question Subject: RE: [gentoo-embedded] serial port handling question Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 14 Jan 2010 11:21:08 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <91FA647A1A781F41BBB0359765C90C15F02120@mailsvr.orion-sys.com> In-Reply-To: <20100114161749.21282.qmail@stuge.se> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [gentoo-embedded] serial port handling question Thread-Index: AcqVNTM3wGMiyZBvR8mE2MEKyKl5zAAACQDA References: <20100113185240.4bc9d721@osage.osagesoftware.com> <20100114100531.GA16436@xyzzy.org.uk> <20100114072913.2d8c52de@osage.osagesoftware.com> <20100114161749.21282.qmail@stuge.se> From: "Relson, David" To: X-Barracuda-Connect: mailsvr.orion-sys.com[192.149.240.91] X-Barracuda-Start-Time: 1263486069 X-Barracuda-Virus-Scanned: by Barracuda Spam & Virus Firewall at orion-sys.com X-Archives-Salt: c7be8e5d-d708-4b26-b464-c4530bea4d44 X-Archives-Hash: 8222c5dcb5efb5e13d1ee2f7fb343191 'Tis working perfectly for /dev/ttyS2. =20 /dev/ttyS4 is seg-faulting for unknown reasons -- most certainly a flaw unrelated to the ioctl. Regards, =20 David -----Original Message----- From: Peter Stuge [mailto:peter@stuge.se]=20 Sent: Thursday, January 14, 2010 11:18 AM To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] serial port handling question David Relson wrote: > > but if you need to control the lines directly there are an often > > neglected set of ioctls to do this. Nice! I thought I had looked at all paths into uart_update_mctrl() but clearly not. Thanks for pointing it out! > This sounds exactly like what I want. > I'll test it later this morning when I get to work. It should work well. //Peter