From owner-freebsd-usb@FreeBSD.ORG Mon Mar 30 08:58:06 2015 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7284F86F for ; Mon, 30 Mar 2015 08:58:06 +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 9C94AC8E for ; Mon, 30 Mar 2015 08:58:05 +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 1YcVW7-0004aK-Ep for freebsd-usb@freebsd.org; Mon, 30 Mar 2015 10:57:55 +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 t2U8vmVe016947 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 30 Mar 2015 10:57:49 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.9/8.14.9/Submit) id t2U8vlEV016946 for freebsd-usb@freebsd.org; Mon, 30 Mar 2015 10:57:47 +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 10:57:46 +0200 From: Matthias Apitz To: freebsd-usb@freebsd.org Subject: Fwd: Re: [Ubuntu-phone] Ethernet through USB Message-ID: <20150330085746.GA16832@c720-r276659> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 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 08:58:06 -0000 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. Thanks matthias ----- Forwarded message from Oliver Grawert ----- Date: Mon, 30 Mar 2015 10:47:17 +0200 From: Oliver Grawert To: ubuntu-phone@lists.launchpad.net Subject: Re: [Ubuntu-phone] Ethernet through USB X-Mailer: Evolution 3.10.4-0ubuntu2 hi, Am Montag, den 30.03.2015, 10:34 +0200 schrieb Matthias Apitz: > Hello, > > My other Linux phone (Openmoko Freerunner) supports Ethernet through > USB. When the device is connected on the USB port of my FreeBSD laptop, > it is known by its vendor and product ID and the cdce driver creates an > network interface to route IP through. I'm already checking how to get > support in it for the device: > > 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 > > in my beloved FreeBSD. > > Once this is done, has ubuntu-phone support for this at the other side > of the USB cable? Would be nice to talk SSH directly to it via USB and > not only over Wifi. the phablet-shell command from the phablet-tools package does exactly that ... (well, not with a full network setup, just with tunneling an ssh connection through adb) https://launchpad.net/phablet-tools has the source, it is shell, so should theoretically work on your BSD as well ... for networking the bq supports tethering via a usb device (run the following in the terminal app or via adb): android-gadget-service enable rndis that will create an usb0 network device on a linux,PC not sure what BSD does with it though :) ciao oli -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp ----- End forwarded message ----- -- 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)