Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lumix: copying files (zero size) #15

Open
willat8 opened this issue May 26, 2020 · 0 comments
Open

Lumix: copying files (zero size) #15

willat8 opened this issue May 26, 2020 · 0 comments

Comments

@willat8
Copy link

willat8 commented May 26, 2020

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant