Linux SDK/ASI120MM Mini: USB reset on each frame

any question related to our SDK and driver

Moderators: yang, chad, ray

Post Reply
pludov
Posts: 2
Joined: Sun Jun 09, 2019 8:48 am

Linux SDK/ASI120MM Mini: USB reset on each frame

Post by pludov » Mon Jun 10, 2019 7:20 am

Running single exposures with the ASI120MM Mini and the indi_asi_ccd consistently makes the linux kernel complain about usb reset ! Resetting an usb device indicates a stability problem and may affect others devices.

This happens on various hardware (linaro & laptop) with multiple USB cables (always usb2). I also tried 16 vs 8bits and various bin and exposure duration with the same result.
I tried with SDK v1.14.0227 and v1.14.0425 with the same result.
The debug log is clean, no mention of any exposure failed.

The usb reset always happens exactly at exposure start. (I debbuged this with exposure > 1s...)

Maybe relevant: the cam is USB3 plugged on USB2 host. No "compatible" firmware available from ZWO.

However, it does not happen during video recording. (stream mode)


The following log is kernel output for plugin the camera then taking 3 shoots:

[16924.999689] usb 3-4.1: new high-speed USB device number 10 using xhci_hcd
[16925.100303] usb 3-4.1: New USB device found, idVendor=03c3, idProduct=120c, bcdDevice= 0.00
[16925.100309] usb 3-4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[16925.100312] usb 3-4.1: Product: ASI120MM Mini
[16925.100315] usb 3-4.1: Manufacturer: ZWO
[16948.843713] usb 3-4.1: reset high-speed USB device number 10 using xhci_hcd
[16954.259806] usb 3-4.1: reset high-speed USB device number 10 using xhci_hcd
[17209.970631] usb 3-4.1: reset high-speed USB device number 10 using xhci_hcd

User avatar
chad
Posts: 606
Joined: Thu Feb 09, 2017 4:58 am

Re: Linux SDK/ASI120MM Mini: USB reset on each frame

Post by chad » Tue Jun 11, 2019 1:20 am

Hi,
Does this Reset affect your data collection?
If it affects, then there is a problem. If not, then I guess this reset is what we wanted.
Thanks
Chad
ZWO Driver Engineer
Location:lon=120.6 lat=31.3
SuZhou China

pludov
Posts: 2
Joined: Sun Jun 09, 2019 8:48 am

Re: Linux SDK/ASI120MM Mini: USB reset on each frame

Post by pludov » Tue Jun 11, 2019 10:28 am

Hello,

I did not do extensive tests so far, as my confidence has been stopped by this scary message.

The acquisition I made have shown two other problems so far :
* exposure sometime not working at all (restarting the process one or two time fixes that one)
* under exposed frame shows up from time to time (ie it is clear from the data that some 1s exposure have been clearly shorter)

but so far, my major concern is USB stability and the reset affecting other devices (especially main imaging camera)

Thx

User avatar
Sam
Posts: 2780
Joined: Thu Feb 21, 2013 2:51 am

Re: Linux SDK/ASI120MM Mini: USB reset on each frame

Post by Sam » Wed Jun 12, 2019 10:15 am

the USB pipe will be reset each time before transferring data
this is the message from the camera and won't affect other devices
ZWO Founder
Location:lon=120.6 lat=31.3
SuZhou China

Post Reply