Remote control (tethering) Linux (x86, arm), Windows, Android software for Pentax DSLR cameras.

pkTriggerCord is available under the GNU Lesser General Public License.

This program is based on PKRemote for Linux and PKRemote for Windows programs.


After you connect the camera to your PC with the USB cable, you can control the camera from pkTriggerCord. You can read status information, you can change several settings, and you can take pictures. The pictures are stored in the camera's buffer and can be downloaded to the PC. Pictures are not written on the SD card of the camera.

Commandline interface


      --model=CAMERA_MODEL              valid values are: K20d, K10d, GX10, GX20, K-X, K200D, K-7, K-r, K-5, K-2000, K-m, K-30, K100D, K110D, K-01, K-500
      --device=DEVICE                   valid values for Linux: sg0, sg1, ..., for Windows: C, D, E, ...
      --timeout=SECONDS                 timeout for camera connection ( 0 means forever )
  -w, --warnings                        warning mode on
      --nowarnings                      warning mode off
  -m, --exposure_mode=MODE		valid values are GREEN, P, SV, TV, AV, TAV, M and X
      --exposure_compensation=VALUE     exposure compensation value
      --drive_mode=DRIVE_MODE           valid values are: Single, Continuous-HI, SelfTimer-12, SelfTimer-2, Remote, Remote-3, Continuous-LO
  -i, --iso=ISO                         single value (400) or interval (200-800)
      --color_space=COLOR_SPACE         valid values are: sRGB, AdobeRGB
      --af_mode=AF_MODE                 valid values are: AF.S, AF.C, AF.A
      --select_af_point=AF_SELECT_MODE  valid values are: Auto-5, Auto-11, Spot, Select
      --ae_metering=AE_METERING         valid values are: Multi, Center, Spot
      --flash_mode=FLASH_MODE           valid values are: Manual, Manual-RedEye, Slow, Slow-RedEye, TrailingCurtain, Auto, Auto-RedEye, Wireless
      --flash_exposure_compensation=VAL flash exposure compensation value
  -a, --aperture=APERTURE
  -t, --shutter_speed=SHUTTER SPEED	values can be given in rational form (eg. 1/90)
					or decimal form (eg. 0.8)
  -r, --resolution=RESOLUTION		resolution in megapixels
  -q, --quality=QUALITY			valid values are 1, 2, 3 and 4
      --jpeg_image_tone=IMAGE_TONE      valid values are: Natural, Bright, Portrait, Landscape, Vibrant, Monochrome, Muted, ReversalFilm
      --white_balance_mode=WB_MODE      valid values are: Auto, Daylight, Shade, Cloudy, Fluorescent_D, Fluorescent_N, Fluorescent_W, Fluorescent_L, Tungsten, Flash, Manual, CTE
      --white_balance_adjustment=WB_ADJ valid values like: G5B2, G3A5, B5, A3, G5, M4...
  -f, --auto_focus			autofocus
      --reconnect                       reconnect between shots
      --servermode                      start in server mode and wait for commands
  -g, --green                           green button
  -s, --status			        print status info
      --status_hex			print status hex info
      --dust_removal                    dust removal
  -F, --frames=NUMBER			number of frames
  -d, --delay=SECONDS			delay between the frames (seconds)
      --file_format=FORMAT		valid values: PEF, DNG, JPEG
  -o, --output_file=FILE		send output to FILE instead of stdout
      --debug	                        turn on debug messages
  -v, --version				display version information and exit
  -h, --help				display this help and exit
      --pentax_debug_mode={0|1}		enable or disable camera debug mode and exit (DANGEROUS). Valid values are: 0, 1

Detailed description can be found here.

Timelapse video creation tutorial can be found here.


The GUI requires GTK2.

pktriggercord camera settings pktriggercord camera buffers pktriggercord main window pktriggercord status info window

Supported cameras

Limited support

Limited support available for the following cameras:


The following cameras are not yet tested, please contact us if you can help.

Limited support: You can take pictures, change settings using the command line version, but you cannot read the status fields. Limited version of GUI allows taking a picture (only one, you need to save (only PEF) or delete it before taking the next one), but camera settings cannot be read or modified.

A few camera models are Not working correctly. Feel free to send patches.

I cannot test the program for all the cameras. Please inform me if you test the program with any of the cameras above.



Please note: This software is crosscompiled under Linux for Windows. If you want to compile it, you need Linux.


You can also download previous releases from here.

Binary - External

You can find PkTriggerCord in a few Linux repositories:

Use it at your own risk

If you need more info, please go to the project page or check the Pentax SCSI protocol documentation