[Pkg-phototools-devel] Bug#608341: [libgphoto2-2] please add support for Canon IXUS 130 (lsusb -v attached)

Bastian Venthur venthur at debian.org
Sun Jan 2 14:02:34 UTC 2011


Hi Andreas,

Thanks for your patch, it works. There are two things:

1. With your patch I'm able to access the camera as Canon IXUS 130 in
KDE's filemanager, w/o your patch I'm only able to access it with
gphoto2 (Why?). W/o your patch the camera is also correctly recognized
in KDE's filemanager but I cannot access the images due to some "unknown
device"-like error.

2. The *real* problem was actually that KDE's filemanager and gphoto2
were not able to access the device, there was an error message like:

  ('Could not lock the device'): Camera is already in use.

I didn't really pay attention to this message since it never happened
with my last camera, and I knew I did not mount the camera. Anyways,
after reading a few bugreports someone pointed to this message and said
he solved the problem by killing all gvfs processes. I looked and
noticed that I had rhythmbox open and the camera was already shown there
as a media device (although it was not listed as mounted device via
"mount"). Closing rhythmbox allowed me to access the camera w/o the
above error message.

Do you think it is a bug in libgphoto or rhytmbox or something else?


Cheers,

Bastian

Am 02.01.2011 11:07, schrieb Andreas Metzler:
> On 2010-12-30 Bastian Venthur <venthur at debian.org> wrote:
>> Package: libgphoto2-2
>> Version: 2.4.10.1-3
>> Severity: normal
> 
>> --- Please enter the report below this line. ---
>> Bus 002 Device 006: ID 04a9:31f3 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          0x31f3
>>   bcdDevice            0.02
>>   iManufacturer           1 Canon Inc.
>>   iProduct                2 Canon Digital Camera
>>   iSerial                 3 7C718E77E58D4946966AB145DDC48D09
>>   bNumConfigurations      1
> [...]
> You later wrote in your blog:
>> Today I bought me a Canon IXUS 130 and was quite disappointed to see
>> that it couldn’t properly connect to my Debian/Sid machine via USB.
>> Apparenty the camera is not recognized as a USB Mass Storage Device
>> but utilizes PTP. I upgraded to libgphoto2 (2.4.10.1-3) from
>> experimental and added a proper udev rule with vendor- and product-id
>> but it did not help. Is there anything more I can try?
> 
> 
> Hello,
> 
> for supported devices there is *no* *need* to touch the udev rules.
> Things should just work.
> 
> However, afaict from reading camlibs/ptp2/library.c the IXUS 130 is
> not listed.
> 
> Does the attached patch fix the issue for you?
> 
> cu andreas

-- 
Bastian Venthur                                      http://venthur.de
Debian Developer                                 venthur at debian org






More information about the Pkg-phototools-devel mailing list