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

Sony ZV-E10 "Sorry, your camera does not support generic capture" #617

Open
DoctorSage opened this issue Dec 13, 2023 · 2 comments
Open
Assignees
Labels
Sony tagging Sony reports

Comments

@DoctorSage
Copy link

Hi! Thanks for gphoto!

I am trying to use it to control a Sony ZV-E10 camera on a raspberry pi, following this guide: https://pimylifeup.com/raspberry-pi-dslr-camera-control/.

"detect" finds a "PTP class camera", but cannot capture image. "summary" insists that device capabilities do not include image capture. It seems that the "USB modes" for the ZV-E10 are just "MTP" and "mass media", so it is currently in MTP. I cannot find a PTP option. I saw in another answer that you suggest version 2.5.31 for this camera, and I apparently only have 2.5.28. I got the software from the command line with "git clone https://github.com/gphoto/gphoto2.git", so I am not sure why I got an older version of the software

Outputs of "capture-image" "version" "auto-detect" and "summary" given below.

Thanks for the help!

The main issue is that "--capture-image" returns:
*** Error ***
Sorry, your camera does not support generic capture
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-6: 'Unsupported operation') ***

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list gphoto-devel@lists.sourceforge.net, please run
gphoto2 as follows:

env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --capture-image

Please make sure there is sufficient quoting around the arguments.


"--version" returns:
gphoto2 2.5.28.1

Copyright (c) 2000-2021 Marcus Meissner and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.

This version of gphoto2 is using the following software versions and options:
gphoto2 2.5.28.1 gcc, popt(m), exif, no cdk, no aa, jpeg, no readline
libgphoto2 2.5.27 standard camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, EXIF, USB, serial without locking


"--auto-detect" returns:
Model Port

USB PTP Class Camera usb:001,021

"--summary" returns:
Camera summary:
Manufacturer: Sony Corporation
Model: ZV-E10
Version: 1.0
Serial Number: 00000000000000003285281006136498
Vendor Extension ID: 0x11 (1.0)
Vendor Extension Description:

Capture Formats:
Display Formats: Association/Directory, MPEG, JPEG, Unknown(b982), Unknown(b301), Undefined Type, ARW, Unknown(b310), MS Wave

Device Capabilities:
File Download, No File Deletion, No File Upload
No Image Capture, No Open Capture, No vendor specific capture

Storage Devices Summary:
store_00010001:
StorageDescription: Storage Media
VolumeLabel:
Storage Type: Removable RAM (memory card)
Filesystemtype: Generic Hierarchical
Access Capability: Read-Only
Maximum Capability: 0 (0 MB)
Free Space (Bytes): 0 (0 MB)
Free Space (Images): -1

Device Property Summary:
Battery Level(0x5001):(read only) (type=0x2) Enumeration [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,100] value: 100% (100)
Property 0xd402:(read only) (type=0xffff) 'ZV-E10'
Property 0xd406:(readwrite) (type=0xffff) ''
Property 0xd407:(read only) (type=0x6) 1
Property 0xd303:(read only) (type=0x2) 1

@DoctorSage
Copy link
Author

I was able to partly fix it. Camera didn't have "PC Control" set to On. My bad. But I still have a problem when I use "capture-image". The camera successfully takes the photo, but I get the error messages:

ERROR: Could not capture image.
ERROR: Could not capture.

Similarly, when I use capture-image-and-download, the camera takes the photo but I get the same error message. I cannot find the saved image anywhere on my computer (computer = raspberry Pi).

@msmeissn
Copy link
Contributor

Please use 2.5.29 or newer libgphoto2 (perhaps 2.5.30), as ZV E10 was added in 2.5.29.

@msmeissn msmeissn added the Sony tagging Sony reports label Dec 14, 2023
@msmeissn msmeissn self-assigned this Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sony tagging Sony reports
Projects
None yet
Development

No branches or pull requests

2 participants