It seems like a permissions error. Just a thought, but do you know if the udev rules file ("95-pentax.rules") has been installed in the /lib/udev/rules.d directory? This should happen automatically during the install process, but it looks like perhaps you are building the driver manually and running it in a debugger. If you haven't done a "sudo make install" for libpktriggercord (and I think maybe rebooted for good measure), it might not have been installed properly, and that might be the source of the problem.
If it's not that, have you tried pktriggercord on your system? Just curious if that works.
I'm losing track of what i need to be testing. What exactly did the new cable fix? The error you were getting over DC power on your cigarette lighter? That would be great, because I have no leads on that.
I tested the bias frame issue, and I don't get a crash, but I also don't get a picture. It says something about the exposure needing to be greater than 0. Ekos must be doing something different that the driver's not handling yet. I'm looking into that right now, as well as the shutter speed problems for exposures less than a second.
The problem with the cigarette lighter Adapter is still there... don't know why, but all drivers are working, except the Pentax native. I still can use the the DC Adapter to power the camera. I'll try some cable switching... I own to many cheap USB cables. After i saw some sparks exploding while connecting a cheap USB cable to my Power Station i'll do some Investigation
No CCD drivers were loaded while i used a cheap/wrong cable. Now i use the cable which was supplied with my Intous drawing Tablet and everything seems to behave normal.
The bias Error still exists and shorts exposure Work for me in Manual Mode. I can see, that the camera switches to a short exposure mode.
Example: EKOS set to 0.0001 seconds -> camera switches to 1/6000 in Manual Mode.
Maybe it's not a Driver fault and EKOS is mismatching something (think about exactly zero seconds shutter speed... means no picture at all).
I'm pretty sure I figured out the Bias frame problem and low shutter speed problem. The changes are in my fork. I'll field test it tonight and if all goes well, I'll submit a pull request.
I really have no idea where to even start with your cigarette lighter adapter problem. Seems like some sort of noise, but then why is it only affecting the native driver? Did you say pktriggercord worked with the cigarette lighter adapter and Ubuntu? I wonder if it has something to do with the SDK for PTP mode. It's possible we could try to compile the indi_pentax driver without PTP mode support to test, but it'd be a bit time-consuming.
Did my first imaging session using the Pentax Native driver and nothing else (remote control etc.). Just plugged the camera in after the boot sequence of stellarmate was over (Bulb, MFT Mode, ISO800).
Except that live view isn't avaible i did the polar alignment using my guiding cam. Ended up with 30 arcseconds error for the guiding cam and 2 arcminutes for the Pentax K70 connected to my 750/150 Newton. No matter while guiding with the experimental multi star guiding algorhytm and some dithering.
M33, 210 Minutes Lights, Flat, Flatdarks, Bias
Still loving the K70. And it's nice that it is working with Indi/Ekos. Thank you Karl!
No it's time to get rid of the coma. Time to test another adapter
Wasn't able to test your updated driver. The new KStars version is broken in Linux Mint (some dependencies issues) and Stellarmate didn't pulled it until now.
Awesome. How long were your exposures? It makes me want to get out there and see what I can get. I've never had the patience to stack more than about fifteen minutes of light frames. Between coma and focus problems, it was just too frustrating. But I recently acquired a coma corrector and just bought a more powerful stepper motor yesterday, so hopefully I'll be up to the task soon (if I can figure out how to get the motor attached to the focuser).
Live view should be available for the K70 in PTP mode, but there's not much control over exposure/framerate, and I'm not sure whether Polaris would even be visible.
Aside from Bias frames, I'm not sure the updated driver would give you any different results--the main fixes were with the short exposure settings, so really only for planetary imaging.
Stellarmate did updated the 3rd party Indi drivers and i was able to test the new version.
Works as it should be, short exposures (less 1 second) are possible.
Now i can't connect anymore to ptp mode (stopped Indi Server, unplugged cam, mft --> pft in camera, connected again, restarted Indi).
I found a solution to the Problem that my Rasperry Pi won't start while the k70 is connected. I simply added a serial port to the camera using the serial port assistant. Maybe this is usefull for somebody
Don't know if this is driver related or indi/ekos. The reported pixel size is wrong. I get always 3 and not 3.88. The resolution is correct.
That causes platesolving in ekos to take a long time and in SIRIL photometric color correction won't work.
I just updated kstars and the pentax driver, works for me as well, I'm in heaven!
ISO and shutter speed in bulb mode - what more do you need?
Brilliant work Karl!
And what a fantastic version of the M33 Noideaforaname!
I also have a K-70. I tested it on my pc, Ubuntu, updated kStars and the Indi drivers. Pentax DSLR Native driver, camera in MSC mode, bulb - what I have dreamt of since I started using Stellarmate/kStars a couple of years ago
I’ll update Stellarmate on my Pi4 and see if that also works (why wouldn’t it?)
Then please check in KStars running on the pi in the Indi Panel which pixel size is reported (it's get updated while taking the first photo). The k70 got 3.88, but it is stated 3 in my case. This leads to errors while platesolving because the fits header isn't correct.
If you get also 3, there is an error sonewhere, otherwise something is wrong with my Setup/Hardware.