asalamon74 / pktriggercord

Remote control for Pentax DSLR cameras
http://pktriggercord.melda.info
GNU Lesser General Public License v3.0
103 stars 38 forks source link

Support for 645Z ? #54

Open AlvinFrey opened 4 years ago

AlvinFrey commented 4 years ago

Hi everyone !

Is there any testing versions that can work with the Pentax 645Z ?

Here is the output that I get when running pktriggercord cli in debug mode :

image

If that's no the case is there any documentation in order to add my own camera model ?

Best regards, Alvin

asalamon74 commented 4 years ago

There is no documentation for adding a new camera model.

The first step is to add a single line to the models list like this commit: https://github.com/asalamon74/pktriggercord/commit/4cb385c4c718fd80cb95e1737225de59892b1bea

According to the log you're using Windows. If you're ready to test it, I can create a test version for you.

asalamon74 commented 4 years ago

I created a test version for 645Z:

pktriggercord-0.85.01-win.zip

It should recognize the camera and read the status info. It will not parse the info, first I need same sample. Can you please send the output of the following command:

pktriggercord-cli --statux_hex --debug
AlvinFrey commented 4 years ago

Thanks for all ! Sorry for the last answer !

I'm going to test this tomorrow and I will come back with those datas.

AlvinFrey commented 4 years ago

Here is the output of the command :

image

asalamon74 commented 4 years ago

So the good news is that it recognised the camera and was able to ask for the status buffer. The buffer size is 452 bytes which is the same for several other models.

The bad news is that almost all the bytes are 00 in the status buffer, so we cannot really parse any information.

  1. Some models like if you first turn on the camera and connect to the PC after that. Other models like the other way around. You might find both ways, maybe one will give us a better status buffer.

  2. Even without parsing the buffer it might be possible to use the command line interface to take photos:

pktriggercord-cli -o test.dng --file_format=dng --debug