[gphoto-patches] [ gphoto-Patches-2891265 ] MTP probing kills Nokia phones USB interface: fix available

View: New views
1 Messages — Rating Filter:   Alert me  

[gphoto-patches] [ gphoto-Patches-2891265 ] MTP probing kills Nokia phones USB interface: fix available

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Patches item #2891265, was opened at 2009-11-03 15:44
Message generated for change (Tracker Item Submitted) made by alexbk
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=308874&aid=2891265&group_id=8874

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex Kanavin (alexbk)
Assigned to: Nobody/Anonymous (nobody)
Summary: MTP probing kills Nokia phones USB interface: fix available

Initial Comment:
libgphoto_port probes MTP devices in a way that Nokia handsets don't handle very well. In fact, the handset's USB interface simply dies altogether and the only way out is to reboot the phone. Yikes!

Fortunately, it's possible to determine MTP support in a different way: the USB interface description for them simply says "MTP" (see attachment). So we can first check that description, and then, if it doesn't match, do the funky probing.

This fix has been available in libmtp for about two years, and I simply ported it over:
http://libmtp.cvs.sourceforge.net/viewvc/libmtp/libmtp/src/libusb-glue.c?view=log#rev1.244

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=308874&aid=2891265&group_id=8874

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gphoto-patches mailing list
gphoto-patches@...
https://lists.sourceforge.net/lists/listinfo/gphoto-patches