×

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

Bi-monthly release with minor bug fixes and improvements

No ASI Camera after Update - Suspect port mapping

  • Posts: 216
  • Thank you received: 41
Hi rishgarrod,

Sorry I should have said that I had tried everything suggested in the post with no effect. I think that there are differences in the Ubuntu OS on the Odroid XU4. It did not recognised the rpi-update (not a Pi I suppose :)

I appreciate any advice though.
Mike
3 years 8 months ago #58197

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

  • Posts: 216
  • Thank you received: 41
Hi Avocette,
This is all a bit curious.
I wound back to the last stable version last night only to find that this is now the 3.5.0 beta. So I will have to find some other way of rolling back further.
Debug suggests that both my ASI294MCpro and ASI120MM-S are being recognised but the indi gui only has three tabs and no connection options. Connect and disconnect on the main tab do nothing.
PHD2 running in the same system picks up the cameras OK so there does not appear to be an issue with the USB etc. I am no expert but this has happened since the last nightly build. Hopefully if I can find a stable version before 3.5.0 I should be able to get back up and running.
Anyway I have a alternative testing framework with a RPi4 running Ubuntu 20.04 which I updated a couple of days ago but did not test.
Oh well the weather is very overcast for this weekend so no prospect of getting the gear outside.
If I find a solution I will post.

Cheers,

Mike
3 years 8 months ago #58198

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

  • Posts: 145
  • Thank you received: 15
Changing the EQMod Direct cable from my external powered USB 3 hub directly to one of the Raspi’s USB 2 ports did the trick for me as well. Now my ASI290MM is recognized by Indi again, finally. The ASI290 is connected to the USB 2 hub of the ASI294 which in turn is connected to the USB 3 hub.
Last edit: 3 years 8 months ago by Bernd Limburg.
3 years 8 months ago #58222

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

  • Posts: 216
  • Thank you received: 41
Hi limburg11,

This just gets more interesting. Unfortunately I have been testing without an EQMod Direct (telescope simulator) as well as the EQmod and the same result so that is not going to work for me.
I spent yesterday installing Ubuntu 20.04 (another interesting experience in the Odroid XU4) with the same result.
I am going to pull the Odroid and use the RPi4 and see how that goes as most people on this forum seem to be finding workarounds with RPi4 but none of these appear to work with the Odroid. Thanks for the advice though.
Rainy weather here so I am not missing out on any clear sky time :)
Mike
3 years 8 months ago #58224

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

  • Posts: 216
  • Thank you received: 41
Hi All,

Thought I would give an update. After trying Ubuntu 20.04 (ASI indi drivers not loading) with same result then reverting back to 18.04 and reconfiguring from scratch I ended up with even worse problems with the indi drivers all crashing on start up of any indi profile with live equipment attached. So I figured it's curtains for the Odroid and will be using RPI4 (ordered an 8gig version) from now on.
In the meantime, using a spare RPi4 running Ubuntu 20.04, I am still having some issues with using a USB3 hub. Everything connects with no crashes on the stable version of KStars but the ASI294MCpro hangs on capture. The ASI120 attached to the 294 hub captures OK and both cameras will capture using phd2.
I just tried the nightly build but that crashes on load up of the ASI drivers. :( I have rolled back to the stable KStars to get a functional system as the weather has improved. Using the stable version the ASI 294MCpro will capture OK when attached directly to the Pi but that makes it awkward in my system as the Pi is in a bare board state in an enclosure with DIY dew heater and motor focuser (plus powered USB3 hub).
I note that the work around to roll back the kernel has worked for Raspian users but the command is not recognised in ubuntu. Are there any similar quick fixes for ubuntu users to roll back the kernel?

Cheers,

Mike
3 years 8 months ago #58268

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

  • Posts: 216
  • Thank you received: 41
I posted too early. The ASI 294 capture was still hanging even when plugged directly into the Pi. However I have discovered that this was related to trying to capturing to the internal SD card. My usual workflow is to capture to an external HD. Just for testing I was trying to keep it simple and capture to internal SD. Now I am capturing to the HD everything is working.
So just to reiterate I am using a Rpi4 4Gig running ubuntu 20.04. I am using a powered 7 port USB3 hub. Everything now is plugged into the hub (ASI 294MCpro (+ASI120MM-s) also NEQ6Pro mount using a EQdir serial to USB connector, plus arduino motor focuser and portable HD) with nothing apart from the hub plugged into the Pi and everything connects and works as expected. :)
However the crashing of the ASI drivers on the current nightly build is still occurring so I will stick to the stable version for the time being.

Mike
3 years 8 months ago #58269

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

So after 4 hours of some deep dive into this, I found the root cause. It's a udev issue and I emailed the maintainer to look into it.

For StellarMate users, run this:
sudo apt-get update && sudo apt-get -y dist-upgrade

If you want to try it out, edit /lib/udev/rules/60-rpi.gpio-common.rules:
SUBSYSTEM=="bcm2835-gpiomem", KERNEL=="gpiomem", GROUP="dialout", MODE="0660"
SUBSYSTEM=="gpio", KERNEL=="gpiochip*", ACTION=="add", PROGRAM="/bin/sh -c 'chown root:dialout /sys/class/gpio/export /sys/class/gpio/unexport ; chmod 220 /sys/class/gpio/export /sys/class/gpio/unexport'"
SUBSYSTEM=="gpio", KERNEL=="gpio*", ACTION=="add", PROGRAM="/bin/sh -c 'chown root:dialout /sys/%p/active_low /sys/%p/direction /sys/%p/edge /sys/%p/value ; chmod 660 /sys/%p/active_low /sys/%p/direction /sys/%p/edge /sys/%p/value'"

Then reboot and try it out. Please confirm if this fixes the issue.
The following user(s) said Thank You: maxthebuilder, Bernd Limburg
3 years 8 months ago #58370

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

  • Posts: 912
  • Thank you received: 86
Jasem,
Did the sudo apt-get update && sudo apt-get -y dist-upgrade and it helped!
Thank you so much!
-- Max S
ZWO AM5. RST-135. AZ-GTI. HEQ5. iOptron SkyTracker.
TPO RC6. FRA400. Rokinon 135 and other lenses.
ZWO ASI2600MC. D5500 modified with UVIR clip-in filter.
ZWO ASI120MM Mini x 2. ZWO 30F4 guider. Orion 50mm guider.
ZWO EAF x 3.
3 years 8 months ago #58377

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

  • Posts: 216
  • Thank you received: 41
Hi Jasem,

Thanks for all your hard work on this issue. Is there any fix for those running RPi4 with Ubuntu Mate 20.04.1. The rules folder in lib/udev does not exist (rules.d) and the 60-rpi.gpio-common.rules file does not come up in any searches. Is there an alternative file in Ubuntu?

Mike
Last edit: 3 years 7 months ago by Spartacus.
3 years 7 months ago #58382

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

  • Posts: 216
  • Thank you received: 41
Hi All,

So I installed the rpi.gpio-common using

sudo apt-get update
sudo apt-get install rpi.gpio-common
I confirmed the text file contents as per Jasems last post

Unfortunately this did not resolve the issue in my system. Although things changed in that only 1 ASI camera was recognised no matter if this was connected to the powered hub or directly to the Pi. This behaviour was replicated in PhD2.
I could only resolve this by removing the rpi.gpio-common package and reboot.
The work around is now to plug the ASI camera directly to the Pi and the rest of my equipment to the hub.
I presume this will all be resolved at some point but at least I have a usable astrorig until a solution is found.
Cheers,
Mike
3 years 7 months ago #58431

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

  • Posts: 145
  • Thank you received: 15
Hi,

I did the changes in /lib/udev/rules.d/60-rpi.gpio-common.rules as Jasem described (for me the directory was „rules.d“ and not just „rules“). In fact I added the obviously missing slashes „/“ in line 3 between /sys and %p.

Then I connected all devices again to my USB3 hub as before. After reboot, my ASI290 was recognized, so issue seems to be fixed!

I‘m an Astroberry user, not SM, btw.

Cheers,
Bernd
The following user(s) said Thank You: Spartacus
3 years 7 months ago #58448

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

  • Posts: 216
  • Thank you received: 41
Hi Bernt,

I did miss spotting the slashes. I was working on it last night while too tired :)
I have made the changes and will test later today. Picking up a new RPi4 8gig version today so hopefully it all works. Sounds very hopeful.
Thanks very much for the help!

Mike
3 years 7 months ago #58460

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

Time to create page: 1.649 seconds