Package: libgphoto2-2 Version: 2.1.6-5.3 Severity: grave Justification: renders package unusable
I am using udev unstable, version 0.076-4. libgphoto2 generates a set of rules for use with udev, namely /etc/udev/libgphoto2.rules. These in turn call the executable /etc/hotplug/usb/libgphoto2, which attempts to set the group of the device that's created by udev to $GROUP, in this case "camera." This does not work in the current version of udev. First, the script relies on the undocumented $DEVICE variable; second, the script is called multiple times. Finally, and most importantly, the $DEVICE variable resolves to paths such as "proc/bus/usb/002/017", but what's really needed is "/dev/bus/usb/002/017". To fix this problem, the libgphoto2.rules should read as follows # Canon S110 SUBSYSTEM=="usb_device", SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="3051", GROUP="camera" Translation: When the usb_device subsystem creates the /dev entry (/dev/bus/usb/002/017, as can be seen with by running "udevmonitor --env" and watching plug/unplug events), and when the vendor and product IDs are correct, then set the GROUP of the created /dev entry to "camera." Note that this is done entirely internal to udev, with no outside script. It's possible to deprecate libgphoto2. If I've made an error, my apologies. If you need further information about my system configuration, or log files, please contact me. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14-2-k7 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages libgphoto2-2 depends on: ii adduser 3.80 Add and remove users and groups ii libc6 2.3.5-8.1 GNU C Library: Shared libraries an ii libexif12 0.6.12-2 library to parse EXIF files ii libgphoto2-port0 2.1.6-5.3 gphoto2 digital camera port librar ii libjpeg62 6b-10 The Independent JPEG Group's JPEG Versions of packages libgphoto2-2 recommends: ii udev [hotplug] 0.076-4 /dev/ and hotplug management daemo -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]