<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RX100M5A Remote Command API - set F-stop problem in Cyber-shot compact cameras</title>
    <link>https://community.sony.es/t5/cyber-shot-compact-cameras/rx100m5a-remote-command-api-set-f-stop-problem/m-p/4001633#M6407</link>
    <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp; downloaded the Sony API for the&amp;nbsp;RX100 and can remotely control the shutter, exposure mode, take pictures and download the image using the PTP2 protocol over USB.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;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.&amp;nbsp; Need decent depth of field (say F8 or F16), and the camera seems to use F1.8 most of the time.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am using the Sony API "control" program on Linux:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;./control open --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;./control auth --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;# still capture mode:&lt;/P&gt;&lt;P&gt;./control send --op=0x9205 --p1=0x5013 --p3=0x01 --size=4 --data=0x00000001 --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;# Exposure mode "P":&lt;/P&gt;&lt;P&gt;./control send --op=0x9205 --p1=0x500E --p3=0x01 --size=2 --data=0x0002 --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;# Focus mode "AF_S":&lt;/P&gt;&lt;P&gt;./control send --op=0x9205 --p1=0x500A --p3=0x01 --size=2 --data=0x0002 --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;# set F16:&lt;/P&gt;&lt;P&gt;./control send --op=0x9205 --p1=0x5007 --p4=0x01 --size=2 --data=0x0010 --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;#&amp;nbsp;Auto Exposure Lock - crashes camera:&lt;/P&gt;&lt;P&gt;./control send --op=0x9205 --p1=0xD2C3 --data=0x0002 --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;# focus area center:&lt;/P&gt;&lt;P&gt;./control send --op=0x9205 --p1=0xD22C --p3=0x01 --p4=0x01 --size=2 --data=0x0003 --bus=$BUS --dev=$DEVICE&lt;BR /&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;#&amp;nbsp;shutter half release down:&lt;/P&gt;&lt;P&gt;./control send --op=0x9207 --p1=0xD2C1 --data=0x0002 --size=2 --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;#&amp;nbsp;shutter release down:&lt;/P&gt;&lt;P&gt;./control send --op=0x9207 --p1=0xD2C2 --data=0x0002 --size=2 --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;#&amp;nbsp;shutter release up:&lt;/P&gt;&lt;P&gt;./control send --op=0x9207 --p1=0xD2C2 --data=0x0001 --size=2 --bus=$BUS --dev=$DEVICE&lt;BR /&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;# shutter half release up:&lt;/P&gt;&lt;P&gt;./control send --op=0x9207 --p1=0xD2C1 --data=0x0001 --size=2 --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;#&amp;nbsp; ...more commands to download image to PC...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jul 2026 17:50:55 GMT</pubDate>
    <dc:creator>Harry_S</dc:creator>
    <dc:date>2026-07-23T17:50:55Z</dc:date>
    <item>
      <title>RX100M5A Remote Command API - set F-stop problem</title>
      <link>https://community.sony.es/t5/cyber-shot-compact-cameras/rx100m5a-remote-command-api-set-f-stop-problem/m-p/4001633#M6407</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp; downloaded the Sony API for the&amp;nbsp;RX100 and can remotely control the shutter, exposure mode, take pictures and download the image using the PTP2 protocol over USB.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;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.&amp;nbsp; Need decent depth of field (say F8 or F16), and the camera seems to use F1.8 most of the time.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am using the Sony API "control" program on Linux:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;./control open --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;./control auth --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;# still capture mode:&lt;/P&gt;&lt;P&gt;./control send --op=0x9205 --p1=0x5013 --p3=0x01 --size=4 --data=0x00000001 --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;# Exposure mode "P":&lt;/P&gt;&lt;P&gt;./control send --op=0x9205 --p1=0x500E --p3=0x01 --size=2 --data=0x0002 --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;# Focus mode "AF_S":&lt;/P&gt;&lt;P&gt;./control send --op=0x9205 --p1=0x500A --p3=0x01 --size=2 --data=0x0002 --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;# set F16:&lt;/P&gt;&lt;P&gt;./control send --op=0x9205 --p1=0x5007 --p4=0x01 --size=2 --data=0x0010 --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;#&amp;nbsp;Auto Exposure Lock - crashes camera:&lt;/P&gt;&lt;P&gt;./control send --op=0x9205 --p1=0xD2C3 --data=0x0002 --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;# focus area center:&lt;/P&gt;&lt;P&gt;./control send --op=0x9205 --p1=0xD22C --p3=0x01 --p4=0x01 --size=2 --data=0x0003 --bus=$BUS --dev=$DEVICE&lt;BR /&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;#&amp;nbsp;shutter half release down:&lt;/P&gt;&lt;P&gt;./control send --op=0x9207 --p1=0xD2C1 --data=0x0002 --size=2 --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;#&amp;nbsp;shutter release down:&lt;/P&gt;&lt;P&gt;./control send --op=0x9207 --p1=0xD2C2 --data=0x0002 --size=2 --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;#&amp;nbsp;shutter release up:&lt;/P&gt;&lt;P&gt;./control send --op=0x9207 --p1=0xD2C2 --data=0x0001 --size=2 --bus=$BUS --dev=$DEVICE&lt;BR /&gt;sleep 1.5&lt;/P&gt;&lt;P&gt;# shutter half release up:&lt;/P&gt;&lt;P&gt;./control send --op=0x9207 --p1=0xD2C1 --data=0x0001 --size=2 --bus=$BUS --dev=$DEVICE&lt;/P&gt;&lt;P&gt;#&amp;nbsp; ...more commands to download image to PC...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2026 17:50:55 GMT</pubDate>
      <guid>https://community.sony.es/t5/cyber-shot-compact-cameras/rx100m5a-remote-command-api-set-f-stop-problem/m-p/4001633#M6407</guid>
      <dc:creator>Harry_S</dc:creator>
      <dc:date>2026-07-23T17:50:55Z</dc:date>
    </item>
  </channel>
</rss>

