Hi Karl,
Sorry I missed this post and only got around to testing it today. So I added in another

pslr_shutter(camhandle);
and ran a test. initially the camera just fired the shutter when i looked at the logs i could see it didnt detect debug mode. So i changed line 981 in pslr_model.c to
{ 0x12f52, "K-30",        false, true,  true,
and tested it again. This time the camera fired the shutter however it reports an error in the pslr_shutter function, after the requested time expired the shutter fired again and the image downloaded. I tried this again by changing the camera bulb mode setting from press and hold to press press, however this time the camera fired the shutter but held it open, after the 35 seconds had elapsed it went through the pslr_shutter function but never fired or closed the shutter. the camera then went into a loop trying to download from the buffer and stayed like this until i manually pressed and closed the shutter. At which point it downloaded the image.

I tested the camera with the new bulb function, again on first attempt it didnt recognize the camera was in bulb mode and I needed to change line 981 in pslr_model.c to
{ 0x12f52, "K-30",        false, true,  true,
again.
This time when i tested the camera it recognized the camera was in bulb mode but said it was not supported as there where no settings in the JSON file again the shutter fires instantly the camera did not wait the requested time and the image downloaded instantly.
I tried adding some settings into the pentax_settings_json but i couldnt get the camera to change its behavior.

File Attachment:

File Name: penatx_tes.txt
File Size: 4 KB

File Attachment:

File Name: penatx_tes.txt
File Size: 4 KB


Log file attached for old bulb mode.

Read More...