×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

QHY issues

  • Posts: 10
  • Thank you received: 0

Replied by Simon on topic QHY issues

Hey,
I have a similar issue with the QHY5III 462 color cam. I can't connect it in kstars.
When using lsusb I get the following output:
Bus 005 Device 006: ID 1618:0462 Cypress WestBridge
So the camera is visible. However running the test /usr/bin/qhy_ccd_test gives:

QHY Test CCD using SingleFrameMode, Version: 1.00
-- qhyccd.cpp param
QHYCCD|QHYCCD.CPP|InitQHYCCDResource()|START
QHYCCD|QHYCCD.CPP|InitQHYCCDResource|auto_detect_camera:false,call InitQHYCCDResourceInside
QHYCCD|QHYCCD.CPP|InitQHYCCDResourceInside|START
QHYCCD|QHYCCD.CPP|libusb_version 1.0.24.11584
QHYCCD|QHYCCD.CPP|libusb_init(libqhyccd_context) called...
QHYCCD|QHYCCD.CPP|InitQHYCCDResourceInside|numdev set to 0
QHYCCD|QHYCCD.CPP|InitQHYCCDResourceInside|END
************************** config file path 22.7.28.19 svn: 1 ************************************
QHYCCD|QHYCCD.CPP|InitQHYCCDResource|Load ini filePath = /usr/bin fileName = qhyccd.ini
SDK resources initialized.
No QHYCCD camera found, please check USB or power.

The SDK is (sudo ldd /usr/bin/indi_qhy_ccd |grep libqhy*):
libqhyccd.so.22 => /lib/aarch64-linux-gnu/libqhyccd.so.22 (0x0000ffff94e18000)

I built kstars and indi including indi 3rdparty drivers from source just 2 days ago.
I tried running sudo apt-get update && sudo apt-get -y dist-upgrade but I still got the same error when running /usr/bin/qhy_ccd_test. Trying different USB cables and both USB3.0 and USB2.0 also didn't work, so they don't seem to be the source of the issue. At this point I don't know how to find/solve the issue..
My ToupCam IMX571 color CCD and EQMod mount run perfectly in kstars.

OS: Armbian 22.08.1 Bullseye
1 year 7 months ago #86167

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

  • Posts: 421
  • Thank you received: 102

Replied by Kevin Ross on topic QHY issues

If "lsusb" shows "Cypress" and not "QHYCCD" then that probably means the firmware wasn't loaded. Unfortunately, the fxload utility that's packaged is out of date. You must download and build one that supports newer USB3 cameras from

sourceforge.net/projects/fx3load/

After you build it, copy it to /sbin/fxload, and either unplug/replug the camera, or reboot
The following user(s) said Thank You: Simon
1 year 7 months ago #86190

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

  • Posts: 239
  • Thank you received: 38

Replied by Sonny Cavazos on topic QHY issues

That is correct, however it is the OS that has the wrong FXLoad in the distribution (most ubuntu 20.04 have the USB2 versions) The Beta GITHUB INDI 3rdparty distribution has the correct FXLOAD (FX3) now. The next update to the standard INDI driver should have the correct FXLoad.

But yes, he is quite correct, you can build and install FX3 version on his link.

Clear skies.
The following user(s) said Thank You: Simon
1 year 7 months ago #86191

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

  • Posts: 239
  • Thank you received: 38

Replied by Sonny Cavazos on topic QHY issues

That is correct, however it is the OS that has the wrong FXLoad in the distribution (most ubuntu 20.04 have the USB2 versions) The Beta GITHUB INDI 3rdparty distribution has the correct FXLOAD (FX3) now. The next update to the standard INDI driver should have the correct FXLoad.

But yes, he is quite correct, you can build and install FX3 version on his link.

Clear skies.
1 year 7 months ago #86192

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

  • Posts: 239
  • Thank you received: 38

Replied by Sonny Cavazos on topic QHY issues

That is correct, however it is the OS that has the wrong FXLoad in the distribution (most ubuntu 20.04 have the USB2 versions) The Beta GITHUB INDI 3rdparty distribution has the correct FXLOAD (FX3) now. The next update to the standard INDI driver should have the correct FXLoad.

But yes, he is quite correct, you can build and install FX3 version on his link.

Clear skies.
1 year 7 months ago #86193

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

  • Posts: 10
  • Thank you received: 0

Replied by Simon on topic QHY issues

I downloaded the fx3load package, however I was not able to build it due to my limited linux knowledge. So I decided to just download the SDK library directly from qhy and follow their instructions: www.qhyccd.com/html/prepub/log_en.html#!log_en.md . I ran the "sudo bash distclean.sh" to get rid of the old one and then installed the new one with "sudo bash install.sh".
Now when running "lsusb" the camera was detected correctly: Bus 006 Device 002: ID 1618:0463 QHYCCD QHY5III462-211011.
However when running the test script "/usr/bin/qhy_ccd_test" I got the error: "libqhyccd.so.22: cannot open shared object file: No such file or directory".
So I just copied the missing file from the one which I still had from the build directory: "sudo cp ~/Projects/build/indi-3rdparty-libs/libqhy/libqhyccd.so.22 /lib/aarch64-linux-gnu/"
Now the camera works perfectly in kstars.

Thank you guys for helping me out here.
Last edit: 1 year 7 months ago by Simon. Reason: Grammar
1 year 7 months ago #86197

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

  • Posts: 213
  • Thank you received: 31

Replied by Ron DeBry on topic QHY issues


This issue has appeared again. After a recent update my QHY5iii462C shows up as 'Cypress Westbridge', suggesting that the firmware is not loading.

Did the newest version of INDI 3rdparty lose the correct FXLOAD recently?
1 year 2 months ago #90297

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

  • Posts: 239
  • Thank you received: 38

Replied by Sonny Cavazos on topic QHY issues

Might be, I had the same issue and had to re-compile FX3LOAD for my platform X64 on Ubuntu.
1 year 2 months ago #90298

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

  • Posts: 335
  • Thank you received: 19

Replied by MORELLI on topic QHY issues

How to compile fxload please ?
No issue with V3.6.2 beta.
Last edit: 1 year 2 months ago by MORELLI.
1 year 2 months ago #90319

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

Replied by Jasem Mutlaq on topic QHY issues

It's already included with StellarMate. no need to compile there.
1 year 2 months ago #90325

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

  • Posts: 213
  • Thank you received: 31

Replied by Ron DeBry on topic QHY issues

I was hoping it would be as easy as following Kevin Ross' lead and replacing fxload in /sbin I can now see the QHY5iii462C in lsusb and it is successful with QHY's LiveFrameMode test program, but in KStars the QHY driver crashes immediately.

Running $indiserver indi_qhy_ccd fails due to missing libqhyccd.so.22 (as per Simon's post above)

Can I get libqhyccd.so.22 somewhere without building INDI-3rdParty from source?

[edit]: Going backwards. I installed nightly and rebooted - and now I'm back to "Cypress WestBridge" in lsusb. Copied the fxload from fx3load over to /sbin again but still not seeing the camera, jusy Cypress WestBridge
Last edit: 1 year 2 months ago by Ron DeBry.
1 year 2 months ago #90333

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

  • Posts: 335
  • Thank you received: 19

Replied by MORELLI on topic QHY issues

The issue doesn't exist with V3.6.2 beta, only with V3.6.3. One tells me to install libusb-dev and compile fxload. Wih no success. I am unable to connect my QHY camera, 294C and 224C. So I can't image the comet ZTF !
Last edit: 1 year 2 months ago by MORELLI.
1 year 2 months ago #90338

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

Time to create page: 0.735 seconds