Skip to content

Lumix: copying files (zero size) #15

@willat8

Description

@willat8

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions