Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jul 2005 08:48:11 +0200
From:      Marcus Meissner <marcus@jet.franken.de>
To:        Vladimir Chukharev <chu@h33.erkki.ton.tut.fi>
Cc:        gphoto-devel@lists.sourceforge.net, freebsd-usb@freebsd.org
Subject:   Re: [gphoto-devel] Re: usb degradation with FreeBSD 4 -> 5 upgrade
Message-ID:  <20050704064811.GA2784@jet.franken.de>
In-Reply-To: <op.staqdzuksh9hi4@localhost>
References:  <op.stag2loash9hi4@localhost> <op.staqdzuksh9hi4@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 02, 2005 at 08:19:01PM +0300, Vladimir Chukharev wrote:
> On Sat, 02 Jul 2005 16:57:47 +0300, Vladimir Chukharev 
> <chu@h33.erkki.ton.tut.fi> wrote:
> 
> >Hi,
> >
> >I have Cannon IXUS 400 digital camera. I use gtkam
> >to load the photos from it to my computer under FreeBSD-4
> >Under FreeBSD 5.4-STABLE gtkam cannot make connection the camera.
> >I have asked already in freebsd-usb@ list
> >http://docs.freebsd.org/cgi/getmsg.cgi?fetch=2837+0+archive/2005/freebsd-usb/20050529.freebsd-usb
> >but received no response.
> >
> >Now I found out a bit more information about the problem,
> >namely I attach the output of the command
> >   env LANG=C gphoto2 --debug -l 2> gphoto.out1
> >
> >I suspect that the problem is in the USB stack of FreeBSD -STABLE,
> >but how to demonstrate this? What can I do to narrow possible
> >reasons down?
> >
> >Best regards,
> 
> It seems the attachment is not show on sorceforge. OK, I cut'n'paste
> it to the end of this message.

...
> 0.059371 canon/usb.c(2): canon_usb_camera_init()
> 0.059395 canon/usb.c(2): canon_usb_identify: USB ID match 0x04a9:0x3075 
> (model name "Canon:Digital IXUS 400")
> 0.059419 context(2): Detected a 'Canon:Digital IXUS 400'.
> Detected a 'Canon:Digital IXUS 400'.
> 0.059440 gphoto2-port(2): Reading message (request=0xc value=0x55 index=0x0 
> size=1=0x1)...
> 0.059471 context(0): Could not establish initial contact with camera
> 
> *** Error ***
> Could not establish initial contact with camera
> 0.059498 gphoto2-port(2): Closing port...
> *** Error (-102: 'Corrupted data') ***

It cannot even send a single message, so either your libusb, or other
lowlevel components are broken.

Try 
export USB_DEBUG=255
gphoto2 --debug --summary

and check the libusb debug output.

Ciao, Marcus



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050704064811.GA2784>