You are not logged in.
Hi,
It seems like libmtp no longer works with my Nexus 4. If I try something like this...
$ mtp-detect
Unable to open ~/.mtpz-data for reading, MTPZ disabled.libmtp version: 1.1.6
Device 0 (VID=18d1 and PID=4ee2) is a Google Inc (for LG Electronics/Samsung) Nexus 4/10 (MTP+ADB).
Android device detected, assigning default bug flags
It hangs... I tried running strace on it and I see the same message over and over again that a ioctl call is failing with something like...
ioctl(6, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fffa129c1b8) = -1 EAGAIN (Resource temporarily unavailable)
timerfd_settime(5, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={1118, 490012000}}, NULL) = 0
ioctl(6, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0x11e95d0) = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6, events=POLLOUT}], 3, 60000) = 1 ([{fd=6, revents=POLLOUT}])
ioctl(6, USBDEVFS_REAPURBNDELAY or USBDEVFS_REAPURBNDELAY32, 0x7fffa129c1e8) = 0
timerfd_settime(5, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
Does anyone else see this issue or have any idea what is going on?
Offline
I'm having the exact same issue, both with the stable and git builds. Is it possibly related to some change in the phone?
For what it's worth, I'm running the newest stable Paranoid Android with franco's milestone 2 kernel.
Offline
I'm running stock Android (4.2.2) which was working with libmtp a few months ago so I don't think it's the phone.
Sigh... It's back to using adb to do file transfers.
Offline
Huh, I'm not sure if gmtp is working right now, but it seems mtpfs works after waiting about two and a half minutes. Same issue, since both use libmtp.
edit: Yeah, even when connected, it doesn't let you touch any files. Adding or removing anything gives me this.
Error 2: PTP Layer error 02fe: obj2file: call to ptp_mtp_getobjectpropssupported() failed.
Error 2: Error 02fe: PTP: Protocol error, data expected
Last edited by Tony_SpaZ (2013-05-13 00:10:35)
Offline