From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 16 15:06:26 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C49E7106566C for ; Sun, 16 Jan 2011 15:06:26 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 0A09A8FC17 for ; Sun, 16 Jan 2011 15:06:25 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p0GF6HDR030481 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Jan 2011 17:06:17 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p0GF6HMp066367; Sun, 16 Jan 2011 17:06:17 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p0GF6HOE066366; Sun, 16 Jan 2011 17:06:17 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 16 Jan 2011 17:06:17 +0200 From: Kostik Belousov To: Aryeh Friedman Message-ID: <20110116150617.GD2518@deviant.kiev.zoral.com.ua> References: <201101161327.29692.hselasky@c2i.net> <201101161358.26075.hselasky@c2i.net> <20110116131717.GC2518@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OjlPywxCsLltMP9x" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-hackers@freebsd.org, Hans Petter Selasky Subject: Re: Android development (was Re: best way to run -RELEASE and -CURRENT on the same machine) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2011 15:06:26 -0000 --OjlPywxCsLltMP9x Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 16, 2011 at 09:19:22AM -0500, Aryeh Friedman wrote: > Are you talking about BSDoid or FreeDroid? I got SDK from http://bsdroid.org. No idea what FreeDroid is. >=20 > On Sun, Jan 16, 2011 at 8:17 AM, Kostik Belousov wr= ote: > > On Sun, Jan 16, 2011 at 01:58:26PM +0100, Hans Petter Selasky wrote: > >> On Sunday 16 January 2011 13:30:33 Aryeh Friedman wrote: > >> > On Sun, Jan 16, 2011 at 7:27 AM, Hans Petter Selasky > >> wrote: > >> > > On Sunday 16 January 2011 13:20:39 Aryeh Friedman wrote: > >> > >> On Sun, Jan 16, 2011 at 7:07 AM, Hans Petter Selasky > >> > > > >> > > wrote: > >> > >> > On Sunday 16 January 2011 12:59:17 Aryeh Friedman wrote: > >> > >> >> On Sun, Jan 16, 2011 at 6:48 AM, Hans Petter Selasky > >> > >> >> > >> > >> > > >> > >> > wrote: > >> > >> >> > On Sunday 16 January 2011 11:49:28 Hans Petter Selasky wrote: > >> > >> >> >> if_cdce kernel, > >> > >> >> > > >> > >> >> > if_cdce kernel module > >> > >> >> > > >> > >> >> > --HPS > >> > >> >> > >> > >> >> flosoft-stable# kldload if_cdce > >> > >> >> kldload: can't load if_cdce: File exists > >> > >> > > >> > >> > Any ueX network interfaces? > >> > >> > >> > >> None > >> > >> > >> > >> > Also: > >> > > And what about: > >> > > > >> > > usbconfig -d X.Y dump_curr_config_desc > >> > > >> > flosoft-stable# usbconfig -d 5.2 dump_curr_config_desc > >> > ugen5.2: at usbus5, cfg=3D0 md=3DHOST spd=3DHIGH= (480Mbps) > >> > pwr=3DON > >> > > >> > > >> > =9AConfiguration index 0 > >> > > >> > =9A =9A bLength =3D 0x0009 > >> > =9A =9A bDescriptorType =3D 0x0002 > >> > =9A =9A wTotalLength =3D 0x0037 > >> > =9A =9A bNumInterfaces =3D 0x0002 > >> > =9A =9A bConfigurationValue =3D 0x0001 > >> > =9A =9A iConfiguration =3D 0x0000 =9A > >> > =9A =9A bmAttributes =3D 0x0080 > >> > =9A =9A bMaxPower =3D 0x0080 > >> > > >> > =9A =9A Interface 0 > >> > =9A =9A =9A bLength =3D 0x0009 > >> > =9A =9A =9A bDescriptorType =3D 0x0004 > >> > =9A =9A =9A bInterfaceNumber =3D 0x0000 > >> > =9A =9A =9A bAlternateSetting =3D 0x0000 > >> > =9A =9A =9A bNumEndpoints =3D 0x0002 > >> > =9A =9A =9A bInterfaceClass =3D 0x0008 > >> > =9A =9A =9A bInterfaceSubClass =3D 0x0006 > >> > =9A =9A =9A bInterfaceProtocol =3D 0x0050 > >> > =9A =9A =9A iInterface =3D 0x0000 =9A > >> > > >> > =9A =9A =9AEndpoint 0 > >> > =9A =9A =9A =9A bLength =3D 0x0007 > >> > =9A =9A =9A =9A bDescriptorType =3D 0x0005 > >> > =9A =9A =9A =9A bEndpointAddress =3D 0x0001 =9A > >> > =9A =9A =9A =9A bmAttributes =3D 0x0002 =9A > >> > =9A =9A =9A =9A wMaxPacketSize =3D 0x0200 > >> > =9A =9A =9A =9A bInterval =3D 0x0000 > >> > =9A =9A =9A =9A bRefresh =3D 0x0000 > >> > =9A =9A =9A =9A bSynchAddress =3D 0x0000 > >> > > >> > =9A =9A =9AEndpoint 1 > >> > =9A =9A =9A =9A bLength =3D 0x0007 > >> > =9A =9A =9A =9A bDescriptorType =3D 0x0005 > >> > =9A =9A =9A =9A bEndpointAddress =3D 0x0081 =9A > >> > =9A =9A =9A =9A bmAttributes =3D 0x0002 =9A > >> > =9A =9A =9A =9A wMaxPacketSize =3D 0x0200 > >> > =9A =9A =9A =9A bInterval =3D 0x0000 > >> > =9A =9A =9A =9A bRefresh =3D 0x0000 > >> > =9A =9A =9A =9A bSynchAddress =3D 0x0000 > >> > > >> > > >> > =9A =9A Interface 1 > >> > =9A =9A =9A bLength =3D 0x0009 > >> > =9A =9A =9A bDescriptorType =3D 0x0004 > >> > =9A =9A =9A bInterfaceNumber =3D 0x0001 > >> > =9A =9A =9A bAlternateSetting =3D 0x0000 > >> > =9A =9A =9A bNumEndpoints =3D 0x0002 > >> > =9A =9A =9A bInterfaceClass =3D 0x00ff > >> > =9A =9A =9A bInterfaceSubClass =3D 0x0042 > >> > =9A =9A =9A bInterfaceProtocol =3D 0x0001 > >> > =9A =9A =9A iInterface =3D 0x0000 =9A > >> > > >> > =9A =9A =9AEndpoint 0 > >> > =9A =9A =9A =9A bLength =3D 0x0007 > >> > =9A =9A =9A =9A bDescriptorType =3D 0x0005 > >> > =9A =9A =9A =9A bEndpointAddress =3D 0x0002 =9A > >> > =9A =9A =9A =9A bmAttributes =3D 0x0002 =9A > >> > =9A =9A =9A =9A wMaxPacketSize =3D 0x0200 > >> > =9A =9A =9A =9A bInterval =3D 0x0000 > >> > =9A =9A =9A =9A bRefresh =3D 0x0000 > >> > =9A =9A =9A =9A bSynchAddress =3D 0x0000 > >> > > >> > =9A =9A =9AEndpoint 1 > >> > =9A =9A =9A =9A bLength =3D 0x0007 > >> > =9A =9A =9A =9A bDescriptorType =3D 0x0005 > >> > =9A =9A =9A =9A bEndpointAddress =3D 0x0082 =9A > >> > =9A =9A =9A =9A bmAttributes =3D 0x0002 =9A > >> > =9A =9A =9A =9A wMaxPacketSize =3D 0x0200 > >> > =9A =9A =9A =9A bInterval =3D 0x0000 > >> > =9A =9A =9A =9A bRefresh =3D 0x0000 > >> > =9A =9A =9A =9A bSynchAddress =3D 0x0000 > >> > >> Looks like interface 1 is the ADB one (vendor specific). If the ADB cl= ient is > >> not using LibUSB then you might get it working by adding the vendor ID= and > >> product ID to sys/dev/usb/serial/u3g.c as listed by dump_device_desc .= A > >> /dev/cuaU0 will then be created which you can use to transfer data. > > > > FWIW, I successfully used adb from freebsd port of android SDK to > > connect to Samsung Galaxy S. For sure, it only worked on i386, but > > this is a known issue with libusb. > > --OjlPywxCsLltMP9x Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk0zCWkACgkQC3+MBN1Mb4iKwgCgoO9z1pXuiZ2bHPEjWwg5BuXa izQAn27ht1xBCedKBoEbxolC8Pd+2/iZ =lvcN -----END PGP SIGNATURE----- --OjlPywxCsLltMP9x--