Hello there,

When using both QHY and gphotos driver at the same time, it seems that the QHY driver times out and lead to a crash in PHD2. The QHY driver works fine for hours straight when I'm controlling the camera with a remote control. As soon as I try to use the gphotos driver to control my Pentax DSLR, PHD2 guidescope preview freezes while Ekos is transferring raw files from the DSLR to the Rpi. At some point, PHD2 complains about QHY driver timing out, and I usually need to restart guiding.

Could it be a power issue (I don't use a powered hub at the moment) ? A USB bottleneck somehow ?
I'm not asking for a solution directly (because miracles are rare :D), but I don't really know where to begin with :(. I'm new with INDI and don't really what I could try to do to diagnose my issue.

Regards,
Bertrand

INDI Library : 1.7.9 (compiled from d0321cb7, a more recent build like 1.8.0 does not get an image from the QHY5II)
Kstars/Ekos : 3.3.3
Linux raspberry pi 4.19.57-v7l (Raspberry Pi 4) on Raspbian 10 Buster

PHD2 Log extract

00:05:01.679 00.000 3019784208 Enqueuing Expose request
00:05:01.679 00.000 3014258752 Worker thread wakes up
00:05:01.680 00.001 3014258752 worker thread servicing REQUEST_EXPOSE 200
00:05:01.680 00.000 3014258752 Handling exposure in thread, d=200 o=3 r=(0,0,0,0)
00:05:01.680 00.000 3014258752 INDI Camera Exposing for 200ms
00:05:01.935 00.255 2992394304 INDI Camera Receive Number: CCD_EXPOSURE = 0 state = Busy
00:05:16.903 14.968 2992394304 INDI Camera: serverDisconnected
00:05:16.904 00.001 3014258752 INDI Camera: serverDisconnected
00:05:16.936 00.032 3014258752 worker thread setting skip send exposure complete
00:05:16.936 00.000 3014258752 worker thread queueing reconnect event to GUI thread
00:05:16.937 00.001 3014258752 Error thrown from /home/pi/install/phd2-git/worker_thread.cpp:157->Capture failed
00:05:16.942 00.005 3014258752 worker thread skipping SendWorkerThreadExposeComplete
00:05:16.942 00.000 3014258752 worker thread done servicing request
00:05:17.702 00.760 3019784208 Alert: After 15.2 sec the camera has not completed a 0.2 sec exposure, so it has been disconnected to prevent other problems. If you think the hardware is working correctly, you can increase the timeout period on the Camera tab of the Advanced Settings Dialog.
PHD will make several attempts to re-connect the camera.
00:05:17.863 00.161 3019784208 Try camera reconnect, now = 1567461917
00:05:17.865 00.002 3019784208 gear_dialog: ReconnectCamera
00:05:17.866 00.001 3019784208 gear_dialog: DoConnectCamera [INDI Camera [QHY CCD QHY5LII-M-6047e]]
00:05:17.866 00.000 3019784208 Status Line: Connecting to Camera ...


INDI pentax

DEBUG 403.849648 sec : Downloading image... Name: (capt0014.pef) Folder: (/) Delete from SD card? (false)
DEBUG 403.869847 sec : Downloaded 0x0 (preview 0x0)
DEBUG 403.870917 sec : Cannot decode (Unsupported file format or not RAW file)
DEBUG 403.871164 sec : Exposure done, downloading image...
DEBUG 403.890505 sec : Uploading file. Ext: pef, Size: 16941436, sendImage? Yes, saveImage? No
DEBUG 403.896336 sec : Aborting exposure...
DEBUG 403.896471 sec : Closing internal shutter.
DEBUG 403.896499 sec : Using widget:bulb
DEBUG 403.896514 sec : Setting toggle widget bulb: 0
DEBUG 403.899209 sec : Setting new configuration OK.
DEBUG 403.901367 sec : Reading exposure...
DEBUG 403.901430 sec : Exposure complete.
DEBUG 404.246125 sec : BLOB transfer took 0.355503 seconds
DEBUG 404.246175 sec : Upload complete
DEBUG 404.958386 sec : Event timed out #1, retrying...
DEBUG 408.230841 sec : Event timed out #2, retrying...
DEBUG 409.272480 sec : Event timed out #3, retrying...
DEBUG 410.319105 sec : Event timed out #4, retrying...
DEBUG 411.351958 sec : Event timed out #5, retrying...
DEBUG 412.394803 sec : Event timed out #6, retrying...
DEBUG 414.467606 sec : Event timed out #7, retrying...
DEBUG 415.510348 sec : Event timed out #8, retrying...
DEBUG 416.552036 sec : Event timed out #9, retrying...
DEBUG 417.583880 sec : Event timed out #10, retrying...


INDI QHY

I couldn't find anything strange there



Read More...