×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

USB3 / WIFI

  • Posts: 398
  • Thank you received: 117

Replied by Doug S on topic USB3 / WIFI

@ amendolajamie : Re: "The Mate hardware setup is exactly the same, so I know that this can work with the RPI4".

FWIW, I have yet to hear of anyone that can plug their equipment into the Pi4's USB3 port(s) while using 2.4Ghz wireless and achieve stable operations. Momentary success is possible, but not reliable operations (defined as consistently repeatable boots with functional wireless operation). Your symptoms sound EXACTLY like what everyone has experienced with 2.4Ghz wireless and USB3 on the Pi4. As I say in the referenced post, USB3, HDMI, bluetooth, and particular screen resolutions are involved. Best of luck as you figure out your strategy, but I'd suggest 5Ghz or an ethernet cable. Some have mentioned using separate USB wireless dongle configs (possibly from hubs), but I haven't followed those approaches closely (search other posts for details).

A second note about your chained camera config. I haven't run a chained config before, but I note that the ASI specs for your cameras are 170ma + 300ma = 470ma. That should be fine for USB3, but a bit tight for USB2 (recognizing they've set some headroom in the spec). If you add equipment in the future (focuser, SSD, etc.), you'll want to be thinking about a powered USB3 hub. In that case, only the data connect should go back to the PI's USB3 port....all other equipment is best plugged into a powered USB3 hub.
3 years 7 months ago #59423

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

  • Posts: 319
  • Thank you received: 25

Replied by Mohamed on topic USB3 / WIFI


Hi amendolajamie,

Here are my recommendations:

1- Try to utilize the 5GHz. Its bandwidth is out of the noise bandwidth produced by USB (2.4-2.5 GHz) www.usb.org/sites/default/files/327216.pdf
RPi doesn't support 5GHz natively, so you can use an old router that supports 5GHz, connect with RPi via ethernet (you can add your mount as well), and then connect your PC to the wireless router via 5GHz. I did that in my setup and works great.

2- Try to avoid chain USB. You don't know how much effect on your RPi power status. If the numbers are correct as dmsummers suggested, you are really walking over the edge. You don't need that and you have an empty USB2 that is natively supported by RPi4.

Hope this helps...
3 years 7 months ago #59429

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

  • Posts: 1957
  • Thank you received: 420

Replied by Wouter van Reeven on topic USB3 / WIFI

Regarding using a powered hub for the ASI equipment: I have been using ASI1600MM and ASI6200MM cameras with an ASI120MC-S and ASI EFW chained to it with no issues whatsoever on USB3 ports of various hardware, including RPi4. Just my $0.02


Wouter
3 years 7 months ago #59438

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

  • Posts: 348
  • Thank you received: 69

Replied by Giles on topic USB3 / WIFI


I have a question for you, since I did have this working well, but have since reinstalled Astroberry and setting up new settings for similar equipment.

Do you use the integrated USB2 hub on the ASI1600MM, or directly EFW / Guide devices to the Pi?

Also, do you use any specific bandwidth values for the cameras in the configuration?
3 years 7 months ago #59439

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

  • Posts: 132
  • Thank you received: 9

Replied by James Amendolagine on topic USB3 / WIFI

I just checked, and my 1600 cameras hub is powered, so that's not an issue. I didn't mention it, but I always use headless but I noticed that the astroberry is forcing the hdmi to be on in the config.txt. I'll look at turning that off. I'm also going to try and switch the pi to 5g. I think I need to set the country code to achieve that.
3 years 7 months ago #59443

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

  • Posts: 1957
  • Thank you received: 420

Replied by Wouter van Reeven on topic USB3 / WIFI


Sorry for not being clear. I wrote “chained” hoping that it would be clear that I plug in both the guide cam and the EFW into the USB hub on the ASI1600 or ASI6200.

No special USB configuration for the imaging camera. I use all defaults apart from specifying the gain and offset. Nothing else.

This is on Ubuntu Server 20.04 with the Mate desktop by the way.

And FWIW I always, ALWAYS, connect via an ethernet cable, even when in the field. I make sure that the RPi has a fixed ip address in the range of my home WIFI network so no matter what it always has the same ip address and I can connect to it however I like, whether it is plugged in to my router at home or directly into my MacBook when I am in the field.


Wouter
The following user(s) said Thank You: Giles
3 years 7 months ago #59447

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

  • Posts: 132
  • Thank you received: 9

Replied by James Amendolagine on topic USB3 / WIFI

I just checked my setup with mate. It's 2.4 and it's doing perfectly fine with everything plugged in. USB3 is working fine as well. This is a setup I've been using for months without any wifi or USB issues. So it does not look like I need 5G. I'm going to try and switch off the hdmi on the astroberry setup...
3 years 7 months ago #59457

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

  • Posts: 132
  • Thank you received: 9

Replied by James Amendolagine on topic USB3 / WIFI

One HW thing is just a little different --- I'm using two RPI4's here. The first (mate) one is the 4G memory version, and the astroberry is an 8G version. I'm going to switch the hardware between them and see if that makes a difference.
3 years 7 months ago #59459

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

  • Posts: 132
  • Thank you received: 9

Replied by James Amendolagine on topic USB3 / WIFI

OK, so I've got some success. It looks like it is the hdmi. I set hdmi_ignore_hotplug=1 in /boot/config.txt and now it boots and I can ssh to it over wifi using 2.4G. All while my camera is plugged in to USB3. This is great, I think that I've got a fix. I just need to install a VNC separate from X11/HDMI and I should be good to go. I can still VNC. but now just get a blank screen "can not currently show desktop". I verified that HDMI is not working by plugging it into a TV. No HDMI output.
Last edit: 3 years 7 months ago by James Amendolagine.
3 years 7 months ago #59461

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

  • Posts: 348
  • Thank you received: 69

Replied by Giles on topic USB3 / WIFI


I have HDMI turned off in /boot/config.txt by some option, maybe search power saving techniques to check exact directive, it does not stop VNC working just turns off HDMI hardware.
3 years 7 months ago #59462

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

  • Posts: 132
  • Thank you received: 9

Replied by James Amendolagine on topic USB3 / WIFI

hdmi_ignore_hotplug=1 turns it off. Unfortunately since the astroberry VNC setup is sharing the X11/HDMI desktop, VNC stops working after you do this and just gives a black screen with the message: "can not currently show desktop". On my other setup I ran a VNC separate from the X11 desktop and was able to shut off HDMI output. That's why that setup worked with WIFI and USB3.

OH, and I was mistaken about the distro that I used for my previous setup. It was actually raspbian, not mate.

Jamie
3 years 7 months ago #59463

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

  • Posts: 1957
  • Thank you received: 420

Replied by Wouter van Reeven on topic USB3 / WIFI

You need to specify the screen resolution in the same file where you disable HDMI. See this post for recommended settings:

indilib.org/forum/general/6922-kstars-on...untu-mate-20-04.html
3 years 7 months ago #59464

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

Moderators: Radek Kaczorek
Time to create page: 0.774 seconds