Malgré toutes mes recherches sur le net', là je cale. Je n’arrive pas à trouver l'origine du problème.
L'APN est bien sur le mode PTP mais il reste allumé sur "busy" lorsqu'il est branché au RPI.
Sur VNC, j'avais rien de monté en USB. Après avoir débranché l'apn, sortie la carte et rebranché, l'apn ne demarre pas. Remis la carte et rebranché et là PAF carte monté. Alors je sais pas à quelle moment cela c'est passé...
Mais en exécutant la commande
Code : Tout sélectionner
gphoto2 --capture-image
pi@raspberrypi ~ $ gphoto2 --capture-image
*** Error (-2: 'Bad parameters') ***
For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --capture-image
Please make sure there is sufficient quoting around the arguments.
Mon APN est bien reconnu par
Code : Tout sélectionner
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 007: ID 04a9:30ef Canon, Inc. EOS 350D (ptp)
Bus 001 Device 004: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Voici le resultat avec
Code : Tout sélectionner
gphoto2 -l --debug
Code : Tout sélectionner
0.000251 main (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.001318 main (2): gphoto2 2.5.5
0.002154 main (2): gphoto2 has been compiled with the following options:
0.003192 main (2): + gcc (C compiler used)
0.004033 main (2): + popt (mandatory, for handling command-line parameters)
0.004521 main (2): + exif (for displaying EXIF information)
0.004917 main (2): + no cdk (for accessing configuration options)
0.005359 main (2): + no aa (for displaying live previews)
0.005816 main (2): + jpeg (for displaying live previews in JPEG format)
0.006218 main (2): + no readline (for easy navigation in the shell)
0.006848 main (2): libgphoto2 2.5.8
0.007289 main (2): libgphoto2 has been compiled with the following options:
0.007699 main (2): + all camlibs
0.008076 main (2): + gcc (C compiler used)
0.008210 main (2): + ltdl (for portable loading of camlibs)
0.009519 main (2): + EXIF (for special handling of EXIF files)
0.009723 main (2): libgphoto2_port 0.10.0
0.009862 main (2): libgphoto2_port has been compiled with the following options:
0.009972 main (2): + gcc (C compiler used)
0.010077 main (2): + ltdl (for portable loading of camlibs)
0.010183 main (2): + USB (libusb1, for USB cameras)
0.010286 main (2): + serial (for serial cameras)
0.010608 main (2): + no resmgr (serial port access and locking)
0.010741 main (2): + no ttylock (serial port locking)
0.010846 main (2): + no lockdev (serial port locking)
0.010951 main (2): CAMLIBS env var not set, using compile-time default instead
0.011058 main (2): IOLIBS env var not set, using compile-time default instead
0.011165 main (2): invoked with following arguments:
0.012164 main (2): -l
0.012327 main (2): --debug
0.012736 load_settings (2): Creating gphoto config directory ('/home/pi/.gphoto')
0.013537 load_settings (2): Loading settings from file '/home/pi/.gphoto/settings'.
0.016215 main (2): The user has not specified both a model and a port. Try to figure them out.
0.017464 gp_port_info_list_load (2): Using ltdl to load io-drivers from '/usr/local/lib/libgphoto2_port/0.10.0'...
0.019007 gp_port_info_list_load [gphoto2-port-info-list.c:288](0): No iolibs found in '/usr/local/lib/libgphoto2_port/0.10.0'
0.020363 gp_abilities_list_load_dir (2): Using ltdl to load camera libraries from '/usr/local/lib/libgphoto2/2.5.8'...
0.025381 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/adc65'.
0.027049 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/agfa_cl20'.
0.027923 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/aox'.
0.028746 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/ax203'.
0.029617 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/barbie'.
0.030120 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/canon'.
0.030542 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/casio_qv'.
0.030950 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/clicksmart310'.
0.031356 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/digigr8'.
0.031759 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/digita'.
0.032174 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/dimagev'.
0.032575 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/dimera3500'.
0.032982 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/directory'.
0.033997 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/enigma13'.
0.035201 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/fuji'.
0.036050 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/gsmart300'.
0.036227 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/hp215'.
0.036522 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/iclick'.
0.037443 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/jamcam'.
0.037629 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/jd11'.
0.037752 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/jl2005a'.
0.037868 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/jl2005c'.
0.037981 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/kodak_dc120'.
0.038096 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/kodak_dc210'.
0.038209 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/kodak_dc240'.
0.039102 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/kodak_dc3200'.
0.039286 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/kodak_ez200'.
0.039405 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/konica'.
0.039892 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/konica_qm150'.
0.040040 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/largan'.
0.040157 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/lg_gsm'.
0.040274 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/mars'.
0.041198 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/mustek'.
0.041376 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/panasonic_coolshot'.
0.041495 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/panasonic_dc1000'.
0.041616 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/panasonic_dc1580'.
0.041732 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/panasonic_l859'.
0.041847 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/pccam300'.
0.041960 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/pccam600'.
0.042110 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/pentax'.
0.043381 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/polaroid_pdc320'.
0.043569 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/polaroid_pdc640'.
0.043689 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/polaroid_pdc700'.
0.043806 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/ptp2'.
0.043921 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/ricoh'.
0.044036 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/ricoh_g3'.
0.044151 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/samsung'.
0.044264 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/sierra'.
0.044379 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/sipix_blink2'.
0.044495 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/sipix_web2'.
0.044612 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/smal'.
0.044724 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/sonix'.
0.045776 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/sony_dscf1'.
0.045957 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/sony_dscf55'.
0.046078 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/soundvision'.
0.046196 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/spca50x'.
0.046916 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/sq905'.
0.047053 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/st2205'.
0.047979 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/stv0674'.
0.048160 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/stv0680'.
0.048283 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/sx330z'.
0.048398 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/topfield'.
0.048511 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/toshiba_pdrm11'.
0.048625 foreach_func (2): Found '/usr/local/lib/libgphoto2/2.5.8/tp6801'.
0.048817 gp_abilities_list_load_dir (2): Found 64 camera drivers.
0.634126 gp_abilities_list_detect [gphoto2-abilities-list.c:407](0): Invalid parameters: 'list && info_list && l' is NULL/FALSE.
*** Error (-2: 'Bad parameters') ***
0.638679 gp_camera_free (2): Freeing camera...
0.639567 gp_port_free (2): Freeing port...
0.640507 gp_filesystem_reset (2): resetting filesystem
0.640978 gp_filesystem_lru_clear (2): Clearing fscache LRU list...
0.641336 gp_filesystem_lru_clear (2): fscache LRU list already empty
0.641686 delete_all_folders (2): Internally deleting all folders from '/'...
0.642044 lookup_folder (2): Lookup folder '/'...
0.642394 lookup_folder (2): Found! / is 0x1c22310
0.642743 recurse_delete_folder (2): Recurse delete folder 0x1c22310//
Code : Tout sélectionner
gphoto2 --list-ports
Code : Tout sélectionner
Devices found: -2
Path Description
--------------------------------------------------------------
Code : Tout sélectionner
gphoto2 --auto-detect
Model Port
----------------------------------------------------------
Eddie,