×

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

Bi-monthly release with minor bug fixes and improvements

QHY broken with new release (indi-1.7.4), kstars/ekos (2.9.7)

  • Posts: 73
  • Thank you received: 8
I've been off these forums and not using the software for a while now hoping that QHY issues would have been resolved by now. Poked my head in the door to see what was new and found this thread.

I will wait several more months.
5 years 6 months ago #30166

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

There has been a new QHY SDK and QHY driver release since then in INDI Nightly PPA. Please test that.
The following user(s) said Thank You: Wouter van Reeven
5 years 6 months ago #30167

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

  • Posts: 1957
  • Thank you received: 420
5 years 6 months ago #30168

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

  • Posts: 1957
  • Thank you received: 420
I gave it a try tonight. First I added the nightly ppa, then i updated KStars and INDI. Next I connected the QHY9 but as soon as I started the INDI server via Ekos it reported that the qhy driver had crashed. Here are the logs.


- Wouter
5 years 6 months ago #30181
Attachments:

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

It seems there was a build problem.. I rebuilt the package, can you try to update and check again?
The following user(s) said Thank You: Wouter van Reeven
5 years 6 months ago #30186

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

  • Posts: 1957
  • Thank you received: 420
I updated KStars and tried again. Unfortunately the qhy driver still crashes. Here are the new logs.
5 years 6 months ago #30219
Attachments:

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

Please post the output of these two commands:
which indi_qhy_ccd

and
ldd /usr/bin/indi_qhy_ccd
5 years 6 months ago #30223

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

  • Posts: 1957
  • Thank you received: 420
$> which indi_qhy_ccd
/usr/bin/indi_qhy_ccd
and
$> ldd /usr/bin/indi_qhy_ccd
/usr/bin/indi_qhy_ccd: error while loading shared libraries: libqhyccd.so.3: failed to map segment from shared object

EDIT: FYI
$> dpkg -l \*qhy\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                                          Version                             Architecture                        Description
+++-=============================================================-===================================-===================================-================================================================================================================================
ii  indi-qhy                                                      1.9~201810082024~ubuntu16.04.1      armhf                               INDI QHY Driver. This driver is compatible with any INDI client such as KStars or Xephem.
ii  libqhy                                                        3.0.1+r4244~201810090111~ubuntu16.0 armhf                               libqhy provide libraries to access and control QHY CCDs and Filter Wheels.
Last edit: 5 years 6 months ago by Wouter van Reeven.
5 years 6 months ago #30227

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

I just tested on StellarMate and it didn't get that error... so there is something odd going on with your system. Try purging libqhy and reinstalling it again. Check /usr/lib and make sure there is no old libqhy there somehow.
5 years 6 months ago #30243

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

  • Posts: 1957
  • Thank you received: 420
Hmm I tried that but it doesn't resolve the problem:
$> sudo dpkg -P libqhy indi-qhy indi-full
(Reading database ... 185734 files and directories currently installed.)
Removing indi-full (1.7.5~201810090107~ubuntu16.04.1) ...
Removing indi-qhy (1.9~201810082024~ubuntu16.04.1) ...
Removing libqhy (3.0.1+r4244~201810090111~ubuntu16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
$> sudo updatedb
$> locate *qhy*
/usr/bin/indi_qhy_wheel
/var/cache/apt/archives/indi-qhy_1.9~201810080051~ubuntu16.04.1_armhf.deb
/var/cache/apt/archives/indi-qhy_1.9~201810082024~ubuntu16.04.1_armhf.deb
/var/cache/apt/archives/libqhy_3.0.1+r4240~201810080102~ubuntu16.04.1_armhf.deb
/var/cache/apt/archives/libqhy_3.0.1+r4244~201810090111~ubuntu16.04.1_armhf.deb
pi@aries ~ $> sudo apt-get install indi-full
...snip...
$> sudo updatedb
pi@aries ~ $> locate *qhy*
/lib/firmware/qhy
...snip...
/usr/lib/arm-linux-gnueabihf/libqhyccd.so
/usr/lib/arm-linux-gnueabihf/libqhyccd.so.1
/usr/lib/arm-linux-gnueabihf/libqhyccd.so.3
/usr/lib/arm-linux-gnueabihf/libqhyccd.so.3.0.1
...snip...
$> ldd /usr/bin/indi_qhy_ccd
/usr/bin/indi_qhy_ccd: error while loading shared libraries: libqhyccd.so.3: failed to map segment from shared object

This is on an RPi3 running
$> cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"
I'll try a reinstall and see if that helps.

EDIT: And FYI
$> ll /usr/lib/arm-linux-gnueabihf/libqhyccd.so
lrwxrwxrwx 1 root root 14 Oct  9 05:12 /usr/lib/arm-linux-gnueabihf/libqhyccd.so -> libqhyccd.so.1
$> ll /usr/lib/arm-linux-gnueabihf/libqhyccd.so.1
lrwxrwxrwx 1 root root 18 Oct  9 05:12 /usr/lib/arm-linux-gnueabihf/libqhyccd.so.1 -> libqhyccd.so.3.0.1
$> ll /usr/lib/arm-linux-gnueabihf/libqhyccd.so.3
lrwxrwxrwx 1 root root 18 Oct  9 05:12 /usr/lib/arm-linux-gnueabihf/libqhyccd.so.3 -> libqhyccd.so.3.0.1
$> ll /usr/lib/arm-linux-gnueabihf/libqhyccd.so.3.0.1
-rw-r--r-- 1 root root 1311584 Oct  9 05:12 /usr/lib/arm-linux-gnueabihf/libqhyccd.so.3.0.1
$> file /usr/lib/arm-linux-gnueabihf/libqhyccd.so.3.0.1
/usr/lib/arm-linux-gnueabihf/libqhyccd.so.3.0.1: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=95417040e4015299b14ff901a2729823db9183cb, stripped
Last edit: 5 years 6 months ago by Wouter van Reeven.
5 years 6 months ago #30250

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

  • Posts: 1957
  • Thank you received: 420
Just saw a new version coming in when I updated the software on the RPi3 but that didn't help:
$> sudo apt-get update && sudo apt-get dist-upgrade -y
...snip...
Get:10 http://ppa.launchpad.net/mutlaqja/indinightly/ubuntu xenial/main armhf libqhy armhf 3.0.1+r4247~201810100105~ubuntu16.04.1 [556 kB]
...snip...
Setting up libqhy (3.0.1+r4247~201810100105~ubuntu16.04.1) ...
...snip...
$> ldd /usr/bin/indi_qhy_ccd
/usr/bin/indi_qhy_ccd: error while loading shared libraries: libqhyccd.so.3: failed to map segment from shared object
$> file /usr/lib/arm-linux-gnueabihf/libqhyccd.so.3.0.1
/usr/lib/arm-linux-gnueabihf/libqhyccd.so.3.0.1: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=95417040e4015299b14ff901a2729823db9183cb, stripped
Last edit: 5 years 6 months ago by Wouter van Reeven.
5 years 6 months ago #30251

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

  • Posts: 1957
  • Thank you received: 420
I tried also on my Odroid and there it works:
...snip...
Setting up libqhy (3.0.1+r4247~201810100106~ubuntu18.04.1) ...
...snip...
$> ldd /usr/bin/indi_qhy_ccd
	linux-vdso.so.1 (0xbee54000)
	libindidriver.so.1 => /usr/lib/arm-linux-gnueabihf/libindidriver.so.1 (0xb6e4b000)
	libindiAlignmentDriver.so.1 => /usr/lib/arm-linux-gnueabihf/libindiAlignmentDriver.so.1 (0xb6e26000)
	libcfitsio.so.5 => /usr/lib/arm-linux-gnueabihf/libcfitsio.so.5 (0xb6cc9000)
	libqhyccd.so.3 => /usr/lib/arm-linux-gnueabihf/libqhyccd.so.3 (0x5d097000)
	libusb-1.0.so.0 => /lib/arm-linux-gnueabihf/libusb-1.0.so.0 (0x5d076000)
	libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x5d051000)
	librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0x5d03b000)
	libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0x5cf28000)
	libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x5cea7000)
	libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0x5ce7e000)
	libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x5cd86000)
	/lib/ld-linux-armhf.so.3 (0xb6fa7000)
...snip...
5 years 6 months ago #30253

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

Time to create page: 0.636 seconds