From owner-freebsd-usb@FreeBSD.ORG Thu Jan 3 19:42:50 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E4FF8805 for ; Thu, 3 Jan 2013 19:42:50 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id 7C1A6E4D for ; Thu, 3 Jan 2013 19:42:49 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 363003393; Thu, 03 Jan 2013 20:37:41 +0100 From: Hans Petter Selasky To: Lowell Gilbert Subject: Re: Android device problems with MTP ID Date: Thu, 3 Jan 2013 20:39:16 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: <44d2xmrrfp.fsf@lowell-desk.lan> In-Reply-To: <44d2xmrrfp.fsf@lowell-desk.lan> X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2013 19:42:51 -0000 On Thursday 03 January 2013 20:34:50 Lowell Gilbert wrote: > Hi. > > As of the some recent releases of Android, umass support is gone and MTP > support is the normal way for a computer to access a phone over USB. > I have a pair of Android devices; one seems to be using MTP okay, and > I'll try to move forward working with that, but the other doesn't seem > to be offering the MTP interface on the bus. > > On my (updated to Android 4.1.1) phone, MTP only works if the phone's > USB debugging option is enabled. If it is, usbconfig(8) sees a ugen(4) > interface of MTP type; but otherwise it just shows up as a CD device. > > I also have a tablet, running Android 4.0.4, and it reports as MTP > rather than umass. The tools that come with libmtp (and thus, probably, > tools like gmtp) talk to it at least somewhat. > > Presenting the phone as a CD is intentional in the update. The CD is a > real CD device (well, virtual, but it simulates one okay; it is at least > mountable), and it contains Windows drivers for using the device as > MTP. The problem is that the CD (a umass interface) is the *only* one > that shows up. As far as I can gather, the device is expected to revert > to MTP mode in a short period of time if the CD isn't mounted, and I > can't seem to get it to do that. > > I've included the usbconfig output for the phone for both the regular > and debug modes at the bottom of the message, but I don't expect that > you will be able to get much more out of it than I have. > > I appreciate any advice. > > Thanks, > Lowell Gilbert Hi, Try to use cdcontrol to eject the CD. --HPS