camlibs/canon/canon.c has two different entries for Canon PowerShot S45 (normal mode) This causes it to use the wrong USB id when trying to communicate with the camera. It was fixed in thsi revsiion of the file http://cvs.sourceforge.net/viewcvs.py/gphoto/libgphoto2/camlibs/canon/canon.c?rev=1.212&view=auto Reproducible: Always Steps to Reproduce: 1. 2. 3.
please make a patch for the current version
Created attachment 19132 [details, diff] Proposed fix Proposed fix based on libgphoto2 cvs.
in cvs
patch is not working, users are getting this error: >>> emerge (1 of 2) media-libs/libgphoto2-2.1.2-r1 to / >>> md5 src_uri libgphoto2-2.1.2.tar.bz2 >>> Unpacking source... >>> Unpacking libgphoto2-2.1.2.tar.bz2 to /var/tmp/portage/libgphoto2-2.1.2-r1/work * Applying libgphoto2-2.1.2-norpm.patch... [ ok ] * Applying libgphoto2-2.1.2-canon.patch... * Failed Patch: libgphoto2-2.1.2-canon.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/libgphoto2-2.1.2-r1/temp/libgphoto2-2.1.2-canon.patch-17819.out !!! ERROR: media-libs/libgphoto2-2.1.2-r1 failed. !!! Function epatch, Line 354, Exitcode 0 !!! Failed Patch: libgphoto2-2.1.2-canon.patch! (http://forums.gentoo.org/viewtopic.php?t=93914&highlight=)
whats going on here?
hrmm .. the included cvs header ids are conflicting with our cvs repo. i've edited the patch to remove those ..