qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] usb-mtp: fix usb_mtp_get_device_info so that li


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] usb-mtp: fix usb_mtp_get_device_info so that libmtp on the guest doesn't complain
Date: Tue, 26 Apr 2016 10:11:56 +0100
User-agent: Mutt/1.5.24 (2015-08-30)

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.
> 
> This is because libmtp expects a MTP Vendor Extension ID of 0x00000006 and 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.
> 
> Signed-off-by: Isaac Lozano <address@hidden>
> ---
>  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 <address@hidden>

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]