From owner-freebsd-drivers@FreeBSD.ORG Fri Aug 4 06:18:25 2006 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5D9B16A4DD for ; Fri, 4 Aug 2006 06:18:25 +0000 (UTC) (envelope-from mailtoram.perumal@yahoo.co.in) Received: from web7706.mail.in.yahoo.com (web7706.mail.in.yahoo.com [202.86.4.44]) by mx1.FreeBSD.org (Postfix) with SMTP id A7A4E43D49 for ; Fri, 4 Aug 2006 06:18:24 +0000 (GMT) (envelope-from mailtoram.perumal@yahoo.co.in) Received: (qmail 19795 invoked by uid 60001); 4 Aug 2006 06:18:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Sl5qaqGX0h980mRtMkMq6mhsu4RLjIPv8hjJQpiKMPMKmX91B3ukgx8eLRhIUqWQiQ0IHB5nEbiWf0lnPJRlquBNWb+E7HyXr8Gh918Nk5SEk2DutBqIYQ1YtAwe8M/0F87wforywti8cJCiUZILa1qrT5bresrJxamBHkZN69k= ; Message-ID: <20060804061823.19793.qmail@web7706.mail.in.yahoo.com> Received: from [125.22.83.160] by web7706.mail.in.yahoo.com via HTTP; Fri, 04 Aug 2006 07:18:22 BST Date: Fri, 4 Aug 2006 07:18:22 +0100 (BST) From: ram perumal To: freebsd-drivers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: serial ports X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Aug 2006 06:18:25 -0000 > hi all > I am have a USB device which creates a serial port > when connected to a host computer....cat and cp > works > on this serial port and I am able to transfer files > thru' the device...what I need to do is create > multiple serial ports(device files), which I am able > to do with the character driver sample which is > available in the website...what I am not able to > do(I > wud say I dont know to) is to transfer the data > between my device file and the one created by the > USB > device. if somebody cud help me as how I shud open > the > usbmodem's device file from my driver and how I shud > change the read and write methods....wud be of great > help > > best regards > ram __________________________________________________________ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/