×

INDI Library v1.9.4 Released (17 Jan 2022)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones. Some highlights:

No ASI Camera after Update - Suspect port mapping

  • Posts: 32
  • Thank you received: 6
@dmsummers - thank you for the suggestion. I gave it a try, unfortunately I had the same result.

My troubleshooting today consisted of going back to a fresh load, adding components one by one to the confit and starting it up. I got everything working. Then I updated again, and could no longer see the cameras. I also noticed the filter wheel connected to the camera did was not found, but the focuser was.

I went back into the updater, but when I returned to the desktop KStars was missing. I reflashed again, only this time I could not get the devices to all work. I thought maybe it was the card. I grabbed another card and went through the same steps. Everything connected, so I installed the update. Right after installation Iran KStars, befor rebooting. I was able to start all the devices. Then I did a reboot, and could not get the cameras or filter wheel to work again.

The last thing I did was to take the RPi4 out of the equation. I installed the latest KStars on my MacBook and connected directly to it. All devices came up as expected and could be controlled.

At this point there are a lot of odd things going on, and plenty of people are running fine. I do not think my setup is that unusual, ASI cameras (2), ASI EFW, focuser, and Skywatcher EQ6r Mount. Now I am wondering If it is the RPi 4 itself. It is one of the early models, and gets dragged around a lot. I’ve ordered a new one, a 4GB version (my current one is 2GB). It should be here in a couple days and I will give it another shot.
1 year 6 months ago #57196

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

  • Posts: 225
  • Thank you received: 21
I’m suffering the same kind of issues with the Astroberry server since performing an update/upgrade yesterday (hoping to get KStars 3.4.3 etc.). Tons of changes from Raspberry Pi, and software applications, but ultimately one half of the USB functionality had been lost. Testing with lsusb shows only four working devices against the fourteen that would normally be there. I have reverted back to a simple, clean Astroberry 2.0.2 image which shows all fourteen again. This still uses an April version of the RPi boot loader, so booting from SSD is not instantly available. The missing devices are the ones on USB Bus 001 from the list shown, which may suggest a problem with the Raspberry Pi OS handling of the USB2.0 bus.
Currently running KStars/Ekos/Indi on two Raspberry Pi 4Bs 4GByte under Raspberry Pi OS thanks to Astroberry
Two mounts, two Fracs, a Newt and a Mak and a couple of OSC cameras.
1 year 6 months ago #57200
Attachments:

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

  • Posts: 32
  • Thank you received: 6
It’s interesting to me that we are having the problem, but it is not more widespread. Is your RPi4 an early version? Mine was purchased soon after they were available. I am wondering if there are some differences.
1 year 6 months ago #57230

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

  • Posts: 225
  • Thank you received: 21
Well, as it happens mine is an early version v1.1 I think of the 4GB model, although there must be be millions like it. I have now flashed the boot loader to the latest version (16 July 2020) and SSD booting works again. I tried a completely fresh install of the Raspberry Pi OS on an SD card, which updated to the latest versions during first booting. Running lsusb in terminal showed the truncated list of five USB devices only, all said to be Bus 002.
Currently running KStars/Ekos/Indi on two Raspberry Pi 4Bs 4GByte under Raspberry Pi OS thanks to Astroberry
Two mounts, two Fracs, a Newt and a Mak and a couple of OSC cameras.
1 year 6 months ago #57258

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

So serial port mapper is not related at all to pure USB devices, it's only for Serial to USB device. But it's interesting that you note it could be related to the Kernel+Firmware perhaps? There was a big jump from Linux kernel 4.19 to 5.4 now, so this _could_ explain some issues, but I tested StellarMate with a dozen of cameras and they all worked flawlessly. Could be some combination of RPI4 hardware + Raspbian firmware/kernel? Use the SM Dashboard --> Diagnostics --> Boot and attach the log here (do not paste it!). Maybe it can shed some light on this.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 year 6 months ago #57276

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

I can confirm it's a kernel issue.. still investigating but if you want to restore USB functionality, run this:
sudo rpi-update e1050e94821a70b2e4c72b318d6c6c968552e9a2
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You: ouioui01
1 year 6 months ago #57279

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

Another possible finding, it seems this issue with the kernel only affect Raspberry Pi 4 Model B Rev 1.2, and not Rev 1.1

For those who have issues, can you check? <strong>cat /proc/cpuinfo</strong> and check the last lines for this information.

EDIT: So it's a permission issue. For some reason.. regular user cannot query USB devices under the new kernel. Still not sure why.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
Last edit: 1 year 6 months ago by Jasem Mutlaq.
1 year 6 months ago #57292

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

  • Posts: 32
  • Thank you received: 6
Thank you Jasem! That worked. I looked at the cpuinfo file, but it was empty. I may be looking in the wrong location.
1 year 6 months ago #57297

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

  • Posts: 107
  • Thank you received: 19
Hi,
Same problem with rpi4 model B rev 1.4 (8gb).
Restoring USB functionality works. Thanks Jasem!

Regards
----
ES ED 127mm FCD100, AZEQ6 GT, FocusLynx ESX25, Nikon D800 , ASI120mm-s, Polemaster
-- RPi4 4Gb Stellarmate , Windows 10 Pro, Kstars/VNC
-- RPi4 8Gb Ubuntu mate 20.04.1 LTS - Kstars/NoMachine
Last edit: 1 year 6 months ago by ouioui01.
1 year 6 months ago #57300

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

So the odd thing is that I cannot reproduce this reliably... I even tested on the 8GB version (rev 1.4) and the USB stuff worked there.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 year 5 months ago #57456

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

  • Posts: 304
  • Thank you received: 76
So I got hit with this tonight. It happened after I updated my Raspbian to the latest, by doing "sudo apt update" and "sudo apt upgrade". It just so happens I had a backup image from only a week ago, so I was able to revert with minimal loss.

This is on my Raspberry Pi 4 with 4GB RAM.

As requested, here are the last 4 lines of /proc/cpuinfo:

Hardware : BCM2835
Revision : c03111
Serial : 1000000089f01859
Model : Raspberry Pi 4 Model B Rev 1.1
The following user(s) said Thank You: Jasem Mutlaq
1 year 5 months ago #57457

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

cat /proc/cpuinfo | tail -n4

This is mine, also 4GB:
Hardware        : BCM2711
Revision        : c03111
Serial          : 1000000029decc50
Model           : Raspberry Pi 4 Model B Rev 1.1

On the RPI4 with USB issues:
Hardware        : BCM2711
Revision        : c03112
Serial          : 1000000089b8c084
Model           : Raspberry Pi 4 Model B Rev 1.2

Yours is v1.1 but the SoC is BCM2835?? how come? Could this actually be one issue? The Rev 1.2 here exhibits the issue, but it appears the SoC is detected correctly at least.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 year 5 months ago #57458

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

Time to create page: 0.520 seconds