×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

QHY5 - [ERROR] GetQHYCCDSingleFrame error (-1)

Actually Ekos already detects that and just starts a single driver, but I believe that check does not include Aux drivers. Will check if I can add them there soon.
4 years 2 months ago #47476

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

It's done, please test now.
4 years 2 months ago #47481

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

  • Posts: 13
  • Thank you received: 1
It just popped up again. Yesterday I refreshed indi from a version from somewhere back in october 2020. And started to get this:

2021-02-16T06:28:24: [INFO] Device configuration applied.
2021-02-16T06:28:24: [INFO] USB Buffer updated to 512
2021-02-16T06:28:24: [INFO] USB Traffic updated to 10
2021-02-16T06:28:24: [INFO] Speed updated to 1 2021-02-16T06:30:07: [ERROR] GetQHYCCDSingleFrame error (-1)

2021-02-16T06:28:24: [INFO] Offset updated to 110
2021-02-16T06:28:24: [INFO] Gain updated to 10
2021-02-16T06:28:24: [INFO] Upload settings set to client only.
2021-02-16T06:28:24: [INFO] Loading device configuration...
2021-02-16T06:28:24: [INFO] USB Traffic Settings: Value: 30 Min: 0 Max: 255 Step 13
2021-02-16T06:28:24: [INFO] Offset Settings: Value: 180 Min: 1 Max: 512 Step 1
2021-02-16T06:28:24: [INFO] Gain Settings: Value: 1 Min: 1 Max: 29 Step 1
2021-02-16T06:28:24: [INFO] USB Speed Settings: Value: 0 Min: 0 Max: 2 Step 1
2021-02-16T06:28:24: [INFO] Camera exposure limits: Min: 0.000001s Max: 3600s Step 0s
2021-02-16T06:28:24: [INFO] Using QHY SDK version 20.12.23
2021-02-16T06:28:23: [INFO] Connected to QHY5LII-M-60b7db50f33c7356.

The camera works fine on windows with driver downloaded from QHYCCD.

Same result on arm64 and x86-64.

Package: indi-qhy
Version: 2.7~202101090932~ubuntu20.04.1

I also tried the nightly - same result.



It just stops at zero remaining time and then - phd2 after a 15 sec timeout - tries to switch to streaming, which also fails:

indiserver -vvv indi_qhy_ccd

2021-02-16T06:59:58: Driver indi_qhy_ccd: read setNumberVector QHY CCD QHY5LII-M-60b7d CCD_EXPOSURE Busy
CCD_EXPOSURE_VALUE='0.029000000000000025757'
2021-02-16T06:59:58: Client 0: queuing <setNumberVector device='QHY CCD QHY5LII-M-60b7d' name='CCD_EXPOSURE'>
2021-02-16T06:59:58: Client 0: sending msg copy 1 nq 1:
<setNumberVector device="QHY CCD QHY5LII-M-60b7d" name="CCD_EXPOSURE" state="Busy" timeout="60" timestamp="2021-02-16T06:59:58">
<oneNumber name="CCD_EXPOSURE_VALUE">
0.029000000000000025757
</oneNumber>
</setNumberVector>

2021-02-16T06:59:58: Driver indi_qhy_ccd: read setNumberVector QHY CCD QHY5LII-M-60b7d CCD_EXPOSURE Busy
CCD_EXPOSURE_VALUE='0.019000000000000016875'
2021-02-16T06:59:58: Client 0: queuing <setNumberVector device='QHY CCD QHY5LII-M-60b7d' name='CCD_EXPOSURE'>
2021-02-16T06:59:58: Client 0: sending msg copy 1 nq 1:
<setNumberVector device="QHY CCD QHY5LII-M-60b7d" name="CCD_EXPOSURE" state="Busy" timeout="60" timestamp="2021-02-16T06:59:58">
<oneNumber name="CCD_EXPOSURE_VALUE">
0.019000000000000016875
</oneNumber>
</setNumberVector>

2021-02-16T06:59:58: Driver indi_qhy_ccd: read setNumberVector QHY CCD QHY5LII-M-60b7d CCD_EXPOSURE Busy
CCD_EXPOSURE_VALUE='0.0090000000000000079936'
2021-02-16T06:59:58: Client 0: queuing <setNumberVector device='QHY CCD QHY5LII-M-60b7d' name='CCD_EXPOSURE'>
2021-02-16T06:59:58: Client 0: sending msg copy 1 nq 1:
<setNumberVector device="QHY CCD QHY5LII-M-60b7d" name="CCD_EXPOSURE" state="Busy" timeout="60" timestamp="2021-02-16T06:59:58">
<oneNumber name="CCD_EXPOSURE_VALUE">
0.0090000000000000079936
</oneNumber>
</setNumberVector>

2021-02-16T06:59:58: Driver indi_qhy_ccd: read setNumberVector QHY CCD QHY5LII-M-60b7d CCD_EXPOSURE Busy
CCD_EXPOSURE_VALUE='0'
2021-02-16T06:59:58: Client 0: queuing <setNumberVector device='QHY CCD QHY5LII-M-60b7d' name='CCD_EXPOSURE'>
2021-02-16T06:59:58: Client 0: sending msg copy 1 nq 1:
<setNumberVector device="QHY CCD QHY5LII-M-60b7d" name="CCD_EXPOSURE" state="Busy" timeout="60" timestamp="2021-02-16T06:59:58">
<oneNumber name="CCD_EXPOSURE_VALUE">
0
</oneNumber>
</setNumberVector>

2021-02-16T07:00:12: Client 0: read newSwitchVector QHY CCD QHY5LII-M-60b7d CCD_VIDEO_STREAM
STREAM_ON='On'
2021-02-16T07:00:12: Driver indi_qhy_ccd: queuing responsible for <newSwitchVector device='QHY CCD QHY5LII-M-60b7d' name='CCD_VIDEO_STREAM'>
2021-02-16T07:00:12: Driver indi_qhy_ccd: sending msg copy 1 nq 1:
<newSwitchVector device="QHY CCD QHY5LII-M-60b7d" name="CCD_VIDEO_STREAM">
<oneSwitch name="STREAM_ON">
On
</oneSwitch>
</newSwitchVector>

2021-02-16T07:00:12: Driver indi_qhy_ccd: read message QHY CCD QHY5LII-M-60b7d '[INFO] Starting the video stream with target exposure 0.100000 s (Max theoritical FPS 10)'
2021-02-16T07:00:12: Client 0: queuing <message device='QHY CCD QHY5LII-M-60b7d' name=''>
2021-02-16T07:00:12: Driver indi_qhy_ccd: read message QHY CCD QHY5LII-M-60b7d '[INFO] For better streaming performance, set USB buffer to 2048 or higher.'
2021-02-16T07:00:12: Client 0: queuing <message device='QHY CCD QHY5LII-M-60b7d' name=''>
2021-02-16T07:00:12: Client 0: sending msg copy 1 nq 2:
<message device="QHY CCD QHY5LII-M-60b7d" timestamp="2021-02-16T07:00:12" message="[INFO] Starting the video stream with target exposure 0.100000 s (Max theoritical FPS 10)"/>

2021-02-16T07:00:12: Client 0: sending msg copy 1 nq 1:
<message device="QHY CCD QHY5LII-M-60b7d" timestamp="2021-02-16T07:00:12" message="[INFO] For better streaming performance, set USB buffer to 2048 or higher."/>

2021-02-16T07:00:12: Driver indi_qhy_ccd: read message QHY CCD QHY5LII-M-60b7d '[INFO] Starting video streaming with exposure 0 seconds (10 FPS)'
2021-02-16T07:00:12: Client 0: queuing <message device='QHY CCD QHY5LII-M-60b7d' name=''>
2021-02-16T07:00:12: Client 0: sending msg copy 1 nq 1:
<message device="QHY CCD QHY5LII-M-60b7d" timestamp="2021-02-16T07:00:12" message="[INFO] Starting video streaming with exposure 0 seconds (10 FPS)"/>
Last edit: 3 years 1 month ago by Domokos Molnar. Reason: Add package version
3 years 1 month ago #67436

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

  • Posts: 13
  • Thank you received: 1
I traced it down and found that the problem lies in /lib/aarch64-linux-gnu/libqhyccd.so.20.

I managed to dig out an earlier version of this file from QHYCCD's website:
www.qhyccd.com/html/test_version/

This one seems to be the latest one there for AARCH64:
www.qhyccd.com/file/repository/latestSof...yccd_V20191115_0.tgz

I replaced the libqhyccd.so.20.12.2 with libqhyccd.so.6.0.5 in the package above, this solved the problem, my QHY5L-II is up and running but I wonder if there is a more recent working version for AARCH64?
3 years 1 month ago #67448

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

Time to create page: 0.465 seconds