×
INDI Library v1.8.7 Released (21 Nov 2020)

Nov. 2020 Release brings significant improvements to streaming and recording videos. Support for new drivers including Estatto focuser and Pegasus falcon rotator.

QHY5 - legacy camera doesn't connect through Indi/PHD2/RPi

4 months 5 days ago 4 months 5 days ago by SteveBz.
SteveBz
Fresh Boarder
Fresh Boarder
Posts: 10
More
Topic Author
QHY5 - legacy camera doesn't connect through Indi/PHD2/RPi #57076
Hi Guys,

I'm sure this an old problem, but my old QHY5, which works perfectly under PHD2, doesn't work under my installation of INDI. Really, I wanted everything working remotely, INDI from the Web interface, PHD2 from the event monitoring interface, and my application (built in Python) sitting on a machine inside the house, warm and dry. Everything I tried has failed with different errors. First I installed from rlancaster's script on github, which seemed to install nicely (over a previous installation).

So first of all I tried the web-indi interface, which seems to work nicely, but doesn't. It sat there humming, saying server started, but no error messages. I tried the CCD simulator and QHY5.

Then I stopped the web-indi and ran directly. This gave me more progress.
indiserver -v indi_simulator_ccd
, starts nicely, but then when I try to use it with the PHD2 new equipment profile give me:
2020-07-20T16:44:01: Client 0: new arrival from 127.0.0.1:38710 - welcome!
2020-07-20T16:44:14: Client 0: read EOF
2020-07-20T16:44:14: Client 0: shut down complete - bye!

Which doesn't look right, and although it seems to connect, there is no signal, as there would be when you run the normal PHD2 simulator.

With QHY5, it's different again. I run:
indiserver -v indi_qyh5_ccd

And I get:
2020-07-20T16:48:23: Driver indi_qhy_ccd: restart #8
2020-07-20T16:48:23: Driver indi_qhy_ccd: pid=9883 rfd=0 wfd=6 efd=7
2020-07-20T16:48:23: Driver indi_qhy_ccd: indi_qhy_ccd: error while loading shared libraries: libqhyccd.so.3: cannot map zero-fill pages
2020-07-20T16:48:23: Driver indi_qhy_ccd: stderr EOF
Child process 9883 died
2020-07-20T16:48:23: Driver indi_qhy_ccd: restart #9
2020-07-20T16:48:23: Driver indi_qhy_ccd: pid=9884 rfd=0 wfd=6 efd=7
2020-07-20T16:48:23: Driver indi_qhy_ccd: indi_qhy_ccd: error while loading shared libraries: libqhyccd.so.3: cannot map zero-fill pages
2020-07-20T16:48:23: Driver indi_qhy_ccd: stderr EOF
Child process 9884 died
2020-07-20T16:48:23: Driver indi_qhy_ccd: restart #10
2020-07-20T16:48:23: Driver indi_qhy_ccd: pid=9885 rfd=0 wfd=6 efd=7
2020-07-20T16:48:23: Driver indi_qhy_ccd: indi_qhy_ccd: error while loading shared libraries: libqhyccd.so.3: cannot map zero-fill pages
2020-07-20T16:48:23: Driver indi_qhy_ccd: stderr EOF
2020-07-20T16:48:23: Driver indi_qhy_ccd: Terminated after #10 restarts.
2020-07-20T16:48:23: good bye
And various issues trying to run PHD2.

I'm not sure where I'm going wrong, INDI looks amazing, I've just never managed to get it to work.

Thanks for your help.

Regards

Steve.

PS, OK I've just seen Jasem's earlier reply to another thread, the CCD simulator message is correct, but it still doesn't work and nor does web-indi. I'll do some more investigation and post the results. But the QHY5 errors still look wrong.
PPS The QHY files are:
/usr/local/lib/libqhyccd.so
/usr/local/lib/libqhyccd.so.3
/usr/local/lib/libqhyccd.so.3.0.1
pi@raspberrypi:~ $ 

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

4 months 5 days ago
SteveBz
Fresh Boarder
Fresh Boarder
Posts: 10
More
Topic Author
QHY5 - legacy camera doesn't connect through Indi/PHD2/RPi #57078

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

4 months 2 days ago 4 months 2 days ago by SteveBz.
SteveBz
Fresh Boarder
Fresh Boarder
Posts: 10
More
Topic Author
QHY5 - legacy camera doesn't connect through Indi/PHD2/RPi #57226
Hi Guys,

Well this is a very one-sided conversation. Here is my update so far. I have rebuilt my RPi3b+ several times with:

Ubuntu-Mate 20.04 64bit: very slow, almost unusable.
Ubuntu-Mate 20.04 32bit: still very slow, didn't continue.
I didn't try the 18.04, maybe that would have been OK.
Raspbian (most recent release mid-2020): Seemed faster.

installed rlancaste github installation for Rpi3. Very slow and hung several times. Changed compiler flags from -j (.... -2) to -j(....-1) and then -j(.... -0). The compile finally completed with one error on weather.cpp. I didn't worry so much.

The issue with -j (which is the number of processors to use) was caused by memory utilisation. Even running at 25% CPU utilisation, memory utilisation was 70% at times. Obviously more processors pushed it even higher.

KStars, PHP and Indi seemed to install OK and I can detect hardware and loop photos, which I couldn't before. The RPi3b, seems a little under-powered, but the big lesson was I needed to upgrade Raspbian before I could install KStars/Indi etc. I should probably also buy an RPi 4. But the RPi 3b+ is still good enough. A 240 sec exposure will always take 240 secs, and a faster processor won't change that.

Good luck to anyone reading,

Regards

Steve.

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

Time to create page: 0.504 seconds