Hi .
i got error when "gphoto2 --capture-image-and-download" is executed and same results for some other commands with Sony DSC-W510 , + the cam shut OFF when some cmds is executed , and i have to power ON again :
*** Error ***
Sorry, your camera does not support generic capture
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-6: 'Unsupported operation') ***
..........
.........
# lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 005: ID 054c:08b0 Sony Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
gphoto2 --summary --debug --debug-logfile=summary.log
summary.log is attached .
thank YOU .
This mean the camera doesn't support the operation, camera capture in your case. The camera being a Sony make this unsurprising: they don't support capture.
Thank you .
(check if it has a "PC Control" mode in its camera USB Settings... but this is unlikely, only the Alpha series have remote control
likely not possible to do due to camrea firmware limitation