Hello,
this is an issue I could finally solve but for those who may be stuck with it, it's worth sharing.
I have just acquired a Canon EOS Rp and encountered the "famous" "Unsupported file format or not RAW file", due to the CR3 format.
For those who may not have heard before, this comes from an external library (libraw) used by ekos/Indi to convert RAW format, display it and store in the FITS.
Canon used to have .CR2 format in the past but now propose (impose in the latest DSLR) the new .CR3 one.
Unfortunately, the indi_canon_ccd (actually linked to indi_gphoto_ccd binary) is linked with a libraw19 version:

(base) deneb-l@astroserv:~$ ldd /usr/bin/indi_gphoto_ccd | grep libraw
	libraw.so.19 => /lib/x86_64-linux-gnu/libraw.so.19 (0x00007f8646b10000)
... leading to the error "Cannot open /tmp/indi_xxxxxx: Unsupported file format or not RAW file" in indi canon driver log.
I am really surprised because some of the threads on indilib forum mention that it has been solved months ago.
I have updated kstars and 3rdparty libs (dated of July 2022), trying stable or indinights branch with no success.

I believe this may be due to my distro (Ubuntu 20). The repository may not have been built recently.
Anyway, to sort this out, I had to:
- git clone LibRaw source code and build (does not change anything, obvisously, indi_gphoto_ccd is still linked with version 19)
- git clone the source of libindi-3rdparty and make install the indi-gphoto --> Crash indiserver
- git clone the source of libindi, rebuild all and make install.
--> Works
Now the indi_gphoto_ccd is using the latest libraw:
(base) deneb-l@astroserv:~/Projects/build/indi-gphoto$ ldd /usr/bin/indi_gphoto_ccd | grep libraw
	libraw.so.23 => /home/deneb-l/source/LibRaw/lib/.libs/libraw.so.23 (0x00007f2fb91fc000)
And kstars/ekos can read my EOS Rp format.
Anyway, it would be interesting to understand why the stable and unstable version of indi_gphoto_ccd does not use a more recent version of libraw.
Maybe a mistake or maybe because Ubuntu 20 does NOT have libraw20 official package available:
libraw search in Ubuntu 20 repo
when Ubuntu 22 has:
libraw search in Uuntu 22 repo

Next step will be to upgrade my distribution and see if I can go back to standard ekos/indi packages rather than built myself (will do as soon as I will have free enough disk space).
Hope this can help anyone.

Read More...