×

INDI Library v1.8.9 Released (01 Mar 2021)

INDI monthly update. In addition to driver improvements, major code refactoring is in progress by @pawel-soja to modernize and improve INDI aging code.

New forum users, please go here first: indilib.org/forum/new-forum-users.html

New Pentax Driver Testing

  • Posts: 42
  • Thank you received: 6

Replied by karlrees on topic New Pentax Driver Testing

I was just thinking about the driver today. I think I'm almost caught up on work from my road trip and the kids are settling into online school finally, so I don't need to spend so much time on family IT issues. So I think I can look at it this weekend.

Which version of the Pi have you been using? Do you have any logs I can look at?

I'm not exactly sure why Bias frames would throw a problem. The driver itself doesn't do anything different for Bias frames versus other images. However, it *may* be related to requesting that the driver deliver the Bias frame in FITs format, or Kstars/Ekos (on the Pi) automatically converting to FITs, if that's applicable to your setup. It's possible that your Bias frames are inherently more computationally intensive for FITs conversion, which could cause the driver to run out of resources and crash, depending on the hardware you use. I think the Pi4 should be able to consistently handle it, but I know the Pi3 will often crash during FITs conversion, unless the camera is set to shoot low resolution JPEG images. The JPEG resolution can only be changed in PTP mode, so perhaps you have changed the resolution in PTP mode, and that is why BIAS frames work. This is all just a hypothesis, of course.

If you're upgrading from a Pi3 to a Pi4, you'll definitely see some improvement, though I don't think 5GHz Wlan will by itself make much of a difference. The main bottlenecks for me at least are 1) the transfer from the camera to the Pi; and 2) FITs conversion, if I'm doing it on the Pi (even with a Pi4). I would recommend turning off any setting that causes the driver to convert to FITs, and then set Kstars/Ekos on your local desktop to auto-convert to FITs instead.

Your bug with the AC adapter is very weird. I don't have the exact same setup to test, unfortunately. I honestly have no idea. Logs may offer some insight.

You mention having to switch to manual when you do short exposures. I was noticing some odd behavior myself when I was trying to capture Jupiter out in the middle of nowhere last week. I think this may have been the first time I had field-tested anything that needed less than a second with the Pentax driver, and it did not go as expected. Seems like there may have been two bugs. 1) I think anything less than a second may crash bulb mode; 2) it seems like MSC mode may not be requesting the right exposure time for short exposures. I was going to investigate these more when I had the time. But I'm just wondering if you observed similar problems.
7 months 3 weeks ago #58439

Please Log in or Create an account to join the conversation.

  • Posts: 31
  • Thank you received: 1
Hi Karl,

i just upgraded from my old Rasperry Pi 3b to a Rasperry Pi 4b 4GB and the improvements in stability and speed are as you described them. Download time isn't an issue anymore for me. I started dithering and it seems to me, that dithering begins when the download is started. No wasted time anymore (nevertheless we are talking round about 15 seconds ;) ) Think i switch to native and do the fits conversion in my desktop pc.

And i switched from Astroberry to Stellarmate. The use of the mobile app and support was a big point for me. A wrote a ticket on the stellarmate website and Jasem replied a few minutes later. I should open an issue on github he pointed out.

I did a little testing like Jasem told me. I connected the cam using USB to my desktop PC running Win10 and used the cigarette lighter adapter as the power source.

While using pktriggerchord running on Win10 i was able to take pictures, download and preview them. Switching the same setup back to the Rpi or my desktop PC running Linux Mint 20 the driver crashed all the time.

In my opinion something crashes the driver and is not a lack of sufficient power i thought of at first.

Hope the following log helps a little bit...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New inferior 2 (process 4454)]
[Inferior 1 (process 4447) detached]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
process 4454 is executing new program: /usr/bin/indi_pentax
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Thread 2.1 "indi_pentax" received signal SIGPIPE, Broken pipe.
[Switching to Thread 0x74d96010 (LWP 4454)]
0x7665f944 in __GI___libc_write (fd=<optimized out>, buf=0x7effc1f4, nbytes=17) at ../sysdeps/unix/sysv/linux/write.c:26
#0  0x7665f944 in __GI___libc_write (fd=<optimized out>, buf=0x7effc1f4, nbytes=17) at ../sysdeps/unix/sysv/linux/write.c:26
#1  0x766037b8 in _IO_new_file_write (f=0x766e4cf0 <_IO_2_1_stderr_>, data=0x7effc1f4, n=17) at fileops.c:1183
#2  0x76602960 in new_do_write (fp=fp@entry=0x766e4cf0 <_IO_2_1_stderr_>, data=data@entry=0x7effc1f4 "indi_pentax: EOF\n", to_do=to_do@entry=17) at libioP.h:839
#3  0x76603f14 in _IO_new_file_xsputn (n=17, data=<optimized out>, f=0x766e4cf0 <_IO_2_1_stderr_>) at fileops.c:1262
#4  _IO_new_file_xsputn (f=0x766e4cf0 <_IO_2_1_stderr_>, data=<optimized out>, n=17) at fileops.c:1204
#5  0x765dd918 in buffered_vfprintf (s=s@entry=0x766e4cf0 <_IO_2_1_stderr_>, format=format@entry=0x76d51ec4 "%s: EOF\n", args=...) at ../libio/libioP.h:839
#6  0x765db458 in _IO_vfprintf_internal (s=s@entry=0x766e4cf0 <_IO_2_1_stderr_>, format=format@entry=0x76d51ec4 "%s: EOF\n", ap=..., ap@entry=...) at vfprintf.c:1296
#7  0x76680f30 in ___fprintf_chk (fp=0x766e4cf0 <_IO_2_1_stderr_>, flag=flag@entry=1, format=0x76d51ec4 "%s: EOF\n") at fprintf_chk.c:35
#8  0x76ce8db6 in fprintf (__fmt=0x76d51ec4 "%s: EOF\n", __stream=<optimized out>) at /usr/include/arm-linux-gnueabihf/bits/stdio2.h:100
#9  clientMsgCB (fd=<optimized out>, arg=<optimized out>) at ./indidriver.c:884
#10 0x76cea08a in callCallback (rfdp=0x7efff79c) at ./eventloop.c:347
#11 oneLoop () at ./eventloop.c:439
#12 0x76cea21c in eventLoop () at ./eventloop.c:106
#13 0x76ce4c6e in main (ac=0, av=<optimized out>) at ./indidrivermain.c:98
#14 0x765b1718 in __libc_start_main (main=0x7efff9c4, argc=1986936832, argv=0x765b1718 <__libc_start_main+268>, init=<optimized out>, fini=0x430c7d <__libc_csu_fini>, rtld_fini=0x76fde4c4 <_dl_fini>, stack_end=0x7efff9c4) at libc-start.c:308
#15 0x00415684 in _start ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Should we switch to github?
7 months 3 weeks ago #58441

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 6

Replied by karlrees on topic New Pentax Driver Testing

Ralph,

Is this happening immediately after starting indi_pentax, or is there delay? The log shows that indi_pentax is dying, but doesn't really offer a hint as to why. Did you try pktriggercord by itself on the Pi and/or your Ubuntu desktop? If not, that would help narrow down the problem. You could also try running indiserver from a command prompt with camera on and plugged in: indiserver -v indi_pentax. That should give us a little more information.

Did the Pi4 solve the Bias frame problem?

I have no preference on github versus the INDI forum.

Karl
7 months 3 weeks ago #58449

Please Log in or Create an account to join the conversation.

  • Posts: 252
  • Thank you received: 17

Replied by phomer60 on topic New Pentax Driver Testing

Noideaforaname,

Referring to ypur comment "i switched from an AC Adapter with Battery Dummy to a cigarette lighter adapter with battery dummy."

What exactly is a battery dummy?

Paul
7 months 3 weeks ago #58475

Please Log in or Create an account to join the conversation.

  • Posts: 31
  • Thank you received: 1
@phomer60

A battery dummy is a fake battery which you plug in your camera. This fake battery is connected to an external power source.

@karlrees

Did some testing again this night. All the time using Stellarmate/Ekos/INDI. I didn't managed to run pktriggercord using Linux Mint 20 or my Rasperry Pi and connected to my Bresser Mobile Power Station using the cigarette lighter adapater connected to my K70.

1. Pentax Legacy Driver -> works (no driver crash, image is taken with predefined shutter speed and iso)
2. GPhoto CCD Driver -> works (no driver crash, image is taken with predefined shutter speed and iso)
3. Pentax Android App -> no problem at all (AF, Preview, changing modes, shutterspeed, iso, etc)

Made another Log using Ekos only for INDI and CCD. Seems to be a buffer overrun. My knowledge about code lines is years old.
[2020-08-21T14:01:49.379 CEST DEBG ][           org.kde.kstars.ekos] - Resetting Ekos Manager...
[2020-08-21T14:01:49.391 CEST WARN ][                       default] - QSqlDatabasePrivate::removeDatabase: connection 'filter_db' is still in use, all queries will cease to work.
[2020-08-21T14:01:49.391 CEST WARN ][                       default] - QSqlDatabasePrivate::addDatabase: duplicate connection name 'filter_db', old connection removed.
[2020-08-21T14:01:49.439 CEST INFO ][           org.kde.kstars.ekos] - "Starting INDI services..."
[2020-08-21T14:01:49.443 CEST DEBG ][           org.kde.kstars.indi] - INDI: Starting local drivers...
[2020-08-21T14:01:49.444 CEST DEBG ][           org.kde.kstars.indi] - Starting INDI Server:  ("-v", "-p", "7624", "-m", "300", "-r", "0", "-f", "/tmp/indififo2222032e") -f "/tmp/indififo2222032e"
[2020-08-21T14:01:49.476 CEST DEBG ][           org.kde.kstars.indi] - INDI Server Started?  true
[2020-08-21T14:01:49.477 CEST DEBG ][           org.kde.kstars.indi] - INDI: INDI Server started locally on port  7624
[2020-08-21T14:01:49.478 CEST DEBG ][           org.kde.kstars.indi] - Starting INDI Driver  "indi_pentax"
[2020-08-21T14:01:49.479 CEST DEBG ][           org.kde.kstars.indi] - Starting INDI Driver  "indi_gpsd"
[2020-08-21T14:01:49.479 CEST DEBG ][           org.kde.kstars.indi] - Adding managed driver "Pentax DSLR"
[2020-08-21T14:01:49.479 CEST DEBG ][           org.kde.kstars.indi] - Adding managed driver "GPSD"
[2020-08-21T14:01:49.480 CEST DEBG ][           org.kde.kstars.indi] - INDIListener: Adding a new client manager to INDI listener..
[2020-08-21T14:01:49.480 CEST DEBG ][           org.kde.kstars.indi] - INDI: Connecting to local INDI server on port  7624  ...
[2020-08-21T14:01:49.481 CEST DEBG ][           org.kde.kstars.indi] - INDI server connected.
[2020-08-21T14:01:49.481 CEST DEBG ][           org.kde.kstars.indi] - Connection to INDI server is successful
[2020-08-21T14:01:49.484 CEST INFO ][           org.kde.kstars.ekos] - "INDI services started on port 7624."
[2020-08-21T14:01:49.505 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:49: startup: /usr/bin/indiserver -v -p 7624 -m 300 -r 0 -f /tmp/indififo2222032e "
[2020-08-21T14:01:49.505 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:49: listening to port 7624 on fd 3"
[2020-08-21T14:01:49.506 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "FIFO: start indi_pentax"
[2020-08-21T14:01:49.506 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "FIFO: Starting driver indi_pentax"
[2020-08-21T14:01:49.507 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:49: Driver indi_pentax: pid=3736 rfd=4 wfd=7 efd=8"
[2020-08-21T14:01:49.510 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "FIFO: start indi_gpsd -n \"GPSD\""
[2020-08-21T14:01:49.511 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "With name: GPSD"
[2020-08-21T14:01:49.511 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "FIFO: Starting driver indi_gpsd"
[2020-08-21T14:01:49.512 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:49: Driver indi_gpsd: pid=3737 rfd=5 wfd=10 efd=11"
[2020-08-21T14:01:49.514 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:49: Client 6: new arrival from 127.0.0.1:36734 - welcome!"
[2020-08-21T14:01:49.515 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2020-08-21T14:01:49.563 CEST DEBG ][           org.kde.kstars.indi] - Received new device GPSD
[2020-08-21T14:01:49.607 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:49: Driver indi_pentax: Looking for Pentax camera in  PTP mode."
[2020-08-21T14:01:49.608 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:49: Driver indi_pentax: Looking for Pentax camera in MSC mode."
[2020-08-21T14:01:49.608 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2020-08-21T14:01:49.621 CEST DEBG ][           org.kde.kstars.indi] - INDIListener: New device GPSD
[2020-08-21T14:01:49.621 CEST INFO ][           org.kde.kstars.ekos] - Ekos received a new device:  "GPSD"
[2020-08-21T14:01:49.625 CEST DEBG ][           org.kde.kstars.indi] - < GPSD >: < CONNECTION >
[2020-08-21T14:01:49.633 CEST DEBG ][           org.kde.kstars.indi] - < GPSD >: < DRIVER_INFO >
[2020-08-21T14:01:49.646 CEST DEBG ][           org.kde.kstars.indi] - < GPSD >: < CONFIG_PROCESS >
[2020-08-21T14:01:49.655 CEST INFO ][           org.kde.kstars.ekos] - "GPSD" Version: "0.5" Interface: 32832 is connected.
[2020-08-21T14:01:49.655 CEST DEBG ][           org.kde.kstars.ekos] - 1  devices connected out of  1
[2020-08-21T14:01:49.781 CEST DEBG ][           org.kde.kstars.indi] - < GPSD >: < GEOGRAPHIC_COORD >
[2020-08-21T14:01:49.787 CEST DEBG ][           org.kde.kstars.indi] - < GPSD >: < TIME_UTC >
[2020-08-21T14:01:49.791 CEST DEBG ][           org.kde.kstars.indi] - < GPSD >: < GPS_REFRESH >
[2020-08-21T14:01:49.793 CEST DEBG ][           org.kde.kstars.indi] - < GPSD >: < GPS_REFRESH_PERIOD >
[2020-08-21T14:01:49.798 CEST INFO ][           org.kde.kstars.indi] - GPSD :  "[INFO] GPS fix is in progress... "
[2020-08-21T14:01:49.799 CEST DEBG ][           org.kde.kstars.indi] - < GPSD >: < GPS_STATUS >
[2020-08-21T14:01:49.802 CEST DEBG ][           org.kde.kstars.indi] - < GPSD >: < POLARIS >
[2020-08-21T14:01:49.805 CEST DEBG ][           org.kde.kstars.indi] - < GPSD >: < GPS_TIME_SOURCE >
[2020-08-21T14:01:49.846 CEST INFO ][           org.kde.kstars.indi] - GPSD :  "[INFO] No previous configuration found. To save driver configuration, click Save Configuration in Options tab. "
[2020-08-21T14:01:51.264 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:51: Driver indi_pentax: The Pentax camera driver for MSC mode uses PkTriggerCord, courtesy of Andras Salamon.  See https://pktriggercord.melda.info"
[2020-08-21T14:01:51.264 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2020-08-21T14:01:51.481 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:51: Driver indi_pentax: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD"
[2020-08-21T14:01:51.481 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2020-08-21T14:01:51.482 CEST DEBG ][           org.kde.kstars.indi] - Received new device PENTAX K-70 (MSC)
[2020-08-21T14:01:51.483 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:51: Driver indi_pentax: snooping on Telescope Simulator.TELESCOPE_INFO"
[2020-08-21T14:01:51.483 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:51: Driver indi_pentax: snooping on Telescope Simulator.GEOGRAPHIC_COORD"
[2020-08-21T14:01:51.484 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:51: Driver indi_pentax: snooping on Telescope Simulator.TELESCOPE_PIER_SIDE"
[2020-08-21T14:01:51.484 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:51: Driver indi_pentax: snooping on Rotator Simulator.ABS_ROTATOR_ANGLE"
[2020-08-21T14:01:51.485 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:51: Driver indi_pentax: snooping on Focuser Simulator.ABS_FOCUS_POSITION"
[2020-08-21T14:01:51.486 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:51: Driver indi_pentax: snooping on CCD Simulator.FILTER_SLOT"
[2020-08-21T14:01:51.486 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:51: Driver indi_pentax: snooping on CCD Simulator.FILTER_NAME"
[2020-08-21T14:01:51.487 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:51: Driver indi_pentax: snooping on SQM.SKY_QUALITY"
[2020-08-21T14:01:51.487 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2020-08-21T14:01:51.513 CEST DEBG ][           org.kde.kstars.indi] - INDIListener: New device PENTAX K-70 (MSC)
[2020-08-21T14:01:51.514 CEST INFO ][           org.kde.kstars.ekos] - Ekos received a new device:  "PENTAX K-70 (MSC)"
[2020-08-21T14:01:51.547 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:51: Driver indi_pentax: snooping on EQMod Mount.EQUATORIAL_EOD_COORD"
[2020-08-21T14:01:51.547 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:51: Driver indi_pentax: snooping on EQMod Mount.TELESCOPE_INFO"
[2020-08-21T14:01:51.548 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:51: Driver indi_pentax: snooping on EQMod Mount.GEOGRAPHIC_COORD"
[2020-08-21T14:01:51.548 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2020-08-21T14:01:51.549 CEST DEBG ][           org.kde.kstars.indi] - < PENTAX K-70 (MSC) >: < CONNECTION >
[2020-08-21T14:01:51.556 CEST DEBG ][           org.kde.kstars.indi] - < PENTAX K-70 (MSC) >: < DRIVER_INFO >
[2020-08-21T14:01:51.570 CEST DEBG ][           org.kde.kstars.indi] - < PENTAX K-70 (MSC) >: < POLLING_PERIOD >
[2020-08-21T14:01:51.574 CEST DEBG ][           org.kde.kstars.indi] - < PENTAX K-70 (MSC) >: < DEVICE_INFO >
[2020-08-21T14:01:51.586 CEST DEBG ][           org.kde.kstars.indi] - < PENTAX K-70 (MSC) >: < CONFIG_PROCESS >
[2020-08-21T14:01:51.595 CEST DEBG ][           org.kde.kstars.indi] - < PENTAX K-70 (MSC) >: < DEBUG >
[2020-08-21T14:01:51.599 CEST DEBG ][           org.kde.kstars.indi] - < PENTAX K-70 (MSC) >: < ACTIVE_DEVICES >
[2020-08-21T14:01:53.176 CEST INFO ][           org.kde.kstars.indi] - PENTAX K-70 (MSC) :  "[INFO] Connected to Pentax camera in MSC mode. "
[2020-08-21T14:01:53.178 CEST INFO ][           org.kde.kstars.ekos] - "PENTAX K-70 (MSC)" Version: "1.0" Interface: 2 is connected.
[2020-08-21T14:01:53.178 CEST DEBG ][           org.kde.kstars.ekos] - 2  devices connected out of  2
[2020-08-21T14:01:53.178 CEST INFO ][           org.kde.kstars.ekos] - All INDI devices are now connected.
[2020-08-21T14:01:53.252 CEST DEBG ][           org.kde.kstars.indi] - Removing device "PENTAX K-70 (MSC)"
[2020-08-21T14:01:53.282 CEST DEBG ][           org.kde.kstars.indi] - <  >: <  >
[2020-08-21T14:01:53.283 CEST DEBG ][           org.kde.kstars.indi] - <  >: < 6.9,,N,,H >
[2020-08-21T14:01:53.283 CEST DEBG ][           org.kde.kstars.indi] - < 8 >: <  >
[2020-08-21T14:01:53.283 CEST DEBG ][           org.kde.kstars.indi] - < H >: < \ufffd(D\ufffd >
[2020-08-21T14:01:53.283 CEST DEBG ][           org.kde.kstars.indi] - <  >: <  >
[2020-08-21T14:01:53.283 CEST DEBG ][           org.kde.kstars.indi] - < H >: < .3461955087638345,10.39046519964H >
[2020-08-21T14:01:53.284 CEST DEBG ][           org.kde.kstars.indi] - < h >: < 96548244 >
[2020-08-21T14:01:53.284 CEST DEBG ][           org.kde.kstars.indi] - < \ufffd >: <  >
[2020-08-21T14:01:53.284 CEST DEBG ][           org.kde.kstars.indi] - < 0a >: <  >
[2020-08-21T14:01:53.284 CEST DEBG ][           org.kde.kstars.indi] - < ) >: <  >
[2020-08-21T14:01:53.284 CEST DEBG ][           org.kde.kstars.indi] - < H >: < P\ufffd@\ufffd\ufffd
@\ufffd\ufffd`@\ufffd >
[2020-08-21T14:01:53.326 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:53: Client 9: new arrival from 127.0.0.1:36738 - welcome!"
[2020-08-21T14:01:53.326 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:53: Driver indi_pentax: *** buffer overflow detected ***:  terminated"
[2020-08-21T14:01:53.326 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:53: Driver indi_pentax: stderr EOF"
[2020-08-21T14:01:53.327 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "<delProperty device=\"PENTAX K-70 (MSC)\"/>"
[2020-08-21T14:01:53.327 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2020-08-21T12:01:53: Driver indi_pentax: Terminated after #0 restarts."
[2020-08-21T14:01:53.327 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "Child process 3736 died"
[2020-08-21T14:01:53.328 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2020-08-21T14:01:53.328 CEST CRIT ][           org.kde.kstars.indi] - INDI driver  "indi_pentax"  crashed!
[2020-08-21T14:01:53.362 CEST DEBG ][           org.kde.kstars.indi] - < ,,,,- >: <  >
[2020-08-21T14:01:53.363 CEST DEBG ][           org.kde.kstars.indi] - < 0a >: <  >
[2020-08-21T14:01:53.363 CEST DEBG ][           org.kde.kstars.indi] - < H >: <  >
[2020-08-21T14:01:53.363 CEST DEBG ][           org.kde.kstars.indi] - <  >: <  >
[2020-08-21T14:01:53.363 CEST DEBG ][           org.kde.kstars.indi] - < \ufffd\ufffdF\ufffd`\ufffdA\ufffd >: < 4041373,47.54338H >
[2020-08-21T14:01:53.364 CEST DEBG ][           org.kde.kstars.indi] - < H\ufffd@\ufffd`\ufffdA\ufffd >: <  >
[2020-08-21T14:01:53.364 CEST DEBG ][           org.kde.kstars.indi] - < \ufffdK@\ufffd`\ufffdA\ufffd >: <  >
[2020-08-21T14:01:53.374 CEST DEBG ][           org.kde.kstars.indi] - INDIListener: Removing device "PENTAX K-70 (MSC)"
[2020-08-21T14:01:53.375 CEST INFO ][           org.kde.kstars.ekos] - "PENTAX K-70 (MSC) is offline."
[2020-08-21T14:01:58.068 CEST DEBG ][           org.kde.kstars.ekos] - Disconnecting  "GPSD"
[2020-08-21T14:01:58.069 CEST INFO ][           org.kde.kstars.ekos] - "Disconnecting INDI devices..."
[2020-08-21T14:01:58.075 CEST INFO ][           org.kde.kstars.indi] - GPSD :  "[INFO] GPS disconnected successfully. "
[2020-08-21T14:01:58.076 CEST DEBG ][           org.kde.kstars.ekos] - "GPSD"  is disconnected.
[2020-08-21T14:01:58.076 CEST INFO ][           org.kde.kstars.ekos] - "GPSD is disconnected."
[2020-08-21T14:01:59.087 CEST DEBG ][           org.kde.kstars.indi] - INDI: Stopping local drivers...
[2020-08-21T14:01:59.087 CEST DEBG ][           org.kde.kstars.indi] - Removing managed driver "Pentax DSLR"
[2020-08-21T14:01:59.088 CEST DEBG ][           org.kde.kstars.indi] - Removing managed driver "GPSD"
[2020-08-21T14:01:59.092 CEST DEBG ][           org.kde.kstars.indi] - INDIListener: Removing device "GPSD"
[2020-08-21T14:01:59.094 CEST DEBG ][           org.kde.kstars.indi] - INDIListener: Removing client manager for server localhost @ 7624
[2020-08-21T14:01:59.095 CEST DEBG ][           org.kde.kstars.indi] - INDI server disconnected. Exit code: 0
[2020-08-21T14:01:59.096 CEST DEBG ][           org.kde.kstars.indi] - INDI server disconnected. Exit code: 0
[2020-08-21T14:01:59.097 CEST DEBG ][           org.kde.kstars.indi] - Stopping INDI Driver  "indi_pentax"
[2020-08-21T14:01:59.097 CEST DEBG ][           org.kde.kstars.indi] - Stopping INDI Driver  "indi_gpsd"
[2020-08-21T14:01:59.098 CEST DEBG ][           org.kde.kstars.indi] - Stopping INDI Server  "localhost" @ "7624"
[2020-08-21T14:01:59.101 CEST DEBG ][           org.kde.kstars.indi] - INDI server disconnected from BLOB manager for Device: "PENTAX K-70 (MSC)" Property: "CCD1" Exit code: -1
[2020-08-21T14:01:59.102 CEST DEBG ][           org.kde.kstars.ekos] - Resetting Ekos Manager...
[2020-08-21T14:01:59.107 CEST WARN ][                       default] - QSqlDatabasePrivate::removeDatabase: connection 'filter_db' is still in use, all queries will cease to work.
[2020-08-21T14:01:59.108 CEST WARN ][                       default] - QSqlDatabasePrivate::addDatabase: duplicate connection name 'filter_db', old connection removed.
[2020-08-21T14:01:59.114 CEST INFO ][           org.kde.kstars.ekos] - "INDI services stopped."

Does this log help?

CS

Ralph
7 months 3 weeks ago #58507

Please Log in or Create an account to join the conversation.

  • Posts: 74
  • Thank you received: 6
Same problem here, GPhoto, Pentax Native and Pentax Legacy crashes.
My K-70 is in PTP mode, but it doesn't matter whether it's in PTP or MSC mode, same issue.:

[2020-08-22T12:55:34.662 CEST DEBG ][ org.kde.kstars.ekos] - Resetting Ekos Manager...
[2020-08-22T12:55:34.675 CEST INFO ][ org.kde.kstars.ekos] - "Starting INDI services..."
[2020-08-22T12:55:34.675 CEST DEBG ][ org.kde.kstars.indi] - INDI: Starting local drivers...
[2020-08-22T12:55:34.676 CEST DEBG ][ org.kde.kstars.indi] - Starting INDI Server: ("-v", "-p", "7624", "-m", "300", "-r", "0", "-f", "/tmp/indififo80f508b8") -f "/tmp/indififo80f508b8"
[2020-08-22T12:55:34.680 CEST DEBG ][ org.kde.kstars.indi] - INDI Server Started? true
[2020-08-22T12:55:34.680 CEST DEBG ][ org.kde.kstars.indi] - INDI: INDI Server started locally on port 7624
[2020-08-22T12:55:34.680 CEST DEBG ][ org.kde.kstars.indi] - Starting INDI Driver "indi_pentax"
[2020-08-22T12:55:34.680 CEST DEBG ][ org.kde.kstars.indi] - Adding managed driver "Pentax DSLR"
[2020-08-22T12:55:34.680 CEST DEBG ][ org.kde.kstars.indi] - INDIListener: Adding a new client manager to INDI listener..
[2020-08-22T12:55:34.680 CEST DEBG ][ org.kde.kstars.indi] - INDI: Connecting to local INDI server on port 7624 ...
[2020-08-22T12:55:34.681 CEST DEBG ][ org.kde.kstars.indi] - INDI server connected.
[2020-08-22T12:55:34.681 CEST DEBG ][ org.kde.kstars.indi] - Connection to INDI server is successful
[2020-08-22T12:55:34.681 CEST INFO ][ org.kde.kstars.ekos] - "INDI services started on port 7624."
[2020-08-22T12:55:34.684 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:34: startup: /usr/bin/indiserver -v -p 7624 -m 300 -r 0 -f /tmp/indififo80f508b8 "
[2020-08-22T12:55:34.684 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:34: listening to port 7624 on fd 3"
[2020-08-22T12:55:34.684 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "FIFO: start indi_pentax"
[2020-08-22T12:55:34.684 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "FIFO: Starting driver indi_pentax"
[2020-08-22T12:55:34.684 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:34: Driver indi_pentax: pid=1756 rfd=4 wfd=7 efd=8"
[2020-08-22T12:55:34.684 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:34: Client 5: new arrival from 127.0.0.1:52402 - welcome!"
[2020-08-22T12:55:34.684 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T12:55:34.739 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:34: Driver indi_pentax: Device 0 (VID=25fb and PID=017d) is a Ricoh Imaging PENTAX K-70."
[2020-08-22T12:55:34.739 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T12:55:34.744 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:34: Driver indi_pentax: Looking for Pentax camera in PTP mode."
[2020-08-22T12:55:34.744 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T12:55:34.748 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:34: Driver indi_pentax: The Pentax camera driver for PTP mode uses Ricoh Camera SDK, courtesy of Ricoh Company, Ltd. See api.ricoh/products/camera-sdk."
[2020-08-22T12:55:34.748 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:34: Driver indi_pentax: Looking for Pentax camera in MSC mode."
[2020-08-22T12:55:34.748 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T12:55:34.833 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:34: Driver indi_pentax: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD"
[2020-08-22T12:55:34.833 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:34: Driver indi_pentax: snooping on Telescope Simulator.TELESCOPE_INFO"
[2020-08-22T12:55:34.833 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:34: Driver indi_pentax: snooping on Telescope Simulator.GEOGRAPHIC_COORD"
[2020-08-22T12:55:34.833 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T12:55:34.833 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:34: Driver indi_pentax: snooping on Telescope Simulator.TELESCOPE_PIER_SIDE"
[2020-08-22T12:55:34.833 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:34: Driver indi_pentax: snooping on Rotator Simulator.ABS_ROTATOR_ANGLE"
[2020-08-22T12:55:34.833 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:34: Driver indi_pentax: snooping on Focuser Simulator.ABS_FOCUS_POSITION"
[2020-08-22T12:55:34.833 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:34: Driver indi_pentax: snooping on Focuser Simulator.FOCUS_TEMPERATURE"
[2020-08-22T12:55:34.833 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:34: Driver indi_pentax: snooping on CCD Simulator.FILTER_SLOT"
[2020-08-22T12:55:34.833 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:34: Driver indi_pentax: snooping on CCD Simulator.FILTER_NAME"
[2020-08-22T12:55:34.833 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:34: Driver indi_pentax: snooping on SQM.SKY_QUALITY"
[2020-08-22T12:55:34.833 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T12:55:35.036 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "Child process 1756 died"
[2020-08-22T12:55:35.036 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:35: Driver indi_pentax: stderr EOF"
[2020-08-22T12:55:35.036 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T12:55:35.036 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:35: Driver indi_pentax: Terminated after #0 restarts."
[2020-08-22T12:55:35.036 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T12:55:35.036 CEST CRIT ][ org.kde.kstars.indi] - INDI driver "indi_pentax" crashed!
[2020-08-22T12:55:36.799 CEST DEBG ][ org.kde.kstars.indi] - Removing managed driver "Pentax DSLR"
[2020-08-22T12:55:36.799 CEST DEBG ][ org.kde.kstars.indi] - Stopping INDI Driver "indi_pentax"
[2020-08-22T12:55:36.799 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "FIFO: stop indi_pentax"
[2020-08-22T12:55:36.799 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "dp->name: indi_pentax - tDriver: indi_pentax"
[2020-08-22T12:55:36.799 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T12:55:37.800 CEST DEBG ][ org.kde.kstars.indi] - Adding managed driver "Pentax DSLR"
[2020-08-22T12:55:37.800 CEST DEBG ][ org.kde.kstars.indi] - Starting INDI Driver "indi_pentax"
[2020-08-22T12:55:37.800 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "FIFO: start indi_pentax"
[2020-08-22T12:55:37.801 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "FIFO: Starting driver indi_pentax"
[2020-08-22T12:55:37.801 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T12:55:37.801 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:37: Driver indi_pentax: pid=1763 rfd=4 wfd=8 efd=9"
[2020-08-22T12:55:37.801 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T12:55:37.813 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:37: Driver indi_pentax: Device 0 (VID=25fb and PID=017d) is a Ricoh Imaging PENTAX K-70."
[2020-08-22T12:55:37.813 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T12:55:37.818 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:37: Driver indi_pentax: Looking for Pentax camera in PTP mode."
[2020-08-22T12:55:37.818 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:37: Driver indi_pentax: The Pentax camera driver for PTP mode uses Ricoh Camera SDK, courtesy of Ricoh Company, Ltd. See api.ricoh/products/camera-sdk."
[2020-08-22T12:55:37.818 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:37: Driver indi_pentax: Looking for Pentax camera in MSC mode."
[2020-08-22T12:55:37.818 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T12:55:37.913 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:37: Driver indi_pentax: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD"
[2020-08-22T12:55:37.913 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:37: Driver indi_pentax: snooping on Telescope Simulator.TELESCOPE_INFO"
[2020-08-22T12:55:37.913 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:37: Driver indi_pentax: snooping on Telescope Simulator.GEOGRAPHIC_COORD"
[2020-08-22T12:55:37.913 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:37: Driver indi_pentax: snooping on Telescope Simulator.TELESCOPE_PIER_SIDE"
[2020-08-22T12:55:37.913 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:37: Driver indi_pentax: snooping on Rotator Simulator.ABS_ROTATOR_ANGLE"
[2020-08-22T12:55:37.913 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:37: Driver indi_pentax: snooping on Focuser Simulator.ABS_FOCUS_POSITION"
[2020-08-22T12:55:37.913 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T12:55:37.913 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:37: Driver indi_pentax: snooping on Focuser Simulator.FOCUS_TEMPERATURE"
[2020-08-22T12:55:37.913 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:37: Driver indi_pentax: snooping on CCD Simulator.FILTER_SLOT"
[2020-08-22T12:55:37.913 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:37: Driver indi_pentax: snooping on CCD Simulator.FILTER_NAME"
[2020-08-22T12:55:37.913 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:37: Driver indi_pentax: snooping on SQM.SKY_QUALITY"
[2020-08-22T12:55:37.913 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T12:55:37.997 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "Child process 1763 died"
[2020-08-22T12:55:37.997 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:37: Driver indi_pentax: stderr EOF"
[2020-08-22T12:55:37.997 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T12:55:37.998 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T10:55:37: Driver indi_pentax: Terminated after #0 restarts."
[2020-08-22T12:55:37.998 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T12:55:37.998 CEST CRIT ][ org.kde.kstars.indi] - INDI driver "indi_pentax" crashed!
[2020-08-22T12:55:39.932 CEST INFO ][ org.kde.kstars.ekos] - "Unable to establish:\n+ Pentax DSLR\nPlease ensure the device is connected and powered on."
[2020-08-22T12:55:40.468 CEST DEBG ][ org.kde.kstars.indi] - INDI: Stopping local drivers...
[2020-08-22T12:55:40.468 CEST DEBG ][ org.kde.kstars.indi] - Removing managed driver "Pentax DSLR"
[2020-08-22T12:55:40.468 CEST DEBG ][ org.kde.kstars.indi] - INDIListener: Removing client manager for server localhost @ 7624
[2020-08-22T12:55:40.469 CEST DEBG ][ org.kde.kstars.indi] - INDI server disconnected. Exit code: 0
[2020-08-22T12:55:40.469 CEST DEBG ][ org.kde.kstars.indi] - INDI server disconnected. Exit code: 0
[2020-08-22T12:55:40.469 CEST DEBG ][ org.kde.kstars.indi] - Stopping INDI Driver "indi_pentax"
[2020-08-22T12:55:40.470 CEST DEBG ][ org.kde.kstars.indi] - Stopping INDI Server "localhost" @ "7624"
[2020-08-22T12:55:40.470 CEST DEBG ][ org.kde.kstars.ekos] - Resetting Ekos Manager...
[2020-08-22T12:55:40.473 CEST WARN ][ default] - QSqlDatabasePrivate::removeDatabase: connection 'filter_db' is still in use, all queries will cease to work.
[2020-08-22T12:55:40.473 CEST WARN ][ default] - QSqlDatabasePrivate::addDatabase: duplicate connection name 'filter_db', old connection removed.
[2020-08-22T12:55:40.475 CEST INFO ][ org.kde.kstars.ekos] - "INDI-tjenester stoppet."
7 months 3 weeks ago #58571

Please Log in or Create an account to join the conversation.

  • Posts: 31
  • Thank you received: 1
Maybe try another USB cable... Last night was a little adventure to get the K70 to Work.

1. Rasperry won't boot while k70 is connected

2. Some USB cable crash all CCD driver while connected

When i connect my K70 after booting with a good USB cable everything works as it should.

@drawsacircle

Conclusion... Try another USB cable.
7 months 3 weeks ago #58576

Please Log in or Create an account to join the conversation.

  • Posts: 74
  • Thank you received: 6
No difference, I would also be surprised if it did make a difference - it's the cable I've always used.
I'm connecting my camera to the PC booting in Ubuntu.
I stated it didn't matter whether the camera was in PTP or MSC mode, there is actually a slight difference, it does get a little further in MSC mode.:

[2020-08-22T17:11:05.234 CEST INFO ][ org.kde.kstars.ekos] - "Starting INDI services..."
[2020-08-22T17:11:05.234 CEST DEBG ][ org.kde.kstars.indi] - INDI: Starting local drivers...
[2020-08-22T17:11:05.234 CEST DEBG ][ org.kde.kstars.indi] - Starting INDI Server: ("-v", "-p", "7624", "-m", "300", "-r", "0", "-f", "/tmp/indififo71f748cf") -f "/tmp/indififo71f748cf"
[2020-08-22T17:11:05.237 CEST DEBG ][ org.kde.kstars.indi] - INDI Server Started? true
[2020-08-22T17:11:05.237 CEST DEBG ][ org.kde.kstars.indi] - INDI: INDI Server started locally on port 7624
[2020-08-22T17:11:05.237 CEST DEBG ][ org.kde.kstars.indi] - Starting INDI Driver "indi_pentax"
[2020-08-22T17:11:05.237 CEST DEBG ][ org.kde.kstars.indi] - Adding managed driver "Pentax DSLR"
[2020-08-22T17:11:05.237 CEST DEBG ][ org.kde.kstars.indi] - INDIListener: Adding a new client manager to INDI listener..
[2020-08-22T17:11:05.237 CEST DEBG ][ org.kde.kstars.indi] - INDI: Connecting to local INDI server on port 7624 ...
[2020-08-22T17:11:05.238 CEST DEBG ][ org.kde.kstars.indi] - INDI server connected.
[2020-08-22T17:11:05.238 CEST DEBG ][ org.kde.kstars.indi] - Connection to INDI server is successful
[2020-08-22T17:11:05.238 CEST INFO ][ org.kde.kstars.ekos] - "INDI services started on port 7624."
[2020-08-22T17:11:05.240 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:05: startup: /usr/bin/indiserver -v -p 7624 -m 300 -r 0 -f /tmp/indififo71f748cf "
[2020-08-22T17:11:05.240 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:05: listening to port 7624 on fd 3"
[2020-08-22T17:11:05.240 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "FIFO: start indi_pentax"
[2020-08-22T17:11:05.240 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "FIFO: Starting driver indi_pentax"
[2020-08-22T17:11:05.240 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:05: Driver indi_pentax: pid=1976 rfd=4 wfd=7 efd=8"
[2020-08-22T17:11:05.240 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:05: Client 5: new arrival from 127.0.0.1:43342 - welcome!"
[2020-08-22T17:11:05.240 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T17:11:05.251 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:05: Driver indi_pentax: Looking for Pentax camera in PTP mode."
[2020-08-22T17:11:05.251 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:05: Driver indi_pentax: Looking for Pentax camera in MSC mode."
[2020-08-22T17:11:05.251 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T17:11:06.908 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:06: Driver indi_pentax: The Pentax camera driver for MSC mode uses PkTriggerCord, courtesy of Andras Salamon. See pktriggercord.melda.info"
[2020-08-22T17:11:06.908 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T17:11:07.203 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:07: Driver indi_pentax: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD"
[2020-08-22T17:11:07.203 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:07: Driver indi_pentax: snooping on Telescope Simulator.TELESCOPE_INFO"
[2020-08-22T17:11:07.203 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:07: Driver indi_pentax: snooping on Telescope Simulator.GEOGRAPHIC_COORD"
[2020-08-22T17:11:07.203 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:07: Driver indi_pentax: snooping on Telescope Simulator.TELESCOPE_PIER_SIDE"
[2020-08-22T17:11:07.203 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:07: Driver indi_pentax: snooping on Rotator Simulator.ABS_ROTATOR_ANGLE"
[2020-08-22T17:11:07.204 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T17:11:07.204 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:07: Driver indi_pentax: snooping on Focuser Simulator.ABS_FOCUS_POSITION"
[2020-08-22T17:11:07.204 CEST DEBG ][ org.kde.kstars.indi] - Received new device PENTAX K-70 (MSC)
[2020-08-22T17:11:07.204 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:07: Driver indi_pentax: snooping on Focuser Simulator.FOCUS_TEMPERATURE"
[2020-08-22T17:11:07.204 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:07: Driver indi_pentax: snooping on CCD Simulator.FILTER_SLOT"
[2020-08-22T17:11:07.204 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:07: Driver indi_pentax: snooping on CCD Simulator.FILTER_NAME"
[2020-08-22T17:11:07.204 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:07: Driver indi_pentax: snooping on SQM.SKY_QUALITY"
[2020-08-22T17:11:07.204 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T17:11:07.211 CEST DEBG ][ org.kde.kstars.indi] - INDIListener: New device PENTAX K-70 (MSC)
[2020-08-22T17:11:07.211 CEST INFO ][ org.kde.kstars.ekos] - Ekos received a new device: "PENTAX K-70 (MSC)"
[2020-08-22T17:11:07.212 CEST DEBG ][ org.kde.kstars.indi] - < PENTAX K-70 (MSC) >: < CONNECTION >
[2020-08-22T17:11:07.213 CEST DEBG ][ org.kde.kstars.indi] - < PENTAX K-70 (MSC) >: < DRIVER_INFO >
[2020-08-22T17:11:07.214 CEST DEBG ][ org.kde.kstars.indi] - < PENTAX K-70 (MSC) >: < POLLING_PERIOD >
[2020-08-22T17:11:07.214 CEST DEBG ][ org.kde.kstars.indi] - < PENTAX K-70 (MSC) >: < DEVICE_INFO >
[2020-08-22T17:11:07.215 CEST DEBG ][ org.kde.kstars.indi] - < PENTAX K-70 (MSC) >: < CONFIG_PROCESS >
[2020-08-22T17:11:07.215 CEST DEBG ][ org.kde.kstars.indi] - < PENTAX K-70 (MSC) >: < DEBUG >
[2020-08-22T17:11:07.216 CEST INFO ][ org.kde.kstars.indi] - PENTAX K-70 (MSC) : "[INFO] Debug is enabled. "
[2020-08-22T17:11:07.217 CEST DEBG ][ org.kde.kstars.indi] - < PENTAX K-70 (MSC) >: < DEBUG_LEVEL >
[2020-08-22T17:11:07.218 CEST DEBG ][ org.kde.kstars.indi] - < PENTAX K-70 (MSC) >: < LOGGING_LEVEL >
[2020-08-22T17:11:07.218 CEST DEBG ][ org.kde.kstars.indi] - < PENTAX K-70 (MSC) >: < LOG_OUTPUT >
[2020-08-22T17:11:07.218 CEST DEBG ][ org.kde.kstars.indi] - PENTAX K-70 (MSC) : "[DEBUG] Toggle Debug Level -- Driver Debug "
[2020-08-22T17:11:07.218 CEST DEBG ][ org.kde.kstars.indi] - PENTAX K-70 (MSC) : "[DEBUG] Toggle Logging Level -- Messages "
[2020-08-22T17:11:07.218 CEST DEBG ][ org.kde.kstars.indi] - < PENTAX K-70 (MSC) >: < ACTIVE_DEVICES >
[2020-08-22T17:11:07.261 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:07: Driver indi_pentax: ioctl: Operation not permitted"
[2020-08-22T17:11:07.261 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:07: Driver indi_pentax: /build/libpktriggercord-lho8Pj/libpktriggercord-0.85.01~202008211631~ubuntu18.04.1/libpktriggercord/src/pslr.c:1703:scsi_write(fd, cmd, sizeof (cmd), 0, 0) failed: 1"
[2020-08-22T17:11:07.261 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:07: Driver indi_pentax: /build/libpktriggercord-lho8Pj/libpktriggercord-0.85.01~202008211631~ubuntu18.04.1/libpktriggercord/src/pslr.c:1469:command(p->fd, 0, 4, 0) failed: 1"
[2020-08-22T17:11:07.261 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T17:11:07.335 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:07: Driver indi_pentax: stderr EOF"
[2020-08-22T17:11:07.335 CEST DEBG ][ org.kde.kstars.indi] - Removing device "PENTAX K-70 (MSC)"
[2020-08-22T17:11:07.335 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "<delProperty device=\"PENTAX K-70 (MSC)\"/>"
[2020-08-22T17:11:07.335 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "Child process 1976 died"
[2020-08-22T17:11:07.335 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-22T15:11:07: Driver indi_pentax: Terminated after #0 restarts."
[2020-08-22T17:11:07.335 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-22T17:11:07.335 CEST CRIT ][ org.kde.kstars.indi] - INDI driver "indi_pentax" crashed!
[2020-08-22T17:11:07.338 CEST DEBG ][ org.kde.kstars.indi] - INDIListener: Removing device "PENTAX K-70 (MSC)"
[2020-08-22T17:11:07.338 CEST INFO ][ org.kde.kstars.ekos] - "PENTAX K-70 (MSC) er offline."
[2020-08-22T17:11:07.339 CEST DEBG ][ org.kde.kstars.indi] - INDI: Stopping local drivers...
[2020-08-22T17:11:07.339 CEST DEBG ][ org.kde.kstars.indi] - Removing managed driver "Pentax DSLR"
[2020-08-22T17:11:07.339 CEST DEBG ][ org.kde.kstars.indi] - INDIListener: Removing client manager for server localhost @ 7624
[2020-08-22T17:11:07.339 CEST DEBG ][ org.kde.kstars.indi] - INDI server disconnected. Exit code: 0
[2020-08-22T17:11:07.339 CEST DEBG ][ org.kde.kstars.indi] - INDI server disconnected. Exit code: 0
[2020-08-22T17:11:07.339 CEST DEBG ][ org.kde.kstars.indi] - Stopping INDI Driver "indi_pentax"
[2020-08-22T17:11:07.339 CEST DEBG ][ org.kde.kstars.indi] - Stopping INDI Server "localhost" @ "7624"
[2020-08-22T17:11:07.339 CEST DEBG ][ org.kde.kstars.ekos] - Resetting Ekos Manager...
[2020-08-22T17:11:07.340 CEST WARN ][ default] - QSqlDatabasePrivate::removeDatabase: connection 'filter_db' is still in use, all queries will cease to work.
[2020-08-22T17:11:07.340 CEST WARN ][ default] - QSqlDatabasePrivate::addDatabase: duplicate connection name 'filter_db', old connection removed.
[2020-08-22T17:11:07.341 CEST INFO ][ org.kde.kstars.ekos] - "INDI-tjenester stoppet."
[2020-08-22T17:11:12.243 CEST DEBG ][ org.kde.kstars.ekos] - Resetting Ekos Manager...
Last edit: 7 months 3 weeks ago by DrawsACircle.
7 months 3 weeks ago #58580

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 6

Replied by karlrees on topic New Pentax Driver Testing

@DrawsACircle

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.

@Ralph

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.


Karl
7 months 3 weeks ago #58585

Please Log in or Create an account to join the conversation.

  • Posts: 31
  • Thank you received: 1
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).
Last edit: 7 months 3 weeks ago by Noideaforaname.
7 months 3 weeks ago #58589

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 6

Replied by karlrees on topic New Pentax Driver Testing

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.
7 months 3 weeks ago #58617

Please Log in or Create an account to join the conversation.

  • Posts: 31
  • Thank you received: 1
Nice work Karl!

I compiled pktriggercord now on Linux Mint 20 (Ubuntu based), the last test i've done were on Windows 10.

Everything is working while the cam is powered over the cigarette lighter. Cam is set to Bulb and MFT and running on a linux system.

I can still use the cam connected with the DC Adapter, i tried to switch the cigarette Adapter because it's a more cleaned up and easier to plug in and out in the dark of night.

Do as you like... for me it's a very interesting bug (or feature) :) If you like to investigate it more further i would like to support it (Paypal... Beer, Coffee, etc :) )
7 months 3 weeks ago #58628

Please Log in or Create an account to join the conversation.

Time to create page: 1.009 seconds