I tried using EKOS for taking darks and that worked fine except that (as was reported on this forum) EKOS adds 2s to the exposure time. This is not really an issue as for dark frames I use an exposure time of 30s or more.
For bias frames it is stated to use the lowest exposure the camera allows. When the camera is in Bulb mode I do not manage to control the camera with these low exposure times via EKOS. Nevertheless the messages printed on the console of EKOS show the right exposure time.
A year or more ago I started controlling the Pentax K5 with EKOS and remember that I was able to send settings to the camera via a command-line interface and gphoto2. So it is possible to control the camera via a PC. Therefore I wonder why EKOS is not able to better control exposure times.
Could someone give me a hint about how to take flat and bias frames? Is there documentation available, a video or some posts in which this is explained?
Thanks in advance,
This morning I reinstalled the machine completely, OS, Kstars-bleeding, indi-full and libgphoto2, the latter two from the indinightly ppa.
I can report that the indi_pentax_ccd driver works now fine on an RPi3 as remote machine connected to my laptop running kstars-bleeding.
Lesson learned: once you tried many things, it is best possible that you screwed up the OS. Best solution is to do a brute-force reinstall from scratch.
Sorry for insisting the last few posts.
I will put my gear out this evening and start actively using all the features. In the case of issues, I will report back.
Jasem, I deleted all, purged the ppa and reinstalled the kstars-bleeding (even not used on RPi3) and indi-full.
For the indi_asi_ccd and indi_eqmod_telescope work perfectly well without strange messages.
indi_pentax_ccd launches without messages (fine !!!) but connecting KStars to it does not allow taking frames. The indicator starts turning but no reaction of the DSLR.
When running the sequence the following message is logged:
Driver indi_pentax_ccd: indi_pentax_ccd dispatch error: Property CCD_ABORT_EXPOSURE is not defined in Pentax DSLR K5D 0.
Driver indi_pentax_ccd: indi_pentax_ccd dispatch error: Property CCD_EXPOSURE is not defined in Pentax DSLR K5D 0.
OK I updated the RPi3 and the driver works now but gives a strange message on stdout, namely:
indiserver -m 100 -p 8000 indi_eqmod_telescope
2018-08-10T18:37:12: startup: indiserver -m 100 -p 8000 indi_eqmod_telescope
2018-08-10T18:37:12: Driver indi_eqmod_telescope: Using prefix /usr/share/indi//indi_eqmod_sk.xml
2018-08-10T18:37:12: Driver indi_eqmod_telescope: Using prefix /usr/share/indi//indi_align_sk.xml
2018-08-10T18:37:12: Driver indi_eqmod_telescope: Using prefix /usr/share/indi//indi_eqmod_simulator_sk.xml
2018-08-10T18:37:12: Driver indi_eqmod_telescope: Using prefix /usr/share/indi//indi_eqmod_scope_limits_sk.xml
2018-08-10T18:37:12: Driver indi_eqmod_telescope: EnumeratePlugins - found plugin SVD Math Plugin
The double / or is a typo somewhere, or there is an issue with a environment variable that should be set and is not. Not nice but not an issue because the driver works.
For the indi_pentax_ccd the situation is different.
I get the following message and the process died and goes to 10 restarts
indiserver -m 100 -p 8000 indi_pentax_ccd
2018-08-10T18:49:56: startup: indiserver -m 100 -p 8000 indi_pentax_ccd
2018-08-10T18:49:56: Driver indi_pentax_ccd: 2018-08-10T18:49:56: Driver indi_pentax_ccd: execlp: No such file or directory
Child process 1388 died
2018-08-10T18:49:56: Driver indi_pentax_ccd: stderr EOF
2018-08-10T18:49:56: Driver indi_pentax_ccd: restart #1
After 10 restarts and every time the same issue indiserver gives up.
So Pentax DSLR on RPi3 is not working at all: He does not find a directory while yesterday the issue was as reported for the eqmod_telescope.
Looking to the previously mentioned aesthetics issue, for the Pentax it may be that the double / makes that a file or directory cannot be found.
I remain online in case there would be a need for more info.
Have tried to reinstall on RPi3 as you did on laptop but without success. I can use gphoto2 and set shutterspeed, take pictures and check exiv2 parameters. Setting shutterspeed works for strings of the type '1/100' etc. 2s doesn't work.
Starting indiserver from the command-line gives me for all drivers I intend to use the following error:
2018-08-09T20:42:26: Driver indi_eqmod_telescope: indi_eqmod_telescope: symbol lookup error: indi_eqmod_telescope: undefined symbol: _ZN4INDI9Telescope13ISSnoopDeviceEP8_xml_ele
No logs available in .indi.
I tested again on the laptop where we corrected yesterday the issues and I do not find any issue. I am confident it is working well.
Because my idea is to connect my gear (mount, guider and DSLR) to my RPi3 as remote indiserver, and run on my laptop KSTARS pointing to the remote mRPi3 for communicating with the instruments, the mount and the guider work perfectly. The DSLR (PENTAX K-5) however not at all. The same issue as we started from yesterday evening. I updated/upgraded from the nightly PPA on the RPi3 but no result.
On the laptop I did not dare updating/upgrading fearing that I would overwrite the modifications we made yesterday.
Jasem, good morning. Could you please drop me a message when the driver is updated? Thanks for the help. Stefan
When launching KSTARS under sudo the following error message is printed:
Dispatch command error(-1): INDI: Could not find property CCD_EXPOSURE in GPhoto CCD
<setNumberVector device="GPhoto CCD" name="CCD_EXPOSURE" state="Idle" timeout="60" timestamp="2018-08-05T12:06:38">
<oneNumber name="CCD_EXPOSURE_VALUE" min="0.001" max="3600" step="1">
Further, I started exploring the command line interface for gphoto2 and this worked marvelously well for my PENTAX K-5, demonstrating that the issues are clearly inside EKOS.
The Pentax K-5 firmware version is 1.16 (last version).
This morning, when updating and upgrading I saw that indi-gphoto was upgraded.
In order to be sure that the issues were not caused by some settings I changed myself, I reset all settings to factory settings.
When starting the indiserver a warning is shown: [WARNING] Shutter speed widget does not have any valid data (count=0).
The driver name is GPhoto CCD and the Exec is indi_pentax_ccd, version 2.3, interface 10.
I saved a series of capturing sequences in a file for upload when starting.
After uploading the saved sequences and the first start, all sequences go quickly to status complete. The indi_pentax_ccd process continues running.
Resetting the status to Idle for all lines and starting the list of sequences changes the status of the first sequence to "in progress", beside expose an indicator starts turning and the message window opens and informs that the indi_pentax_ccd driver crashed. The indi_pentax_ccd process on the linux machine was initially in a status Sl+ meaning S=uninterruptible sleep, l=is multithreaded and +=is in the foreground process group. After the message that the driver crashed theprocess status was S+ so the multi-threading disappeared.
The driver log did not revealed any issue.
In the KSTARS log the following error appears: INDI Server: "2018-08-05T08:36:36: Driver indi_pentax_ccd: indi_pentax_ccd dispatch error: Property CCD_ABORT_EXPOSURE is not defined in Pentax DSLR K5D 0." from which I deduce that it is not possible to abort the exposure in the PENTAX K5D0. In any case when starting the exposure I would expect the countdown to start and the indicator starts turning.
When disconnecting and reconnecting (without stopping and restarting the indi server) the status of the indi_pentax_ccd process becomes again multi-threaded. Restarting the sequence puts the first sequence again in "in progress" status, the driver does not crash but the linux process is again not multi-threaded anymore, just as the driver would crash but this is not reported.
Remark that after that the driver crashed, the DSLR does not remain blocked. When restarting the indiserver and reconnecting the DSLR the exposure button of the DSLR does not respond when pushing it. The DSLR seems to be under full control of EKOS.
After a few months inactivity I resumed again working with my PENTAX K-5.
Indiserver with EQMod mount, ZWO AS120MC works perfectly.
PENTAX DSLR is still a big problem. What worked months ago with GPHOTO DSLR does not even work anymore today neither with the PENTAX DSLR driver.
I get really hopeless.
I use KSTARS 2.9.7 Build 2018-08-03T18:03:22Z 6:2.9.7+201808030814~ubuntu18.04.1
KDE Frameworks 5.44.0
Qt 5.9.5 (built against 5.9.5)
The xcb windowing system
Indi-full cersion 1.7.4~201808031039~ubuntu18.04.1
I am using stable upgrading
GHPOTO2 Version 2.5.15-2
In EKOS it is impossible to set W and H of the frame higher than 3000x3264
I launched the GPHOTO DSLR via the device manager but EKOS asked to shutdown the running one before launching a new one.
When taking a sequence of pictures I get and automatic and prompt Abort and the message "KStars detected INDI driver indi_gphoto_ccd crashed. Please check INDI server log in the Device Manager."
The Camera is on Bulb mode and USB MSC.
File Attachment:File Name: log_20-51-04.txt
File Size: 104 KB
Could someone report back whar should work and what not today?
I tried the PENTAX DSLR driver and that also blocks.
I went back to Entangle controlling my PENTAX K-5 and that works fine when changing the ISO but no effect can be seen if the exposure time is doubled.
Thanks for the help,
Thanks WVREEVEN, you were right!
I flashed the ZWO with new firmware, but making use of the ASI120MC.iic without result.
The message you pointed to mentions a command pointing towards ASI120MC-compatible.iic version without explanation, and this one works fine.
Problem solved and sorry for bothering.
I resumed after a few days testing of my K5. In the production version the GPhoto DSLR driver works fine but the PENTAX DSLR driver not.
The frame visualized in the FITS viewer is a line with width 277 and height 2. In the CCD tab of EKOS Size is limited to 277x2.
Could this be corrected?
The issue with the old frames showing up in the FITS viewer is still not solved I have the impression.
Thanks for the help!
Since more than a year I interrupted my activities and started again with testing the use of my Pentax K-5 on KStars. Now that was OK I bought a RPi3 and tried to set up the whole system as I left it more than a year ago including now my K5.
To my big surprise my ASI120MC did not work anymore in Linux.
More than a year ago I was able to guide with the same device but on a RPi2, I am absolutely sure.
Could someone give me a shortcut to what to do to have the ASI120MC working again in the system? I know that RPi3 is equipped with USB3 and in the past already USB2 was critical under linux. Should I really give up trying because ASI120MC is not USB3 at all or is their a solutions found in the meantime?
I read I needed to flash the camera's firmware, what I did but without result.
I took a sequence of 2 frames exposure of 1s delay 2s FITS format.
The first frame is vizualised in the FITS viewer. I looked at the statistics and found a mean of 525.
For the second frame the colors change and the mean becomes 12.581. The two frames are saved and I have attached them.