On Wednesday 27 October 2004 08:02 am, Mariusz Woloszyn wrote:
> As I wrote before it's a known issue.
> Your camera requires some extra USB cleanup on exit. It has nothing with
> PTP but with USB. You should use usbsoop or something similar to see the
> stransmision under windows drivers.

To recap (for the list audience):

There seems to be a problem using Canon A70 and A80 digital cameras with Linux 
(this may affect other Canons, but I only have access to those two models). 
The behavior is the same between two different computers (one nForce2 chipset 
and one Intel 82801), two different kernels (2.6.5 and 2.6.9-rc4), and both 
cameras.

Basically, the first access to the camera works fine, but all subsequent ones 
fail until the camera is reset (or the USB cord is pulled and reconnected). 
Various degrees of functionality can still be achieved depending on how the 
app you're using is written (whether is leaves the connection open, or opens 
and closes it for each operation).

Often, the dmesg shows the following:
usb 2-2: bulk timeout on ep1in
usb 2-2: usbfs: USBDEVFS_BULK failed ep 0x81 len 512 ret -110

That error shows up consistently when using programs based on libptp, but 
typically doesn't show up with other programs (like gphoto2). However, the 
end result is the same, the camera has to be reset after the first access. 
Since both cameras work fine in Windows, it would appear something special 
has to be done when opening or closing the connection to make things work(?).

I've used a USB snoop program to capture the USB interaction in Windows. The 
logs are quite large, so I've put them up on FTP (there's one for each 
camera):
ftp://alderaan.localaccess.com/

For both log files, I'm doing the following:
-Connecting the camera.
-Running Canon's 'remote capture' utility and connecting to the camera.
-Setting the picture quality to low in the 'remote capture' software (so the 
   logs won't be even bigger than they are).
-Taking a shot.
-Choosing the "disconnect" option in the software.

Since this issue spans a bunch of different software in userland, I thought it 
might be more of a kernel fix.
-- 
Matt
Systems Administrator
Local Access Communications
360.330.5535


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to