Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please solve all the K-01 Issues. #24

Open
tlkw79 opened this issue Apr 27, 2017 · 9 comments
Open

Please solve all the K-01 Issues. #24

tlkw79 opened this issue Apr 27, 2017 · 9 comments

Comments

@tlkw79
Copy link

tlkw79 commented Apr 27, 2017

Hi,

Please solve all the issues in K-01.

Regards,
Tom

@asalamon74
Copy link
Owner

That's quite difficult, because I don't have a K-01. You can help by listing the issues here.

@jakeson21
Copy link

If you kindly send me a K-01, I'll solve all the worlds problems.

@tlkw79
Copy link
Author

tlkw79 commented Apr 24, 2018

Hi,

One of the bugs K-01 has, when in B mode no matter how many seconds we set for the long exposure, it always return in short exposure.

Now I know why it happens. Under the custom functions page 1 No.7, there is a selection named Bulb(B) Mode Options. There are 2 modes in there for us to choose.

  1. Mode 1 - Press and hold shutter release button for exposure.Releasing button stops exposure.
  2. Mode 2 - Press shutter release button to start exposure. Press again to stop exposure.

If I choose Mode 1, I will get short exposure right away. Meaning shutter open and close in short.
What if I choose Mode 2, the shutter will open for long and can't ever close to end exposure. I believe no command to ask the camera to close shutter.

Hope this help.

Regards,
Tom

@asalamon74
Copy link
Owner

@kamayok3

I've fixed similar bugs for newer camera models, hopefully the same solution also works for K-01.

First, I need the output of the following command twice. Once in the Mode1 you described, once in the mode2.

pktriggercord-cli --settings_hex --debug

@tlkw79
Copy link
Author

tlkw79 commented Apr 25, 2018

Hi,

Below are the result that you need.

This is with Mode 1:

C:\Users\Tommy Lim KW\Desktop\pktriggercord-0.84.04-win>pktriggercord-cli --settings_hex --debug
Debug messaging is now enabled.
pktriggercord-cli 0.84.04
model (null)
device (null)
[C] plsr_init()
driveNum:24
Checking drive: C
Checking drive: D PENTAX DSC_K-01
Found camera PENTAX DSC_K-01
before connect
[C] pslr_connect()
[C] ipslr_status()
[C] command(fd=44, 0, 1, 0)
[C] get_result(0x44)
[R] => [1C 00 00 00]
[C] read_result(0x44, size=28)
[R] => [00 00 00 01 00 00 00 00 01 00 01 00 80 00 00 01
00 00 00 00 00 00 00 00 00 00 00 26]
[C] ipslr_set_mode(0x1)
[C] _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C] command(fd=44, 0, 0, 4)
[C] get_status(0x44)
[R] => ERROR: 0x00
[C] ipslr_status()
[C] command(fd=44, 0, 1, 0)
[C] get_result(0x44)
[R] => [1C 00 00 00]
[C] read_result(0x44, size=28)
[R] => [00 00 00 02 00 00 00 00 01 00 02 10 80 00 00 01
00 00 00 00 00 00 00 00 00 00 00 26]
[C] ipslr_identify()
[C] command(fd=44, 0, 4, 0)
[C] get_result(0x44)
[R] => [08 00 00 00]
[C] read_result(0x44, size=8)
[R] => [00 01 2E F8 00 00 02 0B]
id of the camera: 12ef8
[C] ipslr_status_full()
[C] command(fd=44, 0, 8, 0)
[C] get_result(0x44)
[R] => [C4 01 00 00]
read 452 bytes
expected_bufsize: 452
[C] read_result(0x44, size=452)
[R] => [00 00 00 02 00 00 00 00 01 00 02 10 80 00 00 01
00 00 00 00 00 00 00 00 00 00 00 26 00 00 00 00 ... (420 bytes more)]
0x0000 | 00 00 00 02 00 00 00 00 01 00 02 10 80 00 00 01
0x0010 | 00 00 00 00 00 00 00 00 00 00 00 26 00 00 00 00
0x0020 | 00 00 00 0f 00 00 00 00 00 00 00 00 00 00 00 00
0x0030 | 00 00 01 00 00 00 00 1e 00 00 00 01 00 00 00 00
0x0040 | 00 00 00 0a 00 00 00 00 00 00 00 0a 00 00 00 00
0x0050 | 00 00 00 0a 00 00 00 0a 00 00 00 00 00 00 00 00
0x0060 | 00 00 00 00 00 00 00 00 00 00 03 20 00 00 00 64
0x0070 | 00 00 06 40 00 00 00 00 00 00 00 07 00 00 00 07
0x0080 | 00 00 00 01 00 00 00 03 00 00 00 00 00 00 00 01
0x0090 | 00 00 00 00 00 00 00 05 00 00 00 05 00 00 00 05
0x00a0 | 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00 01
0x00b0 | 00 00 00 00 00 00 00 0c 00 00 00 00 00 00 00 01
0x00c0 | 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 01
0x00d0 | 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 01
0x00e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01
0x00f0 | 00 00 00 01 00 00 00 00 00 00 13 88 00 00 00 03
0x0100 | 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 01
0x0110 | 00 00 00 3c 00 00 00 00 00 00 00 0a 00 00 00 00
0x0120 | 00 00 00 0a 00 00 00 00 00 00 00 0a 00 00 00 01
0x0130 | 00 00 0f a0 00 00 03 20 00 00 00 00 00 00 00 00
0x0140 | 00 00 00 00 00 00 00 1c 00 00 00 0a 00 00 00 a0
0x0150 | 00 00 00 0a 00 00 00 01 00 00 00 00 ff ff ff f6
0x0160 | 00 00 00 0a 00 00 00 00 00 00 00 00 00 00 02 50
0x0170 | 00 00 03 51 00 00 03 38 00 00 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 00 00 00 00 00 00 00 00 00 00 00 00
0x01a0 | 00 00 00 00 00 00 00 64 00 00 00 28 ff ff ff ce
0x01b0 | 00 00 00 00 00 00 00 00 00 00 00 0f 00 00 00 3f
0x01c0 | 00 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=44, 0, 9, 4)
[C] get_status(0x44)
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x00
[C] ipslr_status_full()
[C] command(fd=44, 0, 8, 0)
[C] get_result(0x44)
[R] => [C4 01 00 00]
read 452 bytes
expected_bufsize: 452
[C] read_result(0x44, size=452)
[R] => [00 00 00 02 00 00 00 00 02 00 02 00 80 00 00 01
00 00 00 00 00 00 00 17 00 00 00 26 00 00 00 00 ... (420 bytes more)]
buf[008] last 01h 1 new 02h 2
buf[00B] last 10h 16 new 00h 0
buf[017] last 00h 0 new 17h 23

[C] ipslr_cmd_10_0a(0x1)
[C] _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C] command(fd=44, 10, a, 4)
[C] get_status(0x44)
[R] => ERROR: 0x00
[C] ipslr_status_full()
[C] command(fd=44, 0, 8, 0)
[C] get_result(0x44)
[R] => [C4 01 00 00]
read 452 bytes
expected_bufsize: 452
[C] read_result(0x44, size=452)
[R] => [00 00 00 02 00 00 00 00 02 00 02 00 80 00 00 01
00 00 00 00 00 00 00 17 00 00 00 26 00 00 00 00 ... (420 bytes more)]
[C] pslr_camera_name()
pktriggercord-cli: K-01 Connected...
[C] pslr_get_status()
[C] ipslr_status_full()
[C] command(fd=44, 0, 8, 0)
[C] get_result(0x44)
[R] => [C4 01 00 00]
read 452 bytes
expected_bufsize: 452
[C] read_result(0x44, size=452)
[R] => [00 00 00 02 00 00 00 00 02 00 02 00 80 00 00 01
00 00 00 00 00 00 00 17 00 00 00 26 00 00 00 00 ... (420 bytes more)]
[C] pslr_get_status()
[C] ipslr_status_full()
[C] command(fd=44, 0, 8, 0)
[C] get_result(0x44)
[R] => [C4 01 00 00]
read 452 bytes
expected_bufsize: 452
[C] read_result(0x44, size=452)
[R] => [00 00 00 02 00 00 00 00 02 00 02 00 80 00 00 01
00 00 00 00 00 00 00 17 00 00 00 26 00 00 00 00 ... (420 bytes more)]

0x0000 | 00 03 05 06 09 0c 04 04 00 08 08 00 04 09 0c 07
0x0010 | 07 07 07 07 07 07 07 07 07 07 07 07 07 07 07 07
0x0020 | 07 07 07 07 07 07 07 07 07 07 07 07 07 22 07 07
0x0030 | 22 07 07 22 01 00 07 00 07 00 1e 01 00 0c 00 01
0x0040 | 00 00 09 1c 74 00 40 20 00 03 03 00 00 00 01 40
0x0050 | 00 00 01 00 01 01 ff 00 00 05 00 00 00 00 00 00
0x0060 | 00 01 00 01 09 00 00 00 00 02 04 00 00 04 04 01
0x0070 | 01 00 00 00 00 ff 20 48 20 00 01 38 20 40 00 01
0x0080 | 01 01 01 01 02 02 02 01 00 01 01 00 02 00 00 04
0x0090 | 00 01 01 02 1b 01 00 00 01 00 00 01 00 00 00 00
0x00a0 | 00 00 00 00 00 00 01 00 01 00 ff 00 02 02 02 03
0x00b0 | 00 00 00 00 01 00 00 03 03 03 00 00 00 00 00 00
0x00c0 | 00 00 06 0d 00 00 00 00 01 01 01 01 00 00 00 00
0x00d0 | 02 00 00 02 01 00 00 01 00 00 00 00 01 00 04 00
0x00e0 | 01 00 00 01 00 00 00 00 00 00 00 00 00 01 00 00
0x00f0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0100 | 02 00 01 23 00 00 00 32 00 00 00 06 38 00 00 01
0x0110 | 01 02 00 00 00 00 01 00 01 00 00 0a 00 00 00 00
0x0120 | 00 00 00 01 01 01 00 0e 00 00 00 00 00 01 2c 00
0x0130 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0140 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0150 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0160 | 00 00 00 03 2f 00 02 00 03 02 00 00 00 00 00 00
0x0170 | 02 00 03 01 02 01 00 00 00 01 02 02 00 02 02 02
0x0180 | 01 00 02 02 02 02 02 00 00 00 00 01 00 01 00 00
0x0190 | 01 01 01 00 00 00 00 02 00 02 01 02 02 00 03 02
0x01a0 | 01 ff ff ff ff 01 01 fe 02 00 00 00 00 00 00 00
0x01b0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x01c0 | 00 00 00 01 00 01 00 00 00 00 00 00 00 00 00 00
0x01d0 | 01 00 00 00 00 00 00 00 00 00 07 07 07 00 01 01
0x01e0 | 01 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00
0x01f0 | 02 00 1f 1f 00 00 00 01 00 01 01 00 00 00 00 00
0x0200 | 4e 4f 52 4d 41 4c 00 00 00 00 00 00 00 00 00 00
0x0210 | 00 00 00 00 00 00 00 00 01 2e 01 7b 01 00 01 00
0x0220 | 02 3d 01 87 01 00 01 00 02 3d 01 87 01 00 01 00
0x0230 | 00 00 00 0c 00 00 00 00 00 05 03 05 05 04 01 00
0x0240 | 04 04 01 05 03 05 05 04 01 00 04 04 02 04 04 04
0x0250 | 04 04 00 00 04 04 03 04 04 05 05 04 00 00 04 04
0x0260 | 04 06 04 05 05 04 01 00 04 04 05 04 00 01 02 08
0x0270 | 00 00 04 04 06 04 04 04 04 04 00 00 04 04 07 04
0x0280 | 01 08 03 00 00 00 04 04 08 06 04 08 06 06 01 00
0x0290 | 04 04 09 04 04 04 04 04 00 00 04 04 0a 08 04 04
0x02a0 | 04 04 00 00 04 04 00 00 00 00 00 00 00 00 00 00
0x02b0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02c0 | 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00
0x02d0 | 03 00 00 00 00 00 00 00 01 02 00 00 00 00 00 00
0x02e0 | 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02f0 | 00 00 00 00 00 00 00 00 02 02 00 00 00 00 00 00
0x0300 | 02 00 00 00 00 00 00 00 02 02 01 00 00 00 00 00
0x0310 | 00 02 00 00 00 00 00 00 02 00 00 00 00 00 00 00
0x0320 | 02 02 00 00 00 00 00 00 02 00 00 00 00 00 00 00
0x0330 | 00 00 00 00 00 00 00 00 01 02 02 00 00 00 00 00
0x0340 | 03 00 00 00 00 00 00 00 02 01 00 00 00 00 00 00
0x0350 | 00 00 00 01 00 01 00 00 01 00 00 00 00 00 00 00
0x0360 | 01 fe 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0370 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0380 | 05 08 08 04 00 06 00 00 01 02 00 00 00 00 00 00
0x0390 | 05 08 08 04 00 06 00 00 01 02 00 00 00 00 00 00
0x03a0 | 05 08 08 04 00 06 00 00 01 02 00 00 00 00 00 00
0x03b0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x03c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x03d0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x03e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x03f0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

[C] pslr_disconnect()
[C] ipslr_cmd_10_0a(0x0)
[C] _ipslr_write_args(cmd_2 = 0x0, {0x0})
[C] command(fd=44, 10, a, 4)
[C] get_status(0x44)
[R] => ERROR: 0x00
[C] ipslr_set_mode(0x0)
[C] _ipslr_write_args(cmd_2 = 0x0, {0x0})
[C] command(fd=44, 0, 0, 4)
[C] get_status(0x44)
[R] => ERROR: 0x01
[R] => ERROR: 0x00
[C] ipslr_status()
[C] command(fd=44, 0, 1, 0)
[C] get_result(0x44)
[R] => [1C 00 00 00]
[C] read_result(0x44, size=28)
[R] => [00 00 00 01 00 00 00 00 01 00 01 00 80 00 00 01
00 00 00 00 00 00 00 00 00 00 00 26]
[C] pslr_shutdown()

This is With MODE 2:

C:\Users\Tommy Lim KW\Desktop\pktriggercord-0.84.04-win>pktriggercord-cli --settings_hex --debug
Debug messaging is now enabled.
pktriggercord-cli 0.84.04
model (null)
device (null)
[C] plsr_init()
driveNum:24
Checking drive: C
Checking drive: D PENTAX DSC_K-01
Found camera PENTAX DSC_K-01
before connect
[C] pslr_connect()
[C] ipslr_status()
[C] command(fd=ac, 0, 1, 0)
[C] get_result(0xac)
[R] => [1C 00 00 00]
[C] read_result(0xac, size=28)
[R] => [00 00 00 01 00 00 00 00 01 00 01 00 80 00 00 01
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=ac, 0, 0, 4)
[C] get_status(0xac)
[R] => ERROR: 0x00
[C] ipslr_status()
[C] command(fd=ac, 0, 1, 0)
[C] get_result(0xac)
[R] => [1C 00 00 00]
[C] read_result(0xac, size=28)
[R] => [00 00 00 02 00 00 00 00 01 00 02 10 80 00 00 01
00 00 00 00 00 00 00 00 00 00 00 00]
[C] ipslr_identify()
[C] command(fd=ac, 0, 4, 0)
[C] get_result(0xac)
[R] => [08 00 00 00]
[C] read_result(0xac, size=8)
[R] => [00 01 2E F8 00 00 02 0B]
id of the camera: 12ef8
[C] ipslr_status_full()
[C] command(fd=ac, 0, 8, 0)
[C] get_result(0xac)
[R] => [C4 01 00 00]
read 452 bytes
expected_bufsize: 452
[C] read_result(0xac, size=452)
[R] => [00 00 00 02 00 00 00 00 01 00 02 10 80 00 00 01
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ... (420 bytes more)]
0x0000 | 00 00 00 02 00 00 00 00 01 00 02 10 80 00 00 01
0x0010 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0020 | 00 00 00 0f 00 00 00 00 00 00 00 00 00 00 00 00
0x0030 | 00 00 01 00 00 00 00 1e 00 00 00 01 00 00 00 50
0x0040 | 00 00 00 0a 00 00 00 00 00 00 00 0a 00 00 00 00
0x0050 | 00 00 00 0a 00 00 00 0a 00 00 00 00 00 00 00 00
0x0060 | 00 00 00 00 00 00 00 00 00 00 03 20 00 00 00 64
0x0070 | 00 00 06 40 00 00 00 00 00 00 00 07 00 00 00 07
0x0080 | 00 00 00 01 00 00 00 03 00 00 00 00 00 00 00 01
0x0090 | 00 00 00 00 00 00 00 05 00 00 00 05 00 00 00 05
0x00a0 | 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00 01
0x00b0 | 00 00 00 00 00 00 00 0c 00 00 00 00 00 00 00 01
0x00c0 | 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 01
0x00d0 | 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 01
0x00e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01
0x00f0 | 00 00 00 01 00 00 00 00 00 00 13 88 00 00 00 03
0x0100 | 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 1e
0x0110 | 00 00 00 01 00 00 00 50 00 00 00 0a 00 00 00 00
0x0120 | 00 00 00 0a 00 00 00 00 00 00 00 0a 00 00 00 00
0x0130 | 00 00 00 00 00 00 03 20 00 00 00 00 00 00 00 00
0x0140 | 00 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 00
0x0150 | 00 00 00 0a 00 00 00 01 00 00 00 00 00 00 00 50
0x0160 | 00 00 00 0a 00 00 00 00 00 00 00 00 00 00 02 50
0x0170 | 00 00 03 4f 00 00 03 38 00 00 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 00 00 00 00 00 00 00 00 00 00 00 00
0x01a0 | 00 00 00 00 00 00 00 64 00 00 00 28 ff ff ff ce
0x01b0 | 00 00 00 00 00 00 00 00 00 00 00 0f 00 00 00 3f
0x01c0 | 00 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=ac, 0, 9, 4)
[C] get_status(0xac)
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x01
[R] => ERROR: 0x00
[C] ipslr_status_full()
[C] command(fd=ac, 0, 8, 0)
[C] get_result(0xac)
[R] => [C4 01 00 00]
read 452 bytes
expected_bufsize: 452
[C] read_result(0xac, size=452)
[R] => [00 00 00 02 00 00 00 00 02 00 02 00 80 00 00 01
00 00 00 00 00 00 00 17 00 00 00 26 00 00 00 00 ... (420 bytes more)]
buf[008] last 01h 1 new 02h 2
buf[00B] last 10h 16 new 00h 0
buf[017] last 00h 0 new 17h 23
buf[01B] last 00h 0 new 26h 38
buf[147] last 00h 0 new 1Ch 28
buf[14F] last 00h 0 new A0h 160

[C] ipslr_cmd_10_0a(0x1)
[C] _ipslr_write_args(cmd_2 = 0x0, {0x1})
[C] command(fd=ac, 10, a, 4)
[C] get_status(0xac)
[R] => ERROR: 0x00
[C] ipslr_status_full()
[C] command(fd=ac, 0, 8, 0)
[C] get_result(0xac)
[R] => [C4 01 00 00]
read 452 bytes
expected_bufsize: 452
[C] read_result(0xac, size=452)
[R] => [00 00 00 02 00 00 00 00 02 00 02 00 80 00 00 01
00 00 00 00 00 00 00 17 00 00 00 26 00 00 00 00 ... (420 bytes more)]
[C] pslr_camera_name()
pktriggercord-cli: K-01 Connected...
[C] pslr_get_status()
[C] ipslr_status_full()
[C] command(fd=ac, 0, 8, 0)
[C] get_result(0xac)
[R] => [C4 01 00 00]
read 452 bytes
expected_bufsize: 452
[C] read_result(0xac, size=452)
[R] => [00 00 00 02 00 00 00 00 02 00 02 00 80 00 00 01
00 00 00 00 00 00 00 17 00 00 00 26 00 00 00 00 ... (420 bytes more)]
[C] pslr_get_status()
[C] ipslr_status_full()
[C] command(fd=ac, 0, 8, 0)
[C] get_result(0xac)
[R] => [C4 01 00 00]
read 452 bytes
expected_bufsize: 452
[C] read_result(0xac, size=452)
[R] => [00 00 00 02 00 00 00 00 02 00 02 00 80 00 00 01
00 00 00 00 00 00 00 17 00 00 00 26 00 00 00 00 ... (420 bytes more)]

0x0000 | 00 03 05 06 09 0c 04 04 00 08 08 00 04 09 0c 07
0x0010 | 07 07 07 07 07 07 07 07 07 07 07 07 07 07 07 07
0x0020 | 07 07 07 07 07 07 07 07 07 07 07 07 07 22 07 07
0x0030 | 22 07 07 22 01 00 07 00 07 00 1e 01 00 0c 00 01
0x0040 | 00 00 09 1c 74 00 40 20 00 03 03 00 00 00 01 40
0x0050 | 00 00 01 00 01 01 ff 00 00 05 00 00 00 00 00 00
0x0060 | 00 01 00 01 09 00 00 00 00 02 04 00 00 04 04 01
0x0070 | 01 00 00 00 00 ff 20 48 20 00 01 38 20 40 00 01
0x0080 | 01 01 01 01 02 02 02 01 00 01 01 00 02 00 00 04
0x0090 | 00 01 01 02 1b 01 00 00 01 00 00 01 00 00 00 00
0x00a0 | 00 00 00 00 00 00 01 00 01 00 ff 00 02 02 02 03
0x00b0 | 00 00 00 00 01 00 00 03 03 03 00 00 00 00 00 00
0x00c0 | 00 00 06 0d 00 00 00 00 01 01 01 01 00 00 00 00
0x00d0 | 02 00 00 02 01 00 00 01 00 00 00 00 01 00 04 00
0x00e0 | 01 00 00 01 00 00 00 00 00 00 00 00 00 01 00 00
0x00f0 | 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0100 | 02 00 01 23 00 00 00 32 00 00 00 06 38 00 00 01
0x0110 | 01 02 00 00 00 00 01 00 01 00 00 0a 00 00 00 00
0x0120 | 00 00 00 01 01 01 00 0e 00 00 00 00 00 01 2c 00
0x0130 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0140 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0150 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0160 | 00 00 00 03 2f 00 02 00 03 02 00 00 00 00 00 00
0x0170 | 02 00 03 01 02 01 00 00 00 01 02 02 00 02 02 02
0x0180 | 01 00 02 02 02 02 02 00 00 00 00 01 00 01 00 00
0x0190 | 01 01 01 00 00 00 00 02 00 02 01 02 02 00 03 02
0x01a0 | 01 ff ff ff ff 01 01 fe 02 00 00 00 00 00 00 00
0x01b0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x01c0 | 00 00 00 01 00 01 00 00 00 00 00 00 00 00 00 00
0x01d0 | 01 00 00 00 00 00 00 00 00 00 07 07 07 00 01 01
0x01e0 | 01 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00
0x01f0 | 02 00 1f 1f 00 00 00 01 00 01 01 00 00 00 00 00
0x0200 | 4e 4f 52 4d 41 4c 00 00 00 00 00 00 00 00 00 00
0x0210 | 00 00 00 00 00 00 00 00 01 2e 01 7b 01 00 01 00
0x0220 | 02 3d 01 87 01 00 01 00 02 3d 01 87 01 00 01 00
0x0230 | 00 00 00 0c 00 00 00 00 00 05 03 05 05 04 01 00
0x0240 | 04 04 01 05 03 05 05 04 01 00 04 04 02 04 04 04
0x0250 | 04 04 00 00 04 04 03 04 04 05 05 04 00 00 04 04
0x0260 | 04 06 04 05 05 04 01 00 04 04 05 04 00 01 02 08
0x0270 | 00 00 04 04 06 04 04 04 04 04 00 00 04 04 07 04
0x0280 | 01 08 03 00 00 00 04 04 08 06 04 08 06 06 01 00
0x0290 | 04 04 09 04 04 04 04 04 00 00 04 04 0a 08 04 04
0x02a0 | 04 04 00 00 04 04 00 00 00 00 00 00 00 00 00 00
0x02b0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02c0 | 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00
0x02d0 | 03 00 00 00 00 00 00 00 01 02 00 00 00 00 00 00
0x02e0 | 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02f0 | 00 00 00 00 00 00 00 00 02 02 00 00 00 00 00 00
0x0300 | 02 00 00 00 00 00 00 00 02 02 01 00 00 00 00 00
0x0310 | 00 02 00 00 00 00 00 00 02 00 00 00 00 00 00 00
0x0320 | 02 02 00 00 00 00 00 00 02 00 00 00 00 00 00 00
0x0330 | 00 00 00 00 00 00 00 00 01 02 02 00 00 00 00 00
0x0340 | 03 00 00 00 00 00 00 00 02 01 00 00 00 00 00 00
0x0350 | 00 00 00 01 00 01 00 00 01 00 00 00 00 00 00 00
0x0360 | 01 fe 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0370 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0380 | 05 08 08 04 00 06 00 00 01 02 00 00 00 00 00 00
0x0390 | 05 08 08 04 00 06 00 00 01 02 00 00 00 00 00 00
0x03a0 | 05 08 08 04 00 06 00 00 01 02 00 00 00 00 00 00
0x03b0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x03c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x03d0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x03e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x03f0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

[C] pslr_disconnect()
[C] ipslr_cmd_10_0a(0x0)
[C] _ipslr_write_args(cmd_2 = 0x0, {0x0})
[C] command(fd=ac, 10, a, 4)
[C] get_status(0xac)
[R] => ERROR: 0x00
[C] ipslr_set_mode(0x0)
[C] _ipslr_write_args(cmd_2 = 0x0, {0x0})
[C] command(fd=ac, 0, 0, 4)
[C] get_status(0xac)
[R] => ERROR: 0x01
[R] => ERROR: 0x00
[C] ipslr_status()
[C] command(fd=ac, 0, 1, 0)
[C] get_result(0xac)
[R] => [1C 00 00 00]
[C] read_result(0xac, size=28)
[R] => [00 00 00 01 00 00 00 00 01 00 01 00 80 00 00 01
00 00 00 00 00 00 00 00 00 00 00 26]
[C] pslr_shutdown()

@tlkw79
Copy link
Author

tlkw79 commented Apr 25, 2018

Because the list is too longggggg.....so, I removed a part of it. Hope this help.

@asalamon74
Copy link
Owner

@kamayok3 Thanks, that looks good. I attach a test version:
pktriggercord-0.84.05-win.zip

Please execute the following command:

pktriggercord-cli --settings

bulb mode should print press-hold or press-press based on your mode1/mode2 selection.

If that's ok, the next step will be the following:

The solution uses the interval bulb timer, so it will only work if K-01 supports it. (That's why this fix is not working for K-50 as can be seen at issue #6 ).

I need the output of the following command twice. Once when the camera is set to BULB but the timer is not set, second when the camera is set to BULB and the timer is set to a long exposure (preferably 5 minutes). Please also tell me the exact time it was set:

pktriggercord-cli --settings_hex --debug

@tlkw79
Copy link
Author

tlkw79 commented Apr 27, 2018

Hi,

in Mode 1:

pktriggercord-cli: K-01 Connected...

one push bracketing             : Unknown
bulb mode                       : press-hold
bulb timer                      : Unknown
bulb timer sec                  : Unknown
using aperture ring             : Unknown
shake reduction                 : Unknown
astrotracer                     : Unknown
astrotracer timer sec           : Unknown
horizon correction              : Unknown

in Mode 2:

pktriggercord-cli: K-01 Connected...

one push bracketing             : Unknown
bulb mode                       : press-press
bulb timer                      : Unknown
bulb timer sec                  : Unknown
using aperture ring             : Unknown
shake reduction                 : Unknown
astrotracer                     : Unknown
astrotracer timer sec           : Unknown
horizon correction              : Unknown

Sadly in K-01 doesn't have interval bulb timer option.

So, any other idea?

Regards,
Tom

@asalamon74
Copy link
Owner

@kamayok3 bulb mode reading works correctly.

K-3II has no interval bulb timer option, but it has astrotracer timing, which also works.

If K-01 has no interval bulb timer and no astrotracer then I'm afraid we cannot fix K-01 bulb mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants