From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 16:28:11 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1DCE1065670 for ; Wed, 2 Jun 2010 16:28:11 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 5FC9E8FC13 for ; Wed, 2 Jun 2010 16:28:11 +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=Au74WiBsAAAA:8 a=0AvGDjins3GT6FE2oosA:9 a=Byxh-O0LdOsu4KHf6yAZA5Poxr4A:4 a=wPNLvfGTeEIA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 344800215; Wed, 02 Jun 2010 18:28:09 +0200 From: Hans Petter Selasky To: "Marcelo/Porks" Date: Wed, 2 Jun 2010 18:25:25 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201006021750.17588.hselasky@c2i.net> In-Reply-To: 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: <201006021825.25337.hselasky@c2i.net> Cc: Garrett Cooper , current@freebsd.org 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: Wed, 02 Jun 2010 16:28:11 -0000 > > Hi, > > > > Can you dump the USB descriptors of your device? > > Hi, right now I can do this at "FreeBSD 8.0-RELEASE-p2 #8 r206060M", > but If you prefer tonight I can dump from 'freebsd-current' box. > > Thank you 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 [USB_SPEED_LOW] = 0, /* not supported */ Into: [USB_SPEED_LOW] = 8, /* not supported according to USB spec. */ > > # usbconfig -u 2 -a 2 dump_device_desc dump_curr_config_desc > ugen2.2: at usbus2, cfg=0 md=HOST spd=LOW > (1.5Mbps) pwr=ON ... > Endpoint 0 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0001 > bmAttributes = 0x0002 ^^^ BULK > wMaxPacketSize = 0x0008 > bInterval = 0x0000 > bRefresh = 0x0000 > bSynchAddress = 0x0000 > > Endpoint 1 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0081 > bmAttributes = 0x0002 ^^^ BULK > wMaxPacketSize = 0x0008 > bInterval = 0x0000 > bRefresh = 0x0000 > bSynchAddress = 0x0000 > ... --HPS