×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Orion StarShoot G3 CCD

  • Posts: 153
  • Thank you received: 29

Replied by Ben Gilsrud on topic Orion StarShoot G3 CCD

Hi Bob,
Well, the drive isn't likely usable in it's current form but it might be interesting if you're able to try it out. I'm sure it'll end in a crash, but it might end up being helpful for development. I have a bunch of testing that I still plan on doing to hopefully fix some of the issues.

If you would like to test it, do:
git clone https://github.com/bgilsrud/indi-3rdparty.git
cd indi-3rdparty
git checkout orion_ssg3_driver
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BILD_TYPE=Debug ../indi-orion-ssg3
make
sudo make install

Then you should be able to select the "Orion StarShoot G3" driver in the CCD devices in Ekos. Any log output that you get will be useful. If you can get so far as to attempt to get an image that would be great.

Thanks,
Ben
3 years 8 months ago #56921

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

  • Posts: 59
  • Thank you received: 9

Replied by Bob Stephens on topic Orion StarShoot G3 CCD

Thanks Ben. I'm out tonight so unlikely to get it done today (but if I can I will). Otherwise hopefully tomorrow afternoon (Queensland time).

Bob
3 years 8 months ago #56922

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

Replied by Jasem Mutlaq on topic Orion StarShoot G3 CCD

This camera does not work with indi_starshootg_ccd from ind-toupbase INDI driver?
3 years 8 months ago #56930

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

  • Posts: 153
  • Thank you received: 29

Replied by Ben Gilsrud on topic Orion StarShoot G3 CCD

LOL, that certainly looks like it's meant to work with the StarShoot G3 :oops:

It looks like you added that in September of last year, in between the time we originally discussed the G3 and when we resumed the conversation (assuming that there was still no driver for it)!

It would be really cool if the Ekos profile wizard could detect hardware and automatically suggest drivers (maybe based on the USB PID:DID). Maybe that would be a more useful improvement for me to make than re-writing a driver that already exists :lol:

Thanks,
Ben
3 years 8 months ago #56936

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

  • Posts: 59
  • Thank you received: 9

Replied by Bob Stephens on topic Orion StarShoot G3 CCD

Ben assuming that driver work's I'm sorry to have wasted your time on it.
My searches had not turned up any recent mention of a driver so I had taken it that nothing had progressed. I'll try both (for the learning).

Bob
3 years 8 months ago #56942

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

  • Posts: 153
  • Thank you received: 29

Replied by Ben Gilsrud on topic Orion StarShoot G3 CCD

No worries, Bob. I did it because it was fun. It still might be worthwhile to have an open source version rather than relying on binaries that are provided by the vendor.

I hope at least one of the drivers works for you and you're able to start using your camera :)

Thanks,
Ben
3 years 8 months ago #56944

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

  • Posts: 59
  • Thank you received: 9

Replied by Bob Stephens on topic Orion StarShoot G3 CCD

I had no success with either driver on a couple of laptops running Linux. I pulled the Raspeberry Pi out of the Observatory late yesterday and set it up inside to minimise the physical chnages I'd need to do the tests in the Observatory (and it's expected to rain for the next few days so in the house is good). The StarhootG driver has not recognised my camera in any of the setup's. Wondering if it's for the B&W version. I've not yet tried to track that down. On the laptops Ben's driver was crashing and doing so in a way that didn't let me Stop the Indi instance. I could not see detail in the logging I had setup. I'm getting the driver setup on the Pi and will see how that goes.
3 years 8 months ago #57231

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

  • Posts: 59
  • Thank you received: 9

Replied by Bob Stephens on topic Orion StarShoot G3 CCD

The basic startup of the new driver looked Ok on the Pi.
I attempted a 1 second capture using the G3 as the CCD and the Capture a Preview button. It appears that as soon as an attempt is made to capture an image the G3 disconnects and the Capture tab closes from the Ekos panel. On the Raspberry Pi I'm able to restart the devices via the Setup tab on the Ekos panel. Happy to take instructions on the logging settings if I there a more useful logging setup (or OS files which would aid progress)

Now I'm setup on the Pi it should be easy to run more tests

File Attachment:

File Name: log_07-40-41.txt
File Size:17 KB
.

Keeping the StarshootG driver in mind in case I'm missing something with it.
Is there a way to determine which device the StarshootG driver is looking for?

This part has been posted previously but is being reposted for clarity in case anybody has further detail on the StarshootG driver.
This is what I get at the end of " dmesg | grep USB"

[ 2283.818038] usb 1-1.1: new full-speed USB device number 12 using xhci_hcd
[ 2283.956903] usb 1-1.1: New USB device found, idVendor=07ee, idProduct=0502, bcdDevice=11.02
[ 2283.956920] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2283.956933] usb 1-1.1: Product: AVR32 UC3 USB DEVICE
3 years 8 months ago #57232
Attachments:

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

  • Posts: 153
  • Thank you received: 29

Replied by Ben Gilsrud on topic Orion StarShoot G3 CCD

Hi Bob,
Capturing a backtrace of the crash would be helpful. You can find the instructions half-way through step 3 at www.indilib.org/forum/general/571-read-b...support-request.html

Thanks,
Ben
3 years 8 months ago #57259

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

  • Posts: 59
  • Thank you received: 9

Replied by Bob Stephens on topic Orion StarShoot G3 CCD

Ben is there a Debug package for this? No success with indi-orion-ssg3-dbg

I've tried starting the trace with what I hope is the gdb command. I think the termination is the part where I'm warned about an existing instance when I click on the Start button in the Ekos panel.
If I do that first then gdb dows not appear to notice the crash.

astroberry@StephensAstro:~/indi-3rdparty $ gdb --ex run --eval-command="set follow-fork-mode child" --args indiserver -v indi_orion_ssg3_ccd
GNU gdb (Raspbian 8.2.1-2) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from indiserver...Reading symbols from /usr/lib/debug/.build-id/a9/e2676e75903d94b08ae1f227227bfdd3400003.debug...done.
done.
Starting program: /usr/bin/indiserver -v indi_orion_ssg3_ccd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
2020-07-24T02:48:56: startup: /usr/bin/indiserver -v indi_orion_ssg3_ccd
[Detaching after fork from child process 24494]
2020-07-24T02:48:56: Driver indi_orion_ssg3_ccd: pid=24494 rfd=3 wfd=6 efd=7
2020-07-24T02:48:56: listening to port 7624 on fd 4
2020-07-24T02:48:56: Driver indi_orion_ssg3_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD
2020-07-24T02:48:56: Driver indi_orion_ssg3_ccd: snooping on Telescope Simulator.TELESCOPE_INFO
2020-07-24T02:48:56: Driver indi_orion_ssg3_ccd: snooping on Telescope Simulator.GEOGRAPHIC_COORD
2020-07-24T02:48:56: Driver indi_orion_ssg3_ccd: snooping on Rotator Simulator.ABS_ROTATOR_ANGLE
2020-07-24T02:48:56: Driver indi_orion_ssg3_ccd: snooping on Focuser Simulator.ABS_FOCUS_POSITION
2020-07-24T02:48:56: Driver indi_orion_ssg3_ccd: snooping on CCD Simulator.FILTER_SLOT
2020-07-24T02:48:56: Driver indi_orion_ssg3_ccd: snooping on CCD Simulator.FILTER_NAME
2020-07-24T02:48:56: Driver indi_orion_ssg3_ccd: snooping on SQM.SKY_QUALITY

Program received signal SIGTERM, Terminated.
0xb6ef5664 in __GI___select (nfds=8, readfds=0xbefff0a0, writefds=0xbefff120, exceptfds=0x0, timeout=0x0)
at ../sysdeps/unix/sysv/linux/select.c:41
41 ../sysdeps/unix/sysv/linux/select.c: No such file or directory.
(gdb)
(gdb) bt
#0 0xb6ef5664 in __GI___select (nfds=8, readfds=0xbefff0a0, writefds=0xbefff120, exceptfds=0x0, timeout=0x0)
at ../sysdeps/unix/sysv/linux/select.c:41
#1 0x00402004 in indiRun () at ./indi/indiserver.c:839
#2 main (ac=<optimized out>, av=<optimized out>) at ./indi/indiserver.c:343
3 years 8 months ago #57264

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

  • Posts: 153
  • Thank you received: 29

Replied by Ben Gilsrud on topic Orion StarShoot G3 CCD

Hi Bob,
The build instructions that I provided in the earlier post *should* have built the driver with debug symbols...but I misspelled BUILD (-DCMAKE_BILD_TYPE=Debug should be -DCMAKE_BUILD_TYPE) :oops: If you could try again after rebuilding, that would be great. But, based on the output that you provided leads me to believe that ekos is crashing (probably based on some bogus data that the driver sent it). That would be more difficult to debug.

Thanks,
Ben
3 years 8 months ago #57265

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

  • Posts: 59
  • Thank you received: 9

Replied by Bob Stephens on topic Orion StarShoot G3 CCD

I did what I think is the rebuild. Restarted KStars but appear to be seeing the same behaviors.

Is the debug package question relevant or is that managed from the Debug flag?

Eg from the notes
Then run GDB with your INDI drivers, start with the problematic driver as the first argument to INDI server. For example, if indi_qhy_ccd driver keeps crashing, first download the debug package associated with the 3rd party driver:
sudo apt-get install indi-qhy-dbg


astroberry@StephensAstro:~/indi-3rdparty/build $ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ../indi-orion-ssg3
-- Found CFITSIO: /usr/lib/arm-linux-gnueabihf/libcfitsio.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/astroberry/indi-3rdparty/build
astroberry@StephensAstro:~/indi-3rdparty/build $ make
[ 33%] Building C object CMakeFiles/indi_orion_ssg3_ccd.dir/orion_ssg3.c.o
[ 66%] Building CXX object CMakeFiles/indi_orion_ssg3_ccd.dir/orion_ssg3_ccd.cpp.o
[100%] Linking CXX executable indi_orion_ssg3_ccd
[100%] Built target indi_orion_ssg3_ccd
astroberry@StephensAstro:~/indi-3rdparty/build $ sudo make install
[sudo] password for astroberry:
[100%] Built target indi_orion_ssg3_ccd
Install the project...
-- Install configuration: "Debug"
-- Installing: /usr/bin/indi_orion_ssg3_ccd
-- Up-to-date: /usr/share/indi/indi_orion_ssg3.xml
-- Up-to-date: /etc/udev/rules.d/99-orionssg3.rules
astroberry@StephensAstro:~/indi-3rdparty/build $ gdb --ex run --eval-command="set follow-fork-mode child" --args indiserver -v indi_orion_ssg3_ccd
GNU gdb (Raspbian 8.2.1-2) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from indiserver...Reading symbols from /usr/lib/debug/.build-id/a9/e2676e75903d94b08ae1f227227bfdd3400003.debug...done.
done.
Starting program: /usr/bin/indiserver -v indi_orion_ssg3_ccd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
2020-07-24T03:11:38: startup: /usr/bin/indiserver -v indi_orion_ssg3_ccd
[Detaching after fork from child process 24740]
2020-07-24T03:11:38: Driver indi_orion_ssg3_ccd: pid=24740 rfd=3 wfd=6 efd=7
2020-07-24T03:11:38: listening to port 7624 on fd 4
2020-07-24T03:11:38: Driver indi_orion_ssg3_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD
2020-07-24T03:11:38: Driver indi_orion_ssg3_ccd: snooping on Telescope Simulator.TELESCOPE_INFO
2020-07-24T03:11:38: Driver indi_orion_ssg3_ccd: snooping on Telescope Simulator.GEOGRAPHIC_COORD
2020-07-24T03:11:38: Driver indi_orion_ssg3_ccd: snooping on Rotator Simulator.ABS_ROTATOR_ANGLE
2020-07-24T03:11:38: Driver indi_orion_ssg3_ccd: snooping on Focuser Simulator.ABS_FOCUS_POSITION
2020-07-24T03:11:38: Driver indi_orion_ssg3_ccd: snooping on CCD Simulator.FILTER_SLOT
2020-07-24T03:11:38: Driver indi_orion_ssg3_ccd: snooping on CCD Simulator.FILTER_NAME
2020-07-24T03:11:38: Driver indi_orion_ssg3_ccd: snooping on SQM.SKY_QUALITY

Program received signal SIGTERM, Terminated.
0xb6ef5664 in __GI___select (nfds=8, readfds=0xbefff0a0, writefds=0xbefff120, exceptfds=0x0, timeout=0x0)
at ../sysdeps/unix/sysv/linux/select.c:41
41 ../sysdeps/unix/sysv/linux/select.c: No such file or directory.
(gdb)
(gdb) bt
#0 0xb6ef5664 in __GI___select (nfds=8, readfds=0xbefff0a0, writefds=0xbefff120, exceptfds=0x0, timeout=0x0)
at ../sysdeps/unix/sysv/linux/select.c:41
#1 0x00402004 in indiRun () at ./indi/indiserver.c:839
#2 main (ac=<optimized out>, av=<optimized out>) at ./indi/indiserver.c:343
(gdb) q
A debugging session is active.

Inferior 1 [process 24737] will be killed.

Quit anyway? (y or n) y
3 years 8 months ago #57267

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

Time to create page: 0.801 seconds