From owner-freebsd-current@FreeBSD.ORG Fri Jul 4 22:47:33 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A34A41065677; Fri, 4 Jul 2008 22:47:33 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.9.129]) by mx1.freebsd.org (Postfix) with ESMTP id 604918FC0C; Fri, 4 Jul 2008 22:47:33 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 5B4247308E; Sat, 5 Jul 2008 00:49:18 +0200 (CEST) Date: Sat, 5 Jul 2008 00:49:18 +0200 From: Luigi Rizzo To: Hans Petter Selasky Message-ID: <20080704224918.GA2145@onelab2.iet.unipi.it> References: <20080703140719.GA72315@onelab2.iet.unipi.it> <200807042333.17859.hselasky@c2i.net> <20080704213959.GA1706@onelab2.iet.unipi.it> <200807050028.48942.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200807050028.48942.hselasky@c2i.net> User-Agent: Mutt/1.4.2.3i X-Mailman-Approved-At: Sat, 05 Jul 2008 00:19:47 +0000 Cc: usb@freebsd.org, freebsd-current@freebsd.org, current@freebsd.org Subject: Re: may I commit this small umodem patch ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2008 22:47:33 -0000 On Sat, Jul 05, 2008 at 12:28:47AM +0200, Hans Petter Selasky wrote: > On Friday 04 July 2008, Luigi Rizzo wrote: > > On Fri, Jul 04, 2008 at 11:33:15PM +0200, Hans Petter Selasky wrote: > > > On Thursday 03 July 2008, Luigi Rizzo wrote: > > > > On Thu, Jul 03, 2008 at 05:07:00PM +0200, Gary Jennejohn wrote: > > > > > On Thu, 3 Jul 2008 16:07:19 +0200 > > > > > > > > > > Luigi Rizzo wrote: > > > > > > There was a discussion back in september about adding > > > > > > support for basic CDC tty devices in umodem.c. > > > > > > This lets you talk to a number of usb devices built around > > > > > > microcontrollers (e.g. Atmel), and puts us on par with > > > > > > Linux and Windows in terms of supporting these devices. > > > > > > > > > > > > Because this simply requires the small patch below to the > > > > > > probe/attach routine, so if there are no objections I plan to add > > > > > > this to the system (CURRENT then RELENG_7 and RELENG_6) in the next > > > > > > few days. > > > > > > What about flow control? Is flow control required for these devices? > > > > the ones I am talking about don't implement any form of flow control. > > I suppose they would otherwise match the previous check. > > > > luigi > > I mean, are you going to upload firmware through these interfaces? the OS only know about bytes. are firmware, software, data or random noise. if you want to know whether the sam7 uploader works, yes it does.