pktriggercord icon indicating copy to clipboard operation
pktriggercord copied to clipboard

Support for K-1?

Open horemachet opened this issue 9 years ago • 90 comments

Hi Folks,

are there any plans to support the new Pentax K-1 already? Do you neet some testing support?

Regards,

Karsten

horemachet avatar Jun 24 '16 14:06 horemachet

Someone was planning to add support but haven't sent me the patch yet.

If you're ready to test it I can try to add support. What operating system do you use?

asalamon74 avatar Jun 26 '16 08:06 asalamon74

Hi,

I would be glad to help. I am using openSuSE Leap 42.1.

Best Regards, Karsten Am 26.06.2016 10:25 schrieb "sala.melda.info" [email protected]:

Someone was planning to add support but haven't sent me the patch yet.

If you're ready to test it I can try to add support. What operating system do you use?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/asalamon74/pktriggercord/issues/10#issuecomment-228590212, or mute the thread https://github.com/notifications/unsubscribe/AAYQVqSIoDi7bC2utabZAwCizzSPWCRVks5qPjeEgaJpZM4I9zRH .

horemachet avatar Jun 26 '16 09:06 horemachet

I've commited limited support for K-1, please clone the latest code and compile it.

The program should recognize the camera. First I suggest to test the following command, please copy the output here:

pktriggercord-cli --status_hex --debug

asalamon74 avatar Jun 29 '16 06:06 asalamon74

Hi, here is the output using the windows version I found here.

Debug messaging is now enabled.
pktriggercord-cli.exe 0.84.00
model (null)
device (null)
[C]     plsr_init()
driveNum:24
        Checking drive:  C
        Checking drive:  D
        Checking drive:  E
        Checking drive:  F RICOHIMG DSC_K-1
        Found camera RICOHIMG DSC_K-1
before connect
[C]     pslr_connect()
[C]             ipslr_status()
[C]                     command(fd=2c, 0, 1, 0)
[C]                     get_result(0x2c)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x2c, size=28)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  00 0
0 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_set_mode(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=2c, 0, 0, 4)
[C]                     get_status(0x2c)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]             ipslr_status()
[C]                     command(fd=2c, 0, 1, 0)
[C]                     get_result(0x2c)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x2c, size=28)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  00 0
0 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_identify()
[C]                     command(fd=2c, 0, 4, 0)
[C]                     get_result(0x2c)
[R]                              => [08 00 00 00]
[C]                     read_result(0x2c, size=8)
[R]                              => [92 30 01 00  32 02 00 00]
        id of the camera: 13092

Unknown Pentax camera.

Knubbel avatar Jun 29 '16 10:06 Knubbel

The latest release (0.84.00) does not support K-1, only the development (0.84.01) version. Since it's quite difficult to compile the program for windows I attach a windows test version here.

pktriggercord-0.84.01-win.zip

asalamon74 avatar Jun 29 '16 16:06 asalamon74

Thanks. This is the output:

Debug messaging is now enabled.
pktriggercord-cli.exe 0.84.01
model (null)
device (null)
[C]     plsr_init()
driveNum:24
        Checking drive:  C
        Checking drive:  D
        Checking drive:  E
        Checking drive:  F RICOHIMG DSC_K-1
        Found camera RICOHIMG DSC_K-1
before connect
[C]     pslr_connect()
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [01 00 00 00  00 00 00 00  00 01 00 01  00 00 00 00
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_set_mode(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 0, 0, 4)
[C]                     get_status(0x30)
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  00 00 00 00
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_identify()
[C]                     command(fd=30, 0, 4, 0)
[C]                     get_result(0x30)
[R]                              => [08 00 00 00]
[C]                     read_result(0x30, size=8)
[R]                              => [92 30 01 00  32 02 00 00]
        id of the camera: 13092
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 0
[C]                     read_result(0x30, size=452)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (420 bytes more)]
        init bufmask=0x0
[C]             ipslr_cmd_00_09(0x2)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 0
[C]                     read_result(0x30, size=452)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (420 bytes more)]
[C]             ipslr_cmd_10_0a(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 10, a, 4)
[C]                     get_status(0x30)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 0
[C]                     read_result(0x30, size=452)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  03 00 00 00  00 00 00 00  00 00 00 00 ... (420 bytes more)]
[C]     pslr_camera_name()
pktriggercord-cli.exe: K-1 Connected...
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 0
[C]                     read_result(0x30, size=452)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  03 00 00 00  00 00 00 00  00 00 00 00 ... (420 bytes more)]
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 0
[C]                     read_result(0x30, size=452)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  03 00 00 00  00 00 00 00  00 00 00 00 ... (420 bytes more)]
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 0
[C]                     read_result(0x30, size=452)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  03 00 00 00  00 00 00 00  00 00 00 00 ... (420 bytes more)]
[C]     pslr_get_status_buffer()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 0
[C]                     read_result(0x30, size=452)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  03 00 00 00  00 00 00 00  00 00 00 00 ... (420 bytes more)]
0x0000 | 02 00 00 00 00 00 00 00  00 02 00 02 01 00 00 80
0x0010 | 00 00 00 00 03 00 00 00  00 00 00 00 00 00 00 00
0x0020 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0030 | 00 01 00 00 01 00 00 00  40 1f 00 00 1c 00 00 00
0x0040 | 0a 00 00 00 00 00 00 00  0a 00 00 00 00 00 00 00
0x0050 | 0a 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0060 | 00 00 00 00 00 00 00 00  64 00 00 00 64 00 00 00
0x0070 | 00 20 03 00 00 00 00 00  07 00 00 00 07 00 00 00
0x0080 | 00 00 00 00 00 00 00 00  01 00 00 00 01 00 00 00
0x0090 | 00 00 00 00 03 00 00 00  06 00 00 00 04 00 00 00
0x00a0 | 00 00 00 00 01 00 00 00  01 00 00 00 01 00 00 00
0x00b0 | 00 00 00 00 08 00 00 00  00 00 00 00 00 00 00 00
0x00c0 | 01 00 00 00 00 00 00 00  00 40 00 00 00 00 00 00
0x00d0 | 00 00 00 00 00 00 00 00  00 00 00 00 07 00 00 00
0x00e0 | 00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
0x00f0 | 01 00 00 00 01 00 00 00  00 00 00 00 88 13 00 00
0x0100 | 08 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0110 | 01 00 00 00 40 1f 00 00  1c 00 00 00 0a 00 00 00
0x0120 | 00 00 00 00 0a 00 00 00  00 00 00 00 0a 00 00 00
0x0130 | 01 00 00 00 40 1f 00 00  64 00 00 00 00 00 00 00
0x0140 | 00 00 00 00 00 00 00 00  1c 00 00 00 0a 00 00 00
0x0150 | dc 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0160 | 00 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0170 | 40 02 00 00 95 02 00 00  7f 02 00 00 00 00 00 00
0x0180 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0190 | 00 00 00 00 87 00 00 00  00 00 00 00 00 00 00 00
0x01a0 | e9 00 00 00 ac 0d 00 00  64 00 00 00 f6 ff ff ff
0x01b0 | ce ff ff ff 00 00 00 00  00 00 00 00 0f 00 00 00
0x01c0 | 3f 00 00 00

current iso                     : 0
current shutter speed           : 0/0
camera max shutter speed        : 0/0
current aperture                : unknown
lens max aperture               : unknown
lens min aperture               : unknown
set shutter speed               : 0/0
set aperture                    : unknown
fixed iso                       : 0
auto iso                        : 0-0
jpeg quality                    : 0
jpeg resolution                 : 36M
jpeg image tone                 : Natural
jpeg saturation                 : 0
jpeg contrast                   : 0
jpeg sharpness                  : 0
jpeg hue                        : 0
zoom                            : unknown mm
focus                           : 0
color space                     : sRGB
image format                    : JPEG
raw format                      : PEF
light meter flags               : 0
ec                              : unknown
custom ev steps                 : 1/2
custom sensitivity steps        : 0
exposure mode                   : 0 (NONE)
user mode flag                  : 0
ae metering mode                : Multi
af mode                         : MF
af point select                 : Auto-5
selected af point               : 0
focused af point                : 0
drive mode                      : Single
auto bracket mode               : off
auto bracket picture count      : 0
auto bracket ev                 : unknown
shake reduction                 : off
white balance mode              : Auto
white balance adjust            : M7B7
flash mode                      : Manual
flash exposure compensation     : 0.00
manual mode ev                  : 0.00
lens                            : M-42 or No Lens
battery                         : 0.00V 0.00V 0.00V 0.00V


Knubbel avatar Jun 29 '16 16:06 Knubbel

I am on a business trip until Friday and don't have the camera with me. I just set up the test einvironment though. I'll give it a trial on Friday and post the results here.

Best regards,

Karsten

horemachet avatar Jun 29 '16 18:06 horemachet

I've modified the code, I attach the new windows test version. pktriggercord-0.84.01-win.zip

Please execute the same command and also give me the following information:

  • The name of the lens
  • The focal length used

asalamon74 avatar Jul 02 '16 06:07 asalamon74

Hi Folks,

I just gave it a trial. It seems it doesn't recognizes the camera. Camera is set to PTP-Mode. I did a trial with MSC Mode but with no effect.

` ./pktriggercord-cli --status_hex --debug Debug messaging is now enabled. ./pktriggercord-cli 0.84.01 model (null) device (null) [C] plsr_init() driveNum:2 Checking drive: sg0 ATA
WDC WD5000LPVT-2

    Checking drive:  sg1 Optiarc 

DVD RW AD-7700H

    camera not found

diff: 0.000357 sleep 1 sec [C] plsr_init() driveNum:2 Checking drive: sg0 ATA
WDC WD5000LPVT-2

    Checking drive:  sg1 Optiarc 

DVD RW AD-7700H

    camera not found

diff: 1.000800 sleep 1 sec [C] plsr_init() driveNum:2 Checking drive: sg0 ATA
WDC WD5000LPVT-2

    Checking drive:  sg1 Optiarc 

DVD RW AD-7700H

    camera not found

diff: 2.001229 sleep 1 sec ^C

`

horemachet avatar Jul 02 '16 07:07 horemachet

The camera should be set to MSC mode. Can you test it as root?

asalamon74 avatar Jul 02 '16 07:07 asalamon74

That is the output using the new windows version you posted above:

Debug messaging is now enabled.
pktriggercord-cli.exe 0.84.01
model (null)
device (null)
[C]     plsr_init()
driveNum:24
        Checking drive:  C
        Checking drive:  D
        Checking drive:  E
        Checking drive:  F RICOHIMG DSC_K-1
        Found camera RICOHIMG DSC_K-1
before connect
[C]     pslr_connect()
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [01 00 00 00  00 00 00 00  00 01 00 01  00 00 00 00
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_set_mode(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 0, 0, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_identify()
[C]                     command(fd=30, 0, 4, 0)
[C]                     get_result(0x30)
[R]                              => [08 00 00 00]
[C]                     read_result(0x30, size=8)
[R]                              => [92 30 01 00  32 02 00 00]
        id of the camera: 13092
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
0x0000 | 02 00 00 00 00 00 00 00  10 02 00 01 00 00 00 80
0x0010 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0020 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0030 | 00 01 00 00 01 00 00 00  50 00 00 00 1c 00 00 00
0x0040 | 0a 00 00 00 00 00 00 00  0a 00 00 00 00 00 00 00
0x0050 | 0a 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0060 | 00 00 00 00 0c 00 00 00  a0 0f 00 00 64 00 00 00
0x0070 | 00 20 03 00 00 00 00 00  07 00 00 00 07 00 00 00
0x0080 | 00 00 00 00 00 00 00 00  01 00 00 00 01 00 00 00
0x0090 | 00 00 00 00 03 00 00 00  06 00 00 00 04 00 00 00
0x00a0 | 00 00 00 00 01 00 00 00  01 00 00 00 01 00 00 00
0x00b0 | 00 00 00 00 05 00 00 00  00 00 00 00 00 00 00 00
0x00c0 | 02 00 00 00 04 00 00 00  00 40 00 00 00 00 00 00
0x00d0 | 00 00 00 00 00 00 00 00  00 00 00 00 07 00 00 00
0x00e0 | 00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
0x00f0 | 01 00 00 00 01 00 00 00  00 00 00 00 88 13 00 00
0x0100 | 08 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0110 | 01 00 00 00 50 00 00 00  1c 00 00 00 0a 00 00 00
0x0120 | 00 00 00 00 0a 00 00 00  00 00 00 00 0a 00 00 00
0x0130 | 00 00 00 00 00 00 00 00  a0 0f 00 00 00 00 00 00
0x0140 | 00 00 00 00 00 00 00 00  00 00 00 00 0a 00 00 00
0x0150 | 00 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0160 | 50 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0170 | 30 02 00 00 89 02 00 00  73 02 00 00 00 00 00 00
0x0180 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0190 | 00 00 00 00 87 00 00 00  00 00 00 00 00 00 00 00
0x01a0 | e9 00 00 00 ac 0d 00 00  64 00 00 00 f6 ff ff ff
0x01b0 | ce ff ff ff 00 00 00 00  00 00 00 00 0f 00 00 00
0x01c0 | 3f 00 00 00 00 00 00 00
        init bufmask=0x0
[C]             ipslr_cmd_00_09(0x2)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  00 00 00 80
                                     00 00 00 00  03 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[008] last 10h  16 new 00h   0
                buf[00B] last 01h   1 new 02h   2
                buf[014] last 00h   0 new 03h   3
                buf[064] last 0Ch  12 new 00h   0
                buf[130] last 00h   0 new 01h   1
                buf[134] last 00h   0 new 40h  64
                buf[135] last 00h   0 new 1Fh  31
                buf[148] last 00h   0 new 1Ch  28
                buf[150] last 00h   0 new DCh 220
                buf[160] last 50h  80 new 00h   0
                buf[178] last 73h 115 new 72h 114
---------------------------
[C]             ipslr_cmd_10_0a(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 10, a, 4)
[C]                     get_status(0x30)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  00 00 00 80
                                     00 00 00 00  03 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_camera_name()
pktriggercord-cli.exe: K-1 Connected...
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  03 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[00C] last 00h   0 new 01h   1
---------------------------
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  03 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  03 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_get_status_buffer()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  03 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
0x0000 | 02 00 00 00 00 00 00 00  00 02 00 02 01 00 00 80
0x0010 | 00 00 00 00 03 00 00 00  00 00 00 00 00 00 00 00
0x0020 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0030 | 00 01 00 00 01 00 00 00  50 00 00 00 1c 00 00 00
0x0040 | 0a 00 00 00 00 00 00 00  0a 00 00 00 00 00 00 00
0x0050 | 0a 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0060 | 00 00 00 00 00 00 00 00  a0 0f 00 00 64 00 00 00
0x0070 | 00 20 03 00 00 00 00 00  07 00 00 00 07 00 00 00
0x0080 | 00 00 00 00 00 00 00 00  01 00 00 00 01 00 00 00
0x0090 | 00 00 00 00 03 00 00 00  06 00 00 00 04 00 00 00
0x00a0 | 00 00 00 00 01 00 00 00  01 00 00 00 01 00 00 00
0x00b0 | 00 00 00 00 05 00 00 00  00 00 00 00 00 00 00 00
0x00c0 | 02 00 00 00 04 00 00 00  00 40 00 00 00 00 00 00
0x00d0 | 00 00 00 00 00 00 00 00  00 00 00 00 07 00 00 00
0x00e0 | 00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
0x00f0 | 01 00 00 00 01 00 00 00  00 00 00 00 88 13 00 00
0x0100 | 08 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0110 | 01 00 00 00 50 00 00 00  1c 00 00 00 0a 00 00 00
0x0120 | 00 00 00 00 0a 00 00 00  00 00 00 00 0a 00 00 00
0x0130 | 01 00 00 00 40 1f 00 00  a0 0f 00 00 00 00 00 00
0x0140 | 00 00 00 00 00 00 00 00  1c 00 00 00 0a 00 00 00
0x0150 | dc 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0160 | 00 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0170 | 30 02 00 00 89 02 00 00  72 02 00 00 00 00 00 00
0x0180 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0190 | 00 00 00 00 87 00 00 00  00 00 00 00 00 00 00 00
0x01a0 | e9 00 00 00 ac 0d 00 00  64 00 00 00 f6 ff ff ff
0x01b0 | ce ff ff ff 00 00 00 00  00 00 00 00 0f 00 00 00
0x01c0 | 3f 00 00 00 00 00 00 00

current iso                     : 8000
current shutter speed           : 0/1
camera max shutter speed        : 10/1
current aperture                : 2.9
lens max aperture               : 0.0
lens min aperture               : 0.0
set shutter speed               : 1/80
set aperture                    : 2.8
fixed iso                       : 4000
auto iso                        : 100-204800
jpeg quality                    : 2
jpeg resolution                 : 36M
jpeg image tone                 : Natural
jpeg saturation                 : 3
jpeg contrast                   : 4
jpeg sharpness                  : 6
jpeg hue                        : 5000
zoom                            : unknown mm
focus                           : 0
color space                     : sRGB
image format                    : JPEG
raw format                      : DNG
light meter flags               : 0
ec                              : 0.00
custom ev steps                 : 1/3
custom sensitivity steps        : 1
exposure mode                   : 4 (NONE)
user mode flag                  : 0
ae metering mode                : Multi
af mode                         : AF.C
af point select                 : Single
selected af point               : 16384
focused af point                : 0
drive mode                      : Single
auto bracket mode               : off
auto bracket picture count      : 0
auto bracket ev                 : 1.00
shake reduction                 : off
white balance mode              : Auto
white balance adjust            : 0
flash mode                      : Manual
flash exposure compensation     : 0.00
manual mode ev                  : 0.00
lens                            : M-42 or No Lens
battery                         : 5.60V 6.49V 0.00V 0.00V

The lens used is an 35 mm prime lens : DA 35mm F2.8 limited.

The new code has another interesting effect: When I plug the USB cord into the camera it gets manually unusable and shows "PcS" (I guess that stands for "PC Sync") in the top display. That is normal. But after running the command line it is kicked out of this mode immediately and the back display is turned on and PC Sync mode has ended.

Using MSC mode.

Knubbel avatar Jul 02 '16 08:07 Knubbel

@Knubbel Getting better. I attach a new version.

pktriggercord-0.84.01-win.zip

A few important fields still need to be found. Please set the camera to M mode and shutter speed to 1/1000 and execute the same command, after that to the same for 1/2000. The difference should show the place of the shutter speed field.

PcS: Similar thing has been reported for several cameras with a top LCD. My K-x has no such thing so I cannot debug it.

asalamon74 avatar Jul 02 '16 08:07 asalamon74

That is the output at 1/1000 (setting the camera must be done prior to pluging in the USB cable as the camera is inaccesible afterwards in PC-Sync mode).

pktriggercord-cli.exe --status_hex --debug

Debug messaging is now enabled.
pktriggercord-cli.exe 0.84.01
model (null)
device (null)
[C]     plsr_init()
driveNum:24
        Checking drive:  C
        Checking drive:  D
        Checking drive:  E
        Checking drive:  F RICOHIMG DSC_K-1
        Found camera RICOHIMG DSC_K-1
before connect
[C]     pslr_connect()
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [01 00 00 00  00 00 00 00  00 01 00 01  00 00 00 00
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_set_mode(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 0, 0, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_identify()
[C]                     command(fd=30, 0, 4, 0)
[C]                     get_result(0x30)
[R]                              => [08 00 00 00]
[C]                     read_result(0x30, size=8)
[R]                              => [92 30 01 00  32 02 00 00]
        id of the camera: 13092
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
0x0000 | 02 00 00 00 00 00 00 00  10 02 00 01 00 00 00 80
0x0010 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0020 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0030 | 00 01 00 00 01 00 00 00  e8 03 00 00 1c 00 00 00
0x0040 | 0a 00 00 00 00 00 00 00  0a 00 00 00 00 00 00 00
0x0050 | 0a 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0060 | 00 00 00 00 0c 00 00 00  00 19 00 00 64 00 00 00
0x0070 | 00 20 03 00 00 00 00 00  07 00 00 00 07 00 00 00
0x0080 | 00 00 00 00 00 00 00 00  01 00 00 00 01 00 00 00
0x0090 | 00 00 00 00 03 00 00 00  06 00 00 00 04 00 00 00
0x00a0 | 00 00 00 00 01 00 00 00  01 00 00 00 01 00 00 00
0x00b0 | 00 00 00 00 08 00 00 00  00 00 00 00 00 00 00 00
0x00c0 | 01 00 00 00 00 00 00 00  00 40 00 00 00 00 00 00
0x00d0 | 00 00 00 00 00 00 00 00  00 00 00 00 07 00 00 00
0x00e0 | 00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
0x00f0 | 01 00 00 00 01 00 00 00  00 00 00 00 88 13 00 00
0x0100 | 08 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0110 | 01 00 00 00 e8 03 00 00  1c 00 00 00 0a 00 00 00
0x0120 | 00 00 00 00 0a 00 00 00  00 00 00 00 0a 00 00 00
0x0130 | 01 00 00 00 40 1f 00 00  00 19 00 00 00 00 00 00
0x0140 | 80 00 00 00 00 00 00 00  1c 00 00 00 0a 00 00 00
0x0150 | dc 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0160 | fd ff ff ff 0a 00 00 00  00 00 00 00 00 00 00 00
0x0170 | 30 02 00 00 87 02 00 00  71 02 00 00 00 00 00 00
0x0180 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0190 | 00 00 00 00 87 00 00 00  00 00 00 00 00 00 00 00
0x01a0 | e9 00 00 00 ac 0d 00 00  64 00 00 00 f6 ff ff ff
0x01b0 | ce ff ff ff 00 00 00 00  00 00 00 00 0f 00 00 00
0x01c0 | 3f 00 00 00 00 00 00 00
        init bufmask=0x0
[C]             ipslr_cmd_00_09(0x2)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[008] last 10h  16 new 00h   0
                buf[00B] last 01h   1 new 02h   2
                buf[064] last 0Ch  12 new 00h   0
                buf[174] last 87h 135 new 86h 134
---------------------------
[C]             ipslr_cmd_10_0a(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 10, a, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[00C] last 00h   0 new 01h   1
---------------------------
[C]     pslr_camera_name()
pktriggercord-cli.exe: K-1 Connected...
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_get_status_buffer()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
0x0000 | 02 00 00 00 00 00 00 00  00 02 00 02 01 00 00 80
0x0010 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0020 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0030 | 00 01 00 00 01 00 00 00  e8 03 00 00 1c 00 00 00
0x0040 | 0a 00 00 00 00 00 00 00  0a 00 00 00 00 00 00 00
0x0050 | 0a 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0060 | 00 00 00 00 00 00 00 00  00 19 00 00 64 00 00 00
0x0070 | 00 20 03 00 00 00 00 00  07 00 00 00 07 00 00 00
0x0080 | 00 00 00 00 00 00 00 00  01 00 00 00 01 00 00 00
0x0090 | 00 00 00 00 03 00 00 00  06 00 00 00 04 00 00 00
0x00a0 | 00 00 00 00 01 00 00 00  01 00 00 00 01 00 00 00
0x00b0 | 00 00 00 00 08 00 00 00  00 00 00 00 00 00 00 00
0x00c0 | 01 00 00 00 00 00 00 00  00 40 00 00 00 00 00 00
0x00d0 | 00 00 00 00 00 00 00 00  00 00 00 00 07 00 00 00
0x00e0 | 00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
0x00f0 | 01 00 00 00 01 00 00 00  00 00 00 00 88 13 00 00
0x0100 | 08 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0110 | 01 00 00 00 e8 03 00 00  1c 00 00 00 0a 00 00 00
0x0120 | 00 00 00 00 0a 00 00 00  00 00 00 00 0a 00 00 00
0x0130 | 01 00 00 00 40 1f 00 00  00 19 00 00 00 00 00 00
0x0140 | 80 00 00 00 00 00 00 00  1c 00 00 00 0a 00 00 00
0x0150 | dc 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0160 | fd ff ff ff 0a 00 00 00  00 00 00 00 00 00 00 00
0x0170 | 30 02 00 00 86 02 00 00  71 02 00 00 00 00 00 00
0x0180 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0190 | 00 00 00 00 87 00 00 00  00 00 00 00 00 00 00 00
0x01a0 | e9 00 00 00 ac 0d 00 00  64 00 00 00 f6 ff ff ff
0x01b0 | ce ff ff ff 00 00 00 00  00 00 00 00 0f 00 00 00
0x01c0 | 3f 00 00 00 00 00 00 00

current iso                     : 8000
current shutter speed           : 0/1
camera max shutter speed        : 1/8000
current aperture                : 35.7
lens max aperture               : 0.0
lens min aperture               : 0.0
set shutter speed               : 1/1000
set aperture                    : 2.8
fixed iso                       : 6400
auto iso                        : 100-204800
jpeg quality                    : 2
jpeg resolution                 : 36M
jpeg image tone                 : Natural
jpeg saturation                 : 3
jpeg contrast                   : 4
jpeg sharpness                  : 6
jpeg hue                        : 5000
zoom                            : 35.00 mm
focus                           : 0
color space                     : sRGB
image format                    : JPEG
raw format                      : DNG
light meter flags               : 0
ec                              : 0.00
custom ev steps                 : 1/3
custom sensitivity steps        : 1
exposure mode                   : 6 (NONE)
user mode flag                  : 0
ae metering mode                : Multi
af mode                         : AF.S
af point select                 : Auto-5
selected af point               : 16384
focused af point                : 0
drive mode                      : Single
auto bracket mode               : off
auto bracket picture count      : 0
auto bracket ev                 : 1.00
shake reduction                 : off
white balance mode              : Auto
white balance adjust            : 0
flash mode                      : Manual
flash exposure compensation     : 0.00
manual mode ev                  : 0.00
lens                            : smc PENTAX-DA 35mm F2.8 Macro Limited
battery                         : 5.60V 6.46V 0.00V 0.00V

Knubbel avatar Jul 02 '16 09:07 Knubbel

And now again in M mode but with shutter at 1/2000:

Debug messaging is now enabled.
pktriggercord-cli.exe 0.84.01
model (null)
device (null)
[C]     plsr_init()
driveNum:24
        Checking drive:  C
        Checking drive:  D
        Checking drive:  E
        Checking drive:  F RICOHIMG DSC_K-1
        Found camera RICOHIMG DSC_K-1
before connect
[C]     pslr_connect()
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [01 00 00 00  00 00 00 00  00 01 00 01  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_set_mode(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 0, 0, 4)
[C]                     get_status(0x30)
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_identify()
[C]                     command(fd=30, 0, 4, 0)
[C]                     get_result(0x30)
[R]                              => [08 00 00 00]
[C]                     read_result(0x30, size=8)
[R]                              => [92 30 01 00  32 02 00 00]
        id of the camera: 13092
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
0x0000 | 02 00 00 00 00 00 00 00  10 02 00 01 01 00 00 80
0x0010 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0020 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0030 | 00 01 00 00 01 00 00 00  d0 07 00 00 1c 00 00 00
0x0040 | 0a 00 00 00 00 00 00 00  0a 00 00 00 00 00 00 00
0x0050 | 0a 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0060 | 00 00 00 00 0c 00 00 00  00 19 00 00 64 00 00 00
0x0070 | 00 20 03 00 00 00 00 00  07 00 00 00 07 00 00 00
0x0080 | 00 00 00 00 00 00 00 00  01 00 00 00 01 00 00 00
0x0090 | 00 00 00 00 03 00 00 00  06 00 00 00 04 00 00 00
0x00a0 | 00 00 00 00 01 00 00 00  01 00 00 00 01 00 00 00
0x00b0 | 00 00 00 00 08 00 00 00  00 00 00 00 00 00 00 00
0x00c0 | 01 00 00 00 00 00 00 00  00 40 00 00 00 00 00 00
0x00d0 | 00 00 00 00 00 00 00 00  00 00 00 00 07 00 00 00
0x00e0 | 00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
0x00f0 | 01 00 00 00 01 00 00 00  00 00 00 00 88 13 00 00
0x0100 | 08 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0110 | 01 00 00 00 d0 07 00 00  1c 00 00 00 0a 00 00 00
0x0120 | 00 00 00 00 0a 00 00 00  00 00 00 00 0a 00 00 00
0x0130 | 01 00 00 00 40 1f 00 00  00 19 00 00 00 00 00 00
0x0140 | 80 00 00 00 00 00 00 00  1c 00 00 00 0a 00 00 00
0x0150 | dc 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0160 | f6 ff ff ff 0a 00 00 00  00 00 00 00 00 00 00 00
0x0170 | 30 02 00 00 86 02 00 00  71 02 00 00 00 00 00 00
0x0180 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0190 | 00 00 00 00 87 00 00 00  00 00 00 00 00 00 00 00
0x01a0 | e9 00 00 00 ac 0d 00 00  64 00 00 00 f6 ff ff ff
0x01b0 | ce ff ff ff 00 00 00 00  00 00 00 00 0f 00 00 00
0x01c0 | 3f 00 00 00 00 00 00 00
        init bufmask=0x0
[C]             ipslr_cmd_00_09(0x2)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[008] last 10h  16 new 00h   0
                buf[00B] last 01h   1 new 02h   2
                buf[064] last 0Ch  12 new 00h   0
---------------------------
[C]             ipslr_cmd_10_0a(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 10, a, 4)
[C]                     get_status(0x30)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_camera_name()
pktriggercord-cli.exe: K-1 Connected...
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_get_status_buffer()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
0x0000 | 02 00 00 00 00 00 00 00  00 02 00 02 01 00 00 80
0x0010 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0020 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0030 | 00 01 00 00 01 00 00 00  d0 07 00 00 1c 00 00 00
0x0040 | 0a 00 00 00 00 00 00 00  0a 00 00 00 00 00 00 00
0x0050 | 0a 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0060 | 00 00 00 00 00 00 00 00  00 19 00 00 64 00 00 00
0x0070 | 00 20 03 00 00 00 00 00  07 00 00 00 07 00 00 00
0x0080 | 00 00 00 00 00 00 00 00  01 00 00 00 01 00 00 00
0x0090 | 00 00 00 00 03 00 00 00  06 00 00 00 04 00 00 00
0x00a0 | 00 00 00 00 01 00 00 00  01 00 00 00 01 00 00 00
0x00b0 | 00 00 00 00 08 00 00 00  00 00 00 00 00 00 00 00
0x00c0 | 01 00 00 00 00 00 00 00  00 40 00 00 00 00 00 00
0x00d0 | 00 00 00 00 00 00 00 00  00 00 00 00 07 00 00 00
0x00e0 | 00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
0x00f0 | 01 00 00 00 01 00 00 00  00 00 00 00 88 13 00 00
0x0100 | 08 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0110 | 01 00 00 00 d0 07 00 00  1c 00 00 00 0a 00 00 00
0x0120 | 00 00 00 00 0a 00 00 00  00 00 00 00 0a 00 00 00
0x0130 | 01 00 00 00 40 1f 00 00  00 19 00 00 00 00 00 00
0x0140 | 80 00 00 00 00 00 00 00  1c 00 00 00 0a 00 00 00
0x0150 | dc 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0160 | f6 ff ff ff 0a 00 00 00  00 00 00 00 00 00 00 00
0x0170 | 30 02 00 00 86 02 00 00  71 02 00 00 00 00 00 00
0x0180 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0190 | 00 00 00 00 87 00 00 00  00 00 00 00 00 00 00 00
0x01a0 | e9 00 00 00 ac 0d 00 00  64 00 00 00 f6 ff ff ff
0x01b0 | ce ff ff ff 00 00 00 00  00 00 00 00 0f 00 00 00
0x01c0 | 3f 00 00 00 00 00 00 00

current iso                     : 8000
current shutter speed           : 0/1
camera max shutter speed        : 1/8000
current aperture                : 71.4
lens max aperture               : 0.0
lens min aperture               : 0.0
set shutter speed               : 1/2000
set aperture                    : 2.8
fixed iso                       : 6400
auto iso                        : 100-204800
jpeg quality                    : 2
jpeg resolution                 : 36M
jpeg image tone                 : Natural
jpeg saturation                 : 3
jpeg contrast                   : 4
jpeg sharpness                  : 6
jpeg hue                        : 5000
zoom                            : 35.00 mm
focus                           : 0
color space                     : sRGB
image format                    : JPEG
raw format                      : DNG
light meter flags               : 0
ec                              : 0.00
custom ev steps                 : 1/3
custom sensitivity steps        : 1
exposure mode                   : 6 (NONE)
user mode flag                  : 0
ae metering mode                : Multi
af mode                         : AF.S
af point select                 : Auto-5
selected af point               : 16384
focused af point                : 0
drive mode                      : Single
auto bracket mode               : off
auto bracket picture count      : 0
auto bracket ev                 : 1.00
shake reduction                 : off
white balance mode              : Auto
white balance adjust            : 0
flash mode                      : Manual
flash exposure compensation     : 0.00
manual mode ev                  : 0.00
lens                            : smc PENTAX-DA 35mm F2.8 Macro Limited
battery                         : 5.60V 6.46V 0.00V 0.00V

Knubbel avatar Jul 02 '16 09:07 Knubbel

Just as a side comment: I chose the fixed center AF point which pktriggercord reports as 16384. maybe you take a look at how Phil Harvey from exiftool interprets things. He calls it "Fixed Center;0" for the K-1. The numerical values for AF point selected in the exifdata for this shot are "65534;0".

Knubbel avatar Jul 02 '16 09:07 Knubbel

@Knubbel I've fixed a few more things, hopefully most of the important fields will be parser correctly in this version. Plase test it.

pktriggercord-0.84.01-win.zip

I cannot find the value 65534 in the status buffer.

You might test taking a picture using the following command:

./pktriggercord-cli --debug --file_format dng -o test1.dng

asalamon74 avatar Jul 02 '16 10:07 asalamon74

Okay, did it as root and in MSC-Mode. Result is definitely different :-)

./pktriggercord-cli --status_hex --debug
Debug messaging is now enabled.
./pktriggercord-cli 0.84.01 
model (null)
device (null)
[C]     plsr_init()
driveNum:4
        Checking drive:  sg0 ATA     
 WDC WD5000LPVT-2

        Checking drive:  sg1 Optiarc 
 DVD RW AD-7700H 

        Checking drive:  sg2 RICOHIMG
 DSC_K-1         

        Found camera RICOHIMG
 DSC_K-1         

before connect
[C]     pslr_connect()
[C]             ipslr_status()
[C]                     command(fd=3, 0, 1, 0)
[S]                                      >>> [F0 24 00 01  00 00 00 00]
[C]                     get_result(0x3)
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [1C 00 00 00  00 00 01 00]
[R]                              => [1C 00 00 00]
[C]                     read_result(0x3, size=28)
[S]                                      >>> [F0 49 00 00  1C 00 00 00]
[S]                                      <<< [01 00 00 00  00 00 00 00  00 01 00 01  00 00 00 00 
                                              00 00 00 00  00 00 00 00  00 00 00 00]
[R]                              => [01 00 00 00  00 00 00 00  00 01 00 01  00 00 00 00
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_set_mode(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[S]                                      >>> [F0 4F 00 00  04 00 00 00]
[S]                                      >>> [00 00 00 01]
[C]                     command(fd=3, 0, 0, 4)
[S]                                      >>> [F0 24 00 00  04 00 00 00]
[C]                     get_status(0x3)
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 00]
[C]             ipslr_status()
[C]                     command(fd=3, 0, 1, 0)
[S]                                      >>> [F0 24 00 01  00 00 00 00]
[C]                     get_result(0x3)
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [1C 00 00 00  00 00 01 00]
[R]                              => [1C 00 00 00]
[C]                     read_result(0x3, size=28)
[S]                                      >>> [F0 49 00 00  1C 00 00 00]
[S]                                      <<< [02 00 00 00  00 00 00 00  10 02 00 01  00 00 00 00 
                                              00 00 00 00  00 00 00 00  00 00 00 00]
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  00 00 00 00
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_identify()
[C]                     command(fd=3, 0, 4, 0)
[S]                                      >>> [F0 24 00 04  00 00 00 00]
[C]                     get_result(0x3)
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [08 00 00 00  00 00 01 00]
[R]                              => [08 00 00 00]
[C]                     read_result(0x3, size=8)
[S]                                      >>> [F0 49 00 00  08 00 00 00]
[S]                                      <<< [92 30 01 00  32 02 00 00]
[R]                              => [92 30 01 00  32 02 00 00]
        id of the camera: 13092
[C]             ipslr_status_full()
[C]                     command(fd=3, 0, 8, 0)
[S]                                      >>> [F0 24 00 08  00 00 00 00]
[C]                     get_result(0x3)
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [C8 01 00 00  00 00 01 00]
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x3, size=456)
[S]                                      >>> [F0 49 00 00  C8 01 00 00]
[S]                                      <<< [02 00 00 00  00 00 00 00  10 02 00 01  00 00 00 00 
                                              00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00]
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  00 00 00 00
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
0x0000 | 02 00 00 00 00 00 00 00  10 02 00 01 00 00 00 00  
0x0010 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  
0x0020 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  
0x0030 | 00 01 00 00 01 00 00 00  3c 00 00 00 2d 00 00 00  
0x0040 | 0a 00 00 00 00 00 00 00  0a 00 00 00 00 00 00 00  
0x0050 | 0a 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00  
0x0060 | 00 00 00 00 0c 00 00 00  00 00 00 00 64 00 00 00  
0x0070 | 80 0c 00 00 00 00 00 00  07 00 00 00 07 00 00 00  
0x0080 | 00 00 00 00 03 00 00 00  00 00 00 00 01 00 00 00  
0x0090 | 0c 00 00 00 04 00 00 00  04 00 00 00 04 00 00 00  
0x00a0 | 01 00 00 00 01 00 00 00  01 00 00 00 00 00 00 00  
0x00b0 | 00 00 00 00 02 00 00 00  03 00 00 00 00 00 00 00  
0x00c0 | 02 00 00 00 01 00 00 00  00 40 00 00 00 00 00 00  
0x00d0 | 00 00 00 00 00 00 00 00  00 00 00 00 01 00 00 00  
0x00e0 | 00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00  
0x00f0 | 01 00 00 00 01 00 00 00  00 00 00 00 88 13 00 00  
0x0100 | 04 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  
0x0110 | 01 00 00 00 64 00 00 00  2d 00 00 00 0a 00 00 00  
0x0120 | 00 00 00 00 0a 00 00 00  00 00 00 00 0a 00 00 00  
0x0130 | 01 00 00 00 40 1f 00 00  80 0c 00 00 03 00 00 00  
0x0140 | 00 00 00 00 0c 00 00 00  1c 00 00 00 0a 00 00 00  
0x0150 | 40 01 00 00 0a 00 00 00  00 00 00 00 00 00 00 00  
0x0160 | 00 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00  
0x0170 | 55 03 00 00 ea 02 00 00  c0 02 00 00 db 02 00 00  
0x0180 | 86 02 00 00 00 00 00 00  00 00 00 00 00 00 00 00  
0x0190 | 00 00 00 00 85 00 00 00  00 00 00 00 00 00 00 00  
0x01a0 | 09 00 00 00 10 27 00 00  64 00 00 00 f6 ff ff ff  
0x01b0 | dd ff ff ff 00 00 00 00  00 00 00 00 0f 00 00 00  
0x01c0 | 3f 00 00 00 00 00 00 00  
        init bufmask=0x0
[C]             ipslr_cmd_00_09(0x2)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[S]                                      >>> [F0 4F 00 00  04 00 00 00]
[S]                                      >>> [02 00 00 00]
[C]                     command(fd=3, 0, 9, 4)
[S]                                      >>> [F0 24 00 09  04 00 00 00]
[C]                     get_status(0x3)
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 01]
[R]                              => ERROR: 0x01
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 00]
[C]             ipslr_status_full()
[C]                     command(fd=3, 0, 8, 0)
[S]                                      >>> [F0 24 00 08  00 00 00 00]
[C]                     get_result(0x3)
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [C8 01 00 00  00 00 01 00]
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x3, size=456)
[S]                                      >>> [F0 49 00 00  C8 01 00 00]
[S]                                      <<< [02 00 00 00  00 00 00 00  10 02 00 02  00 00 00 80 
                                              00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00]
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 02  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[00B] last 01h   1 new 02h   2
                buf[00F] last 00h   0 new 80h 128
                buf[174] last EAh 234 new E9h 233
                buf[178] last C0h 192 new BCh 188
                buf[17C] last DBh 219 new F0h 240
                buf[180] last 86h 134 new 9Bh 155
---------------------------
[C]             ipslr_cmd_10_0a(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[S]                                      >>> [F0 4F 00 00  04 00 00 00]
[S]                                      >>> [01 00 00 00]
[C]                     command(fd=3, 10, a, 4)
[S]                                      >>> [F0 24 10 0A  04 00 00 00]
[C]                     get_status(0x3)
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [00 00 00 00  00 00 00 00]
[C]             ipslr_status_full()
[C]                     command(fd=3, 0, 8, 0)
[S]                                      >>> [F0 24 00 08  00 00 00 00]
[C]                     get_result(0x3)
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [C8 01 00 00  00 00 01 00]
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x3, size=456)
[S]                                      >>> [F0 49 00 00  C8 01 00 00]
[S]                                      <<< [02 00 00 00  00 00 00 00  10 02 00 02  00 00 00 80 
                                              00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00]
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 02  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_camera_name()
./pktriggercord-cli: K-1 Connected...
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=3, 0, 8, 0)
[S]                                      >>> [F0 24 00 08  00 00 00 00]
[C]                     get_result(0x3)
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [C8 01 00 00  00 00 01 00]
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x3, size=456)
[S]                                      >>> [F0 49 00 00  C8 01 00 00]
[S]                                      <<< [02 00 00 00  00 00 00 00  10 02 00 02  01 00 00 80 
                                              00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00]
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[00C] last 00h   0 new 01h   1
---------------------------
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=3, 0, 8, 0)
[S]                                      >>> [F0 24 00 08  00 00 00 00]
[C]                     get_result(0x3)
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [C8 01 00 00  00 00 01 00]
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x3, size=456)
[S]                                      >>> [F0 49 00 00  C8 01 00 00]
[S]                                      <<< [02 00 00 00  00 00 00 00  10 02 00 02  01 00 00 80 
                                              00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00]
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=3, 0, 8, 0)
[S]                                      >>> [F0 24 00 08  00 00 00 00]
[C]                     get_result(0x3)
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [C8 01 00 00  00 00 01 00]
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x3, size=456)
[S]                                      >>> [F0 49 00 00  C8 01 00 00]
[S]                                      <<< [02 00 00 00  00 00 00 00  10 02 00 02  01 00 00 80 
                                              00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00]
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_get_status_buffer()
[C]             ipslr_status_full()
[C]                     command(fd=3, 0, 8, 0)
[S]                                      >>> [F0 24 00 08  00 00 00 00]
[C]                     get_result(0x3)
[S]                                      >>> [F0 26 00 00  00 00 00 00]
[S]                                      <<< [C8 01 00 00  00 00 01 00]
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x3, size=456)
[S]                                      >>> [F0 49 00 00  C8 01 00 00]
[S]                                      <<< [02 00 00 00  00 00 00 00  10 02 00 02  01 00 00 80 
                                              00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00]
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
0x0000 | 02 00 00 00 00 00 00 00  10 02 00 02 01 00 00 80  
0x0010 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  
0x0020 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  
0x0030 | 00 01 00 00 01 00 00 00  3c 00 00 00 2d 00 00 00  
0x0040 | 0a 00 00 00 00 00 00 00  0a 00 00 00 00 00 00 00  
0x0050 | 0a 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00  
0x0060 | 00 00 00 00 0c 00 00 00  00 00 00 00 64 00 00 00  
0x0070 | 80 0c 00 00 00 00 00 00  07 00 00 00 07 00 00 00  
0x0080 | 00 00 00 00 03 00 00 00  00 00 00 00 01 00 00 00  
0x0090 | 0c 00 00 00 04 00 00 00  04 00 00 00 04 00 00 00  
0x00a0 | 01 00 00 00 01 00 00 00  01 00 00 00 00 00 00 00  
0x00b0 | 00 00 00 00 02 00 00 00  03 00 00 00 00 00 00 00  
0x00c0 | 02 00 00 00 01 00 00 00  00 40 00 00 00 00 00 00  
0x00d0 | 00 00 00 00 00 00 00 00  00 00 00 00 01 00 00 00  
0x00e0 | 00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00  
0x00f0 | 01 00 00 00 01 00 00 00  00 00 00 00 88 13 00 00  
0x0100 | 04 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  
0x0110 | 01 00 00 00 64 00 00 00  2d 00 00 00 0a 00 00 00  
0x0120 | 00 00 00 00 0a 00 00 00  00 00 00 00 0a 00 00 00  
0x0130 | 01 00 00 00 40 1f 00 00  80 0c 00 00 03 00 00 00  
0x0140 | 00 00 00 00 0c 00 00 00  1c 00 00 00 0a 00 00 00  
0x0150 | 40 01 00 00 0a 00 00 00  00 00 00 00 00 00 00 00  
0x0160 | 00 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00  
0x0170 | 55 03 00 00 e9 02 00 00  bc 02 00 00 f0 02 00 00  
0x0180 | 9b 02 00 00 00 00 00 00  00 00 00 00 00 00 00 00  
0x0190 | 00 00 00 00 85 00 00 00  00 00 00 00 00 00 00 00  
0x01a0 | 09 00 00 00 10 27 00 00  64 00 00 00 f6 ff ff ff  
0x01b0 | dd ff ff ff 00 00 00 00  00 00 00 00 0f 00 00 00  
0x01c0 | 3f 00 00 00 00 00 00 00  

current iso                     : 8000
current shutter speed           : 0/1
camera max shutter speed        : 10/1
current aperture                : 2.2
lens max aperture               : 0.0
lens min aperture               : 0.4
set shutter speed               : 1/60
set aperture                    : 4.5
fixed iso                       : 0
auto iso                        : 100-3200
jpeg quality                    : 3
jpeg resolution                 : 2M
jpeg image tone                 : Auto-5
jpeg saturation                 : 4
jpeg contrast                   : 4
jpeg sharpness                  : 4
jpeg hue                        : 5000
zoom                            : unknown mm
focus                           : 0
color space                     : AdobeRGB
image format                    : JPEG
raw format                      : DNG
light meter flags               : 3
ec                              : 0.00
custom ev steps                 : 1/3
custom sensitivity steps        : 1
exposure mode                   : 0 (MTF)
user mode flag                  : 0
ae metering mode                : Multi
af mode                         : AF.C
af point select                 : Select
selected af point               : 16384
focused af point                : 0
drive mode                      : Single
auto bracket mode               : off
auto bracket picture count      : 0
auto bracket ev                 : 1.00
shake reduction                 : off
white balance mode              : Auto
white balance adjust            : 0
flash mode                      : Manual
flash exposure compensation     : 0.00
manual mode ev                  : 0.00
lens                            : M-42 or No Lens
battery                         : 8.53V 7.45V 6.67V 0.00V

horemachet avatar Jul 02 '16 10:07 horemachet

Here is my result using the latest windows exe posted above:

Debug messaging is now enabled.
pktriggercord-cli.exe 0.84.01
model (null)
device (null)
[C]     plsr_init()
driveNum:24
        Checking drive:  C
        Checking drive:  D
        Checking drive:  E
        Checking drive:  F RICOHIMG DSC_K-1
        Found camera RICOHIMG DSC_K-1
before connect
[C]     pslr_connect()
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [01 00 00 00  00 00 00 00  00 01 00 01  00 00 00 00
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_set_mode(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 0, 0, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_identify()
[C]                     command(fd=30, 0, 4, 0)
[C]                     get_result(0x30)
[R]                              => [08 00 00 00]
[C]                     read_result(0x30, size=8)
[R]                              => [92 30 01 00  32 02 00 00]
        id of the camera: 13092
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
0x0000 | 02 00 00 00 00 00 00 00  10 02 00 01 00 00 00 80
0x0010 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0020 | 00 00 00 00 02 00 00 00  00 00 00 00 00 00 00 00
0x0030 | 00 01 00 00 01 00 00 00  e8 03 00 00 28 00 00 00
0x0040 | 0a 00 00 00 00 00 00 00  0a 00 00 00 00 00 00 00
0x0050 | 0d 00 00 00 0a 00 00 00  00 00 00 00 01 00 00 00
0x0060 | 00 00 00 00 0c 00 00 00  00 00 00 00 64 00 00 00
0x0070 | 00 20 03 00 00 00 00 00  07 00 00 00 07 00 00 00
0x0080 | 01 00 00 00 02 00 00 00  02 00 00 00 01 00 00 00
0x0090 | 03 00 00 00 04 00 00 00  06 00 00 00 05 00 00 00
0x00a0 | 00 00 00 00 01 00 00 00  01 00 00 00 01 00 00 00
0x00b0 | 00 00 00 00 0d 00 00 00  00 00 00 00 00 00 00 00
0x00c0 | 02 00 00 00 02 00 00 00  00 00 08 00 00 00 00 00
0x00d0 | 00 00 00 00 00 00 00 00  01 00 00 00 07 00 00 00
0x00e0 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x00f0 | 01 00 00 00 01 00 00 00  00 00 00 00 88 13 00 00
0x0100 | 04 00 00 00 01 00 00 00  01 00 00 00 00 00 00 00
0x0110 | 01 00 00 00 e8 03 00 00  28 00 00 00 0a 00 00 00
0x0120 | 00 00 00 00 0a 00 00 00  00 00 00 00 0a 00 00 00
0x0130 | 00 00 00 00 00 00 00 00  80 38 01 00 00 00 00 00
0x0140 | 00 00 00 00 00 00 00 00  00 00 00 00 0a 00 00 00
0x0150 | 00 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0160 | 50 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0170 | 50 02 00 00 d7 02 00 00  bf 02 00 00 00 00 00 00
0x0180 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0190 | 00 00 00 00 87 00 00 00  00 00 00 00 00 00 00 00
0x01a0 | e9 00 00 00 ac 0d 00 00  64 00 00 00 f6 ff ff ff
0x01b0 | ce ff ff ff 00 00 00 00  00 00 00 00 0f 00 00 00
0x01c0 | 3f 00 00 00 00 00 00 00
        init bufmask=0x0
[C]             ipslr_cmd_00_09(0x2)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[008] last 10h  16 new 00h   0
                buf[00B] last 01h   1 new 02h   2
                buf[064] last 0Ch  12 new 00h   0
                buf[130] last 00h   0 new 01h   1
                buf[134] last 00h   0 new 40h  64
                buf[135] last 00h   0 new 1Fh  31
                buf[144] last 00h   0 new 09h   9
                buf[148] last 00h   0 new 1Ch  28
                buf[150] last 00h   0 new DCh 220
                buf[160] last 50h  80 new 00h   0
                buf[178] last BFh 191 new BEh 190
---------------------------
[C]             ipslr_cmd_10_0a(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 10, a, 4)
[C]                     get_status(0x30)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  00 00 00 80
                                     00 00 00 00  03 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[014] last 00h   0 new 03h   3
---------------------------
[C]     pslr_camera_name()
pktriggercord-cli.exe: K-1 Connected...
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  00 00 00 80
                                     00 00 00 00  03 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  03 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[00C] last 00h   0 new 01h   1
---------------------------
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  03 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_get_status_buffer()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  03 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
0x0000 | 02 00 00 00 00 00 00 00  00 02 00 02 01 00 00 80
0x0010 | 00 00 00 00 03 00 00 00  00 00 00 00 00 00 00 00
0x0020 | 00 00 00 00 02 00 00 00  00 00 00 00 00 00 00 00
0x0030 | 00 01 00 00 01 00 00 00  e8 03 00 00 28 00 00 00
0x0040 | 0a 00 00 00 00 00 00 00  0a 00 00 00 00 00 00 00
0x0050 | 0d 00 00 00 0a 00 00 00  00 00 00 00 01 00 00 00
0x0060 | 00 00 00 00 00 00 00 00  00 00 00 00 64 00 00 00
0x0070 | 00 20 03 00 00 00 00 00  07 00 00 00 07 00 00 00
0x0080 | 01 00 00 00 02 00 00 00  02 00 00 00 01 00 00 00
0x0090 | 03 00 00 00 04 00 00 00  06 00 00 00 05 00 00 00
0x00a0 | 00 00 00 00 01 00 00 00  01 00 00 00 01 00 00 00
0x00b0 | 00 00 00 00 0d 00 00 00  00 00 00 00 00 00 00 00
0x00c0 | 02 00 00 00 02 00 00 00  00 00 08 00 00 00 00 00
0x00d0 | 00 00 00 00 00 00 00 00  01 00 00 00 07 00 00 00
0x00e0 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x00f0 | 01 00 00 00 01 00 00 00  00 00 00 00 88 13 00 00
0x0100 | 04 00 00 00 01 00 00 00  01 00 00 00 00 00 00 00
0x0110 | 01 00 00 00 e8 03 00 00  28 00 00 00 0a 00 00 00
0x0120 | 00 00 00 00 0a 00 00 00  00 00 00 00 0a 00 00 00
0x0130 | 01 00 00 00 40 1f 00 00  80 38 01 00 00 00 00 00
0x0140 | 00 00 00 00 09 00 00 00  1c 00 00 00 0a 00 00 00
0x0150 | dc 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0160 | 00 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0170 | 50 02 00 00 d7 02 00 00  be 02 00 00 00 00 00 00
0x0180 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0190 | 00 00 00 00 87 00 00 00  00 00 00 00 00 00 00 00
0x01a0 | e9 00 00 00 ac 0d 00 00  64 00 00 00 f6 ff ff ff
0x01b0 | ce ff ff ff 00 00 00 00  00 00 00 00 0f 00 00 00
0x01c0 | 3f 00 00 00 00 00 00 00

current iso                     : 80000
current shutter speed           : 1/1000
camera max shutter speed        : 1/8000
current aperture                : 4.0
lens max aperture               : 22.0
lens min aperture               : 2.8
set shutter speed               : 1/1000
set aperture                    : 4.0
fixed iso                       : 0
auto iso                        : 100-204800
jpeg quality                    : 1
jpeg resolution                 : 12M
jpeg image tone                 : Landscape
jpeg saturation                 : 4
jpeg contrast                   : 5
jpeg sharpness                  : 6
jpeg hue                        : 4
zoom                            : 35.00 mm
focus                           : 0
color space                     : sRGB
image format                    : RAW
raw format                      : DNG
light meter flags               : 0
ec                              : 0.00
custom ev steps                 : 1/3
custom sensitivity steps        : 1
exposure mode                   : 5 (NONE)
user mode flag                  : 2
ae metering mode                : Multi
af mode                         : AF.C
af point select                 : Spot
selected af point               : 524288
focused af point                : 0
drive mode                      : Continuous-HI
auto bracket mode               : off
auto bracket picture count      : 0
auto bracket ev                 : 1.30
shake reduction                 : off
white balance mode              : Auto
white balance adjust            : 0
flash mode                      : Manual
flash exposure compensation     : 0.00
manual mode ev                  : 0.00
lens                            : smc PENTAX-DA 35mm F2.8 Macro Limited
battery                         : 5.92V 7.27V 0.00V 0.00V

Knubbel avatar Jul 02 '16 16:07 Knubbel

Then I tried taking an picture using the command

pktriggercord-cli --debug --file_format dng -o test1.dng

It actually did trigger the shutter, but the output in the command line window soon starts rushing by neverendingly. Below is the beginning of it, later it seems to just repeat a couple of lines.

Debug messaging is now enabled.
pktriggercord-cli.exe 0.84.01
model (null)
device (null)
[C]     plsr_init()
driveNum:24
        Checking drive:  C
        Checking drive:  D
        Checking drive:  E
        Checking drive:  F RICOHIMG DSC_K-1
        Found camera RICOHIMG DSC_K-1
before connect
[C]     pslr_connect()
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00]
[C]             ipslr_set_mode(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 0, 0, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_identify()
[C]                     command(fd=30, 0, 4, 0)
[C]                     get_result(0x30)
[R]                              => [08 00 00 00]
[C]                     read_result(0x30, size=8)
[R]                              => [92 30 01 00  32 02 00 00]
        id of the camera: 13092
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
0x0000 | 02 00 00 00 00 00 00 00  10 02 00 01 01 00 00 80
0x0010 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0020 | 00 00 00 00 02 00 00 00  00 00 00 00 00 00 00 00
0x0030 | 00 01 00 00 01 00 00 00  e8 03 00 00 28 00 00 00
0x0040 | 0a 00 00 00 00 00 00 00  0a 00 00 00 00 00 00 00
0x0050 | 0d 00 00 00 0a 00 00 00  00 00 00 00 01 00 00 00
0x0060 | 00 00 00 00 0c 00 00 00  00 00 00 00 64 00 00 00
0x0070 | 00 20 03 00 00 00 00 00  07 00 00 00 07 00 00 00
0x0080 | 01 00 00 00 02 00 00 00  02 00 00 00 01 00 00 00
0x0090 | 03 00 00 00 04 00 00 00  06 00 00 00 05 00 00 00
0x00a0 | 00 00 00 00 01 00 00 00  01 00 00 00 01 00 00 00
0x00b0 | 00 00 00 00 0d 00 00 00  00 00 00 00 00 00 00 00
0x00c0 | 02 00 00 00 02 00 00 00  00 00 08 00 00 00 00 00
0x00d0 | 00 00 00 00 00 00 00 00  01 00 00 00 07 00 00 00
0x00e0 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x00f0 | 01 00 00 00 01 00 00 00  00 00 00 00 88 13 00 00
0x0100 | 04 00 00 00 01 00 00 00  01 00 00 00 00 00 00 00
0x0110 | 01 00 00 00 e8 03 00 00  28 00 00 00 0a 00 00 00
0x0120 | 00 00 00 00 0a 00 00 00  00 00 00 00 0a 00 00 00
0x0130 | 01 00 00 00 40 1f 00 00  80 38 01 00 00 00 00 00
0x0140 | 00 00 00 00 09 00 00 00  1c 00 00 00 0a 00 00 00
0x0150 | dc 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0160 | 00 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0170 | 50 02 00 00 d0 02 00 00  b9 02 00 00 00 00 00 00
0x0180 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0190 | 00 00 00 00 87 00 00 00  00 00 00 00 00 00 00 00
0x01a0 | e9 00 00 00 ac 0d 00 00  64 00 00 00 f6 ff ff ff
0x01b0 | ce ff ff ff 00 00 00 00  00 00 00 00 0f 00 00 00
0x01c0 | 3f 00 00 00 00 00 00 00
        init bufmask=0x0
[C]             ipslr_cmd_00_09(0x2)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[008] last 10h  16 new 00h   0
                buf[00B] last 01h   1 new 02h   2
                buf[064] last 0Ch  12 new 00h   0
---------------------------
[C]             ipslr_cmd_10_0a(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 10, a, 4)
[C]                     get_status(0x30)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_camera_name()
pktriggercord-cli.exe: K-1 Connected...
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_set_image_format(1)
[C]             ipslr_handle_command_x18(0x12, 2)
[C]             ipslr_cmd_00_09(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1, 0x1})
[C]                     command(fd=30, 18, 12, 8)
[C]                     get_status(0x30)
[C]             ipslr_cmd_00_09(0x2)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]     pslr_set_raw_format(1)
[C]             ipslr_handle_command_x18(0x1f, 2)
[C]             ipslr_cmd_00_09(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1, 0x1})
[C]                     command(fd=30, 18, 1f, 8)
[C]                     get_status(0x30)
[C]             ipslr_cmd_00_09(0x2)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
cont: 1
not bulb
[C]     pslr_shutter()
[C]             ipslr_press_shutter(fullpress = true)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                before: mask=0x0
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 10, 5, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
                shutter result code: 0x0
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[008] last 00h   0 new 04h   4
                buf[014] last 00h   0 new 02h   2
                buf[064] last 00h   0 new 09h   9
                buf[178] last B9h 185 new B8h 184
---------------------------
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[008] last 04h   4 new 00h   0
                buf[064] last 09h   9 new 00h   0
---------------------------
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2
[C]     pslr_buffer_open(#0, type=1, res=2)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 2

Knubbel avatar Jul 02 '16 16:07 Knubbel

@Knubbel Hmm. Bufmask looks empty.

I suggest to change the camera to bracketing mode (3 pictures, +- 1EV) and check the status reading after that. If the program does not recognize bracketing mode I'll try to fix it.

If the camera recognizes bracketing mode try to take 3 pictures ( --frames 3 ). If it takes 3 pictures and downloads all the pictures after that. If i really takes 3 pictures then the download is buggy. If it takes only 1 picture the exposure is buggy.

asalamon74 avatar Jul 05 '16 12:07 asalamon74

I set the camera to Av mode and to 3 image bracketing. This here is what I get for pktriggercord-cli.exe --status_hex --debug

Debug messaging is now enabled.
pktriggercord-cli.exe 0.84.01
model (null)
device (null)
[C]     plsr_init()
driveNum:24
        Checking drive:  C
        Checking drive:  D
        Checking drive:  E
        Checking drive:  F Generic  STORAGE DEVICE
        Checking drive:  G Generic  STORAGE DEVICE
        Checking drive:  H Generic  STORAGE DEVICE
        Checking drive:  I RICOHIMG DSC_K-1
        Found camera RICOHIMG DSC_K-1
before connect
[C]     pslr_connect()
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [01 00 00 00  00 00 00 00  00 01 00 01  00 00 00 00
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_set_mode(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 0, 0, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_identify()
[C]                     command(fd=30, 0, 4, 0)
[C]                     get_result(0x30)
[R]                              => [08 00 00 00]
[C]                     read_result(0x30, size=8)
[R]                              => [92 30 01 00  32 02 00 00]
        id of the camera: 13092
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
0x0000 | 02 00 00 00 00 00 00 00  10 02 00 01 00 00 00 80
0x0010 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0020 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0030 | 00 01 00 00 01 00 00 00  d0 07 00 00 1c 00 00 00
0x0040 | 0a 00 00 00 00 00 00 00  0a 00 00 00 01 00 00 00
0x0050 | 0a 00 00 00 0a 00 00 00  03 00 00 00 00 00 00 00
0x0060 | 00 00 00 00 0c 00 00 00  00 00 00 00 64 00 00 00
0x0070 | 00 20 03 00 00 00 00 00  07 00 00 00 07 00 00 00
0x0080 | 01 00 00 00 00 00 00 00  01 00 00 00 01 00 00 00
0x0090 | 00 00 00 00 03 00 00 00  06 00 00 00 04 00 00 00
0x00a0 | 00 00 00 00 01 00 00 00  01 00 00 00 01 00 00 00
0x00b0 | 00 00 00 00 05 00 00 00  00 00 00 00 00 00 00 00
0x00c0 | 02 00 00 00 01 00 00 00  00 40 00 00 00 00 00 00
0x00d0 | 00 00 00 00 00 00 00 00  00 00 00 00 07 00 00 00
0x00e0 | 00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
0x00f0 | 01 00 00 00 01 00 00 00  00 00 00 00 88 13 00 00
0x0100 | 08 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0110 | 01 00 00 00 7d 00 00 00  1c 00 00 00 0a 00 00 00
0x0120 | 00 00 00 00 0a 00 00 00  f6 ff ff ff 0a 00 00 00
0x0130 | 01 00 00 00 40 1f 00 00  64 00 00 00 00 00 00 00
0x0140 | 80 00 00 00 00 00 00 00  1c 00 00 00 0a 00 00 00
0x0150 | dc 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0160 | 00 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0170 | 50 02 00 00 b4 02 00 00  9d 02 00 00 00 00 00 00
0x0180 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0190 | 00 00 00 00 87 00 00 00  00 00 00 00 00 00 00 00
0x01a0 | e9 00 00 00 ac 0d 00 00  64 00 00 00 3c 00 00 00
0x01b0 | ce ff ff ff 00 00 00 00  00 00 00 00 0f 00 00 00
0x01c0 | 3f 00 00 00 00 00 00 00
        init bufmask=0x0
[C]             ipslr_cmd_00_09(0x2)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[008] last 10h  16 new 00h   0
                buf[00B] last 01h   1 new 02h   2
                buf[064] last 0Ch  12 new 00h   0
---------------------------
[C]             ipslr_cmd_10_0a(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 10, a, 4)
[C]                     get_status(0x30)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_camera_name()
pktriggercord-cli.exe: K-1 Connected...
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[00C] last 00h   0 new 01h   1
---------------------------
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_get_status_buffer()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
0x0000 | 02 00 00 00 00 00 00 00  00 02 00 02 01 00 00 80
0x0010 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0020 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0030 | 00 01 00 00 01 00 00 00  d0 07 00 00 1c 00 00 00
0x0040 | 0a 00 00 00 00 00 00 00  0a 00 00 00 01 00 00 00
0x0050 | 0a 00 00 00 0a 00 00 00  03 00 00 00 00 00 00 00
0x0060 | 00 00 00 00 00 00 00 00  00 00 00 00 64 00 00 00
0x0070 | 00 20 03 00 00 00 00 00  07 00 00 00 07 00 00 00
0x0080 | 01 00 00 00 00 00 00 00  01 00 00 00 01 00 00 00
0x0090 | 00 00 00 00 03 00 00 00  06 00 00 00 04 00 00 00
0x00a0 | 00 00 00 00 01 00 00 00  01 00 00 00 01 00 00 00
0x00b0 | 00 00 00 00 05 00 00 00  00 00 00 00 00 00 00 00
0x00c0 | 02 00 00 00 01 00 00 00  00 40 00 00 00 00 00 00
0x00d0 | 00 00 00 00 00 00 00 00  00 00 00 00 07 00 00 00
0x00e0 | 00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
0x00f0 | 01 00 00 00 01 00 00 00  00 00 00 00 88 13 00 00
0x0100 | 08 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0110 | 01 00 00 00 7d 00 00 00  1c 00 00 00 0a 00 00 00
0x0120 | 00 00 00 00 0a 00 00 00  f6 ff ff ff 0a 00 00 00
0x0130 | 01 00 00 00 40 1f 00 00  64 00 00 00 00 00 00 00
0x0140 | 80 00 00 00 00 00 00 00  1c 00 00 00 0a 00 00 00
0x0150 | dc 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0160 | 00 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0170 | 50 02 00 00 b4 02 00 00  9d 02 00 00 00 00 00 00
0x0180 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0190 | 00 00 00 00 87 00 00 00  00 00 00 00 00 00 00 00
0x01a0 | e9 00 00 00 ac 0d 00 00  64 00 00 00 3c 00 00 00
0x01b0 | ce ff ff ff 00 00 00 00  00 00 00 00 0f 00 00 00
0x01c0 | 3f 00 00 00 00 00 00 00

current iso                     : 100
current shutter speed           : 1/125
camera max shutter speed        : 1/8000
current aperture                : 2.8
lens max aperture               : 22.0
lens min aperture               : 2.8
set shutter speed               : 1/2000
set aperture                    : 2.8
fixed iso                       : 0
auto iso                        : 100-204800
jpeg quality                    : 2
jpeg resolution                 : 36M
jpeg image tone                 : Natural
jpeg saturation                 : 3
jpeg contrast                   : 4
jpeg sharpness                  : 6
jpeg hue                        : 8
zoom                            : 35.00 mm
focus                           : 0
color space                     : sRGB
image format                    : RAW
raw format                      : DNG
light meter flags               : 128
ec                              : 0.00
custom ev steps                 : 1/3
custom sensitivity steps        : 1
exposure mode                   : 4 (NONE)
user mode flag                  : 0
ae metering mode                : Multi
af mode                         : AF.C
af point select                 : Select
selected af point               : 16384
focused af point                : 0
drive mode                      : Single
auto bracket mode               : on
auto bracket picture count      : 3
auto bracket ev                 : 1.00
shake reduction                 : off
white balance mode              : Auto
white balance adjust            : 0
flash mode                      : Manual
flash exposure compensation     : 0.00
manual mode ev                  : 0.00
lens                            : smc PENTAX-DA 35mm F2.8 Macro Limited
battery                         : 5.92V 6.92V 0.00V 0.00V

Knubbel avatar Jul 08 '16 18:07 Knubbel

Then I triggered it using the same command I used last time. It did some flickjering three times and then fired three times. None of the images were saved to sd card. After firing three times the neverending output in the commandline window started again.


pktriggercord-cli.exe --debug --file_format dng -o test2.dng

Debug messaging is now enabled.
pktriggercord-cli.exe 0.84.01
model (null)
device (null)
[C]     plsr_init()
driveNum:24
        Checking drive:  C
        Checking drive:  D
        Checking drive:  E
        Checking drive:  F Generic  STORAGE DEVICE
        Checking drive:  G Generic  STORAGE DEVICE
        Checking drive:  H Generic  STORAGE DEVICE
        Checking drive:  I RICOHIMG DSC_K-1
        Found camera RICOHIMG DSC_K-1
before connect
[C]     pslr_connect()
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [01 00 00 00  00 00 00 00  00 01 00 01  00 00 00 00
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_set_mode(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 0, 0, 4)
[C]                     get_status(0x30)
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  00 00 00 00
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_identify()
[C]                     command(fd=30, 0, 4, 0)
[C]                     get_result(0x30)
[R]                              => [08 00 00 00]
[C]                     read_result(0x30, size=8)
[R]                              => [92 30 01 00  32 02 00 00]
        id of the camera: 13092
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  00 00 00 00
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
0x0000 | 02 00 00 00 00 00 00 00  10 02 00 01 00 00 00 00
0x0010 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0020 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0030 | 00 01 00 00 01 00 00 00  d0 07 00 00 0e 00 00 00
0x0040 | 0a 00 00 00 00 00 00 00  0a 00 00 00 01 00 00 00
0x0050 | 0a 00 00 00 0a 00 00 00  03 00 00 00 00 00 00 00
0x0060 | 00 00 00 00 0c 00 00 00  00 00 00 00 64 00 00 00
0x0070 | 00 20 03 00 00 00 00 00  07 00 00 00 07 00 00 00
0x0080 | 01 00 00 00 00 00 00 00  01 00 00 00 01 00 00 00
0x0090 | 00 00 00 00 03 00 00 00  06 00 00 00 04 00 00 00
0x00a0 | 00 00 00 00 01 00 00 00  01 00 00 00 01 00 00 00
0x00b0 | 00 00 00 00 05 00 00 00  00 00 00 00 00 00 00 00
0x00c0 | 02 00 00 00 01 00 00 00  00 40 00 00 00 00 00 00
0x00d0 | 00 00 00 00 00 00 00 00  00 00 00 00 07 00 00 00
0x00e0 | 00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
0x00f0 | 01 00 00 00 01 00 00 00  00 00 00 00 88 13 00 00
0x0100 | 08 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0110 | 01 00 00 00 d0 07 00 00  0e 00 00 00 0a 00 00 00
0x0120 | 00 00 00 00 0a 00 00 00  00 00 00 00 0a 00 00 00
0x0130 | 00 00 00 00 00 00 00 00  00 19 00 00 00 00 00 00
0x0140 | 00 00 00 00 00 00 00 00  00 00 00 00 0a 00 00 00
0x0150 | 00 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0160 | 50 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0170 | 50 02 00 00 b1 02 00 00  9b 02 00 00 00 00 00 00
0x0180 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0190 | 00 00 00 00 87 00 00 00  00 00 00 00 00 00 00 00
0x01a0 | e9 00 00 00 ac 0d 00 00  64 00 00 00 3c 00 00 00
0x01b0 | ce ff ff ff 00 00 00 00  00 00 00 00 0f 00 00 00
0x01c0 | 3f 00 00 00 00 00 00 00
        init bufmask=0x0
[C]             ipslr_cmd_00_09(0x2)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[008] last 10h  16 new 00h   0
                buf[00B] last 01h   1 new 02h   2
                buf[00F] last 00h   0 new 80h 128
                buf[03C] last 0Eh  14 new 1Ch  28
                buf[064] last 0Ch  12 new 00h   0
                buf[118] last 0Eh  14 new 1Ch  28
                buf[130] last 00h   0 new 01h   1
                buf[134] last 00h   0 new 40h  64
                buf[135] last 00h   0 new 1Fh  31
                buf[148] last 00h   0 new 1Ch  28
                buf[150] last 00h   0 new DCh 220
                buf[160] last 50h  80 new 00h   0
                buf[178] last 9Bh 155 new 9Ah 154
---------------------------
[C]             ipslr_cmd_10_0a(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 10, a, 4)
[C]                     get_status(0x30)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  00 00 00 80
                                     00 00 00 00  03 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[014] last 00h   0 new 03h   3
---------------------------
[C]     pslr_camera_name()
pktriggercord-cli.exe: K-1 Connected...
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  03 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[00C] last 00h   0 new 01h   1
---------------------------
[C]     pslr_set_image_format(1)
[C]             ipslr_handle_command_x18(0x12, 2)
[C]             ipslr_cmd_00_09(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1, 0x1})
[C]                     command(fd=30, 18, 12, 8)
[C]                     get_status(0x30)
[C]             ipslr_cmd_00_09(0x2)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]     pslr_set_raw_format(1)
[C]             ipslr_handle_command_x18(0x1f, 2)
[C]             ipslr_cmd_00_09(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1, 0x1})
[C]                     command(fd=30, 18, 1f, 8)
[C]                     get_status(0x30)
[C]             ipslr_cmd_00_09(0x2)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[014] last 03h   3 new 00h   0
---------------------------
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
cont: 0
not bulb
[C]     pslr_shutter()
[C]             ipslr_press_shutter(fullpress = true)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                before: mask=0x0
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 10, 5, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
                shutter result code: 0x0
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[008] last 00h   0 new 14h  20
                buf[014] last 00h   0 new 02h   2
                buf[064] last 00h   0 new 0Dh  13
                buf[0E8] last 00h   0 new 01h   1
                buf[174] last B1h 177 new AFh 175
                buf[178] last 9Ah 154 new 98h 152
---------------------------
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[066] last 00h   0 new A0h 160
---------------------------
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[0E8] last 01h   1 new 02h   2
---------------------------
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[0E8] last 02h   2 new 00h   0
---------------------------
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[066] last A0h 160 new 00h   0
---------------------------
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[008] last 14h  20 new 04h   4
                buf[064] last 0Dh  13 new 09h   9
---------------------------
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[008] last 04h   4 new 00h   0
                buf[064] last 09h   9 new 00h   0
---------------------------
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)

Knubbel avatar Jul 08 '16 18:07 Knubbel

@Knubbel Sorry for the slow response. The program correctly recognizes the bracketing mode. Could you please add --frames 3 to the last command? Without that the camera only takes one picture even if the bracketing mode is set.

pktriggercord-cli.exe --debug --file_format dng --frames 3 -o test2.dng

asalamon74 avatar Jul 14 '16 13:07 asalamon74

Hi. The camara did shoot 3 images even last time. Now I used your command and it shot 3 times 3 shots, 9 in total. But to be clear here: I already set the camera to 3 shot bracketing mode before pluggin in the USB cable. So that could be the cause.

It is worth mentioning that not a single of the 9 shots is saved on my HDD, it just creates a single zero Byte file named "test3.dng-0000.dng"

And again I had to cancel the command line window as it continued neverendingly.

Here is the output:

pktriggercord-cli.exe --debug --file_format dng --frames 3 -o test3.dng
Debug messaging is now enabled.
pktriggercord-cli.exe 0.84.01
model (null)
device (null)
[C]     plsr_init()
driveNum:24
        Checking drive:  C
        Checking drive:  D
        Checking drive:  E
        Checking drive:  F Generic  STORAGE DEVICE
        Checking drive:  G Generic  STORAGE DEVICE
        Checking drive:  H Generic  STORAGE DEVICE
        Checking drive:  I RICOHIMG DSC_K-1
        Found camera RICOHIMG DSC_K-1
before connect
[C]     pslr_connect()
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [01 00 00 00  00 00 00 00  00 01 00 01  00 00 00 00
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_set_mode(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 0, 0, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_identify()
[C]                     command(fd=30, 0, 4, 0)
[C]                     get_result(0x30)
[R]                              => [08 00 00 00]
[C]                     read_result(0x30, size=8)
[R]                              => [92 30 01 00  32 02 00 00]
        id of the camera: 13092
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
0x0000 | 02 00 00 00 00 00 00 00  10 02 00 01 00 00 00 80
0x0010 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0020 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0030 | 00 01 00 00 01 00 00 00  20 03 00 00 2d 00 00 00
0x0040 | 0a 00 00 00 00 00 00 00  0a 00 00 00 01 00 00 00
0x0050 | 0a 00 00 00 0a 00 00 00  03 00 00 00 00 00 00 00
0x0060 | 00 00 00 00 0c 00 00 00  00 00 00 00 64 00 00 00
0x0070 | 00 20 03 00 00 00 00 00  07 00 00 00 07 00 00 00
0x0080 | 00 00 00 00 00 00 00 00  01 00 00 00 01 00 00 00
0x0090 | 00 00 00 00 03 00 00 00  06 00 00 00 04 00 00 00
0x00a0 | 00 00 00 00 01 00 00 00  01 00 00 00 01 00 00 00
0x00b0 | 00 00 00 00 05 00 00 00  00 00 00 00 00 00 00 00
0x00c0 | 01 00 00 00 01 00 00 00  00 40 00 00 00 00 00 00
0x00d0 | 00 00 00 00 00 00 00 00  00 00 00 00 07 00 00 00
0x00e0 | 00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
0x00f0 | 01 00 00 00 01 00 00 00  00 00 00 00 88 13 00 00
0x0100 | 08 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0110 | 01 00 00 00 50 00 00 00  2d 00 00 00 0a 00 00 00
0x0120 | 00 00 00 00 0a 00 00 00  f6 ff ff ff 0a 00 00 00
0x0130 | 01 00 00 00 40 1f 00 00  c8 00 00 00 00 00 00 00
0x0140 | 80 00 00 00 00 00 00 00  2d 00 00 00 0a 00 00 00
0x0150 | dc 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0160 | 00 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0170 | 40 02 00 00 98 02 00 00  81 02 00 00 00 00 00 00
0x0180 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0190 | 00 00 00 00 a8 00 00 00  00 00 00 00 00 00 00 00
0x01a0 | 3b 00 00 00 98 3a 00 00  64 00 00 00 5a 00 00 00
0x01b0 | 14 00 00 00 00 00 00 00  00 00 00 00 0f 00 00 00
0x01c0 | 3f 00 00 00 00 00 00 00
        init bufmask=0x0
[C]             ipslr_cmd_00_09(0x2)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[008] last 10h  16 new 00h   0
                buf[00B] last 01h   1 new 02h   2
                buf[064] last 0Ch  12 new 00h   0
---------------------------
[C]             ipslr_cmd_10_0a(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 10, a, 4)
[C]                     get_status(0x30)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  00 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_camera_name()
pktriggercord-cli.exe: K-1 Connected...
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[00C] last 00h   0 new 01h   1
---------------------------
[C]     pslr_set_image_format(1)
[C]             ipslr_handle_command_x18(0x12, 2)
[C]             ipslr_cmd_00_09(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1, 0x1})
[C]                     command(fd=30, 18, 12, 8)
[C]                     get_status(0x30)
[C]             ipslr_cmd_00_09(0x2)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]     pslr_set_raw_format(1)
[C]             ipslr_handle_command_x18(0x1f, 2)
[C]             ipslr_cmd_00_09(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1, 0x1})
[C]                     command(fd=30, 18, 1f, 8)
[C]                     get_status(0x30)
[C]             ipslr_cmd_00_09(0x2)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[080] last 00h   0 new 01h   1
---------------------------
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
cont: 0
Taking picture 1/3
not bulb
[C]     pslr_shutter()
[C]             ipslr_press_shutter(fullpress = true)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                before: mask=0x0
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 10, 5, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
                shutter result code: 0x0
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[008] last 00h   0 new 14h  20
                buf[014] last 00h   0 new 02h   2
                buf[064] last 00h   0 new 0Dh  13
                buf[0E8] last 00h   0 new 01h   1
                buf[174] last 98h 152 new 94h 148
                buf[178] last 81h 129 new 7Eh 126
---------------------------
Taking picture 2/3
not bulb
[C]     pslr_shutter()
[C]             ipslr_press_shutter(fullpress = true)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                before: mask=0x0
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 10, 5, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
                shutter result code: 0x0
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[008] last 14h  20 new 04h   4
                buf[064] last 0Dh  13 new 09h   9
                buf[178] last 7Eh 126 new 7Fh 127
---------------------------
Taking picture 3/3
not bulb
[C]     pslr_shutter()
[C]             ipslr_press_shutter(fullpress = true)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                before: mask=0x0
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 10, 5, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
                shutter result code: 0x0
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[066] last 00h   0 new A0h 160
---------------------------
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[008] last 04h   4 new 14h  20
                buf[064] last 09h   9 new 0Dh  13
---------------------------
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[0E8] last 01h   1 new 02h   2
---------------------------
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[0E8] last 02h   2 new 00h   0
---------------------------
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[066] last A0h 160 new 00h   0
---------------------------
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[064] last 0Dh  13 new 0Ch  12
---------------------------
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  14 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  04 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[008] last 14h  20 new 04h   4
                buf[064] last 0Ch  12 new 00h   0
---------------------------
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[008] last 04h   4 new 00h   0
---------------------------
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  00 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
        p->status.bufmask = 0
        No buffer data (0)
get buffer 0 type 1 res 0
[C]     pslr_buffer_open(#0, type=1, res=0)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)

Knubbel avatar Jul 17 '16 11:07 Knubbel

Hi,

I did do the test on Linux. I left the camera settings to default. Means no bracketing settings configured on the camera.

At the beginning the display is off.

Giving ./pktriggercord-cli --debug --file_format dng --frames 3 -o test2.dng

the display flashes three times. With the third flash it does one shot. One file with size 0 is stored to the disk: test2.dng-0000.dng

I did do the test with and without mounting the sdcards. Makes no difference.

Hope this helps

Karsten

horemachet avatar Jul 17 '16 12:07 horemachet

@Knubbel It seems to me Pentax K-1 handles bracketing a different way. On my K-x (after I set bracketing mode) I have to send 3 shutter command to take the three pictures. That's why I suggested --frames 3. K-1 tries to take all the 3 pictures after the first command.

Unfortunately I cannot find the bufmask (the field that shows the status of the camera buffers). And downloading the first buffer saves nothing (it opens the file and waits forever).

My guess: After the shutter command the camera does not save the image into the buffer. I don't know the reason. Maybe someone later will solve it and send a patch.

asalamon74 avatar Jul 19 '16 18:07 asalamon74

@horemachet Well at least it shows that it works the same for Linux and Windows, so it's not an OS-specific issue.

asalamon74 avatar Jul 19 '16 18:07 asalamon74

Any news on this?

horemachet avatar Sep 06 '16 18:09 horemachet

@horemachet No

asalamon74 avatar Sep 08 '16 07:09 asalamon74

Hi, I just did a retry using the latest windows build. Generally all seems to be working with the big exception of data transfer. The images are saved neither on card nor HDD. Consequently no preview image is shown in pktriggercord. I do wonder if tehre is something about the USB connection type. PKTriggercord only recognizes the camera in MSC mode. Pentax own Image Transmitter software requires the camera to be in PTP mode.

Here is the output anyway.

pktriggercord-cli.exe 0.84.02
model (null)
device (null)
[C]     plsr_init()
driveNum:24
        Checking drive:  C
        Checking drive:  D
        Checking drive:  E
        Checking drive:  F
        Checking drive:  G RICOHIMG DSC_K-1
        Found camera RICOHIMG DSC_K-1
before connect
[C]     pslr_connect()
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 02  01 00 00 80
                                     00 00 00 00  02 00 00 00  00 00 00 00]
[C]             ipslr_set_mode(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 0, 0, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]             ipslr_status()
[C]                     command(fd=30, 0, 1, 0)
[C]                     get_result(0x30)
[R]                              => [1C 00 00 00]
[C]                     read_result(0x30, size=28)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00]
[C]             ipslr_identify()
[C]                     command(fd=30, 0, 4, 0)
[C]                     get_result(0x30)
[R]                              => [08 00 00 00]
[C]                     read_result(0x30, size=8)
[R]                              => [92 30 01 00  32 02 00 00]
        id of the camera: 13092
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 01  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
0x0000 | 02 00 00 00 00 00 00 00  10 02 00 01 01 00 00 80
0x0010 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0020 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0030 | 00 01 00 00 01 00 00 00  0a 00 00 00 50 00 00 00
0x0040 | 0a 00 00 00 00 00 00 00  0a 00 00 00 00 00 00 00
0x0050 | 0a 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0060 | 00 00 00 00 0c 00 00 00  64 00 00 00 64 00 00 00
0x0070 | 00 20 03 00 00 00 00 00  07 00 00 00 07 00 00 00
0x0080 | 00 00 00 00 00 00 00 00  02 00 00 00 01 00 00 00
0x0090 | 00 00 00 00 05 00 00 00  06 00 00 00 05 00 00 00
0x00a0 | 00 00 00 00 01 00 00 00  01 00 00 00 01 00 00 00
0x00b0 | 00 00 00 00 05 00 00 00  00 00 00 00 00 00 00 00
0x00c0 | 01 00 00 00 01 00 00 00  00 40 00 00 00 00 00 00
0x00d0 | 00 00 00 00 00 00 00 00  00 00 00 00 07 00 00 00
0x00e0 | 00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
0x00f0 | 01 00 00 00 01 00 00 00  00 00 00 00 88 13 00 00
0x0100 | 07 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0110 | 01 00 00 00 0a 00 00 00  50 00 00 00 0a 00 00 00
0x0120 | 00 00 00 00 0a 00 00 00  00 00 00 00 0a 00 00 00
0x0130 | 01 00 00 00 40 1f 00 00  64 00 00 00 00 00 00 00
0x0140 | 10 00 00 00 18 00 00 00  1c 00 00 00 0a 00 00 00
0x0150 | dc 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0160 | 00 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0170 | 43 03 00 00 99 02 00 00  83 02 00 00 57 02 00 00
0x0180 | 14 02 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0190 | 00 00 00 00 87 00 00 00  00 00 00 00 00 00 00 00
0x01a0 | e9 00 00 00 ac 0d 00 00  64 00 00 00 f6 ff ff ff
0x01b0 | ce ff ff ff 00 00 00 00  00 00 00 00 0f 00 00 00
0x01c0 | 3f 00 00 00 00 00 00 00
        init bufmask=0x0
[C]             ipslr_cmd_00_09(0x2)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x2})
[C]                     command(fd=30, 0, 9, 4)
[C]                     get_status(0x30)
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[R]                              => ERROR: 0x01
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
                buf[00B] last 01h   1 new 02h   2
---------------------------
[C]             ipslr_cmd_10_0a(0x1)
[C]                     _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C]                     command(fd=30, 10, a, 4)
[C]                     get_status(0x30)
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_camera_name()
pktriggercord-cli.exe: K-1 Connected...
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_get_status()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
[C]     pslr_get_status_buffer()
[C]             ipslr_status_full()
[C]                     command(fd=30, 0, 8, 0)
[C]                     get_result(0x30)
[R]                              => [C8 01 00 00]
        read 456 bytes
        expected_bufsize: 456
[C]                     read_result(0x30, size=456)
[R]                              => [02 00 00 00  00 00 00 00  10 02 00 02  01 00 00 80
                                     00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00 ... (424 bytes more)]
0x0000 | 02 00 00 00 00 00 00 00  10 02 00 02 01 00 00 80
0x0010 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0020 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0030 | 00 01 00 00 01 00 00 00  0a 00 00 00 50 00 00 00
0x0040 | 0a 00 00 00 00 00 00 00  0a 00 00 00 00 00 00 00
0x0050 | 0a 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0060 | 00 00 00 00 0c 00 00 00  64 00 00 00 64 00 00 00
0x0070 | 00 20 03 00 00 00 00 00  07 00 00 00 07 00 00 00
0x0080 | 00 00 00 00 00 00 00 00  02 00 00 00 01 00 00 00
0x0090 | 00 00 00 00 05 00 00 00  06 00 00 00 05 00 00 00
0x00a0 | 00 00 00 00 01 00 00 00  01 00 00 00 01 00 00 00
0x00b0 | 00 00 00 00 05 00 00 00  00 00 00 00 00 00 00 00
0x00c0 | 01 00 00 00 01 00 00 00  00 40 00 00 00 00 00 00
0x00d0 | 00 00 00 00 00 00 00 00  00 00 00 00 07 00 00 00
0x00e0 | 00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
0x00f0 | 01 00 00 00 01 00 00 00  00 00 00 00 88 13 00 00
0x0100 | 07 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0110 | 01 00 00 00 0a 00 00 00  50 00 00 00 0a 00 00 00
0x0120 | 00 00 00 00 0a 00 00 00  00 00 00 00 0a 00 00 00
0x0130 | 01 00 00 00 40 1f 00 00  64 00 00 00 00 00 00 00
0x0140 | 10 00 00 00 18 00 00 00  1c 00 00 00 0a 00 00 00
0x0150 | dc 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0160 | 00 00 00 00 0a 00 00 00  00 00 00 00 00 00 00 00
0x0170 | 43 03 00 00 99 02 00 00  83 02 00 00 57 02 00 00
0x0180 | 14 02 00 00 00 00 00 00  00 00 00 00 00 00 00 00
0x0190 | 00 00 00 00 87 00 00 00  00 00 00 00 00 00 00 00
0x01a0 | e9 00 00 00 ac 0d 00 00  64 00 00 00 f6 ff ff ff
0x01b0 | ce ff ff ff 00 00 00 00  00 00 00 00 0f 00 00 00
0x01c0 | 3f 00 00 00 00 00 00 00

current iso                     : 100
current shutter speed           : 1/10
camera max shutter speed        : 1/8000
current aperture                : 8.0
lens max aperture               : 22.0
lens min aperture               : 2.8
set shutter speed               : 1/10
set aperture                    : 8.0
fixed iso                       : 100
auto iso                        : 100-204800
jpeg quality                    : 1
jpeg resolution                 : 36M
jpeg image tone                 : Natural
jpeg saturation                 : 5
jpeg contrast                   : 5
jpeg sharpness                  : 6
jpeg hue                        : 7
zoom                            : 35.00 mm
focus                           : 0
color space                     : sRGB
image format                    : JPEG
raw format                      : DNG
light meter flags               : 16
ec                              : 0.00
custom ev steps                 : 1/3
custom sensitivity steps        : 1
exposure mode                   : 4 (NONE)
user mode flag                  : 0
ae metering mode                : Multi
af mode                         : AF.S
af point select                 : Select
selected af point               : 16384
focused af point                : 0
drive mode                      : Single
auto bracket mode               : off
auto bracket picture count      : 0
auto bracket ev                 : 1.00
shake reduction                 : off
white balance mode              : Auto
white balance adjust            : 0
flash mode                      : Manual
flash exposure compensation     : 0.00
manual mode ev                  : 0.00
lens                            : smc PENTAX-DA 35mm F2.8 Macro Limited
battery                         : 8.35V 6.65V 5.32V 0.00V

Knubbel avatar Dec 23 '16 10:12 Knubbel