[Pkg-phototools-devel] Bug#685844: libgphoto2-2: "/usr/lib/i386-linux-gnu/libgphoto2/print-camera-list udev-rules" generate non-working entries PROGRAM="check-ptp-camera 06/01/01".

Oleksandr Gavenko gavenkoa at gmail.com
Sat Aug 25 09:36:05 UTC 2012


Package: libgphoto2-2
Version: 2.4.14-2
Severity: normal

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/1 CPU core)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libgphoto2-2 depends on:
ii  dpkg               1.16.8
ii  libc6              2.13-35
ii  libexif12          0.6.20-3
ii  libgd2-xpm         2.0.36~rc1~dfsg-6.1
ii  libgphoto2-port0   2.4.14-2
ii  libjpeg8           8d-1
ii  libltdl7           2.4.2-1.1
ii  multiarch-support  2.13-35

Versions of packages libgphoto2-2 recommends:
ii  libgphoto2-l10n  2.4.14-2
ii  udev             175-3.1


When I perform:

  $ /usr/lib/i386-linux-gnu/libgphoto2/print-camera-list udev-rules mode 0660 group camera | sudo sh -c "cat >x/etc/udev/rules.d/90-my-libgphoto2.rules"

I get '/etc/udev/rules.d/90-my-libgphoto2.rules' with line:

  PROGRAM="check-ptp-camera 06/01/01", MODE="0660", GROUP="camera"

which on boot take error:

  $ cat /var/log/daemon.log
  ...
  Aug 25 12:02:24 laptop udevd[11129]: failed to execute '/lib/udev/check-ptp-camera' 'check-ptp-camera 06/01/01': No such file or directory
  ...

I try search:

  $ apt-file search check-ptp-camera

and found that Debian does not provide check-ptp-camera file.

so I suggest remove this entry from output of 'print-camera-list' utility. For
example this line also generated:

  # not working yet: PROGRAM="check-mtp-device", , ENV{ID_MEDIA_PLAYER}="1", MODE="0660", GROUP="camera"

-- 
Best regards!



More information about the Pkg-phototools-devel mailing list