From: "Bart Van Assche" Subject: Re: 2.6.25.3: serial problem (minicom) Date: Sat, 17 May 2008 20:46:27 +0200 Message-ID: References: <20080517082207.4b1e8556@osprey.hogchain.net> <543631.10570.qm@web52902.mail.re2.yahoo.com> <20080517101026.270a6f4e@osprey.hogchain.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from an-out-0708.google.com ([209.85.132.244]:49269 "EHLO an-out-0708.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753454AbYEQSq2 (ORCPT ); Sat, 17 May 2008 14:46:28 -0400 Received: by an-out-0708.google.com with SMTP id d40so312097and.103 for ; Sat, 17 May 2008 11:46:27 -0700 (PDT) In-Reply-To: <20080517101026.270a6f4e@osprey.hogchain.net> Content-Disposition: inline Sender: linux-serial-owner@vger.kernel.org List-Id: linux-serial@vger.kernel.org To: Jay Cliburn Cc: Chris Rankin , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Andrew Morton On Sat, May 17, 2008 at 5:10 PM, Jay Cliburn wrote: > On Sat, 17 May 2008 15:49:08 +0100 (BST) > Chris Rankin wrote: > >> Does yours still work if you raise the baud rate to 115200? > > No, but I also get garbage characters and a generally unusable logging > device. 57600 is slightly better, but not much. I remember going > through this progressive reduction in baud rate a long time ago, > trying to find a speed that works reliably, which is why I settled on > 38400. I get unpredictable results for anything higher. If you have a digital oscilloscope available it would be very interesting to measure whether the timing of the signals sent out on the Tx line is correct. Small deviations between the frequency of the clock crystal that drives a UART and the value configured via setserial can cause trouble with serial communication (baud_base must be configured to UART clock crystal frequency / 16). # setserial -g -a /dev/ttyS0 /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test Bart.