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 1NQ3n9-00055y-8K for garchives@archives.gentoo.org; Wed, 30 Dec 2009 19:01:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59EF8E063D; Wed, 30 Dec 2009 19:00:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1E53DE063D for ; Wed, 30 Dec 2009 19:00:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 5FA9267175 for ; Wed, 30 Dec 2009 19:00:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.5 X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.5 tests=[AWL=0.099, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yi2nASNH6MBC for ; Wed, 30 Dec 2009 19:00:19 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 9FEF367747 for ; Wed, 30 Dec 2009 19:00:18 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NQ3mE-00089n-2o for gentoo-user@gentoo.org; Wed, 30 Dec 2009 20:00:12 +0100 Received: from www.buffer.net ([24.73.161.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Dec 2009 20:00:10 +0100 Received: from wireless by www.buffer.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Dec 2009 20:00:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: James Subject: [gentoo-user] Re: serial port identification question Date: Wed, 30 Dec 2009 18:59:34 +0000 (UTC) Message-ID: References: <20091225131220.4f34ab6a@osage.osagesoftware.com> <20091227073447.074b5e40@osage.osagesoftware.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 24.73.161.102 (Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.23) Gecko/20090930 SeaMonkey/1.1.18) Sender: news X-Archives-Salt: 2746637f-6d07-402e-9ee3-1240cc70c106 X-Archives-Hash: ddb02508fb660104fd15a8d00506e18a David Relson osagesoftware.com> writes: > Having solved/learned the above on the Gentoo box, the next trick is > getting my code to work on the embedded 486SX linux system (non-Gentoo). There is a very exceptional collection of talent on the gentoo-embedded list, that you cannot even image exists.... USE IT..... > So far I know that programmed setting of baud rate is working (as > confirmed with stty). However no data is being seen from the keypad > or the two connected preamps. They should all be continuously sending > data to com3, com2, and com4 (respectively). I usally use a baseline system to ensure that the hardware/device is working before trying on a new hardware platform. That way, you know your device is working and your just trying to get a serial port on an embedded system working..... Also, you did not mention anything about PARITY and STOP BITS. Ensure that these are set correctly, in addition to baud rate.. Serial ports usely need only 3 pins to work, tx, rx and ground. Google for loopbacks and null modem configurations as there are lots of tricky versions... Realize that serial ports can be build on a variety of hardware. 8250, 16550, etc or 'bit-banged' on general I/O pins on a micro or a dedicated chip in your hardwared. I do not have the "fogiest" idea what your hardware actually is. Some PC board manufacturers have done amazingly funky things over the years, like use a non standard baud rate to run a keyboard (keypad) over a serial port. Over at emebedded-gentoo, exact state what your hardware is what works and what you are trying to do. Make sure it's using embedded gentoo, or that is the goal, or you'll just get 'punted' elsewhere. CAVEAT EMPTOR. Last, this is not the place for minutia on serial port devices.So move over to the gentoo-embedded list for lost of folks, smarter than I? (yes)...... James If you are using a 'keypad' realize that they use s