[Pkg-phototools-devel] Bug#538941: libgphoto2-2: udev rule for my PTP camera
Sanjoy Mahajan
sanjoy at MIT.EDU
Tue Jul 28 02:39:38 UTC 2009
Package: libgphoto2-2
Version: 2.4.6-1
Severity: minor
> You can also send the USB ID as a Debian bug report
To get the group set properly for my Nikon Coolpix S7c, I added these
udev rules in rules.d/ :
# Nikon CoolPix S7c
ATTRS{idVendor}=="04b0", ATTRS{idProduct}=="0157", MODE="0664", GROUP="plugdev"
Here is 'lsusb -v'
Bus 004 Device 004: ID 04b0:0157 Nikon Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x04b0 Nikon Corp.
idProduct 0x0157
bcdDevice 1.00
iManufacturer 1 NIKON
iProduct 2 NIKON DSC COOLPIX S7c-PTP
iSerial 3 000073300668
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 6 Imaging
bInterfaceSubClass 1 Still Image Capture
bInterfaceProtocol 1 Picture Transfer Protocol (PIMA 15470)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 100
Device Status: 0x0001
Self Powered
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.30 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libgphoto2-2 depends on:
ii adduser 3.110 add and remove users and groups
ii libc6 2.9-21 GNU C Library: Shared libraries
ii libexif12 0.6.17-1 library to parse EXIF files
ii libgphoto2-port0 2.4.6-1 gphoto2 digital camera port librar
ii libjpeg62 6b-14 The Independent JPEG Group's JPEG
ii libltdl7 2.2.6a-4 A system independent dlopen wrappe
Versions of packages libgphoto2-2 recommends:
ii udev 0.141-1 /dev/ and hotplug management daemo
Versions of packages libgphoto2-2 suggests:
ii gphoto2 2.4.5-2 The gphoto2 digital camera command
-- no debconf information
More information about the Pkg-phototools-devel
mailing list