Thanks Folks,
Jabian, yes i am completely disconnected and my (phone ) which I am using to try control device is connected to the Hot spot I created.
Phomer60, Yes I can SSH into the device over the hotspot which is the weird thing. I did notice that the output of
netstat -nl | grep 5900
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN
tcp6 0 0 :::5900 :::* LISTEN
Hi folks,
I wonder if you could give me some advice. I have a UTx-3115 fanless pc setup to run Ubuntu and Kstars. I have real VNC and vino set up and I am able to VNC to the device over the internet and my WiFi’.
However when I create a hotspot on the device and try to connect I get a port is not listening error and I can’t figure it out.
I’ve tried the internal IP and the device name but cannot connect. There is no firewall running.
Obviously I want the hotspot so I can control my device when I’m imaging at my remote location. I was using a Pi but figured the fanless pc was more rugged.
Any pointers would be greatly appreciated
Thanks.
Lenny.
Read More...
Hi Karl,
Sorry I missed this post and only got around to testing it today. So I added in another
pslr_shutter(camhandle);
{ 0x12f52, "K-30", false, true, true,
{ 0x12f52, "K-30", false, true, true,
Hey Karl,
Sorry for the delay is responding, I can check out your fork and test as needed sure no problem. So based off the latest update you did I tested Manual mode and was able to take multiple pictures below 30 seconds with out issue. I then set the camera to bulb mode and tried taking some picture above 30 seconds. It was successful but there was a positive the sequence executed as planned however the shutter didn't stay open. So as you know the camera has 2 bulb settings press and hold or press to open press to close. Would it be possible to write a function for the K30 to fire the shutter at the start of the sequence and fire again at the end and i could set the camera to the second option and test this?
I tried taking a picture with an exposure longer than 30 seconds in manual mode but it just defaulted the timer back to 30 seconds, it did complete the 30 seconds exposure though so that's a win.
Thanks,
Lenny.
made some progress was able to get pktriggermode to allow bulb mode by setting plsr_model.c line 981 to
{ 0x12f52, "K-30", false, true, **true,** false, false, false,
How ever when I take a picture the shutter fires and closes and then the countdown starts so its like it dosent know to hold the shutter open......
Read More...
So i managed to get the camera to be recognized by editing the JSON file, So the version of PKtriggercord is 0.85, I downloaded the git from
github.com/asalamon74/pktriggercord
and had a look at plsr.c and got the hex address for the K30, once I updated this the camera was recognized and the settings showed values for the bulb configuration where as before it was unknowns.
See attached
G_MODULE_EXPORT void user_mode_combo_changed_cb(GtkAction *action, gpointer user_data) {
DPRINT("user_mode_combo_changed_cb\n");
pslr_gui_exposure_mode_t val = gtk_combo_box_get_active(GTK_COMBO_BOX(GW("user_mode_combo")));
if (!status_new) {
return;
}
assert(val >= 0);
assert(val < PSLR_GUI_EXPOSURE_MODE_MAX);
if (status_new == NULL || val != status_new->exposure_mode ) {
pslr_set_exposure_mode(camhandle, val);
}
}
pslr_gui_exposure_mode_t exposure_mode_conversion( pslr_exposure_mode_t exp ) {
switch ( exp ) {
case PSLR_EXPOSURE_MODE_GREEN:
return PSLR_GUI_EXPOSURE_MODE_GREEN;
case PSLR_EXPOSURE_MODE_P:
return PSLR_GUI_EXPOSURE_MODE_P;
case PSLR_EXPOSURE_MODE_SV:
return PSLR_GUI_EXPOSURE_MODE_SV;
case PSLR_EXPOSURE_MODE_TV:
return PSLR_GUI_EXPOSURE_MODE_TV;
case PSLR_EXPOSURE_MODE_AV:
case PSLR_EXPOSURE_MODE_AV_OFFAUTO:
return PSLR_GUI_EXPOSURE_MODE_AV;
case PSLR_EXPOSURE_MODE_TAV:
return PSLR_GUI_EXPOSURE_MODE_TAV;
case PSLR_EXPOSURE_MODE_M:
case PSLR_EXPOSURE_MODE_M_OFFAUTO:
return PSLR_GUI_EXPOSURE_MODE_M;
case PSLR_EXPOSURE_MODE_B:
case PSLR_EXPOSURE_MODE_B_OFFAUTO:
return PSLR_GUI_EXPOSURE_MODE_B;
case PSLR_EXPOSURE_MODE_X:
return PSLR_GUI_EXPOSURE_MODE_X;
case PSLR_EXPOSURE_MODE_MAX:
return PSLR_GUI_EXPOSURE_MODE_MAX;
}
return 0;
}
So i tried pktriggercord on windows, it dosent recognise the camera model in the json file. So its not able to change mode or set bulb settings. So when camera is in Manual mode It works fine i can take pictures of various lengths up to 30 seconds with out issue. If i knew how to get it to recognize camera model then maybe i could test changing the settings. If i start it up in Bulb mode it gives an error as sen in attached
imageKarl,
see updates below :
1) Can you check to see if it downloaded any images to your device? The log seemed to indicate it did, but of course that doesn't necessarily mean anything. - On some of the tests yes it downloaded an image
2) If you start the driver in M mode, and never switch to another mode, what are the results? Inital test at 1.5 seconds shutter opened and closed for 1.5 seconds but it got stuck in waiting to download image. I aborted that attempt and tried 2 seconds, shutter fired what sounded like twice and then opened for 2 seconds and closed, but the downloaded image seems to be from the first shutter snap as the image was perfectly exposed and not over exposed at 2sec and 800iso. Repeated 2 second shot, again shutter sounds like it fired twice. Tried 31 second exposure and counter started at 31 but finished downloading after 2 seconds even do shutter was still open must have read from buffer. tried it at 30 seconds max exposure for manual mode, again it completed after approx 2 seconds and read from buffer, once 30 seconds elapsed shutter closed.
3) If you haven't already, could you by chance download pktriggermode by itself and let me know how that works with your camera? The driver is just wrapping the code for pktriggermode, so if you've used pktriggermode before and it worked, then we're having a driver problem. Otherwise, there's a fundamental problem with pktriggermode, and there may not be much I can do. I cant seem to download pktriggercord for ubuntu says package is not available, i had tried it in windows a year or 2 ago with no success, but if needed i could try it again in windows
log file attached from test
Hi Karl ,
I will test that out later on, I should note I had tried Pktriggercord back in the day but always had trouble with Bulb mode, but let me complete the tests again and see what happens.
Thanks,
Lenny.
Read More...
Thanks Karl,
I was able to get the camera to connect successfully once i installed the SDK, however i was not able to take any pictures successfully. I tried 1 second and 31 second images in bulb mode each time the shutter opened and closed immediately, and finished exposure prior to the end of the 31 second limit. When i tried in manual mode the shutter would fire but then would not close and failed to download. I tried a 3rd attempt in Bulb mode at 60 seconds and noticed that the countdown timer did not go above 30. Its like it does not recognize that the camera is in bulb mode.
Hey Karl,
I tested the driver but unfortunately it kept crashing, it looks like its missing a file
"Driver indi_pentax: indi_pentax: error while loading shared libraries: libRicohCameraSDKCpp.so: cannot open shared object file: No such file or directory"
I have attached the complete log.
Thanks,
Lenny.
Thanks Karl, I will give it a go later on tonight and let you know how it went.
Read More...
Thanks for the update Karl.
Read More...
Hi Folks,
Thanks for the replies, I have updated the nightly builds there, and it is still not showing up. Is there something else needed?
Lenny
Read More...
Karl/Jasem,
I have updated the nightlys build but I dont see any Pentax Native available to use. Is there something I am missing or failing to do?
Thanks,
Lenny.
Read More...