Media Transfer Protocol (MTP) with its own extension is THETA USB API. For Linux, you can easily invoke THETA's USB API by using the command-line tool gphoto2. There are also commands that allow you to operate THETA via USB without being aware of MTP operations or properties. If you run the command with the '--debug' option, you can verify the sequence of MTP operations that are actually called.

Displaying how to use the gphoto2 command

$ gphoto2 --help

Obtaining device properties

Retrieve the values of the Filter property (0xD80B):

$ gphoto2 --get-config=d80b

The response that is set to Noise reduction:

Label: PTP Property 0xd80b
Readonly: 0
Type: MENU
Current: 2
Choice: 0 0
Choice: 1 2
Choice: 2 3
END

Retrieves the values of all device properties:

$ gphoto2 --list-all-config

A part of the response:

/main/actions/powerdown                                              
Label: Power Down
Readonly: 0
Type: TOGGLE
Current: 2
END
... omitted ...
/main/other/d83f
Label: PTP Property 0xd83f
Readonly: 0
Type: MENU
Current: 0
Choice: 0 0
Choice: 1 1
END

Configuring device properties

Set the Filter property (0xD80B**)** to HDR (0x03). There is no response.

$ gphoto2 --set-config=d80b=3

Call MTP Operation

Call InitiateCapture operation (0x100E) with two parameters to take pictures. There is no response.

 $ gphoto2 --set-config=opcode=0x100e,0x00000000,0x00000000