A camera set to either Auto or MTP mode won't mount in Fedora Workstation. Near as I can tell, the problem is with mtp-probe. But I guess it could be kernel confusion.
I've posted a message on the libmtp list but no replies: https://sourceforge.net/p/libmtp/mailman/message/36458309/
The sequence looks like the kernel correctly discovers the make, model, serial number correctly but not that it's an MTP device. Something gives up and causes it to be disconnected. And then when it immediately reconnects it's now recognized as a USB Charger which is not correct, and also not an MTP device.
The work around for this is to install fuse-exfat from RPM Fusion, and set the camera to Mass Storage setting, and now the storage card is directly mounted automatically. So this isn't a show stopper bug, but I'd say it's suboptimal for showcasing free software. Using MTP obviates the need for the host directly mounting the storage card's file system, and it's also safer.
Any next step ideas?
On 2018-11-08 8:33 a.m., Chris Murphy wrote:
The work around for this is to install fuse-exfat from RPM Fusion,
and > set the camera to Mass Storage setting, and now the storage card is > directly mounted automatically. So this isn't a show stopper bug, but > I'd say it's suboptimal for showcasing free software. Using MTP > obviates the need for the host directly mounting the storage card's > file system, and it's also safer. > > Any next step ideas? > > Based on that information, the memory card uses the patented exfat format which cannot be included for legal reasons. See https://www.wikiwand.com/en/ExFAT
Luya
On Thu, Nov 8, 2018 at 10:52 AM, Luya Tshimbalanga luya@fedoraproject.org wrote:
On 2018-11-08 8:33 a.m., Chris Murphy wrote:
The work around for this is to install fuse-exfat from RPM Fusion, and > set the camera to Mass Storage setting, and now the storage card is > directly mounted automatically. So this isn't a show stopper bug, but > I'd say it's suboptimal for showcasing free software. Using MTP > obviates the need for the host directly mounting the storage card's > file system, and it's also safer. > > Any next step ideas? > > Based on that information, the memory card uses the patented exfat format which cannot be included for legal reasons. See https://www.wikiwand.com/en/ExFAT
I'm not expecting exfat support to be included. I only mentioned that as the work around. The preferable outcome is for MTP mounting to work out of the box, which means the camera itself handles the exfat format while communicating with the host using MTP.
The questions: whether this looks like a kernel bug or mtp-probe bug; if it's an mtp-probe bug are there any alternatives to libmtp that are better that Fedora should be using instead? Off hand I'm not finding anything, but Chrome has MTP support, I'm just not sure how they're doing it. I'm also not sure if GNOME has a hard dependency on mtp-probe or if there's a better way to do this, maybe directly in GNOME Photos.
Hi Chris,
as per the log you provided on libmtp mailing list, gphoto2 is used for your device, not libmtp. So it is not a problem that it is not recognized as MTP device. But the problem is that the device was disconnected for some reason. It happened obviously during the mount procedure as per the gvfsd-gphoto2 and gnome-shell messages in the log. We should fix those, but that's not the cause, just consequence. The question is why it was disconnected. This can be because of some corrupted cable, but it is not your case probably when the mass storage mode works. My MTP and PTP device seems working properly on Fedora 29, so this is probably device specific. You may try your chance on http://gphoto.org/mailinglists/.
Regards
Ondrej čt 8. 11. 2018 v 17:34 odesílatel Chris Murphy lists@colorremedies.com napsal:
A camera set to either Auto or MTP mode won't mount in Fedora Workstation. Near as I can tell, the problem is with mtp-probe. But I guess it could be kernel confusion.
I've posted a message on the libmtp list but no replies: https://sourceforge.net/p/libmtp/mailman/message/36458309/
The sequence looks like the kernel correctly discovers the make, model, serial number correctly but not that it's an MTP device. Something gives up and causes it to be disconnected. And then when it immediately reconnects it's now recognized as a USB Charger which is not correct, and also not an MTP device.
The work around for this is to install fuse-exfat from RPM Fusion, and set the camera to Mass Storage setting, and now the storage card is directly mounted automatically. So this isn't a show stopper bug, but I'd say it's suboptimal for showcasing free software. Using MTP obviates the need for the host directly mounting the storage card's file system, and it's also safer.
Any next step ideas?
-- Chris Murphy _______________________________________________ desktop mailing list -- desktop@lists.fedoraproject.org To unsubscribe send an email to desktop-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/desktop@lists.fedoraproject.or...
desktop@lists.fedoraproject.org