Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 22 Mar 2001 16:54:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 22 Mar 2001 16:53:49 -0500 Received: from www.resilience.com ([209.245.157.1]:49051 "EHLO www.resilience.com") by vger.kernel.org with ESMTP id ; Thu, 22 Mar 2001 16:53:35 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <3ABA42A8.A806D0E7@powertech.no> In-Reply-To: <3ABA42A8.A806D0E7@powertech.no> Date: Thu, 22 Mar 2001 13:52:51 -0800 To: linux-kernel@vger.kernel.org From: Jonathan Lundell Subject: Re: Serial port latency Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >This is what the program does: > > fd=open("/dev/ttyS0",O_NOCTTY | O_RDWR); > > tcsetattr(fd,TCSANOW, &tio); /* setting baud, parity, raw mode, etc */ > > while() { > write( 6 bytes); /* send command */ > read( 2 bytes); /* wait for reply */ > } What are your settings for VTIME and VMIN? -- /Jonathan Lundell. - 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/