I spent quite some time over the weekend on getting PTP/IP to work... Some restructuring of code, some writing and I now can list files over the air. Then the battery was empty and I noticed that I forgot my charger at home. Well.
Lots of MTP and PTP fixes in libgphoto2 done nevertheless. There are still some hickups in the MTP devices, regarding the 512 byte border problem, filenames longer than 64 characters and some more. But most of the pressing issues have been fixed.
Check out the new and improved gphoto2 --summary for PTP devices. It now shows:
- Storage information (internal and card memory)
- PTP dynamic abilities (like if the camera can capture or not, if it can delete files, etc.)
- Capture / Play formats
- Available Object Properties for MTP.
On t he SUSE side I am currently trying to get all the correct permission handling into our hal / resmgr / libgphoto2 setup. This is difficult, because the usb device abstractions are not really fitting the unix device model (1 device - 1 node), but you have interfaces, now raw devices et.al.