Created attachment 366764 [details, diff] patch for canon.c for Canon PowerShot S100 In latest code of libgphoto2 (media-libs/libgphoto2-2.5.2-r1 and media-libs/libgphoto2-2.5.2-r2) Canon PowerShot S100 is not properly initialized thus media cannot be fetched from the camera. This seems to be a problem in mainline as I was able to find the same problem described and resolved in many distributions. To summarize: $ gphoto2 --get-all-files Initializing camera... An error occurred in the io-library ('Bad parameters'): No error description available and $ gphoto2 --list-cameras | grep "PowerShot S100" "Canon PowerShot S100" "Canon PowerShot S100" The problem is fixed in libgphoto2-2.5.3, however gentoo does not yet offer the ebuild. The attachment is a patch, which I have applied to media-libs/libgphoto2-2.5.2-r2 and it has resolved the problem. Confirmed. Thanks, -Nikolay
Do you have some link/reference to that bugs in other distributions and upstream? I have seen they haven't released yet a .3 version and would like to use the patch willing to be included by them :) Thanks
(In reply to Pacho Ramos from comment #1) > Do you have some link/reference to that bugs in other distributions and > upstream? I have seen they haven't released yet a .3 version and would like > to use the patch willing to be included by them :) > > Thanks Hello Pacho, yes, I found quite a few, here are some: https://bugs.launchpad.net/ubuntu/+source/gphoto2/+bug/1245303 http://sourceforge.net/p/gphoto/bugs/958/ http://sourceforge.net/p/gphoto/bugs/965/ patch location: http://sourceforge.net/p/gphoto/bugs/965/attachment/canon There might be others as well. The patch above does fix the problem for me. Let me know if you need to have more information about the case. Cheers, -Nik
+*libgphoto2-2.5.2-r3 (03 Jan 2014) + + 03 Jan 2014; Pacho Ramos <pacho@gentoo.org> + +files/libgphoto2-2.5.2-canon-s100.patch, +libgphoto2-2.5.2-r3.ebuild, + -libgphoto2-2.5.2-r2.ebuild: + Fix Canon S100 detection, bug #496754 by Nikolay Kichukov, drop old +
Thanks, it is resolved in -r3. Cheers, -N