From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 16:08:27 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 1F0C8106564A for ; Wed, 2 Jun 2010 16:08:27 +0000 (UTC) (envelope-from marcelorossi@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id CD1EC8FC0A for ; Wed, 2 Jun 2010 16:08:26 +0000 (UTC) Received: by gyh20 with SMTP id 20so6015475gyh.13 for ; Wed, 02 Jun 2010 09:08:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=sfdfhGd3RQrVKuTl4PvbteLhn7NzKbNDpwEb9htPNls=; b=iIcoEOOhCdnHdFZCu+vT9Pp9/K6DfQwE+58q1yPewmR0M5GjWLuHwhl2SIZ+hNA/pe i6pLlWGhtWtcdpjnFIWT4qZ9P8jPuiRKqHdQbeFndc65VUzeo/QEhEtbkc9Q5TE1cDuq m3xatcINf+y/BUstvpAX5PaSiHV8fyjoJVK9M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=YodK3J4BG+D0+Y2so86CPiGIMyCIuTaB/p+2JEeNzDzvhOAcgWu68H11In6Hao8XEK NHv1r2fIdaQI9yAbd7FUusNyNR1zLTgSXqA/+dkdM8yGmpGtIEYyWB4uZRlXJX8QEtCa nSyUoqgvqcTpsQDTzA8tabYeXZChuLZz7kJis= Received: by 10.224.45.33 with SMTP id c33mr3617107qaf.128.1275494905397; Wed, 02 Jun 2010 09:08:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.89.148 with HTTP; Wed, 2 Jun 2010 09:08:05 -0700 (PDT) In-Reply-To: <201006021750.17588.hselasky@c2i.net> References: <201006021750.17588.hselasky@c2i.net> From: "Marcelo/Porks" Date: Wed, 2 Jun 2010 13:08:05 -0300 Message-ID: To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 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:08:27 -0000 On Wed, Jun 2, 2010 at 12:50 PM, Hans Petter Selasky wrote: > On Wednesday 02 June 2010 03:23:47 Garrett Cooper wrote: >> Looks like this device might be a bit quirky... Just forwarding to you >> to see if you had any details for the OP. >> Thanks! >> -Garrett > > 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 # 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 bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0002 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x16c0 idProduct = 0x05e1 bcdDevice = 0x0100 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0043 bNumInterfaces = 0x0002 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x0080 bMaxPower = 0x0032 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0002 bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0001 iInterface = 0x0000 Additional Descriptor bLength = 0x05 bDescriptorType = 0x24 bDescriptorSubType = 0x00 RAW dump: 0x00 | 0x05, 0x24, 0x00, 0x10, 0x01 Additional Descriptor bLength = 0x04 bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x04, 0x24, 0x02, 0x02 Additional Descriptor bLength = 0x05 bDescriptorType = 0x24 bDescriptorSubType = 0x06 RAW dump: 0x00 | 0x05, 0x24, 0x06, 0x00, 0x01 Additional Descriptor bLength = 0x05 bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x05, 0x24, 0x01, 0x03, 0x01 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0083 bmAttributes = 0x0003 wMaxPacketSize = 0x0008 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x000a bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0001 bmAttributes = 0x0002 wMaxPacketSize = 0x0008 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0002 wMaxPacketSize = 0x0008 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 -- Marcelo Rossi "This e-mail is provided "AS IS" with no warranties, and confers no rights."