×

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

Bi-monthly release with minor bug fixes and improvements

Multiple driver/lib problems for QHY168c on Raspberry Pi 4 using libqhy [solved]

  • Posts: 1
  • Thank you received: 0
Solved:
Below problems solved. Started with a clean Raspbian instance and built indi core, indi-3rdparty (build driver, then library). Had to find ta correct fxload and build that--various sources and packages didn't work. Hack 'installed' it by copying over all instances of fxload in /usr/bin /sbin /usr/sbin.
There is a claim that fx3load is in the indi distribution, but I couldn't find it in indi-core.
fxload source code from Sourceforge


I'm having problems connecting to my QHY168c with a Raspberry Pi 4b via INDI 3RD PARTY.

ccd_qhy_test says the camera is not found, so:
from /var/log/syslog

Mar 25 19:48:43 astro systemd-udevd[2400]: 1-1.1.4: Process '/sbin/fxload -t fx3 -I /lib/firmware/qhy/QHY168.img -D /dev/bus/usb/001/007' failed with exit code 1.
Mar 25 19:48:43 astro systemd-udevd[2400]: 1-1.1.4:1.0: Process '/sbin/fxload -t fx3 -I /lib/firmware/qhy/QHY168.img -D ' failed with exit code 1.

I don't know what that problem means.
$ uname -a
Linux astro 6.1.19-v8+ #1637 SMP PREEMPT Tue Mar 14 11:11:47 GMT 2023 aarch64 GNU/Linux

Next:
Using the latest indi-3rdparty shallow clone from git, I have tried multiple builds.
After building from libqhy/ I see the *.so are built and installed presumably using the armv8 file, but:
$file libqhyccd.so.23.2.24
libqhyccd.so.23.2.24: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, BuildID[sha1]=cf49f9743aab85dc75569664e86c5918958da7d9, not stripped

indi-qhy/
make -j4
[ 50%] Building CXX object CMakeFiles/qhy_video_test.dir/qhy_video_test.cpp.o
[ 50%] Building CXX object CMakeFiles/qhy_ccd_test.dir/qhy_ccd_test.cpp.o
[ 50%] Building CXX object CMakeFiles/indi_qhy_ccd.dir/qhy_ccd.cpp.o
[ 66%] Linking CXX executable qhy_ccd_test
/usr/local/lib/arm-linux-gnueabihf/libqhyccd.so: file not recognized: file format not recognize

How do I tell libqhy during build to use the right bitness/file type?

Thank you.
Last edit: 1 year 1 month ago by Anthony Bigbee. Reason: Update with solution.
1 year 1 month ago #91486

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

Time to create page: 0.717 seconds