×

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

Bi-monthly release with minor bug fixes and improvements

QHY Driver problem wrong libqhy.so version

  • Posts: 13
  • Thank you received: 0
Hi, I'm a n00b to INDI trying to get up to speed and eventually contribute something. I've purchased a QHY5L-II and have it running nicely on LinGuider, but not quite running on a Pi 2 with indiserver. I've been reading all the relevant posts I can find, compiled and installed version 2286 from SVN, and fixed the Missing Link by pointing it to /usr/lib/libqhy.so.0.1.4.

At this point, running KStars/Ekos from a desktop gets a connection to the camera, but asking it to take an image results in the client getting stuck waiting for the capture to finish. I think the camera is being set up correctly based on the following from dmesg:
[ 1870.399548] usb 1-1.5: new high-speed USB device number 6 using dwc_otg
[ 1870.499964] usb 1-1.5: New USB device found, idVendor=1618, idProduct=0920
[ 1870.499988] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1870.675465] usb 1-1.5: USB disconnect, device number 6
[ 1872.449601] usb 1-1.5: new high-speed USB device number 7 using dwc_otg
[ 1872.549918] usb 1-1.5: config 1 interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 64
[ 1872.549943] usb 1-1.5: config 1 interface 0 altsetting 0 bulk endpoint 0x1 has invalid maxpacket 64
[ 1872.550376] usb 1-1.5: New USB device found, idVendor=1618, idProduct=0921
[ 1872.550398] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1872.550415] usb 1-1.5: Product: QHY5-II 12-5-1   
[ 1872.550432] usb 1-1.5: Manufacturer: QHC-CCD
However, in the terminal in which indiserver is running, I get this:
$ sudo indiserver -v -m 100 indi_qhy_ccd
2015-06-07T18:17:22: startup: indiserver -v -m 100 indi_qhy_ccd 
2015-06-07T18:17:22: Driver indi_qhy_ccd: pid=2303 rfd=3 wfd=6 efd=7
2015-06-07T18:17:22: listening to port 7624 on fd 4
2015-06-07T18:17:22: Driver indi_qhy_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD
2015-06-07T18:17:22: Driver indi_qhy_ccd: snooping on Telescope Simulator.TELESCOPE_INFO
2015-06-07T18:17:22: Driver indi_qhy_ccd: snooping on CCD Simulator.FILTER_SLOT
2015-06-07T18:17:22: Driver indi_qhy_ccd: snooping on CCD Simulator.FILTER_NAME
2015-06-07T18:18:26: Client 0: new arrival from 192.168.1.44:38786 - welcome!
2015-06-07T18:19:33: Driver indi_qhy_ccd: stdin EOF
2015-06-07T18:19:33: Driver indi_qhy_ccd: restart #1
2015-06-07T18:19:33: Driver indi_qhy_ccd: pid=2306 rfd=3 wfd=7 efd=8
2015-06-07T18:19:33: Driver indi_qhy_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD
2015-06-07T18:19:33: Driver indi_qhy_ccd: snooping on Telescope Simulator.TELESCOPE_INFO
2015-06-07T18:19:33: Driver indi_qhy_ccd: snooping on CCD Simulator.FILTER_SLOT
2015-06-07T18:19:33: Driver indi_qhy_ccd: snooping on CCD Simulator.FILTER_NAME
2015-06-07T18:19:52: Driver indi_qhy_ccd: indi_qhy_ccd dispatch error: 
...and trying to do much of anything with the camera driver -- set the exposure or gain, for example -- results in the message
Driver indi_qhy_ccd: indi_qhy_ccd dispatch error:
with the corresponding state indicator stuck in busy lemon mode.

So, some questions:
  • Anything obviously dumb I'm doing? :dry:
  • There doesn't seem to be firmware specific to the QHY5L-II, just QHY5II.HEX. Is that the right file to be loaded for the L version?
  • Any other suggestions as to where my debugging efforts should be directed? I'm somewhat competent with C/C++ and Debian and would like to help squash some bugs.

Thanks
8 years 10 months ago #4336

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

You're not doing anything wrong, QHY also crashes for me. I emailed QHY and still waiting for response. The problem is that only binary blob is available from QHY and no debug symbols, so we have to wait on QHY to resolve this.
8 years 10 months ago #4337

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

  • Posts: 13
  • Thank you received: 0
OK, thanks for the information.
8 years 10 months ago #4338

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

  • a Guest
  • a Guest's Avatar
  • Visitor
  • Visitor

Replied by a Guest on topic QHY Driver problem wrong libqhy.so version

Hello adinghi

I have tested on PI2 with ubuntu mate.you could check my post link:

indilib.org/forum/ccds-dslrs/741-qhy-dri...on.html?start=6#4320

I did not think this problem is just libqhy's problem.But I need some help from you.I want to have a online talk with you.please help me...

Best Regads!

lzr
Last edit: 8 years 10 months ago by a Guest.
8 years 10 months ago #4339

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

  • Posts: 13
  • Thank you received: 0
OK, how can I help? I'm happy to try, within the usual time constraints imposed by the day job, etc.

I had looked at your post before I wrote my first message on this thread, and I tried the method used by gus_ to see if it would work. It didn't work for my QHY5L-II, which would seem to make sense given the new camera's different firmware process.

One thing about the new camera has worked spectacularly well: Since the camera arrived, my town has been covered in dense fog... :S
8 years 10 months ago #4340

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

  • a Guest
  • a Guest's Avatar
  • Visitor
  • Visitor

Replied by a Guest on topic QHY Driver problem wrong libqhy.so version

I am sure the good weather will come soon :)

I tested ubuntu mate last time.I have QHY5LII and PI2.tell me more details I will test and find the problem for you.

1.did you use usb hub with external power?

2.which system img are you using for PI2?
8 years 10 months ago #4341

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

  • Posts: 13
  • Thank you received: 0
The weather is good enough to see all the way across my street now! Also, I have another interesting test result.

I've installed indiserver (revision 2286 from SVN again) and all the appropriate other stuff on an Acer Chromebook (Intel processor) running Chrubuntu. The QHY5L-II with indiserver works on this one. Image download times are weirdly long, but that could be a feature of my home Wi-Fi.

I haven't been using an externally powered USB hub, just a nice strong 2 amp power supply for the Pi 2...which could be a mistake on my part. I'll try to get an externally powered hub hacked together...or at least some big capacitors. :P

The Pi 2 is running the Raspbian Wheezy image from 2015-02-16. I guess I should try Mate too. {Hunting around for an SD card}

Thanks for the help! I'm getting the feeling that the QHY stuff is probably fine and I haven't been setting things up correctly. N00bs gotta learn somehow.

Update: Found an SD card, installed Ubuntu MATE, downloaded version 2293 of libindi and 3rdparty from Git, compiled stuff and voila, it works. So it would appear the power supply wasn't at fault; I must have had something messed up in Raspbian, or there's an incompatibility there.
Last edit: 8 years 10 months ago by Adinghi. Reason: New test results
8 years 10 months ago #4343

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

  • Posts: 34
  • Thank you received: 3
Hello !
Is there a version of the library libqhy compatible with INDI 1.0 ?
I am building on Fedora 20.
8 years 7 months ago #4769

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

  • Posts: 171
  • Thank you received: 41
You could try to rebuild the Fedora 21 RPMS on 20: download.opensuse.org/repositories/home:...eding/Fedora_21/src/ It should work (the repo was available for 20 until Fedora 20 end of live and there were no significant changes since then), libqhy is mostly binary repackaging. I don't know if indi-qhy will compile against INDI 1.0, but you can also rebuild libindi-bleeding from 21/22 on 20.
8 years 7 months ago #4771

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

  • Posts: 34
  • Thank you received: 3
Thank you, I'll try.
8 years 7 months ago #4772

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

  • Posts: 23
  • Thank you received: 1

Hi
How did you Connected the qhy color filter wheel ??? is it over USB or 2pin socket with QHY9s ??? i was trying to Connect QHYCFW2 over the USB with Raspberry Pi 2 Ubuntu Mate BUT !!!! :pinch: Without result !!!!!???????

can i get same support , i was trying over week now and searching the web & forums but Without result on how to Connect the QHYCFW2 :blink:

can any one help me
Last edit: 8 years 2 months ago by sami aldoseri.
8 years 2 months ago #6849

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

  • Posts: 83
  • Thank you received: 9
Hello Lee,
Hope your enjoying your holiday. I finally got my Kstars/ Ekos system up and running as well. I have both a guide camera QHY5L and a QHY8Pro attached simultaneously. This is a system that is up and running 24 hrs a day in my observatory, running Ubuntu-Mate 15.1. So if you need me to test anything I can do it.... Bruce
8 years 2 months ago #6881

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

Time to create page: 1.352 seconds