Open moorjunge opened 6 years ago
Hello,
i tried a gphoto2 --summary and it gives the right camera type
pi@raspberrypi:~ $ gphoto2 --summary
Camera summary:
Manufacturer: Sony Corporation
Model: DSLR-A700
Version: 01.0000
Vendor Extension ID: 0x11 (1.0)
Vendor Extension Description: Sony PTP Extensions
Capture Formats:
Display Formats: JPEG, Unknown(b101)
Device Capabilities:
File Download, No File Deletion, No File Upload
No Image Capture, No Open Capture, Sony Capture
Storage Devices Summary:
store_00010001:
StorageDescription: None
VolumeLabel: None
Storage Type: Removable RAM (memory card)
Filesystemtype: Generic Hierarchical
Access Capability: Read-Write
Maximum Capability: 8017018880 (7645 MB)
Free Space (Bytes): 3090579456 (2947 MB)
Free Space (Images): -1
Device Property Summary:
Compression Setting(0x5004):(readwrite) (type=0x2) JPEG Fine (2)
White Balance(0x5005):(readwrite) (type=0x4) 512
F-Number(0x5007):(readwrite) (type=0x4) f/5.1 (512)
Focus Mode(0x500a):(readwrite) (type=0x4) 512
Exposure Metering Mode(0x500b):(readwrite) (type=0x4) 512
Flash Mode(0x500c):(readwrite) (type=0x4) 512
Exposure Program Mode(0x500e):(readwrite) (type=0x4) 512
Exposure Bias Compensation(0x5010):(readwrite) (type=0x3) 0.5 stops (512)
Still Capture Mode(0x5013):(readwrite) (type=0x4) 512
DOC Compensation(0xd200):(readwrite) (type=0x3) 512
DRangeOptimize(0xd201):(readwrite) (type=0x2) 2
Image size(0xd203):(readwrite) (type=0x2) 2
Shutter speed(0xd20d):(readwrite) (type=0x6) 50331647
Property 0xd20e:(readwrite) (type=0x2) 2
Color temperature(0xd20f):(readwrite) (type=0x4) 277
CC Filter(0xd210):(readwrite) (type=0x2) 1
Aspect Ratio(0xd211):(readwrite) (type=0x2) Enumeration [2] value: 2
Property 0xd212:(readwrite) (type=0x2) 1
Focus status(0xd213):(readwrite) (type=0x2) 2
Property 0xd214:(readwrite) (type=0x6) 16777216
Objects in memory(0xd215):(readwrite) (type=0x4) 256
Expose Index(0xd216):(readwrite) (type=0x4) 767
Property 0xd217:(readwrite) (type=0x2) Enumeration [2] value: 2
Battery Level(0xd218):(readwrite) (type=0x1) 1
Property 0xd2c1:(readwrite) (type=0x4) Enumeration [512] value: 512
Property 0xd2c2:(readwrite) (type=0x4) Enumeration [512] value: 512
Property 0xd2c3:(readwrite) (type=0x4) Enumeration [512] value: 512
Property 0xd2c4:(readwrite) (type=0x4) Enumeration [512] value: 512
Property 0xd2c5:(readwrite) (type=0x4) Enumeration [512] value: 512
Property 0xd2c6:(readwrite) (type=0x4) Enumeration [512] value: 512
Still Image(0xd2c7):(readwrite) (type=0x4) Enumeration [512] value: 512
then a gphoto2 --capture-image is running and the camera makes one shoot, but
pi@raspberrypi:~ $ gphoto2 --capture-image
ERROR: Could not capture image.
ERROR: Could not capture.
and after that the camera lost the connection. "-PC-" is blinking yellow.
a second gphoto2 --summary and the camera is connected again.
The misdetection is just due to the fact that multiple cameras might share the same ID, or that someone might have misreported the name. Having a correct name is not that important in this place.
The first error message ('Could not claim the USB device') is due to GVFS (gnome virtual filesystem) blocking the camera.
The other --summary traces show it support capture just fine.
Can you first upgrade to libgphoto2 2.5.18, as this contains more Sony bugfixes. If this does not fix --capture-image, can you attach a debuglogfile
gphoto2 --capture-image --debug --debug-logfile=capture.log
Hi,
thanks for your fast reply.
I've get the version 2.5.18
pi@raspberrypi:~ $ gphoto2 --version
gphoto2 2.5.17
Copyright (c) 2000-2018 Lutz Mueller 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.17 gcc, popt(m), exif, no cdk, no aa, no jpeg, no readline
libgphoto2 2.5.18 all camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb usbdiskdirect usbscsi, gcc, ltdl, USB, serial without locking
but now, the camera always shows the message "Initializing USB Connection". Also after a gphoto2 --summary. So no reconnection like before. The camera doesn't release the shutter after a gphoto2 --capture-image. gphoto2 --list-files shows all files on the memory-card.
Here is the debug information
pi@raspberrypi:~ $ gphoto2 --capture-image --debug --debug-logfile=capture.log
*** Error ***
Sorry, your camera does not support generic capture
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-6: 'Unsupported operation') ***
Camera was in a wrong mode, i'll check it again later.
Ok, next step. At the last try, the camera was in PTP Mode.
pi@raspberrypi:~ $ gphoto2 --capture-image --debug --debug-logfile=capture.log
ERROR: Could not capture image.
ERROR: Could not capture.
it crashes with the 9209 command, which we assumed to be present... this reduces functionality, as the sony capture logic currently relies on this a bit It might work better with current git (to be in 2.5.22), but I am not sure.
Hello,
today i tried to use my old a700 with gphoto.
In the menu i set USB connection to "Remote PC". If i put the put in the USB Plug in the camera, on the display the message "Initializing USB Connection" apperas.
So it detected a wrong camera model.
After a gphoto2 --config the camera changed to -PC- mode and the terminal window freezes. Open a new window and run the command gphoto2 --capture-image i get this
So, is it possible to get the camera to work with the programm?
Camera in -PC- Mode
Greetings Thiemo