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
I have reinstalled the last release ofEKOS and effectively, it crash... So I recompile again the indi_qhy_ccd and it works... I send you in attachment the new driver and also the QHY8.HEX file .indi_qhy_ccd have to take place in /usr/bin directory ( using UNIX command cp and rm with"sudo" in prefix ) qhy8.hex in /lib/firmware/qhy directory.Let me know if it works.best regards.JCHi mark,I have reinstalled the last release ofEKOS and effectively, it crash... So I recompile again the indi_qhy_ccd and it works...
I send you in attachment the new driver indi_qhy_ccd and also the QHY8.HEX file.
indi_qhy_ccd have to take place in /usr/bin directory ( using UNIX command cp and rm with"sudo" in prefix ) and before..., rename the file indi_qhy_ccd.log in indi_qhy_ccd ( remove the log extention set for contouning the fire wall)
QHY8.HEX in /lib/firmware/qhy directory. ( rename the QHY8.log in QHY8.HEX , remove the log extention and put .HEX, log extention set for contouning also the fire wall ....)take care about the case.. you are in the UNIX world.Let me know if it works.best regards.JC