[gphoto-devel] Re: usb degradation with FreeBSD 4 -> 5 upgrade

Marcus Meissner marcus at jet.franken.de
Mon Jul 4 06:48:18 GMT 2005


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 at 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


More information about the freebsd-usb mailing list