GNOME Bugzilla – Bug 606058
Only keep device open when using it
Last modified: 2014-04-05 19:57:20 UTC
It might be nice to only keep the device open when actually doing IO. From https://bugzilla.redhat.com/show_bug.cgi?id=551300#c6 If we did this, then all the problems with other user space apps (e.g. rhythmbox, gthumb, f-spot) trying to access the device (instead of e.g. using GIO or the FUSE mount at ~/.gvfs) would probably go away 99.9% of the time. I'm not sure how hard this is to do or how it would work with libgphoto2. But it's worth investigating.
It's a nice idea to allow those to also be opened from kernel-space (for when devices support being used as webcams), but it would be a big hack for when apps use libgphoto or libmtp directly, and I would expect things blowing up in our faces in those cases, unless we could make it visible to the users that things wouldn't work as expected.
I guess this might be a duplicate of bug #610261.
*** This bug has been marked as a duplicate of bug 610261 ***