From owner-freebsd-stable@FreeBSD.ORG Mon Feb 4 06:30:23 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31C0516A418 for ; Mon, 4 Feb 2008 06:30:23 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 201F013C4DB for ; Mon, 4 Feb 2008 06:30:23 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 0F43E1CC038; Sun, 3 Feb 2008 22:30:23 -0800 (PST) Date: Sun, 3 Feb 2008 22:30:23 -0800 From: Jeremy Chadwick To: Ganbold Message-ID: <20080204063023.GA91789@eos.sc1.parodius.com> References: <47A69A66.2080109@micom.mng.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47A69A66.2080109@micom.mng.net> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: FreeBSD Stable Mailing List Subject: Re: /dev/cuad0: Device busy X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2008 06:30:23 -0000 On Mon, Feb 04, 2008 at 12:53:58PM +0800, Ganbold wrote: > Hi, > > I'm trying to use serial port but the system says device busy. > > daemon# cu -l /dev/cuad0 -s 9600 > /dev/cuad0: Device busy > link down Does the same happen if you do `cu -l ttyd0 -s 9600`? > How to check whether something is using serial port? > Any idea? fstat should help here. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |