Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Jul 2005 20:19:01 +0300
From:      "Vladimir Chukharev" <chu@h33.erkki.ton.tut.fi>
To:        gphoto-devel@lists.sourceforge.net
Cc:        freebsd-usb@freebsd.org
Subject:   Re: usb degradation with FreeBSD 4 -> 5 upgrade
Message-ID:  <op.staqdzuksh9hi4@localhost>
In-Reply-To: <op.stag2loash9hi4@localhost>
References:  <op.stag2loash9hi4@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
-- 
V.Chukharev

0.000038 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000198 main(2): gphoto2 2.1.5
0.000214 main(2): gphoto2 has been compiled with the following options:
0.000223 main(2):  + cc (C compiler used)
0.000233 main(2):  + popt (for handling command-line parameters)
0.000242 main(2):  + exif (for displaying EXIF information)
0.000251 main(2):  + no cdk (for accessing configuration options)
0.000260 main(2):  + aa (for displaying live previews)
0.000269 main(2):  + jpeg (for displaying live previews in JPEG format)
0.000278 main(2):  + readline (for easy navigation in the shell)
0.000294 main(2): libgphoto2 2.1.5
0.000306 main(2): libgphoto2 has been compiled with the following options:
0.000315 main(2):  + cc (C compiler used)
0.000325 main(2):  + EXIF (for special handling of EXIF files)
0.000334 main(2):  + no ltdl (working around buggy libltdl, eh? :-)
0.000343 main(2):  + no /proc/meminfo (adapts cache size to memory available)
0.000358 main(2): libgphoto2_port 0.5.1
0.000370 main(2): libgphoto2_port has been compiled with the following options:
0.000379 main(2):  + cc (C compiler used)
0.000388 main(2):  + USB (for USB cameras)
0.000397 main(2):  + serial (for serial cameras)
0.000406 main(2):  + no resmgr (serial port access and locking)
0.000415 main(2):  + no baudboy (serial port locking)
0.000424 main(2):  + no ttylock (serial port locking)
0.000433 main(2):  + no lockdev (serial port locking)
0.000442 main(2):  + no ltdl (working around buggy libltdl, eh? :-)
0.000589 main(2): The user has not specified both a model and a port. Try to figure them out.
0.000623 gp-port-info-list(2): Loading io-drivers from '/usr/local/lib/gphoto2_port/0.5.1'...
0.001011 gphoto2-port-serial(2): Trying to lock '/dev/cuaa0'...
0.001084 gphoto2-port-serial(2): Trying to lock '/dev/cuaa1'...
0.001133 gphoto2-port-serial(2): Trying to lock '/dev/cuaa2'...
0.001154 gphoto2-port-serial(2): Trying to lock '/dev/cuaa3'...
0.001174 gphoto2-port-serial(2): Trying to lock '/dev/cuaa4'...
0.001193 gphoto2-port-serial(2): Trying to lock '/dev/cuaa5'...
0.001264 gphoto2-port-serial(2): Trying to lock '/dev/cuaa6'...
0.001284 gphoto2-port-serial(2): Trying to lock '/dev/cuaa7'...
0.001304 gphoto2-port-serial(2): Trying to lock '/dev/cuaa8'...
0.001324 gphoto2-port-serial(2): Trying to lock '/dev/cuaa9'...
0.001344 gphoto2-port-serial(2): Trying to lock '/dev/cuaaa'...
0.001364 gphoto2-port-serial(2): Trying to lock '/dev/cuaab'...
0.001384 gphoto2-port-serial(2): Trying to lock '/dev/cuaac'...
0.001404 gphoto2-port-serial(2): Trying to lock '/dev/cuaad'...
0.001423 gphoto2-port-serial(2): Trying to lock '/dev/cuaae'...
0.001443 gphoto2-port-serial(2): Trying to lock '/dev/cuaaf'...
0.001474 gphoto2-port-core(2): Loaded '' (^serial) from 'libgphoto2_port_serial.so'
0.015856 gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb:) from 'libgphoto2_port_usb.so'
0.016135 gphoto2-port-info-list(2): Counting entries (2 available)...
0.016162 gphoto2-port-info-list(2): 1 regular entries available.
0.016172 gphoto2-port(2): Creating new device...
0.016193 gphoto2-port-info-list(2): Getting info of entry 0 (2 available)...
0.029861 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.029909 gphoto2-port(2): Setting settings...
0.029922 gphoto2-abilities-list.c(1): Auto-detecting USB cameras...
0.029989 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
0.030009 gphoto2-port(0): Could not find USB device (vendor 0x6bd, product 0x403). Make sure this device is connected to the computer.
0.030027 gphoto2-port(0): Could not find USB device (vendor 0x6bd, product 0x404). Make sure this device is connected to the computer.
0.030044 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504b). Make sure this device is connected to the computer.
0.030062 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
0.030079 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504a). Make sure this device is connected to the computer.
0.030134 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
0.030152 gphoto2-port(0): Could not find USB device (vendor 0x8ca, product 0x111). Make sure this device is connected to the computer.
0.030170 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504a). Make sure this device is connected to the computer.
0.030188 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504b). Make sure this device is connected to the computer.
0.030206 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer.
0.030223 gphoto2-port(0): Could not find USB device (vendor 0x2770, product 0x9120). Make sure this device is connected to the computer.
0.030241 gphoto2-port(0): Could not find USB device (vendor 0x2770, product 0x913c). Make sure this device is connected to the computer.
0.030259 gphoto2-port(0): Could not find USB device (vendor 0x919, product 0x100). Make sure this device is connected to the computer.
0.030276 gphoto2-port(0): Could not find USB device (vendor 0x4a5, product 0x3003). Make sure this device is connected to the computer.
0.030294 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3047). Make sure this device is connected to the computer.
0.030312 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3072). Make sure this device is connected to the computer.
0.030329 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x304d). Make sure this device is connected to the computer.
0.030347 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3066). Make sure this device is connected to the computer.
0.030364 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30bf). Make sure this device is connected to the computer.
0.030379 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x3075)... found.
0.030397 gphoto2-abilities-list.c(2): Found 'Canon Digital IXUS 400' (0x4a9,0x3075)
0.030421 gphoto2-port(2): Freeing port...
0.030436 gphoto2-port(2): Closing port...
0.030564 gphoto2-camera(2): Setting abilities ('Canon Digital IXUS 400')...
0.030583 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
0.030719 setting/gphoto2-setting.c(2): Loading settings from file "/home/chu/.gphoto/settings"
0.030783 gphoto2-setting(2): Setting key 'model' to value 'Canon Digital IXUS 400' (gphoto2)
0.030799 gphoto2-setting(2): Saving 4 setting(s) to file "/home/chu/.gphoto/settings"
0.030915 gp-port-info-list(2): Loading io-drivers from '/usr/local/lib/gphoto2_port/0.5.1'...
0.031102 gphoto2-port-serial(2): Trying to lock '/dev/cuaa0'...
0.031135 gphoto2-port-serial(2): Trying to lock '/dev/cuaa1'...
0.031170 gphoto2-port-serial(2): Trying to lock '/dev/cuaa2'...
0.031191 gphoto2-port-serial(2): Trying to lock '/dev/cuaa3'...
0.031211 gphoto2-port-serial(2): Trying to lock '/dev/cuaa4'...
0.031231 gphoto2-port-serial(2): Trying to lock '/dev/cuaa5'...
0.031251 gphoto2-port-serial(2): Trying to lock '/dev/cuaa6'...
0.031271 gphoto2-port-serial(2): Trying to lock '/dev/cuaa7'...
0.031291 gphoto2-port-serial(2): Trying to lock '/dev/cuaa8'...
0.031312 gphoto2-port-serial(2): Trying to lock '/dev/cuaa9'...
0.031331 gphoto2-port-serial(2): Trying to lock '/dev/cuaaa'...
0.031352 gphoto2-port-serial(2): Trying to lock '/dev/cuaab'...
0.031372 gphoto2-port-serial(2): Trying to lock '/dev/cuaac'...
0.031392 gphoto2-port-serial(2): Trying to lock '/dev/cuaad'...
0.031412 gphoto2-port-serial(2): Trying to lock '/dev/cuaae'...
0.031432 gphoto2-port-serial(2): Trying to lock '/dev/cuaaf'...
0.031459 gphoto2-port-core(2): Loaded '' (^serial) from 'libgphoto2_port_serial.so'
0.044670 gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb:) from 'libgphoto2_port_usb.so'
0.044727 gphoto2-port-info-list(2): Looking for path 'usb:' (2 entries available)...
0.044749 gphoto2-port-info-list(2): Getting info of entry 0 (2 available)...
0.044786 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:'...
0.058664 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.058683 gphoto2-port(2): Setting settings...
0.058694 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
0.058708 gphoto2-setting(2): Saving 4 setting(s) to file "/home/chu/.gphoto/settings"
0.058830 foreach(2): Executing action 'List Folders' for folder '/'.
0.058939 gphoto2-camera(2): Listing folders in '/'...
0.058955 gphoto2-camera(2): Initializing camera...
0.058979 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x3075)... found.
0.058991 gphoto2-camera(2): Loading '/usr/local/lib/gphoto2/2.1.5/libgphoto2_canon.so'...
0.059200 gphoto2-port(2): Opening USB port...
0.059264 canon/library.c(2): canon camera_init()
0.059304 canon/library.c(2): GPhoto tells us that we should use a USB link.
0.059320 canon/usb.c(2): Initializing the (USB) camera.

0.059338 gphoto2-port(2): Setting settings...
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') ***

0.060248 gp-camera(2): Freeing camera...
0.060263 gphoto2-port(2): Freeing port...
0.060272 gphoto2-port(2): Closing port...
0.060331 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
0.060343 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
0.060353 gphoto2-filesystem(2): Internally deleting all folders from '/'...



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