Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764704AbXFELYS (ORCPT ); Tue, 5 Jun 2007 07:24:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762970AbXFELYK (ORCPT ); Tue, 5 Jun 2007 07:24:10 -0400 Received: from nat-132.atmel.no ([80.232.32.132]:60353 "EHLO relay.atmel.no" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758205AbXFELYJ (ORCPT ); Tue, 5 Jun 2007 07:24:09 -0400 Date: Tue, 5 Jun 2007 13:23:36 +0200 From: Haavard Skinnemoen To: Ivan Kuten Cc: Andrew Victor , Russell King , Nicolas Ferre , Patrice Vilchez , linux-kernel@vger.kernel.org Subject: Re: [PATCH] atmel_serial: Fix break handling Message-ID: <20070605132336.3b8a9a4e@dhcp-255-175.norway.atmel.com> In-Reply-To: <20070605140720.4bdf887a@newbox> References: <11806398911702-git-send-email-hskinnemoen@atmel.com> <20070605140720.4bdf887a@newbox> Organization: Atmel Norway X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1264 Lines: 28 On Tue, 5 Jun 2007 14:07:20 +0300 Ivan Kuten wrote: > I tried to test your patch on AT91RM9200 with Magic SysRq sequence, unfortunately without > success - SysRq still does not work. You mention "break count increments" where do you check it ? I have > cat /proc/tty/driver/atmel_serial > serinfo:1.0 driver revision: > 0: uart:ATMEL_SERIAL mmio:0xFEFFF200 irq:1 tx:8554 rx:623 fe:25 RTS|CTS|DTR|DSR|CD|RI > 1: uart:ATMEL_SERIAL mmio:0xFFFC0000 irq:6 tx:0 rx:0 CTS|DSR|CD|RI > 2: uart:ATMEL_SERIAL mmio:0xFFFC4000 irq:7 tx:0 rx:0 RI > 3: uart:ATMEL_SERIAL mmio:0xFFFC8000 irq:8 tx:0 rx:0 DSR|CD|RI > 4: uart:ATMEL_SERIAL mmio:0xFFFCC000 irq:9 tx:0 rx:0 CTS|DSR|CD|RI > > no any break counter. Andrew Victor pointed out that the RM9200 DBGU doesn't support break at all, and the data sheet seems to agree. The break counter seems to show up after the first break has been received and you're probably not receiving any. Is it possible for you to try a different USART as console? Haavard - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/