×

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

I filed a bug report here: github.com/raspberrypi/linux/issues/3779

Hopefully we get some feedback on it.
The following user(s) said Thank You: Kevin Ross, Avocette
3 years 8 months ago #57850

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

  • Posts: 326
  • Thank you received: 50
I learned a new command (sudo lsusb) from your bug report, so I thought I would try it out. Before that I did a sudo apt update && sudo apt upgrade. I subsequently found that all my USB devices were listed both by lsusb and sudo lsusb. Has kernel 5.4 perhaps been fixed? My SSD installation seems to be working including the KStars 3.5.0 beta.
3 years 8 months ago #57881

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

  • Posts: 912
  • Thank you received: 86
Looks like I have a similar problem...
Recently, I added a ZWO EAF focuser to my setup.
Tried it first with AZ-GTi, ASI294 and ASI120 on RPI 4 B (4Gb). Stellarmate 1.5.2.
All worked very well for several sessions.
Switched to Stellarmate 1.5.3 with the same hardware. Again, all worked very well for several sessions.
Today, I put my rig on a HEQ5 and boom... no ASI120, no EAF (they are connected to ASI294's hub).
After some troubleshooting I found a workaround.
(All my USB devices are connected to a USB3 powered hub).

-- if I disconnect HEQ5 EQDir USB cable from the hub and start the system up - everything comes up OK (except for the mount of course)
-- then I just connect EQDir cable and power on the HEQ5 and it comes up too

Strange thing is that it is not enough to power off the mount - the cable has to be disconnected from the hub.

Oh well... The workaround works.
Maybe it's a power-draw issue as someone suggested - tomorrow I'll try a separate power supply for RPI.
Currently I power everything with a single 12V/5A brick.

Thanks!
-- 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.
Last edit: 3 years 8 months ago by maxthebuilder.
3 years 8 months ago #57909

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

I can confirm that ANY FTDI cable causes this problem. As soon as all the FTDI cables are removed, the system is back to normal operation with all USB devices accessible. I reported this on the bug report for the Kernel. It's not limited to EQDir, but any FTDI chip would cause the same issue.
3 years 8 months ago #57916

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

  • Posts: 326
  • Thank you received: 50
My optimism has been disappointed - my one device with a FTDI chip (the Pegasus Astro PPB) doesn’t seem to work with Ekos anymore. The command lsusb does list the device but Ekos struggles with and ultimately fails to connect.
3 years 8 months ago #57980

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

And that's what I said above. If you guys can contribute to the Github issue that would be great as well. The more data they have the better. I tried downgrading to Kernel 5.4.35 but still have the same issue with FTDI chipsets making USB on external hub unusable.
3 years 8 months ago #57984

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

  • Posts: 912
  • Thank you received: 86
but it did work with my AZ-GTi mount which used an FTDI EQDir cable.
However, once I switched to HEQ5 which also used an FTDI EQDir cable (different brand/make) things went bad.

This cable works with no issues (for me): www.amazon.com/gp/product/B014GZTCC6
How do i report to developers?
-- 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.
Last edit: 3 years 8 months ago by maxthebuilder.
3 years 8 months ago #58035

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

  • Posts: 983
  • Thank you received: 375
I have started to review linux kernel tree for usb serial - see: github.com/torvalds/linux/tree/master/drivers/usb/serial
As for now I cannot find a commit that introduces access rights issue on usb bus. Maybe you can find it.
3 years 8 months ago #58050

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

  • Posts: 421
  • Thank you received: 102

That was one of the first things I tried. I tried to replicate the issue on my Linux laptop with the same kernel versions. But I could not replicate it on my laptop. I wanted to be able to do a "git bisect" to find the offending commit. But I suspect the problem is in the Raspberry Pi specific changes, and probably not in vanilla Linux.
3 years 8 months ago #58058

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

  • Posts: 983
  • Thank you received: 375
What you're saying is the problem does not occur on x86/x64 architecture, right? I would be surprised if there is any difference between vanilla and raspberry kernel for drivers/usb/serial branch. Could you do diff between the two?
3 years 8 months ago #58062

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

  • Posts: 421
  • Thank you received: 102

Yes, x64. Debian with prebuilt kernels, as well as custom built kernels, trying to get the exact same kernel version as what's used on the Pi.

When I was going through this exercise, I compared the ftdi_sio.c driver file, and noticed no difference of importance. There are differences, because it seems the Raspberry Pi kernel might be cherry picking changes from newer kernels. Not sure though.
3 years 8 months ago #58154

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

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

I have just run into this problem. Camera tabs come up in indi but will not connect. I usually do a nightly build update every few days so this was all working last weekend. I am running an Odroid XU4 (running Ubuntu Mate 18.04) with a powered USB3 hub (motor focus and dew heater electronics all in one box so do not have access to the odroid based USB ports only the hub. I am able to connect to the cameras using PhD2 and loop images from both cameras so this would suggest that the problem is with EKOS/indi.
I tried to roll back to the last stable version and encountered some errors and appear to be stuck on 3.5 beta, although I will keep trying but thought that I would post in case there is a quick fix :)
Are there any work arounds currently for non Rpi single board computers?

Cheers,

Mike
3 years 8 months ago #58175

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

Time to create page: 0.386 seconds