Stefan Nonneman replied to the topic 'Pentax K-5 capture failed' in the forum. 1 month ago

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.

Stefan

Read More...

Stefan Nonneman replied to the topic 'Pentax K-5 capture failed' in the forum. 1 month ago

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.

Read More...

Stefan Nonneman replied to the topic 'Pentax K-5 capture failed' in the forum. 1 month ago

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.
Stefan

Read More...

Stefan Nonneman replied to the topic 'Pentax K-5 capture failed' in the forum. 1 month ago

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.

Read More...

Stefan Nonneman replied to the topic 'Pentax K-5 capture failed' in the forum. 1 month ago

Jasem,
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.

Read More...

Stefan Nonneman replied to the topic 'Pentax K-5 capture failed' in the forum. 1 month ago

Jasem, good morning. Could you please drop me a message when the driver is updated? Thanks for the help. Stefan

Read More...

Stefan Nonneman replied to the topic 'Pentax K-5 capture failed' in the forum. 1 month ago

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">
1
</oneNumber>
</setNumberVector>

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.

Read More...

Stefan Nonneman replied to the topic 'Pentax K-5 capture failed' in the forum. 2 months ago

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.

Read More...

Stefan Nonneman replied to the topic 'Pentax K-5 capture failed' in the forum. 2 months ago

Hi,
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,

Stefan

Read More...

Stefan Nonneman replied to the topic 'Should I give up trying to use my ASI120MC on RPi3?' in the forum. 5 months ago

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.

Regards,

Stefan

Read More...

Stefan Nonneman replied to the topic 'Pentax K-5 capture failed' in the forum. 5 months ago

Hi,
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!

Stefan

Read More...

Stefan Nonneman created a new topic ' Should I give up trying to use my ASI120MC on RPi3?' in the forum. 5 months ago

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.
Regards,

Stefan

Read More...

Stefan Nonneman replied to the topic 'Pentax K-5 capture failed' in the forum. 5 months ago

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.

Read More...

Stefan Nonneman replied to the topic 'Pentax K-5 capture failed' in the forum. 5 months ago

I was not yet there, but indeed I do not understand the view in the FITS viewer. If I take 2 frames, I expect that I get twice the same view but that is not the case. The intensity seems to change from one to the next frame. The viewer is not adding I think but need to look closer into it.
In the meantime in order to analyse the issue I reconnected my ZWO camera that worked fine months ago. Now I can launch the driver and start a sequence but it loops without end and without vizualising the frame. I do not understand what is happening. I use the FITS format. From the other side, I thought something was wong with my camera but under windows it works fine.

Read More...

Stefan Nonneman replied to the topic 'Pentax K-5 capture failed' in the forum. 5 months ago

Here follows the result of my verified test.
The gphoto2 version gives the following result:
This version of gphoto2 is using the following software versions and options:
gphoto2 2.5.9 gcc, popt(m), exif, no cdk, aa, jpeg, readline
libgphoto2 2.5.16.1 all camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, USB, serial without locking

I used the Pentax DSLR driver
After reboot and launch of kstars I launched indi and connected the DSLR.
I created a first sequences 2 times a 2s exp, 0s delay with FITS format ISO 100 followed by a sequence with 2 frames with 2s exp and 0s delay again with fits format and ISO 800.

I started both sequences and it all went well except after the 3rd frame the ISO value went temporarelly 1600 before again returning to 800.

Find attached the log

File Attachment:

File Name: log_20-32-39.txt
File Size: 47 KB


Read More...

Stefan Nonneman replied to the topic 'Pentax K-5 capture failed' in the forum. 5 months ago

If you want I will check again this evening. I was first running tests with one line of 2 exposures in the sequence list. I deleted the line and put a new one with another ISO value and the ISO did not change on the DSLR. Another test was running two identical lines with only the ISO value that was different. I do not remember whether I run the tests with the FITS format or the Native format. I have the impression that performance is better with FITS than with native. Do not put too much time in it now. I will come back this evening with verified tests and provide the logs.

Read More...

Stefan Nonneman replied to the topic 'Pentax K-5 capture failed' in the forum. 5 months ago

I just tested the Pentax DSLR driver.
For the logging I selected Ekos Capture and FITS and the CCD-driver (See log attached).

I created one sequence of 2 shots with exposure 2s/2s delay and started with ISO 3200. Next I deleted the sequence and just changed the ISO back to ISO 100.

The viewer shows the frame at ISO 3200 and does not change the ISO while the sequence has ISO 100. I am pushing the start sequence button rather than the Preview button. The result is that the viewer pops up and allows me to invert colors, save or close. The behaviour is totally under control if selecting the FITS format. Frames get saved properly. Also the communication of new parameters for a new sequence seems to work well with the FITS format. Issues reported before were probably due to the native format viewer.

Read More...

Stefan Nonneman replied to the topic 'Pentax K-5 capture failed' in the forum. 5 months ago

Good question. Does that mean that today beside Canon and Nikon DSLR drivers we have now also a Pentax DSLR driver?

Read More...

Stefan Nonneman replied to the topic 'Pentax K-5 capture failed' in the forum. 5 months ago

Sorry Jasem, here it is.
After some reflection, during the execution of a sequence, the frame is shown in the viewer leaving the option to save or not, but the dialogue does not wait until you reply. As a consequence, frames are not saved at all. Is this normal? I have not understood why watching a frame in the viewer is not an option. When you do not take the option, frames are just saved in a predefined directory.

Read More...

Login

3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!