From owner-freebsd-usb@FreeBSD.ORG Mon Mar 30 09:08:41 2015 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4DD0C22F for ; Mon, 30 Mar 2015 09:08:41 +0000 (UTC) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 04A36DE6 for ; Mon, 30 Mar 2015 09:08:40 +0000 (UTC) Received: from [82.113.98.52] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1YcVgS-0008CQ-Jf; Mon, 30 Mar 2015 11:08:37 +0200 Received: from localhost.my.domain (c720-r276659 [127.0.0.1]) by localhost.unixarea.de (8.14.9/8.14.9) with ESMTP id t2U98Sjw017105 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 30 Mar 2015 11:08:29 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.9/8.14.9/Submit) id t2U98QCT017104; Mon, 30 Mar 2015 11:08:26 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 30 Mar 2015 11:08:26 +0200 From: Matthias Apitz To: Hans Petter Selasky Subject: Re: Fwd: Re: [Ubuntu-phone] Ethernet through USB Message-ID: <20150330090826.GA17010@c720-r276659> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Hans Petter Selasky , freebsd-usb@freebsd.org References: <20150330085746.GA16832@c720-r276659> <551910A9.2080709@selasky.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <551910A9.2080709@selasky.org> X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.98.52 Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2015 09:08:41 -0000 El día Monday, March 30, 2015 a las 11:00:25AM +0200, Hans Petter Selasky escribió: > On 03/30/15 10:57, Matthias Apitz wrote: > > > > Hello, > > > > I have a new cellphone, the BQ Aquaris E 4.5 Ubuntu Edition, i.e. it > > runs Ubuntu 14.10. > > > > When I connect this to the USB port of my 11-CURRENT netbook it gives in > > /var/log/messages: > > > > Mar 30 10:25:17 c720-r276659 kernel: ugen0.4: at usbus0 > > Mar 30 10:25:17 c720-r276659 root: Unknown USB device: vendor 0x2a47 product 0x2008 bus uhub0 > > > > I'm attaching as well what the ubuntu-phone folks think about their side > > of the story. > > > > Any chance that we could get support for it into the if_cdce driver? The > > vendorID is not listed in sys/dev/usb/usbdevs until now. > > > > Can you dump the USB device and configuration descriptors of your phone? > Hi, Here they are: # usbconfig -d 0.4 dump_device_desc ugen0.4: at usbus0, cfg=255 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x2a47 idProduct = 0x2008 bcdDevice = 0x0216 iManufacturer = 0x0002 iProduct = 0x0003 iSerialNumber = 0x0004 bNumConfigurations = 0x0001 # usbconfig -d 0.4 dump_all_config_desc ugen0.4: at usbus0, cfg=255 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0027 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x00c0 bMaxPower = 0x00fa Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0003 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x0000 iInterface = 0x0005 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0001 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 2 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0003 wMaxPacketSize = 0x001c bInterval = 0x0006 bRefresh = 0x0000 bSynchAddress = 0x0000 -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 "Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände menschlich bilden." "Si el hombre es formado por las circunstancias entonces es necesario formar humanamente las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138)