Post

Replies

Boosts

Views

Activity

Reply to macOS Preview appears to hold MTP devices open indefinitely
hi kevin we use libmtp->libusb->IOKit to access our devices. it looks like the short term solution would be to ask ImageCapture framework to release the device so we can access it. i'll try that first. long term it would be nice to go through ImageCapture framework if that is possible with all the operations we need to perform: List directory Download file Read partial content Upload file Create folder Delete file/folder Rename file/folder Move object Copy object Get battery level Get disk space Get device version Get/set datetime we perform full backup & restore of the device file tree including setting correct file time stamps and it looks like ImageCapture framework might not do all that. i need to read up and do some testing.
Topic: App & System Services SubTopic: Drivers Tags:
1w
Reply to macOS Preview appears to hold MTP devices open indefinitely
hi kevin we use libmtp->libusb->IOKit to access our devices. it looks like the short term solution would be to ask ImageCapture framework to release the device so we can access it. i'll try that first. long term it would be nice to go through ImageCapture framework if that is possible with all the operations we need to perform: List directory Download file Read partial content Upload file Create folder Delete file/folder Rename file/folder Move object Copy object Get battery level Get disk space Get device version Get/set datetime we perform full backup & restore of the device file tree including setting correct file time stamps and it looks like ImageCapture framework might not do all that. i need to read up and do some testing.
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
1w