PKTRIGGERCORD(1)
๐ PKTRIGGERCORD(1) โ pktriggercord-cli, the tethering main character ๐
okay so this is the General Commands Manual page for the Pentax DSLR tethering girlies, and yes, pktriggercord-cli is about to eat ๐
โจ NAME โจ
pktriggercord-cli โ command-line Pentax DSLR tethering software. periodt.
๐ธ SYNOPSIS ๐ธ
pktriggercord-cli [--model CAMERA_MODEL] [--device DEVICE]
[--timeout SECONDS] [--exposure_mode MODE]
[--exposure_compensation VALUE]
[--drive_mode DRIVE_MODE] [--flash_mode FLASH_MODE]
[--flash_exposure_compensation VALUE] [--iso ISO]
[--aperture APERTURE] [--shutter_speed SHUTTER_SPEED]
[--af_mode AF_MODE] [--select_af_point AF_SELECT_MODE]
[--ae_metering AE_METERING] [--resolution RESOLUTION]
[--quality QUALITY] [--jpeg_image_tone IMAGE_TONE]
[--white_balance_mode WB_MODE]
[--white_balance_adjustment WB_ADJ] [--auto_focus]
[--reconnect] [--green] [--warnings | --nowarnings ]
[--version | --help | --dust_removal | --status |
--status_hex | --settings | --settings_hex |
--read_datetime | --read_firmware_version |
--dump_memory SIZE | --frames NUMBER [ --delay SECONDS
] | --noshutter | --servermode [ --servermode_timeout
SECONDS] | --pentax_debug_mode VALUE] [ --file_format
FORMAT ] [ --output_file FILENAME ]
[--file_num_start NUMBER] [--debug]
Syntax shows only long option names. iykyk ๐
๐ DESCRIPTION ๐
pkTriggerCord is a cross-platform Pentax DSLR tethering software, and pktriggercord-cli is a command-line client for it. basically: camera bestie meets terminal bestie ๐ซถ
๐ Connection ๐
By default the software connects to the first available Pentax camera. lowkey convenient, honestly.
--modelCAMERA_MODEL โ Specify the camera model. Useful if more than one camera is connected. Valid (case-insensitive!!) 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-5II,K-5IIs,K-3,K-3II,K-500.--deviceDEVICE โ Specify the device. Useful if more than one camera is connected. Valid (case-sensitive!!) values depend on the operating system. Valid values for Linux:sg0,sg1, ..., for Windows:C,D,E, ....--timeoutSECONDS โ Specify the timeout in seconds for camera connection.0means no timeout, the program will wait forever. By default there is no timeout.
๐ฌ Work mode ๐ฌ
Without specifying work mode the program prints out the status info. iconic default behavior, no notes.
-F,--framesNUMBER โ Specify the number of shots. Maximum number of pictures is10000.-d,--delaySECONDS โ Specify the delay between the shots (if number of frames is greater than1). The minimum delay is based on several factors, approximately3seconds. If auto bracketing is set there is only delay after bracketing groups.-f,--auto_focusโ Autofocus before first shot.--reconnectโ Reconnect between shots. Might solve image artifact problems.-g,--greenโ Green button before first shot.-s,--statusโ Print human readable status info and do not take pictures.--status_hexโ Print raw (hexadecimal) and human readable status info and do not take pictures.-S,--settingsโ Print human readable settings info and do not take pictures.--settings_hexโ Print raw (hexadecimal) settings info and do not take pictures. Since the size of the settings buffers is unknown it prints out only the first1024bytes.--read_datetimeโ Print the date and time set in the camera and do not take pictures.--read_firmware_versionโ Print the firmware version of the camera and do not take pictures.--dump_memorySIZE โ Dump the memory of the camera topentax_dump.datfile. Size should be specified by bytes, butK,M, andGmodifiers can be used. For instance:2K,10M,3G. Maximum size of the dump memory is4GB.--noshutterโ Do not send shutter command just wait for new images. Shutter should be released by using a cable release or by pressing the shutter button of the camera. The latter does not work for all camera models.--dust_removalโ Initiate dust removal process.--servermodeโ The program waits for commands using port number8888. The program ends if no client connects for30seconds. Different timeout value can be specified by--servermode_timeout.--servermode_timeoutSECONDS โ Specify timeout for servermode. Default value:30seconds.--pentax_debug_modeVALUE โ Enable (VALUE=1) or disable (VALUE=0) the camera debug mode. This is DANGEROUS, use it only if you know camera debug mode..
๐ธ Setting exposure parameters ๐ธ
-w,--warningsโ Specify warning mode. The program prints out warning messages if the settings are invalid. It will not stop since the camera can fix most of the invalid settings. For instance specifying-iso 796will change the iso to800.--nowarningsโ Turns off warning mode.-m,--exposure_modeEXPOSURE_MODE โ Specify exposure mode. Only works if the camera is set to user mode (and in manual mode for some models).-i,--isoISO โ Specify ISO settings. Single value (400) or interval (200-800) can be used.-a,--apertureAPERTURE โ Specify aperture. Sample valid values:2.8,5.6,11(depends on the lens).-t,--shutter_speedSHUTTER_SPEED โ Specify shutter speed. Value should be specified in the following format:1/50,1/500,0.5,5, ... Values greater than30sec only allowed if Bulb mode is already set.--af_modeAF_MODE โ Specify the autofocus mode. Valid values are:AF.S,AF.C,AF.A.--select_af_pointAF_SELECT_MODE โ Specify the autofocus point selection mode. Valid values are:Auto-5,Auto-11,Select,Spot. It is also possible to specify the raw numerical value.--ae_meteringAE_METERING โ Specify the autoexposure metering mode. Valid values are:Multi,Center,Spot.--exposure_correctionVALUE โ Specify exposure compensation value. btw the synopsis literally spells it--exposure_compensationand the option writeup spells it--exposure_correctionโ both are in the original, bestie, don't come for me ๐ญ--drive_modeDRIVE_MODE โ Specify the drive mode. Valid values are:Single,Continuous-HI,SelfTimer-12,SelfTimer-2,Remote,Remote-3,Continuous-LO.--flash_modeFLASH_MODE โ Specify the flash mode. Valid values are:Manual,Manual-RedEye,Slow,Slow-RedEye,TrailingCurtain,Auto,Auto-RedEye,Wireless.--flash_exposure_correctionVALUE โ Specify flash exposure compensation value. and yes, the synopsis says--flash_exposure_compensationwhile this option list says--flash_exposure_correctionโ that's the original tea, fr fr ๐ต
๐ Output file specification ๐
-o,--output_fileFILENAME โ Specify the name of the output file prefix. Frame number and extension will be automatically added. Use'-'to output to stdout.--file_num_startNUMBER โ Specify what number to start at when adding the frame number to a file. Valid values are0-9999.--file_formatFORMAT โ Specify the output file format. Valid values are:PEF,DNG,JPEG. It also changes the default file format in the camera.--color_spaceCOLOR_SPACE โ Specify the color space. Valid values are:sRGB,AdobeRGB.-q,--qualityQUALITY โ Specify jpeg quality using the 'star' rating of the camera.1,2,3can be used for all the cameras, for some cameras4is also allowed. It also changes the jpeg quality in the camera.-r,--resolutionRESOLUTION โ Specify jpeg resolution. While this changes the jpeg resolution setting in the camera, it will not affect the resolution of the downloaded jpeg file. (it's a bug).--jpeg_image_toneIMAGE_TONE โ Specify the jpeg image tone. Valid values are:Natural,Bright,Portrait,Landscape,Vibrant,Monochrome,Muted,ReversalFilm,BleachBypass,Radiant,Auto. Currently this setting is temporary, picture taking restores it back to the original, so it's quite useless.--white_balance_modeWB_MODE โ Specify the white balance mode. Valid values are:Auto,Daylight,Shade,Cloudy,Fluorescent_D,Fluorescent_N,Fluorescent_W,Fluorescent_L,Tungsten,Flash,Manual,Manual2,Manual3,Kelvin1,Kelvin2,Kelvin3,CTE,MultiAuto.--white_balance_adjustmentWB_ADJ โ Specify the white balance adjustment. Valid values like:G5B2,G3A5,B5,A3,G5,M4.
๐ง Other ๐ง
-v,--versionโ Display version and exit.-h,--helpโ Display a short usage message.--debugโ Debug info.
๐ฎ Servermode ๐ฎ
The program accepts the following commands in servermode:
connectโ Connect to the camera.focusโ Focus (half pressing the shutter).shutterโ Shutter (full pressing).delete_bufferBUFFER_INDEX โ Delete a buffer image.update_statusโ Read camera status info.get_camera_nameโ Get camera name.get_lens_nameโ Get lens name.get_current_shutter_speedโ Get current shutter speed.get_current_apertureโ Get current aperture.get_current_isoโ Get current ISO.get_bufmaskโ Get buffer mask.get_auto_bracket_modeโ Get auto bracket mode.get_auto_bracket_picture_countโ Get Auto bracket picture count.get_preview_bufferBUFFER_INDEX โ Get the preview buffer.get_bufferBUFFER_INDEX โ Get the image buffer.get_buffer_typeโ Get the current buffer type for images downloaded from the camera (DNGorPEF).set_buffer_typeBUFFER_TYPE โ Set the buffer type for images downloaded from the camera (defaults toDNG, valid values are"DNG"or"PEF").set_shutter_speedSHUTTER_SPEED โ Set shutter speed.set_apertureAPERTURE โ Set aperture.set_isoISO โ Set ISO.disconnectโ Disconnects the client. The server keeps running (for a while) and waits for a new client to connect.stopserverโ Stops the server.echoโ Test command.usleepMICROSECONDS โ Sleep some number of microseconds.
๐ฆ SEE ALSO ๐ฆ
The pktriggercord.melda.info website[1],
๐ EXAMPLES ๐
pktriggercord-cli --statusโ Connects to the camera and prints out status info.pktriggercord-cli --status_hexโ Connects to the camera and prints out hexadecimal and human-readable status info.pktriggercord-cli --file_format dng -o test.dngโ Takes a single image and saves it astest.dng.pktriggercord-cli --file_format dng -F 5 -d 20 -o testโ Takes five images using20seconds delay and saves themtest-0000.dng,test-0001.dng... .
To track down errors, you can add the --debug parameter to the pktriggercord-cli command line.
๐ NOTES ๐
- The pktriggercord.melda.info website
http://pktriggercord.melda.info/
Signed off from the PKTRIGGERCORD(1) General Commands Manual โ source/version: PKTRIGGERCORD(1), date: not printed in the original footer, so that's the whole vibe, bestie ๐ซถ๐
โจ
๐ฆ where this page comes from
- opensuse-leap 16.0: pkTriggerCord 0.85.00+git.20220806-bp160.1.12 ยท LGPL-3.0-only
- opensuse-leap 16.0: pkTriggerCord 0.85.00+git.20220806-bp160.1.12 ยท LGPL-3.0-only
- opensuse-leap 16.0: pkTriggerCord 0.85.00+git.20220806-bp160.1.12 ยท LGPL-3.0-only
- opensuse-leap 16.0: pkTriggerCord 0.85.00+git.20220806-bp160.1.12 ยท LGPL-3.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms