On Fri, Feb 25, 2005 at 07:34:49PM +0100, Milan Zamazal wrote:
> >>>>> "AJ" == Aurélien Jarno <[EMAIL PROTECTED]> writes:
> 
>     AJ> Next step, could you please run gphoto2 in debugging mode to see
>     AJ> if there is something interesting in the output. For that, just
>     AJ> run gphoto2 --debug put_your_args_here
> 
> Here's the output:
3.188609 sierra/library.c(2): Reading packet...
3.188661 gphoto2-port(2): Clear halt...
3.193595 gphoto2-port(2): Reading 32774=0x8006 bytes from port...
3.284674 gphoto2-port(2): Could only read 10 out of 32774 byte(s)
                                         ^^^^
                                     That sounds strange


3.284731 gphoto2-port(3): Hexdump of 10 = 0xa bytes follows:
0000  03 00 04 00 0a 00 00 00-0a 00                    ..........      

3.284751 gphoto2-port(2): Clear halt...
3.285657 sierra/library.c(2): Packet successfully read.
3.285697 sierra/library.c(2): Successfully read packet. Interpreting result 
(0x03)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
                  Actually the read is not successfull (10 of 32774 bytes)

Ok, I think there is a bug somewhere in libusb, that makes it returning
less data than asked. Then there is another bug in gphoto2. It should
not interpret the data in that case.

-- 
  .''`.  Aurelien Jarno               GPG: 1024D/F1BCDB73
 : :' :  Debian GNU/Linux developer | Electrical Engineer
 `. `'   [EMAIL PROTECTED]         | [EMAIL PROTECTED]
   `-    people.debian.org/~aurel32 | www.aurel32.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to