Share your experience!
Hi folks,
downloaded the Sony API for the RX100 and can remotely control the shutter, exposure mode, take pictures and download the image using the PTP2 protocol over USB.
Setting the F-Number (code 0x5007) doesn't seem to work, even though the compatibility chart in "Camera Control PTP 2 Reference.pdf" says it should. Need decent depth of field (say F8 or F16), and the camera seems to use F1.8 most of the time.
Any ideas?
Also tried AF (shutter half release) with exposure lock (code 0xD2C3) after setting the F-stop, but this crashes the camera and it resets itself, then switches off.
Am using the Sony API "control" program on Linux:
./control open --bus=$BUS --dev=$DEVICE
sleep 1.5
./control auth --bus=$BUS --dev=$DEVICE
sleep 1.5
# still capture mode:
./control send --op=0x9205 --p1=0x5013 --p3=0x01 --size=4 --data=0x00000001 --bus=$BUS --dev=$DEVICE
sleep 1.5
# Exposure mode "P":
./control send --op=0x9205 --p1=0x500E --p3=0x01 --size=2 --data=0x0002 --bus=$BUS --dev=$DEVICE
sleep 1.5
# Focus mode "AF_S":
./control send --op=0x9205 --p1=0x500A --p3=0x01 --size=2 --data=0x0002 --bus=$BUS --dev=$DEVICE
sleep 1.5
# set F16:
./control send --op=0x9205 --p1=0x5007 --p4=0x01 --size=2 --data=0x0010 --bus=$BUS --dev=$DEVICE
sleep 1.5
# Auto Exposure Lock - crashes camera:
./control send --op=0x9205 --p1=0xD2C3 --data=0x0002 --bus=$BUS --dev=$DEVICE
sleep 1.5
# focus area center:
./control send --op=0x9205 --p1=0xD22C --p3=0x01 --p4=0x01 --size=2 --data=0x0003 --bus=$BUS --dev=$DEVICE
sleep 1.5
# shutter half release down:
./control send --op=0x9207 --p1=0xD2C1 --data=0x0002 --size=2 --bus=$BUS --dev=$DEVICE
sleep 1.5
# shutter release down:
./control send --op=0x9207 --p1=0xD2C2 --data=0x0002 --size=2 --bus=$BUS --dev=$DEVICE
sleep 1.5
# shutter release up:
./control send --op=0x9207 --p1=0xD2C2 --data=0x0001 --size=2 --bus=$BUS --dev=$DEVICE
sleep 1.5
# shutter half release up:
./control send --op=0x9207 --p1=0xD2C1 --data=0x0001 --size=2 --bus=$BUS --dev=$DEVICE
# ...more commands to download image to PC...