I would keep watching this topic. I tried to replace the .HEX file with the one provided here. www.qhyccd.com/bbs/index.php?topic=5789.0 I was able to connect QHY8 afterward but there is no way for me to control the gain and offset of the camera.
If you are using the hex file you have mentionned, you will not be able to use gain/Ofsset and USB speed ( you need to slow with the camera... )
To get those functionalities I succed ( After almost one year....) to find how in re-compiling the QHY 3rd driver modifying ( very slightly... ) in the code test concerning those three prperties.
I have recompile for rasbian buster with Astroberry environnement.
The small remaining bug is that when you stop the camera during acquisition, the connexion is completly jamed. But here also I found a way with a unix command in reintialisation to restart the connexion. This permit to avoid a deconnexion of the usb cable which was necessary before. I plan to use Ekos in remote at 500 km from where I am living so I was wondering not to move each time the connexion was out !
So If your are using astroberry/Rasbian , I can send to you those released of QHY 3rd Driver if you are interrested in (without garanty ...! ) or is you are confident to recompile the drivers in your environment, I can show you the modification done in the code whiche is very small. As you want ..
Wow, that was quite an effort you made, I am currently using Astroberry + EKOS, I believe your work will solve my problem. If you don't mind, would you send me the driver first so I can get the camera to work on Astroberry?
Meanwhile, I am also curious to know what kind of modification you did to the driver to make it work, maybe I can look into the jammed connection problem with some digging and lucks.
I have the same problems as you, not being able to set gain and offset or the USB speed. Over the years, I have tried various incarnations of the QHY8.HEX file (from this forum and the QHY forum), with no real luck.
If you managed to work out a 'fix' in the driver that would indeed be amazing. Would you mind sharing your .HEX? (or mods in the source code which then needs to be recompiled)
Currently working in a windows 7 environment (which runs great), but would love to run in the Astroberry+Ekos env.
Firstly I had to review the step to compile and install this driver through the make file.
See firstly the file "qhy_ccd.ccp" that I have modify to validate gain,offset and USB Speed. You will see that the modification is very simple but not portable ( be care if your using QHY8L and 8Pro...). As you will see there one point that I was not able to activate is the binning 2X2 and 4X4... that a little bit frustarting whan I making a atroresolution wit hte 1X1 binning. It take longer timer than if I was able to active the 4X4 binning. That will be the next step.
If you fill confident, you can follow the indication done on "github.com/indilib/indi-3rdparty" to recompile the QHY CCd driver with the "qhy_ccd.ccp" file I have send to you and install it.. If you do so, of course I will convince you to make a copy of your entire rasberry system due to the risk of installation crash you may.
If you don't fell confident , I propose to you to copy the lib here with "indi_qhy_ccd" and copy it in the /usr/bin directory renaming the existing file with old extention in case it is not working
. you should do that with the "sudo" prefix comman I supose as you are in the systme files. I am not sure that it will works due to that fact that I have use the "github.com/indilib/indi-3rdparty" indication to compile and install the new lib. But let try... I think it shoud works.
in any case, let me know if it works !
If it works, on last thing, the command to reintithe usb connection if you interrupt the acquisition before the end of the exposition..:
open a command line and type:
Thank you as well! It all seems to work for me as well. The offset, gain and USB speed are available and working. I haven't tried it under the stars or with any sequences yet, but it looks promising.
I used your compiled library, but also had a look through your code modifications, and I am surprised that those mods would be required, and not caught by the main flow, but hey amazing job!
I just realise that I used the v2QHY8.HEX firmware (few messages up), but not sure if that was required. I had multiple QHY cameras attached and was physically unplugging the wrong one, so copied that version in place and realised I was unplugging the wrong camera:)
I tried binning, but as you said that is not working, well the image gets downloaded but at full resolution. This is fine with me, little slower with the focusing procedure I guess. I haven't tried or set up the plate solving, but I would assume you can use a reduction factor, which I am already using.
Anyway, I gave the whole setup a sanity check and it all seems to work nicely. So now I will need to rethink about how to reconfigure the whole camera/mount/telescope setup using the Kstars + Ekos environment. But that is good news!
Not sure how many others are there which have similar problems with the QHY8, but it may be worth putting it in git (GitHub or gitlab or any of the others). However it is logged in this thread so all good.
Let me know if there is anything you want me to check.
OK ! I very glad that this works at the end is used by other than my own person ! So I am trying to investigate the reset of USB ( very important when you are using Ekos in remote at 500km...! ) and also the binnning and let you know if I get some news...
In the meantime enjoy with this camera that even it is old, is still interresting with its format, I think for tracking variable star/Ateroid or simply imaging a large field !
Hi Mark,Sorry for the delay... here is the last release done for this driver hopping it will be compatible with your release of Astroberry. before putting the file in the usr/bin diretory, remove the .log extention thta I was abliged to add to pass the firewall. Tell me if it is not working