After a crash of my µSD card on RPi I made a fresh install of all Kstars...
The clear sky was an appeal to photography.
Unfortunately my cams doesn't want to works.
On the fresh install none of toupcam and asi drivers crash. But the cams are here when using lsusb command.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 023: ID 03c3:120d ==> <em>ASI 120</em>
Bus 001 Device 021: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Bus 001 Device 019: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 025: ID 0547:12b8 Anchor Chips, Inc. USB2.0 Hub ==> <em>Risingcam IMX571</em>
Bus 001 Device 024: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I join a targz log file that gave me no more information.
I believe I will be in bed very early today.
Was your fresh install based on nightly or build from latest git? If so, your problem may be related to what was discussed in topic #84121, "ASI ZWO driver keeps restarting". In that case, the solution for ASI cameras is to get the libASICamera2.so.1.22 (libASICamera2.bin) from github.com/indilib/indi-3rdparty/tree/33...a2b1ab0/libasi/armv8, as 1.24 and 1.25 don't seem to work; assuming also your RPi is armv8 architecture.
You can get more info if you browse through the discussion.
I try to build all indi and 3rdpaty drivers from sources of 1.9.6 on the RPi. Indi build works fine but 3rdparty allways crash on <em>undefined reference to `INDI::CCD::addFITSKeywords(fitsfile*, INDI::CCDChip*)'</em> on several drivers compilation like indi-toupcam or indi-sx.
The good news is that recompiling and installing the asi driver makes my guiding 120MM working again.
But I am stuck on the toupbase compilation problem.
I give up.
Whatever I do. Use nightly. Rebuild the drivers libs, the drivers themeselve that crahes. Nothing works I can get my both cams come back.
Indigo sees the cameras. I will work with it in dagraded mode waiting for better days with Indi versions.
If you want to give it one last try, Jasem reverted the latest libASI to the 1.22 version (the one that works) in the latest indi-3rdparty git. Except for the latest cameras, things should work for the ASI cameras. Not sure about the Toupcam but you can give it a try.
If your builds crash, you may want to try building with make -j1 or make -j2 as making with an higher j option makes it problematic with the ARM machines. I had problem with my ODroid with make -j3 or higher but it worked fine with -j2 (takes longer to build but works). With -j >2, it would end with an error at about the same place in the build process.
Problem is fixed for the risingcam IMX571 (toupcam driver). Many thanks to Jasem. But the indi_asi_ccd driver still crash. I tested it with 2 asi cams with same result.
The setup I use is: a main CCD (Risingcam IMX571), a ZWO 120MM, both connected to the hub of a CEM60 which is connected to a Raspberri Pi running Ubuntu-Mate 20.04 LTS.