[SOLVED] indi_asi_ccd crashed on ASI ZWO 183MM capture

any question related to our SDK and driver

Moderators: yang, ray, chad

Re: indi_asi_ccd crashed when start capturing for ASI ZWO 18

Postby sywong2000 » Wed Jan 10, 2018 7:17 am

Hi chad
Thanks for your reply. May I know if you run raspbian or Ubuntu?
Mine is Ubuntu 16.04 and got the latest package using apt-get upgrade, and I remember the build version of asi indi was on 3rd Jan 2018. Is it same as yours?

I will try to run another update and let you know.
Thanks
Stephen
sywong2000
 
Posts: 13
Joined: Sun Jan 07, 2018 2:45 pm

Re: indi_asi_ccd crashed when start capturing for ASI ZWO 18

Postby sywong2000 » Wed Jan 10, 2018 12:24 pm

Leonard,
I tried to enable the logging as you said but nothing more printed than the same error ASIGetExpStatus() failed. both the ASI log and indi log are printing such errors only, nothing more.
I'm not sure how to enable debugging for libusb, let me know.
Stephen
sywong2000
 
Posts: 13
Joined: Sun Jan 07, 2018 2:45 pm

Re: indi_asi_ccd crashed when start capturing for ASI ZWO 18

Postby sywong2000 » Wed Jan 10, 2018 2:32 pm

My package came from Jasem Mutlaq
https://launchpad.net/~mutlaqja/+archive/ubuntu/ppa
I'm not sure if that's with the latest sdk
may be i will try to build one with the latest SDK and see if that would work.

V0.6.0921 is the latest Linux SDK version, correct?
sywong2000
 
Posts: 13
Joined: Sun Jan 07, 2018 2:45 pm

Re: indi_asi_ccd crashed when start capturing for ASI ZWO 18

Postby chad » Thu Jan 11, 2018 1:10 am

Hi Stephen,
we used raspbian, and get the source code from github. the SDK's version is the same with yours.
Thanks
chad
ZWO Driver Engineer
Location:lon=120.6 lat=31.3
SuZhou China
User avatar
chad
 
Posts: 148
Joined: Thu Feb 09, 2017 4:58 am

Re: indi_asi_ccd crashed when start capturing for ASI ZWO 18

Postby sywong2000 » Thu Jan 11, 2018 3:44 am

chad, Leonard,

Thank you. I've already rebuild and install the new indi_asi_ccd on my ubuntu 16.04. However same error.

The SDK only having a name different from the github (github is libASICamera2.bin and the SDK from ZWO website is libASICamera2.a) But i don't think that's a problem.

i also update the USB buffer settings to 200.

Anyways it seemed the debug log provide more details after my rebuild (I build with -DCMAKE_BUILD_TYPE=Debug), and here's the debug log. I also capture the EKOS XML CCD config, and then the gdb core results at the end.



INFO 0.016895 sec : Session log file /home/ubuntu/.indi/logs/2018-01-11/indi_asi_ccd/indi_asi_ccd_03:29:16.log
DEBUG 0.176351 sec : Attempting to open ZWO CCD ASI183MM Pro...
INFO 5.285224 sec : Setting intital bandwidth to AUTO on connection.
INFO 5.294735 sec : CCD is online. Retrieving basic data.
DEBUG 5.296895 sec : Control #0: name (Gain), Descp (Gain), Min (0), Max (450), Default Value (200), IsAutoSupported (True), isWritale (True)
DEBUG 5.297080 sec : Adding above control as writable control number 1
DEBUG 5.297164 sec : Adding above control as auto control number 1
DEBUG 5.297254 sec : Control #1: name (Exposure), Descp (Exposure Time(us)), Min (32), Max (1000000000), Default Value (10000), IsAutoSupported (True), isWritale (True)
DEBUG 5.297441 sec : Control #2: name (Gamma), Descp (Gamma), Min (1), Max (100), Default Value (50), IsAutoSupported (False), isWritale (True)
DEBUG 5.297554 sec : Adding above control as writable control number 2
DEBUG 5.297643 sec : Control #3: name (Brightness), Descp (Brightness(offset)), Min (0), Max (80), Default Value (8), IsAutoSupported (False), isWritale (True)
DEBUG 5.297765 sec : Adding above control as writable control number 3
DEBUG 5.297856 sec : Control #4: name (BandWidth), Descp (The total data transfer rate percentage), Min (40), Max (100), Default Value (50), IsAutoSupported (True), isWritale (True)
DEBUG 5.297992 sec : createControls->set USB 40
DEBUG 5.307637 sec : Adding above control as writable control number 4
DEBUG 5.307822 sec : Adding above control as auto control number 2
DEBUG 5.307924 sec : Control #5: name (Flip), Descp (Flip: 0->None 1->Horiz 2->Vert 3->Both), Min (0), Max (3), Default Value (0), IsAutoSupported (False), isWritale (True)
DEBUG 5.308059 sec : Adding above control as writable control number 5
DEBUG 5.308150 sec : Control #6: name (AutoExpMaxGain), Descp (Auto exposure maximum gain value), Min (0), Max (450), Default Value (225), IsAutoSupported (False), isWritale (True)
DEBUG 5.308288 sec : Adding above control as writable control number 6
DEBUG 5.308383 sec : Control #7: name (AutoExpMaxExpMS), Descp (Auto exposure maximum exposure value(unit ms)), Min (1), Max (60000), Default Value (100), IsAutoSupported (False), isWritale (True)
DEBUG 5.308532 sec : Adding above control as writable control number 7
DEBUG 5.308623 sec : Control #8: name (AutoExpTargetBrightness), Descp (Auto exposure maximum brightness value), Min (50), Max (160), Default Value (100), IsAutoSupported (False), isWritale (True)
DEBUG 5.308772 sec : Adding above control as writable control number 8
DEBUG 5.308876 sec : Control #9: name (HardwareBin), Descp (Is hardware bin2:0->No 1->Yes), Min (0), Max (1), Default Value (0), IsAutoSupported (False), isWritale (True)
DEBUG 5.309010 sec : Adding above control as writable control number 9
DEBUG 5.309100 sec : Control #10: name (HighSpeedMode), Descp (Is high speed mode:0->No 1->Yes), Min (0), Max (1), Default Value (0), IsAutoSupported (False), isWritale (True)
DEBUG 5.309235 sec : Adding above control as writable control number 10
DEBUG 5.309327 sec : Control #11: name (Temperature), Descp (Sensor temperature(degrees Celsius)), Min (-500), Max (1000), Default Value (20), IsAutoSupported (False), isWritale (False)
DEBUG 5.309478 sec : Control #12: name (CoolPowerPerc), Descp (Cooler power percent), Min (0), Max (100), Default Value (0), IsAutoSupported (False), isWritale (False)
DEBUG 5.309611 sec : Control #13: name (TargetTemp), Descp (Target temperature(cool camera only)), Min (-40), Max (30), Default Value (0), IsAutoSupported (False), isWritale (True)
DEBUG 5.309758 sec : Control #14: name (Cooler on), Descp (turn on/off cooler(cool camera only)), Min (0), Max (1), Default Value (0), IsAutoSupported (False), isWritale (True)
DEBUG 5.309907 sec : setupParams->set USB 40
DEBUG 5.319653 sec : CCD ID: 0 Width: 5496 Height: 3672 Binning: 1x1 Image Type: 0
DEBUG 5.319870 sec : Supported Video Format: ASI_IMG_RAW8
DEBUG 5.319965 sec : Supported Video Format: ASI_IMG_RAW16
INFO 5.320525 sec : The CCD Temperature is 20.500000
DEBUG 5.320733 sec : setupParams ASISetROIFormat (5496x3672, bin 1, type 0)
DEBUG 7.792593 sec : ISNewSwitch->SetControlValue 0 200.00
DEBUG 7.793974 sec : ISNewSwitch->SetControlValue 6 40.00
DEBUG 7.807074 sec : UpdateCCDFrame ASISetROIFormat (5496x3672, bin 1, type 0)
DEBUG 12.432983 sec : Setting frame buffer size to 20181312 bytes.
DEBUG 12.433873 sec : Toggle Debug Level -- Driver Debug
DEBUG 12.437372 sec : Toggle Debug Level -- Driver Debug
DEBUG 12.437564 sec : Toggle Logging Level -- Driver Debug
INFO 12.437731 sec : Session log file /home/ubuntu/.indi/logs/2018-01-11/indi_asi_ccd/indi_asi_ccd_03:29:16.log
INFO 12.437990 sec : Upload settings set to client only.
DEBUG 12.438310 sec : Requested CCD Frame is ( 0, 0) (5496 x 3672)
DEBUG 12.438417 sec : UpdateCCDFrame ASISetROIFormat (5496x3672, bin 1, type 0)
DEBUG 16.979662 sec : Setting frame buffer size to 20181312 bytes.
DEBUG 16.980015 sec : UpdateCCDFrame ASISetROIFormat (5496x3672, bin 1, type 0)
DEBUG 21.534567 sec : Setting frame buffer size to 20181312 bytes.
DEBUG 21.535279 sec : ISNewSwitch->SetControlValue 0 200.00
DEBUG 21.536586 sec : ISNewSwitch->SetControlValue 6 40.00
DEBUG 21.546376 sec : UpdateCCDFrame ASISetROIFormat (5496x3672, bin 1, type 0)
DEBUG 26.070093 sec : Setting frame buffer size to 20181312 bytes.
DEBUG 26.070623 sec : Configuration successfully loaded.
DEBUG 26.070946 sec : StartExposure->setexp : 1.000s
DEBUG 29.003927 sec : ASIGetExpStatus failed (0). Restarting exposure...
DEBUG 29.104193 sec : StartExposure->setexp : 1.000s



XML Config

<INDIDriver>
<newSwitchVector device='ZWO CCD ASI183MM Pro' name='DEBUG'>
<oneSwitch name='ENABLE'>
On
</oneSwitch>
<oneSwitch name='DISABLE'>
Off
</oneSwitch>
</newSwitchVector>
<newSwitchVector device='ZWO CCD ASI183MM Pro' name='DEBUG_LEVEL'>
<oneSwitch name='DBG_ERROR'>
On
</oneSwitch>
<oneSwitch name='DBG_WARNING'>
On
</oneSwitch>
<oneSwitch name='DBG_SESSION'>
On
</oneSwitch>
<oneSwitch name='DBG_DEBUG'>
On
</oneSwitch>
</newSwitchVector>
<newSwitchVector device='ZWO CCD ASI183MM Pro' name='LOGGING_LEVEL'>
<oneSwitch name='LOG_ERROR'>
On
</oneSwitch>
<oneSwitch name='LOG_WARNING'>
On
</oneSwitch>
<oneSwitch name='LOG_SESSION'>
On
</oneSwitch>
<oneSwitch name='LOG_DEBUG'>
On
</oneSwitch>
</newSwitchVector>
<newSwitchVector device='ZWO CCD ASI183MM Pro' name='LOG_OUTPUT'>
<oneSwitch name='CLIENT_DEBUG'>
On
</oneSwitch>
<oneSwitch name='FILE_DEBUG'>
On
</oneSwitch>
</newSwitchVector>
<newTextVector device='ZWO CCD ASI183MM Pro' name='ACTIVE_DEVICES'>
<oneText name='ACTIVE_TELESCOPE'>
Telescope Simulator
</oneText>
<oneText name='ACTIVE_FOCUSER'>
Focuser Simulator
</oneText>
<oneText name='ACTIVE_FILTER'>
CCD Simulator
</oneText>
<oneText name='ACTIVE_SKYQUALITY'>
SQM
</oneText>
</newTextVector>
<newSwitchVector device='ZWO CCD ASI183MM Pro' name='UPLOAD_MODE'>
<oneSwitch name='UPLOAD_CLIENT'>
On
</oneSwitch>
<oneSwitch name='UPLOAD_LOCAL'>
Off
</oneSwitch>
<oneSwitch name='UPLOAD_BOTH'>
Off
</oneSwitch>
</newSwitchVector>
<newTextVector device='ZWO CCD ASI183MM Pro' name='UPLOAD_SETTINGS'>
<oneText name='UPLOAD_DIR'>
/home/ubuntu
</oneText>
<oneText name='UPLOAD_PREFIX'>
IMAGE_XXX
</oneText>
</newTextVector>
<newSwitchVector device='ZWO CCD ASI183MM Pro' name='TELESCOPE_TYPE'>
<oneSwitch name='TELESCOPE_PRIMARY'>
On
</oneSwitch>
<oneSwitch name='TELESCOPE_GUIDE'>
Off
</oneSwitch>
</newSwitchVector>
<newSwitchVector device='ZWO CCD ASI183MM Pro' name='CCD_COMPRESSION'>
<oneSwitch name='CCD_COMPRESS'>
Off
</oneSwitch>
<oneSwitch name='CCD_RAW'>
On
</oneSwitch>
</newSwitchVector>
<newNumberVector device='ZWO CCD ASI183MM Pro' name='CCD_FRAME'>
<oneNumber name='X'>
0
</oneNumber>
<oneNumber name='Y'>
0
</oneNumber>
<oneNumber name='WIDTH'>
5496
</oneNumber>
<oneNumber name='HEIGHT'>
3672
</oneNumber>
</newNumberVector>
<newNumberVector device='ZWO CCD ASI183MM Pro' name='CCD_BINNING'>
<oneNumber name='HOR_BIN'>
1
</oneNumber>
<oneNumber name='VER_BIN'>
1
</oneNumber>
</newNumberVector>
<newSwitchVector device='ZWO CCD ASI183MM Pro' name='CCD_STREAM_ENCODER'>
<oneSwitch name='RAW'>
On
</oneSwitch>
<oneSwitch name='MJPEG'>
Off
</oneSwitch>
</newSwitchVector>
<newTextVector device='ZWO CCD ASI183MM Pro' name='RECORD_FILE'>
<oneText name='RECORD_FILE_DIR'>
/tmp/indi__D_
</oneText>
<oneText name='RECORD_FILE_NAME'>
indi_record__T_
</oneText>
</newTextVector>
<newNumberVector device='ZWO CCD ASI183MM Pro' name='RECORD_OPTIONS'>
<oneNumber name='RECORD_DURATION'>
1
</oneNumber>
<oneNumber name='RECORD_FRAME_TOTAL'>
30
</oneNumber>
</newNumberVector>
<newSwitchVector device='ZWO CCD ASI183MM Pro' name='CCD_STREAM_RECORDER'>
<oneSwitch name='SER'>
On
</oneSwitch>
<oneSwitch name='OGV'>
Off
</oneSwitch>
</newSwitchVector>
<newNumberVector device='ZWO CCD ASI183MM Pro' name='CCD_CONTROLS'>
<oneNumber name='Gain'>
200
</oneNumber>
<oneNumber name='Gamma'>
50
</oneNumber>
<oneNumber name='Brightness'>
8
</oneNumber>
<oneNumber name='BandWidth'>
40
</oneNumber>
<oneNumber name='Flip'>
0
</oneNumber>
<oneNumber name='AutoExpMaxGain'>
225
</oneNumber>
<oneNumber name='AutoExpMaxExpMS'>
30000
</oneNumber>
<oneNumber name='AutoExpTargetBrightness'>
100
</oneNumber>
<oneNumber name='HardwareBin'>
0
</oneNumber>
<oneNumber name='HighSpeedMode'>
0
</oneNumber>
</newNumberVector>
<newSwitchVector device='ZWO CCD ASI183MM Pro' name='CCD_CONTROLS_MODE'>
<oneSwitch name='AUTO_Gain'>
Off
</oneSwitch>
<oneSwitch name='AUTO_BandWidth'>
Off
</oneSwitch>
</newSwitchVector>
<newSwitchVector device='ZWO CCD ASI183MM Pro' name='CCD_VIDEO_FORMAT'>
<oneSwitch name='ASI_IMG_RAW8'>
On
</oneSwitch>
<oneSwitch name='ASI_IMG_RAW16'>
Off
</oneSwitch>
</newSwitchVector>
</INDIDriver>



ubuntu@ubuntu-standard:~$ gdb /usr/bin/indi_asi_ccd core
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://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:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/indi_asi_ccd...done.
[New LWP 2088]
[New LWP 2029]
[New LWP 2032]
[New LWP 2031]
[New LWP 2030]
[New LWP 2023]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `indi_asi_ccd'.
Program terminated with signal SIGABRT, Aborted.
#0 __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47
47 ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S: No such file or directory.
[Current thread is 1 (Thread 0x62cc3450 (LWP 2088))]
(gdb) thread apply all where

Thread 6 (Thread 0x76faa000 (LWP 2023)):
#0 0x76bd5472 in select () at ../sysdeps/unix/syscall-template.S:84
#1 0x76e61dae in ?? () from /usr/lib/arm-linux-gnueabihf/libindidriver.so.1
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0x6ea14450 (LWP 2030)):
#0 __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:46
#1 0x76e00dba in __pthread_cond_wait (cond=0x55d0d784, mutex=0x55d0d7b4)
at pthread_cond_wait.c:186
#2 0x54b7c95a in InsertBufThd(void*) ()
#3 0x76dfc5b4 in start_thread (arg=0x0) at pthread_create.c:335
#4 0x76bd9bec in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:89
from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x66e97450 (LWP 2031)):
#0 0x76bb6e20 in nanosleep () at ../sysdeps/unix/syscall-template.S:84
#1 0x76bd5acc in usleep (useconds=10000) at ../sysdeps/posix/usleep.c:32
#2 0x54b7ae9e in AutoTempFunc(void*) ()
#3 0x76dfc5b4 in start_thread (arg=0x0) at pthread_create.c:335
#4 0x76bd9bec in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:89
from /lib/arm-linux-gnueabihf/libc.so.6
---Type <return> to continue, or q <return> to quit---
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x664ff450 (LWP 2032)):
#0 __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:46
#1 0x76e00dba in __pthread_cond_wait (cond=0x55d0c510, mutex=0x55d0c540)
at pthread_cond_wait.c:186
#2 0x54b04120 in ASICCD::streamVideo (this=0x55d035b0)
at /media/usbdrive/Projects/indi/3rdparty/indi-asi/asi_ccd.cpp:1608
#3 0x54b040b2 in ASICCD::streamVideoHelper (context=0x55d035b0)
at /media/usbdrive/Projects/indi/3rdparty/indi-asi/asi_ccd.cpp:1596
#4 0x76dfc5b4 in start_thread (arg=0x0) at pthread_create.c:335
#5 0x76bd9bec in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:89
from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x76592450 (LWP 2029)):
#0 0x76bd3b90 in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x76e25f4c in poll (__timeout=-1, __nfds=2, __fds=0x76591e34)
at /usr/include/arm-linux-gnueabihf/bits/poll2.h:46
#2 linux_udev_event_thread_main (arg=<optimized out>)
at ../../libusb/os/linux_udev.c:175
#3 0x76dfc5b4 in start_thread (arg=0x0) at pthread_create.c:335
#4 0x76bd9bec in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:89
---Type <return> to continue, or q <return> to quit---
from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x62cc3450 (LWP 2088)):
#0 __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47
#1 0x76b6b648 in __GI_raise (sig=sig@entry=6)
at ../sysdeps/unix/sysv/linux/raise.c:54
#2 0x76b6c34a in __GI_abort () at abort.c:89
#3 0x76b925a6 in __libc_message (do_abort=do_abort@entry=1,
fmt=0x76c15c14 "*** %s ***: %s terminated\n")
at ../sysdeps/posix/libc_fatal.c:175
#4 0x76be539a in __GI___fortify_fail (
msg=0x76c15bf4 "stack smashing detected") at fortify_fail.c:37
#5 0x76be535e in __stack_chk_fail () at stack_chk_fail.c:28
#6 0x76e2277a in libusb_control_transfer (dev_handle=0x55d33918,
bmRequestType=<optimized out>, bRequest=<optimized out>,
wValue=<optimized out>, wIndex=0, data=0x0, wLength=0, timeout=200)
at ../../libusb/sync.c:157
#7 0x54b7b29c in CCameraFX3::SendCMD(unsigned char) ()
#8 0x54b56346 in WorkingFunc ()
#9 0x76dfc5b4 in start_thread (arg=0x0) at pthread_create.c:335
#10 0x76bd9bec in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:89
from /lib/arm-linux-gnueabihf/libc.so.6
---Type <return> to continue, or q <return> to quit---
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
sywong2000
 
Posts: 13
Joined: Sun Jan 07, 2018 2:45 pm

Re: indi_asi_ccd crashed when start capturing for ASI ZWO 18

Postby wulfblat » Thu Jan 11, 2018 3:47 pm

Hi Stephen,

The crash is still occurring in the thread that is using libusb, which is the ASI SDK rather than indilb.

Did you enable the ASI debug for this camera prior to starting the indiserver? From the output it looks like there was no ASI debug output for the exposures.

Because this is crashing in the libusb code, please check to make sure you are running the latest version of libusb.

You can also enable libusb debugging by setting the following in your environment before starting indiserver:

export LIBUSB_DEBUG=4

The debug output will go to stdout, like the ASI SDK debug output, which indiserver will pick up and log.

Leonard
User avatar
wulfblat
 
Posts: 12
Joined: Thu Jan 04, 2018 4:19 pm
Location: Prineville, OR USA

Re: indi_asi_ccd crashed when start capturing for ASI ZWO 18

Postby chad » Fri Jan 12, 2018 1:29 am

Hi Stephen,
Are you familiar with software debugging under Linux? If you are not familiar with it, then I will try to do the same system as you, and see if I can reproduce your problem.
So what kind of raspberry pi do you use? Raspberry Pi2 or pi3?and where did you get your Ubuntu16.04 for raspberry pi?
Thanks
chad
ZWO Driver Engineer
Location:lon=120.6 lat=31.3
SuZhou China
User avatar
chad
 
Posts: 148
Joined: Thu Feb 09, 2017 4:58 am

Re: indi_asi_ccd crashed when start capturing for ASI ZWO 18

Postby sywong2000 » Fri Jan 12, 2018 2:25 am

Hi Chad

I'm not familiar with Linux debugging. Mostly i just do debugging in Windows system, not linux.
Let me provide the ubuntu config:
Mine is a PI3. I download ubuntu mate 16.04 without GUI from their [url='https://ubuntu-mate.org/download/']website[/url], and using LXDE + VNCserver for remote to a virual desktop to run KStars. But for easier troubleshooting I think you can just install ubuntu mate with desktop. Then I just follow the Kstar instructions to add the repository and install the deb packages.

Thank you.

I've got another 32gb card and installing a raspbian and see if there's a problem on that. Projects still building.. i'll also let you know the results.

Hi Leonard,
I will try to troubleshoot the libusb and post the result.

Stephen
sywong2000
 
Posts: 13
Joined: Sun Jan 07, 2018 2:45 pm

Re: indi_asi_ccd crashed when start capturing for ASI ZWO 18

Postby sywong2000 » Sat Jan 13, 2018 7:03 am

Hi Chad & Leonard,
In Raspbian I did a build and found in fact no problem, the capture is able to complete and I can see a valid image showing in Kstars.
I'm going to rebuild indi and the driver in the ubuntu and see if the rebuild would fix the problem
Stephen
sywong2000
 
Posts: 13
Joined: Sun Jan 07, 2018 2:45 pm

Re: indi_asi_ccd crashed when start capturing for ASI ZWO 18

Postby sywong2000 » Mon Jan 15, 2018 11:33 am

Leonard,
note the attached kern.log after enabling the libusb debug on ubuntu. It seemed little information was printed but I put it here anyway. PLease take a look and let me know if there're any hints.

And there's another strange findings. On the raspbian (Stretch lite), the ASI 183MM Pro seemed to work well, and in turns ASI 120mm failed to perform capture. INDI, oacapture, lin_guider all do not work. In the raspbian the libusb tended to print more information.
[update] i patched the updated firmware on the ASI 120mm and the problem is gone.


Jan 15 19:24:05 ubuntu-standard kernel: [ 179.705573] usb 1-1.4.1: Process 1121
(indi_asi_ccd) called USBDEVFS_CLEAR_HALT for active endpoint 0x81
Jan 15 19:24:05 ubuntu-standard kernel: [ 179.888415] usb 1-1.4.1: reset high-s
peed USB device number 8 using dwc_otg

<Crash>

Jan 15 19:27:31 ubuntu-standard kernel: [ 386.228159] usb 1-1.4.1: reset high-s
peed USB device number 8 using dwc_otg
Jan 15 19:27:33 ubuntu-standard kernel: [ 388.034730] usb 1-1.4.1: Process 1190
(indi_asi_ccd) called USBDEVFS_CLEAR_HALT for active endpoint 0x81
Jan 15 19:27:34 ubuntu-standard kernel: [ 388.573386] usb 1-1.4.1: Process 1190
(indi_asi_ccd) called USBDEVFS_CLEAR_HALT for active endpoint 0x81
Jan 15 19:27:34 ubuntu-standard kernel: [ 388.638524] usb 1-1.4.1: Process 1190 (indi_asi_ccd) called USBDEVFS_CLEAR_HALT for active endpoint 0x81
Jan 15 19:27:34 ubuntu-standard kernel: [ 388.640274] usb 1-1.4.1: Process 1190 (indi_asi_ccd) called USBDEVFS_CLEAR_HALT for active endpoint 0x81
Jan 15 19:27:34 ubuntu-standard kernel: [ 388.828093] usb 1-1.4.1: reset high-speed USB device number 8 using dwc_otg
Jan 15 19:27:36 ubuntu-standard kernel: [ 390.578737] usb 1-1.4.1: Process 1191 (indi_asi_ccd) called USBDEVFS_CLEAR_HALT for active endpoint 0x81
Jan 15 19:27:36 ubuntu-standard kernel: [ 391.113672] usb 1-1.4.1: Process 1191 (indi_asi_ccd) called USBDEVFS_CLEAR_HALT for active endpoint 0x81
sywong2000
 
Posts: 13
Joined: Sun Jan 07, 2018 2:45 pm

PreviousNext

Return to SDK & Driver

Who is online

Users browsing this forum: No registered users and 1 guest