I run everything on the computer connected to the mount just in case there is some network issue, and to keep image storage bandwidth down. This way if something goes wrong with wifi everything at the telescope is running just fine. Using VNC I get the best of both worlds by being able to access the desktop remotely, but having a reliable system running just fine even if there are wifi glitches.

Read More...

James Amendolagine replied to the topic 'ZWO 1600 Reset' in the forum. 3 weeks ago

It doesn't seem to be happening with my zwo asi 178 for some reason.

I wouldn't call a usb reset normal, but it does appear that zwo is using a reset to get past some bugs in their cameras firmware. Looks like they are resetting with every capture. It happens inside of the ASIStartExposure call. It's seems to be done to work-around some bug.

github.com/indilib/indi/issues/950#issuecomment-501602832

Read More...

James Amendolagine replied to the topic 'ZWO 1600 Reset' in the forum. 4 weeks ago

I've traced it down a bit. It looks like it's happening in the asi binary driver when called from:

asi_base.cpp::workerExposure(){
...
ret = ASIStartExposure(mCameraInfo.CameraID, isDark);

It does not return an error, but as soon a the call finishes the dlog error happens, so it seems to reset when inside of that ASI call.

dmsg: +12.498869] usb 3-2: reset SuperSpeed USB device number 2 using xhci_hcd

Read More...

James Amendolagine replied to the topic 'ZWO 1600 Reset' in the forum. 4 weeks ago

Could you do me a favor and issue this command in the terminal while the camera is capturing?

dmesg -wH

It will show if a reset is happening.

I can confirm that I also see this on my raspberry pi 4 running astroberry or stellarmate. I can reproduce it on a variety of versions of indi and kstars

  • Indi: v1.9.5, v1.9.7, v1.9.5.8, master
  • kstars: stable-3.5.9, stable-3.6.1

It may be some sort of issue with my particular camera, or it may be happening to all zwo 1600's. I'm still able to use the camera, it just slows things down, and may cause other issues.
Jamie

Read More...

James Amendolagine replied to the topic 'ZWO 1600 Reset' in the forum. 4 weeks ago

One more thing. I also see that error on my raspberry PI4. It doesn't seem to affect performance so bad that I can't use it, but it must be causing an issue.

Jamie

Read More...

James Amendolagine replied to the topic 'ZWO 1600 Reset' in the forum. 1 month ago

I've never seen the problem on my Raspberry Pi 4.

Read More...

I think that I found the issue. It was not Ubuntu 22, it was my usb connection to my zwo asi 1600 was resetting, and that was causing general system slowness / lockup issues.

The dmsg log had many of these in it: "reset SuperSpeed USB device number 5 using xhci_hcd"



I installed Ubuntu 20 and it had the same issue. On further inspection I found that I needed to apply this setting in the bios to get past it:

USB Precondition: enabled
xHCI Mode: smart auto
trunk gating: enabled
per port disable control: enabled

The one that seemed to do the trick is "xHCI Mode: smart auto"

Read More...

James Amendolagine replied to the topic 'ZWO 1600 Reset' in the forum. 1 month ago

Resolved!

I have basically no idea what these settings do, but I changed them on my acepc i5 to this:
USB Precondition: enabled
xHCI Mode: smart auto
trunk gating: enabled
per port disable control: enabled

The one that seemed to do the trick is "xHCI Mode: smart auto"

Read More...

James Amendolagine replied to the topic 'ZWO 1600 Reset' in the forum. 1 month ago

Which branch / tag / version are you running?

It's not the hub, I tried with a direct connection. It could very well be something wrong with the bios settings or maybe some electronic failure. Strange that it works perfectly fine with the raspberry pi using usb3. I'll have to examine the bios.

Read More...

James Amendolagine replied to the topic 'ZWO 1600 Reset' in the forum. 1 month ago

Were you able to resolve it?

Read More...

James Amendolagine replied to the topic 'ZWO 1600 Reset' in the forum. 1 month ago

Not the cables. I switch to using my Raspberry PI, and use the exact same cables. It's working just fine there. I'll check the bios to see if I can find anything. Everything seems to point to the zwo driver, but if no one else sees this, then maybe it's something to do with the PC. Maybe I'll try the same build on my desktop.

Read More...

James Amendolagine replied to the topic 'ZWO 1600 Reset' in the forum. 1 month ago

Happens with v1.9.7 as well

Read More...

James Amendolagine created a new topic ' ZWO 1600 Reset' in the forum. 1 month ago

I'm getting a regular reset with my zwo asi 1600 mm pro. I'm on ubuntu 20 with an i5. I am running indi v1.9.7 with indi-3rdparty checkout out at 6a68279d9bbe7a796e5a9209e488333244b60aac

reset SuperSpeed USB device number 5 using xhci_hcd

The reset is very regular when I'm imaging. It makes it basically unusable. I've switched to my RPI4 for the time being.

Jamie

Read More...