I tried matheiu's branch and I also bumped the storage allocation from 2GB to 4GB, no difference. The _IOW call always returns -1 when it hits a size greater than 31 bits or 2GB. The sizes passed in the mtp_file_range are correct.
** Changed in: mtp (Ubuntu) Assignee: Pat McGowan (pat-mcgowan) => (unassigned) ** Changed in: canonical-devices-system-image Assignee: Pat McGowan (pat-mcgowan) => John McAleely (john.mcaleely) ** Changed in: canonical-devices-system-image Status: In Progress => Triaged ** Changed in: mtp (Ubuntu) Status: In Progress => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1472789 Title: libmtp error copying big files To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1472789/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs