cvs commit: ports/graphics/libgphoto2 Makefile ports/graphics/libgphoto2/filespatch-camlibs:canon:canon.h patch-camlibs:canon:usb.c patch-camlibs:canon:usb.h

Andreas Klemm andreas at FreeBSD.org
Mon Oct 20 10:49:44 PDT 2003


andreas     2003/10/20 10:49:40 PDT

  FreeBSD ports repository

  Modified files:
    graphics/libgphoto2  Makefile 
  Added files:
    graphics/libgphoto2/files patch-ChangeLog 
                              patch-camlibs:canon:canon.c 
                              patch-camlibs:canon:canon.h 
                              patch-camlibs:canon:usb.c 
                              patch-camlibs:canon:usb.h 
  Log:
  Fix to support Canon PowerShot G5
  
  Situation:
  - The PTP2 driver doesn't work for G5
  - The G3 driver can't be used a G5
  - So the canon native driver has been tought the G5's id etc ...
  
  - Bumped port revision, since the G5 PTP2 support was in
    test status and the G5 canon native driver support
    - fixes G5 PTP2 flaws and
    - is kind of new functionality
  
  These patches have been sent to the gphoto devel team and
  have been included into CVS today. Since yestarday 2.1.3
  has been releases this fix will show up in later versions of
  libgphoto.
  
  Note 1: when using gphoto --auto-detect unluckily the buggy PTP2 driver
  will be autodetected. You then have to choose manually the correct
  driver. Easiest way is to use digikam->Setup and to Choose driver called
  "Canon PowerShot G5 (normal mode)".
  
  Note 2: If you want to use digikam as non-root user, you have to tweak
  permissions of /dev/ugenX and /dev/ugenX.{1,2,3}
  
  I succeded by using the following commands which I put into /etc/rc.local,
  thanks to Poul-Henning Kamp:
  /sbin/devfs ruleset 10
  /sbin/devfs rule applyset
  /sbin/devfs rule add path ugen1* mode 666
  /sbin/devfs rule show
  
  A working solution for /etc/devfs.rules I didn't find yet.
  
  Approved by:     portmgr at freebsd.org (Joe)
  
  Revision  Changes    Path
  1.9       +1 -1      ports/graphics/libgphoto2/Makefile
  1.1       +16 -0     ports/graphics/libgphoto2/files/patch-ChangeLog (new)
  1.1       +19 -0     ports/graphics/libgphoto2/files/patch-camlibs:canon:canon.c (new)
  1.1       +18 -0     ports/graphics/libgphoto2/files/patch-camlibs:canon:canon.h (new)
  1.1       +10 -0     ports/graphics/libgphoto2/files/patch-camlibs:canon:usb.c (new)
  1.1       +11 -0     ports/graphics/libgphoto2/files/patch-camlibs:canon:usb.h (new)


More information about the cvs-ports mailing list