I want to control a ricoh theta 360 camera using a raspberry pi 3 and ubuntu mate. I got gphoto2 via apt-get and ptp build from source. I also have the latest firmware version for the theta installed. Further, the exposure program was set to 1 (Manual program) or 4 (Shutter priority program).
to set the shutterspeed manually I tried the following:
using ptpcam:
   ptpcam --set-property=0xD00F --val=\x01\x00\x00\x00\x01\x00\x00\x00
Response:
   Camera: RICOH THETA S
   'UNKNOWN' is set to: 
   Changing property value to x01x00x00x00x01x00x00x00 [(null)] FAILED!!!
using gphoto2:
   gphoto2 --set-config shutterspeed=0.1
Response:
   *** Error ***              
   The shutterspeed widget is not configurable.
   *** Error (-2: 'Bad parameters') *** 
				
                        
I found a pretty useful script at github (github: tlapser360) from Jason Charcalla.
There, it is explained that one can send a raw generic request as follows:
with the shutter.bin file only containing the shutter time in hex format.
response:
This looks pretty good. finally, one can than take an image as follows