gphoto2 icon indicating copy to clipboard operation
gphoto2 copied to clipboard

(Novice Issue) /capt0000.arw on Sony A6500

Open donnysnarko opened this issue 3 years ago • 11 comments

Hello, Ive been trying to configure my A6500 to work with gphoto on Octoprint via my Raspberry Pi. Ive been following the instructions here, but have hit a problem where the camera clearly takes a photo when prompted with gphoto2 --capture-image but then indicates it has been stored on the camera at /capt0000.arw . Ime very new to using a Pi (i'm not a programmer at all), but I cannot find the /capt0000.arw file on the camera (i cannot essentially find teh saved image) and i suspect that when i capture multiaple image it just overwites teh existing one. Can somsone lend a noob a hand here and point me to something that may help?

donnysnarko avatar Mar 20 '21 14:03 donnysnarko

This filename is a virtual filename, it only lives in camera and then in gphoto2 RAM.

You need to "download it" right after capture.

If you want to leave it on the SD Card, you can switch "capturetarget" on the A6500 I think.

msmeissn avatar Mar 20 '21 16:03 msmeissn

You are correct, i need to switch it to capturetarget, currenly it is set to capture like this

Sony Alpha-A6500 (control) usb: 001, 016 Label: Capture Readonly: 0 Type: TOGGLE Current: 2 END

Do you know how i am able to switch to capture target? on the guide im following, it suggest that I change this to capturetarget from within the Raspberry PI - here's the relevant section

**Determine the appropriate capturetarget setting The config options vary by camera and by the gphoto2 version. You can run the following command to see what options for capturetarget are available on your camera:

gphoto2 --auto-detect --get-config capturetarget Here's what my camera reports after running this command:

Label: Capture Target Readonly: 0 Type: RADIO Current: Memory card Choice: 0 Internal RAM Choice: 1 Memory card END

If your options aren't the same as mine (Memory card = 1) you will have to adjust the initialize-camera-save-to-sd.sh script accordingly.**

donnysnarko avatar Mar 20 '21 17:03 donnysnarko

can you post or attach output of

gphoto2 --summary

gphoto2 --list-all-config

msmeissn avatar Mar 22 '21 09:03 msmeissn

can you post or attach output of

gphoto2 --summary

gphoto2 --list-all-config

Thanks.
Here's the Summary

and here's the List-all-config

donnysnarko avatar Mar 22 '21 11:03 donnysnarko

Hi @msmeissn, i hope the info i provided above is enough to go on

donnysnarko avatar Mar 23 '21 11:03 donnysnarko

can you try gphoto2 --set-config d222=17 --capture-image

and see if it stays in the camea card?

msmeissn avatar Mar 26 '21 14:03 msmeissn

(This is decoded as "capturetarget" option in libgphoto2 2.5.24 or later, but octoprint might be a bit behind in versions.)

msmeissn avatar Mar 26 '21 14:03 msmeissn

(This is decoded as "capturetarget" option in libgphoto2 2.5.24 or later, but octoprint might be a bit behind in versions.)

Hello and thank you for the help so far, however i've tried that and it didnt work. Here's a video to show the steps i took https://drive.google.com/file/d/11AKz8b6e30PhuccS1Lb9x439pIVAW1hJ/view?usp=sharing

donnysnarko avatar Mar 31 '21 20:03 donnysnarko

hi again @msmeissn , from what yove seen in my video do you think it just wont work with my camera, or are there some other checks I can do? Thank you for your help so far

donnysnarko avatar Apr 07 '21 12:04 donnysnarko

I currently have not much further ideas... Your video looks correct :/

msmeissn avatar Apr 11 '21 17:04 msmeissn

I currently have not much further ideas... Your video looks correct :/

It's odd, but it's just not saving to my camera sd card.

donnysnarko avatar Apr 11 '21 17:04 donnysnarko