QHYCCD

QHYCCD SDK Linux & Raspberry PI3 targz files

astrosoft

  • *
  • 27
  • Astronomical software developer in C/C++/Java
    • View Profile
    • Email
QHYCCD SDK Linux & Raspberry PI3 targz files
« on: July 10, 2017, 01:16:39 pm »
Hi all,

we have mostly ready to release two targz files for 64 bit Ubuntu Linux and for RPI3 machines.
The SDK contains all the necessary files like static & shared libs, header files, udev rules file, simple test application and install script.
The SDK is tested with TheSkyX running on Ubuntu and RPI3. I used QHY163M and QHY5L-II cameras for testing purposes.
There is also fx3load utility for uploading firmwares (FX2 & FX3) to cameras, so when you connect your camera to USB3 port, it should
automatically upload firmware there. We will also release x2 driver for TheSkyX, of course.

NOTE:
A few days ago, I have noticed that uploading the FX3 firmware to my QHY163 camera stopped working after a few months
for some unknown reason. Today, I have found that when I reconnect my camera from USB-C hub directly to USB3 port,
it works again, but this camera still doesn't work on RPI3. Previously, all worked on Ubuntu and RPI3 without any problems.
That's why we cannot release those distribution right now.

We work hard to solve this problem, so please be patient. I am really very sorry for such a delay, but this problem has to be fully solved
before delivery is done.

The SDK works perfectly with cameras which needs the FX2 loader, the problem is with FX3 loader, ie. QHY163 for example.

Thank you,
Jan
 
********************************************************
Jan Soldan
Astronomical Embedded Systems.
Fricova - 236, 251 65 Ondrejov,
Czech Republic
http://www.linkedin.com/in/jansoldan
Email : astrosoft@email.cz
Skype : astrosoft_cz
Mobile : +420 728 403 811
*******************************************

astrosoft

  • *
  • 27
  • Astronomical software developer in C/C++/Java
    • View Profile
    • Email
Re: QHYCCD SDK Linux & Raspberry PI3 targz files
« Reply #1 on: July 11, 2017, 08:33:36 am »
Hi all,

there was a problem inside the 85-qhyccd.rules file, where VID/PID numbers of some cameras were defined with CAPITAL LETTERS,
for example the QHY163 camera was defined as VID/PID 1618:C163, but system reported 1618:c163. It that case, uploading firmware
to the camera was not triggered, of course. So, I have fixed those bugs and now, SDK driver works well with Ubuntu Linux 16.04 as well
as Raspberry PI3.
I have prepared two distribution targz packages, easy to use. Just untar them, go to the install_directory and as a sudo run installation
script.

We will put those files for download on QHYCCD web page, but you can try to download them from below links:

https://www.dropbox.com/pri/get/Public/QHYCCD/qhyccdsdk-0.1.9-linux.tar.gz?_subject_uid=54049842&w=AACLSKRE8KhqZulrfUNPhhCQV3UvLNBU0i9f5IiOzF7K8g

https://www.dropbox.com/pri/get/Public/QHYCCD/qhyccdsdk-0.1.9-rpi3-gcc-4.9.tar.gz?_subject_uid=54049842&w=AAAU57s9TOVNC1AlM7Vv8dbDnbywx1-jH-pu4GRZFW17FQ
   
After installation please do the following:
1)
delete any QHYCCD's rules files at: /lib/udev/rules.d/
There could be old 85-qhyccd.rules file
We use /etc/udev/rules.d directory for out 85-qhyccd.rules file
2)
reboot your system or try to reload a new udev rules for the first time using command:
sudo udevadm config --reload-rules

Please report any possible problems here of to my email: astrosoft@email.cz
Please note, that we have added support for QHY186c there, but this needs to be more tested.

Thank, you,
Jan 

********************************************************
Jan Soldan
Astronomical Embedded Systems.
Fricova - 236, 251 65 Ondrejov,
Czech Republic
http://www.linkedin.com/in/jansoldan
Email : astrosoft@email.cz
Skype : astrosoft_cz
Mobile : +420 728 403 811
*******************************************

astrosoft

  • *
  • 27
  • Astronomical software developer in C/C++/Java
    • View Profile
    • Email
********************************************************
Jan Soldan
Astronomical Embedded Systems.
Fricova - 236, 251 65 Ondrejov,
Czech Republic
http://www.linkedin.com/in/jansoldan
Email : astrosoft@email.cz
Skype : astrosoft_cz
Mobile : +420 728 403 811
*******************************************

Re: QHYCCD SDK Linux & Raspberry PI3 targz files
« Reply #3 on: July 13, 2017, 07:17:21 am »
Hi, thanks for your work, gonna try this as soon as possible :)

The download seems to be inaccessible though, I get a 403, I guess the files are in a private directory?

Cheers,
Marco

astrosoft

  • *
  • 27
  • Astronomical software developer in C/C++/Java
    • View Profile
    • Email
Re: QHYCCD SDK Linux & Raspberry PI3 targz files
« Reply #4 on: July 13, 2017, 09:04:24 am »
I will ask Qiu to move those files on proper place or please send me you email address and I will send those files to you
another way.
Thanks,
Jan
********************************************************
Jan Soldan
Astronomical Embedded Systems.
Fricova - 236, 251 65 Ondrejov,
Czech Republic
http://www.linkedin.com/in/jansoldan
Email : astrosoft@email.cz
Skype : astrosoft_cz
Mobile : +420 728 403 811
*******************************************

Re: QHYCCD SDK Linux & Raspberry PI3 targz files
« Reply #5 on: July 13, 2017, 09:32:35 am »
Thank you, I just updated my forum signature, my address is in here :)

QiuHY

  • *****
  • 4587
    • View Profile
    • Email
Re: QHYCCD SDK Linux & Raspberry PI3 targz files
« Reply #6 on: July 15, 2017, 12:53:42 am »
Hello Jan,

        I want to know how to install the TheSKYX on RPI3?  Where to download and is that free or need buy license?


Best regards,
Qiu Hongyun
Qiu Hongyun

astrosoft

  • *
  • 27
  • Astronomical software developer in C/C++/Java
    • View Profile
    • Email
Re: QHYCCD SDK Linux & Raspberry PI3 targz files
« Reply #7 on: July 15, 2017, 02:19:37 am »
Hi Qiu,
everybody has to have licence from Software Bisque. You can go to their web page and download TheSkyX-PI targz file,
untar it and install it, but you have to put there license when you start it for the first time. I got TheSkyX Pro Multi-OS licence
to run TheSkyX. You also need their Camera Add On license to run any of CCD/CMOS cameras they support, i.e. our cameras.
Please ask Richard ?
Regards,
Jan
********************************************************
Jan Soldan
Astronomical Embedded Systems.
Fricova - 236, 251 65 Ondrejov,
Czech Republic
http://www.linkedin.com/in/jansoldan
Email : astrosoft@email.cz
Skype : astrosoft_cz
Mobile : +420 728 403 811
*******************************************

Re: QHYCCD SDK Linux & Raspberry PI3 targz files
« Reply #8 on: July 18, 2017, 03:31:26 pm »
Could I have a copy of the Pi files too please ?

My profile email address is now correct.

Many thanks
Robert

astrosoft

  • *
  • 27
  • Astronomical software developer in C/C++/Java
    • View Profile
    • Email
Re: QHYCCD SDK Linux & Raspberry PI3 targz files
« Reply #9 on: July 19, 2017, 10:41:54 pm »
Robert,
go to the https://github.com/qhyccd-lzr. Inside the TheSkyXDriverPlugin, there are target files for 64 bit linux and RPI3 embedded machines. Installation is easy and described there.
Jan
********************************************************
Jan Soldan
Astronomical Embedded Systems.
Fricova - 236, 251 65 Ondrejov,
Czech Republic
http://www.linkedin.com/in/jansoldan
Email : astrosoft@email.cz
Skype : astrosoft_cz
Mobile : +420 728 403 811
*******************************************

Re: QHYCCD SDK Linux & Raspberry PI3 targz files
« Reply #10 on: July 26, 2017, 03:11:44 pm »
Hi Jan,

(apologies if you've already read this, I've just reworded it to make more sense)

I'm having trouble getting my QHYIII174 running with TheSkyX.

If I choose either 'CCD/CMOS Imager' or 'Guide Camera' I get a 'The necessary driver was not found. Error = 217'

The device is being picked up by the OS:

[ 4090.664826] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
[ 4090.765906] usb 1-1.4: New USB device found, idVendor=1618, idProduct=0174
[ 4090.765933] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4090.765946] usb 1-1.4: Product: WestBridge
[ 4090.765960] usb 1-1.4: Manufacturer: Cypress
[ 4090.765972] usb 1-1.4: SerialNumber: 0000000004BE

I have just followed the instructions on GitHub, nothing else.  Any ideas ?

Many thanks
Robert
« Last Edit: July 27, 2017, 05:51:57 pm by Robertm »

astrosoft

  • *
  • 27
  • Astronomical software developer in C/C++/Java
    • View Profile
    • Email
Re: QHYCCD SDK Linux & Raspberry PI3 targz files
« Reply #11 on: August 17, 2017, 01:44:51 am »
Robert,
This means that TSX cannot find our driver, ie. our shared library and/or dependent libraries.
I am looking what is going on. This works on my site. I will go back here when find any solution.
Jan
********************************************************
Jan Soldan
Astronomical Embedded Systems.
Fricova - 236, 251 65 Ondrejov,
Czech Republic
http://www.linkedin.com/in/jansoldan
Email : astrosoft@email.cz
Skype : astrosoft_cz
Mobile : +420 728 403 811
*******************************************

astrosoft

  • *
  • 27
  • Astronomical software developer in C/C++/Java
    • View Profile
    • Email
Re: QHYCCD SDK Linux & Raspberry PI3 targz files
« Reply #12 on: August 17, 2017, 01:50:51 am »
please check: google The SkyX error 217
Richard W. from Software Bisque told me recently that if there is an error 217:
1. exit TSX
2. Restore TSX to default settings
3. start TSX
4. choose  camera and connect

Frankly saying, I do not know how to process point 2. especially on Linux. You can search that on google, but I didn't find something related to linux.
********************************************************
Jan Soldan
Astronomical Embedded Systems.
Fricova - 236, 251 65 Ondrejov,
Czech Republic
http://www.linkedin.com/in/jansoldan
Email : astrosoft@email.cz
Skype : astrosoft_cz
Mobile : +420 728 403 811
*******************************************

astrosoft

  • *
  • 27
  • Astronomical software developer in C/C++/Java
    • View Profile
    • Email
Re: QHYCCD SDK Linux & Raspberry PI3 targz files
« Reply #13 on: August 18, 2017, 01:07:38 am »
Hi all,
I see  an error code 217 when I run QHYCCD cameras on The SkyX (TSX) on my Ubuntu Linux now. All works fine on RPI3, so I am checking differences. The probable problem is that TSX cannot find dependent shared libraries. I am intensively working on that problem.
I will release a new installer when this problem is solved. I am very sorry for this trouble.
********************************************************
Jan Soldan
Astronomical Embedded Systems.
Fricova - 236, 251 65 Ondrejov,
Czech Republic
http://www.linkedin.com/in/jansoldan
Email : astrosoft@email.cz
Skype : astrosoft_cz
Mobile : +420 728 403 811
*******************************************

astrosoft

  • *
  • 27
  • Astronomical software developer in C/C++/Java
    • View Profile
    • Email
Re: QHYCCD SDK Linux & Raspberry PI3 targz files
« Reply #14 on: August 18, 2017, 04:07:32 am »
Hi all,
for RPI3 users:
I have uploaded a previous version of the SDK named: qhyccdsdk-0.1.9-rpi3-gcc-4.9.tar.gz file inside the QHYCCD_Linux_New box
including  a compatible version of X2 driver named: qhyccdx2plugin-1.0.0.-rpi3-gcc-4.9.tar.gz inside the TheSkyXDriverPlugin box.
NOTE: Please download and install both targz files to get TSX working on RPI3, although the X2 driver has the same name.
This versions work well on my site with TSX and RPI3, tested with QHY5II-LM, QHY5III-174M, QHY163M. Unfortunately, this SDK does not support QHY165,168, 247 and 367 cameras. We are working on releasing those supports.
********************************************************
Jan Soldan
Astronomical Embedded Systems.
Fricova - 236, 251 65 Ondrejov,
Czech Republic
http://www.linkedin.com/in/jansoldan
Email : astrosoft@email.cz
Skype : astrosoft_cz
Mobile : +420 728 403 811
*******************************************