Re: Problems with usb and digital camera

From: Marcus Meissner
Date: Fri Jun 10 2005 - 05:05:40 EST


In article <20050610085033.GA16936@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> you wrote:
>> I have a Canon Powershot A70 and it used to work nicely with linux and
>> gnome. But now it has stopped working.

>> When I plug the camera, gthumb pops and try to import photos. But I get a
>> window with this message:
>>
>>
>> Jun 6 23:43:04 werewolf kernel: usb 5-2: new full speed USB device using uhci_hcd and address 6
>> Jun 6 23:45:38 werewolf kernel: usb 5-2: usbfs: interface 0 claimed by usbfs while 'gthumb' sets config #1
>
> That looks fine.
>
>> I have now 2.6.12-rc6-mm1. My USB pendrive works nicely.
>>
>> Are you aware of any strange behaviour of USB in this kernel ?
>
> Nope :)

This was a bug (?) in libgphoto2 which is fixed with 2.1.6rc2 or
later.

Please download libgphoto2-2.1.6rc2 from sf.net/projects/gphoto
and it will be fixed.

The technical problem was that that the libusb call
usb_set_configuration() could only be called with the USB interface
released via usb_release_interface() before.

I do not know why this is necessary, but we fixed it neithertheless.

Ciao, Marcus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/