From: Marcus M. <ma...@je...> - 2007-09-26 07:25:43
|
On Tue, Sep 25, 2007 at 07:45:59PM +0200, Dieter Faulbaum wrote: > > on a lenny amd64 system with libgphoto2-2 version 2.4.0-3 I can't > initialize my D200 camera in PTP mode as a unprivileged user (I am in the > group plugdev). > > some facts from this system: > > $pwd > /etc/udev/rules.d > > $ lsusb | grep Nikon > Bus 001 Device 006: ID 04b0:0410 Nikon Corp. > > $ grep "04b0.*0410" * > 025_libgphoto2.rules:ATTRS{idVendor}=="04b0", ATTRS{idProduct}=="0410", MODE="0664", GROUP="plugdev" > > $ grep -i ptp 025_libgphoto2.rules > PROGRAM="check-ptp-camera 06/01/01", MODE="0664", GROUP="plugdev" > > $ head 025_libgphoto2.rules > # udev rules file for libgphoto2 devices (for udev 0.98 version) > # Created from this library: > # libgphoto2 2.4.0 gcc, ltdl, EXIF > # libgphoto2_port 0.8.0 gcc, ltdl, USB, serial without locking > # > SUBSYSTEM!="usb_device", GOTO="libgphoto2_rules_end" > ACTION!="add", GOTO="libgphoto2_rules_end" > > ATTRS{idVendor}=="0553", ATTRS{idProduct}=="0202", MODE="0664", GROUP="plugdev" > ATTRS{idVendor}=="06bd", ATTRS{idProduct}=="0403", MODE="0664", GROUP="plugdev" > > storage mode in D200 (looks good, but gtkam only supports the D200 in > PTP mode): > > $ ls -lrt /dev/|tail -6 > crw-rw---- 1 root root 254, 8 2007-09-23 19:54 usbdev1.5_ep00 > crw-rw---- 1 root root 254, 9 2007-09-23 19:54 usbdev1.5_ep01 > crw-rw---- 1 root root 254, 10 2007-09-23 19:54 usbdev1.5_ep82 > crw-rw---- 1 root root 21, 4 2007-09-23 19:54 sg4 > brw-rw---- 1 root floppy 8, 48 2007-09-23 19:54 sdd > brw-rw---- 1 root floppy 8, 49 2007-09-23 19:54 sdd1 > > PTP mode: > > $ ls -lrt /dev/|tail -4 > crw-rw---- 1 root root 254, 8 2007-09-23 20:03 usbdev1.7_ep00 > crw-rw---- 1 root root 254, 9 2007-09-23 20:03 usbdev1.7_ep01 > crw-rw---- 1 root root 254, 10 2007-09-23 20:03 usbdev1.7_ep82 > crw-rw---- 1 root root 254, 11 2007-09-23 20:03 usbdev1.7_ep83 The rule will probably modify /dev/bus/usb/XXX/YYY entries, not /dev/usbdev*. Which udev version is used? Which kernel is used? CIao, Marcus |