You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lumix libgphoto2 camlib is only partially implemented and complicated by the HTTP camera protocol.
With out-of-the-box gphotofs directory listing works but copying off files doesn't. I think this is because internally get_info_func is not implemented so the files default to zero size.
I have made a tweak here in gphotofs_getattr to grab the correct file size from the hash table if it exists. This gets copying working for me but I'm not very familiar with FUSE or libgphoto so I doubt this is a good solution.
I also had to rewind back to before c62319b since that commit broke mounting due to the partial lumix implementation.
The lumix libgphoto2 camlib is only partially implemented and complicated by the HTTP camera protocol.
With out-of-the-box gphotofs directory listing works but copying off files doesn't. I think this is because internally
get_info_func
is not implemented so the files default to zero size.I have made a tweak here in
gphotofs_getattr
to grab the correct file size from the hash table if it exists. This gets copying working for me but I'm not very familiar with FUSE or libgphoto so I doubt this is a good solution.I also had to rewind back to before c62319b since that commit broke mounting due to the partial lumix implementation.
I've put all this into a PPA for anyone else who needs this https://launchpad.net/~willat8/+archive/ubuntu/gphoto.
(Relates to this discussion gphoto/libgphoto2#409)
The text was updated successfully, but these errors were encountered: