I went deeper into the GNOME issue and I believe it's a libgphoto2 issue, on Apple devices it stalls for at least 9 seconds or more retrying to connect when the device is locked. A patched libgphoto2 solves this issue for me.
I don't know if it's worth opening a report on libgphoto2 for debian itself. For reference, here's the report on libgphoto2: https://github.com/gphoto/libgphoto2/issues/480 On Tue, Oct 22, 2019 at 3:14 AM Diego Escalante Urrelo <die...@gmail.com> wrote: > > Forgot to add that when logging in into my GNOME session, if my iPhone > is connected, I experience a long freeze too. I thought it was mtp or > gvfs-gphoto2, but it's probably usbmuxd there too. > > Hope you can give me some ideas to fix this, thanks!