Hello

I sent originally this report to the gphoto2 list, but the problem might
as well be on the kernel-level, since I am also getting some kernel
error-messages. So, first access with gphoto2 -L (get list of files from
the camera) succeeds, second one fails. From the kernel I get:

usb-uhci.c: interrupt, status 3, frame# 1745
usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x82 len 16 ret -75

Debugging output from gphoto2 shows some extra data on the second access:

(first run)

...
0.062832 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.249858 gphoto2-port(3): Hexdump of 512 = 0x200 bytes follows:
0000  00 00 00 00 00 00 00 00-01 00 14 00 53 49 4d 47 ............SIMG
0010  30 30 30 39 2e 6a 70 67-eb 78 e4 2a 00 a0 0b 00  0009.jpg.x.*....
0020  53 49 4d 47 30 30 31 30-2e 6a 70 67 28 7c e9 2a  SIMG0010.jpg(|.*
...

(second run)

...
0.063917 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.359949 gphoto2-port(3): Hexdump of 512 = 0x200 bytes follows:
0000  68 10 b4 2b 70 ac cc cf-b8 20 fe f0 c7 fa b0 6a  h..+p.........j
0010  ef 85 fc 1e 74 eb 1d 46-c7 c4 5e 31 d3 75 c1 7f  ....t..F..^1.u..
0020  e5 ed 9a 5b d9 a1 92 df-6e e3 98 d9 64 ca 92 4a  ...[....n...d..J
0030  e7 b1 c6 08 20 d7 a1 87-c7 7b 08 d9 c1 bd fa ff  ........{......
0040  00 00 00 00 00 00 00 00-01 00 14 00 53 49 4d 47  ............SIMG
0050  30 30 30 39 2e 6a 70 67-eb 78 e4 2a 00 a0 0b 00  0009.jpg.x.*....
0060  53 49 4d 47 30 30 31 30-2e 6a 70 67 28 7c e9 2a  SIMG0010.jpg(|.*
...

So, you see, before the actual list of files 0x40 bytes of data are read
from the port. The error I get from gphoto2 is not very informative:

context(0): An error occurred in the io-library ('Unspecified error'): No
error description available
*** Error (-1: 'Unspecified error') ***

So, maybe those 64 bytes is what actually belongs to that interrupt
(frame# 1745)?

The system: ASUS A7VI-VM motherboard with VIA ProSavage KM133 chipset. I
tried both uhci and usb-uhci modules - same. Kernel 2.4.20, SuSE-8.0,
libusb-0.1.5, libgphoto2-2.1.1, gphoto2-2.1.1. The camera is Concord eye-Q
4330z.

Thanks in advance
Guennadi
---
Guennadi Liakhovetski







-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to