From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 15:59:50 2010 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 A8F9D106567A for ; Thu, 3 Jun 2010 15:59:50 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id 38E648FC19 for ; Thu, 3 Jun 2010 15:59:48 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=BgaHaSUmPskA:10 a=0qYQvVkOOIcA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=8kQB0OdkAAAA:8 a=W03D85Xis-_4jeGQJnEA:9 a=0P1Uf97bWCifzGD6-PIv5m4S2i0A:4 a=wPNLvfGTeEIA:10 a=9aOQ2cSd83gA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1363680666; Thu, 03 Jun 2010 17:59:48 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Thu, 3 Jun 2010 17:57:03 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201006031750.08693.hselasky@c2i.net> <201006031754.17053.hselasky@c2i.net> In-Reply-To: <201006031754.17053.hselasky@c2i.net> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006031757.03341.hselasky@c2i.net> Cc: Marcelo/Porks , Garrett Cooper Subject: Re: Fwd: umodem (4) recognize a CDC-ACM device 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: Thu, 03 Jun 2010 15:59:50 -0000 On Thursday 03 June 2010 17:54:17 Hans Petter Selasky wrote: > On Thursday 03 June 2010 17:50:08 Hans Petter Selasky wrote: > > On Thursday 03 June 2010 16:22:33 Marcelo/Porks wrote: > > > On Wed, Jun 2, 2010 at 1:25 PM, Hans Petter Selasky > > > > wrote: > > > > Hi, > > > > > > > > The problem is that LOW speed does not support BULK transfers > > > > according to the USB specification. I guess we could switch that > > > > support on, though I'd rather stick with the spec. > > > > > > > > Try changing this line in: > > > > > > > > src/sys/dev/usb/usb_transfer.c > > > > Hi, Should be like this: Note the structure is called "bulk_min": static const uint16_t bulk_min[USB_SPEED_MAX] = { [USB_SPEED_LOW] = 8, [USB_SPEED_FULL] = 8, [USB_SPEED_HIGH] = 512, [USB_SPEED_VARIABLE] = 512, [USB_SPEED_SUPER] = 1024, }; --HPS