Re: problem using Canon SD400 on Debian Sarge
Sayantan Sur wrote:
>
> Hello,
>
> I recently got a Canon SD400 camera. I have been trying to get it to
> work with my laptop which runs Debian Sarge but no luck yet :-( I am
> running kernel version 2.6.12-1-686. I have usb storage working fine.
> I can use USB hard disks and other kinds of memory sticks by mounting
> them onto /dev/sda1 ... Coming to the peculiar problem which I face
> with the camera ...
>
> As soon as I plug the camera in, for a brief period it is reported by
> `lsusb' (from usbutils package). But after a few seconds, the device
> dissappears from lsusb!! However, it is always to be found in
> /proc/bus/usb/devices.
>
> Any clue as to why this behavior? This camera works with SuSe (I think
> 10.someversion), but it should work on Debian too!!
>
> Thanks for all your help,
> Sayantan.
>
> =============================
> Debug information:
>
> 1. lsusb -v # For the very short period of time the camera is
> reported by lsusb
>
> Bus 001 Device 009: ID 04a9:310e Canon, Inc.
> Device Descriptor:
> bLength 18
> bDescriptorType 1
> bcdUSB 2.00
> bDeviceClass 0 (Defined at Interface level)
> bDeviceSubClass 0
> bDeviceProtocol 0
> bMaxPacketSize0 64
> idVendor 0x04a9 Canon, Inc.
> idProduct 0x310e
> bcdDevice 0.02
> iManufacturer 1
> iProduct 2
> iSerial 0
> bNumConfigurations 1
> Configuration Descriptor:
> bLength 9
> bDescriptorType 2
> wTotalLength 39
> bNumInterfaces 1
> bConfigurationValue 1
> iConfiguration 0
> bmAttributes 0xc0
> Self Powered
> MaxPower 2mA
> 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 0x81 EP 1 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 0x02 EP 2 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 0x83 EP 3 IN
> bmAttributes 3
> Transfer Type Interrupt
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0008 1x 8 bytes
> bInterval 32
> can't get device qualifier: Operation not permitted
> can't get debug descriptor: Operation not permitted
>
> 2. cat /proc/bus/usb/devices # Device info for the camera
>
> T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 10 Spd=12 MxCh= 0
> D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
> P: Vendor=04a9 ProdID=310e Rev= 0.02
> S: Manufacturer=Canon Inc.
> S: Product=Canon Digital Camera
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
> I: If#= 0 Alt= 0 #EPs= 3 Cls=06(still) Sub=01 Prot=01 Driver=(none)
> E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=32ms
>
> 3. tail -f /var/log/messages # When camera is inserted and turned on
>
> Oct 3 21:50:39 localhost kernel: usb 1-1: new full speed USB device
> using uhci_hcd and address 10
> Oct 3 21:50:40 localhost usb.agent[7405]: libgphoto2: loaded successfully
It's possible that this camera doesn't support being mounted as a USB
mass storage device. This web page lists the Canon SD500 as strictly PTP
(pitcure transfer protocol:
http://www.teaser.fr/~hfiguiere/linux/digicam.html
If the SD400 is the same in that regard, then you would have to access
the camera with gphoto2, and a front end for it like digikam.
Tom
Reply to: