From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auz2J-0006tF-EQ for qemu-devel@nongnu.org; Tue, 26 Apr 2016 05:12:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1auz2F-0007Dz-8J for qemu-devel@nongnu.org; Tue, 26 Apr 2016 05:12:03 -0400 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:34141) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auz2F-0007D0-0y for qemu-devel@nongnu.org; Tue, 26 Apr 2016 05:11:59 -0400 Received: by mail-wm0-x236.google.com with SMTP id v200so20402455wmv.1 for ; Tue, 26 Apr 2016 02:11:58 -0700 (PDT) Date: Tue, 26 Apr 2016 10:11:56 +0100 From: Stefan Hajnoczi Message-ID: <20160426091156.GA10650@stefanha-x1.localdomain> References: <1460892593-5908-1-git-send-email-109lozanoi@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <1460892593-5908-1-git-send-email-109lozanoi@gmail.com> Subject: Re: [Qemu-devel] [PATCH] usb-mtp: fix usb_mtp_get_device_info so that libmtp on the guest doesn't complain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Isaac Lozano <109lozanoi@gmail.com> Cc: qemu-devel@nongnu.org, kraxel@redhat.com --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 17, 2016 at 04:29:53AM -0700, Isaac Lozano wrote: > If an application uses libmtp on the guest system, > it will complain with the warning message: > LIBMTP WARNING: VendorExtensionID: ffffffff > LIBMTP WARNING: VendorExtensionDesc: (null) > LIBMTP WARNING: this typically means the device is PTP (i.e. a camera) but > not a MTP device at all. Trying to continue anyway. >=20 > This is because libmtp expects a MTP Vendor Extension ID of 0x00000006 an= d a > MTP Version of 0x0064. These numbers are taken from Microsoft's MTP Vendor > Extension Identification Message page and are what most physical devices > show. >=20 > Signed-off-by: Isaac Lozano <109lozanoi@gmail.com> > --- > hw/usb/dev-mtp.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Welcome to QEMU! Link to MTP Vendor Extension Identification Message page for other reviewers: https://msdn.microsoft.com/en-us/library/ff632482.aspx Reviewed-by: Stefan Hajnoczi --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXHzDcAAoJEJykq7OBq3PITQMH/0lkwTdZVFTS2C/ahf0CS1Jt DJzyilTtdfWibpimTqa7zSFirdccMQzPyS8uyMIiVFjpITCWmEM0w467X//XANpW KOSxDxVQ8nFlU8CIm3yCyFvB404deOFc7+zlaSSv0OaV89GiMo3ogoSTKug2+vRO saAOPdfPjqXT4qhQX4zbY78sCvVAm2gZwKpp+Q9YtGA3q96c4VYXBUI1Aka7ClN5 V0dNZWHvNaHZlzTQ9CaGTCd3Sf93OS9UMblIpoqAGrp0MG2qPyl+wFVMHJWXf2Fp LW5YQsKduSnxd3uzrPZMuIP0N5lzQ1yAjqeFu0CW3S1jgA+DIJo7k/PAwYqT+0c= =IUsv -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C--