Bug 442389

Summary: Cannot import DNG files from Canon PowerShot SX730 HS
Product: [Applications] digikam Reporter: hjb
Component: Import-Gphoto2Assignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 7.3.0   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In: 7.4.0
Sentry Crash Report:

Description hjb 2021-09-13 18:11:20 UTC
Just upgraded to 7.3.0, using AppImage. I have a new Canon PowerShot SX730 HS, installed CHDK on it and set image format to JPEG and DNG. This works well with my old PowerShot A3300 IS, but with the new cam I only see the JPEG images in the import window.

While the CHDK file manager confirms that the DNG files are there, I cannot see them with gphoto either:

LANG= gphoto2 -L 
There is no file in folder '/'.                                                
There is no file in folder '/store_00010001'.
There is no file in folder '/store_00010001/DCIM'.
There are 7 files in folder '/store_00010001/DCIM/100___09'.
#1     IMG_0001.JPG               rd  6389 KB image/jpeg
#2     IMG_0002.JPG               rd  6672 KB image/jpeg
#3     IMG_0003.JPG               rd  6109 KB image/jpeg
#4     IMG_0004.JPG               rd  6225 KB image/jpeg
#5     IMG_0005.JPG               rd  6306 KB image/jpeg
#6     IMG_0006.JPG               rd  6616 KB image/jpeg
#7     IMG_0007.JPG               rd  5836 KB image/jpeg

So the real problem may be ghpoto2.

Can you add support for the cam? Is there a quick workaround?
Comment 1 Maik Qualmann 2021-09-13 18:16:16 UTC
If the DNG files are not listed by GPhoto2, it is a GPhoto2 or camera problem. Can you switch between MTP <=> PTP mode in the camera USB settings?

Maik
Comment 2 Maik Qualmann 2021-09-13 18:31:12 UTC
Ah, now I see that you have installed CHDK. So the camera even has DNG in the standard firmware. Sorry, we can't offer any support for that and GPhoto2 probably won't do it either.

Maik
Comment 3 Maik Qualmann 2021-09-13 18:44:02 UTC
Here from the CHDK porting thread to the camera, the DNG support is not perfect either:

- DNG color matrix is incorrect (copied from sx60hs) but usable

Maik
Comment 4 Maik Qualmann 2021-09-13 20:21:20 UTC
I had read the website www.pro-linux.de almost every day, thanks again for that. It was a nice time. ((:-))

Maik
Comment 5 hjb 2021-09-16 20:44:27 UTC
> If the DNG files are not listed by GPhoto2, it is a GPhoto2 or camera problem. Can you switch between MTP <=> PTP mode in the camera USB settings?

I think there is no option to switch that. It seems that gphoto can handle the camera perfectly when CHDK is not active. And I saw too that CHDK doesn't work perfectly, probably because the firmware has changed massively. There ist surely a lot of reverse engineering work to do, but I don't know if I want to start with that ;-)