Bonjour,
après avoir installé gphoto2 et libgphoto2-2 je ne parviens pas à faire fonctionner mon app.photo kodak EZ200. (j'utilise Digikam)
voici le résultat de quelques commandes de base vues sur le site de gphoto2 :
$ gphoto2 --list-ports
Dispositifs trouvés : 37
Chemin Description
--------------------------------------------------------------
serial:/dev/ttyS0 Port série 0
serial:/dev/ttyS1 Port série 1
serial:/dev/ttyS2 Port série 2
serial:/dev/ttyS3 Port série 3
serial:/dev/ttyS4 Port série 4
serial:/dev/ttyS5 Port série 5
serial:/dev/ttyS6 Port série 6
serial:/dev/ttyS7 Port série 7
serial:/dev/ttyS8 Port série 8
serial:/dev/ttyS9 Port série 9
serial:/dev/ttyS10 Port série 10
serial:/dev/ttyS11 Port série 11
serial:/dev/ttyS12 Port série 12
serial:/dev/ttyS13 Port série 13
serial:/dev/ttyS14 Port série 14
serial:/dev/ttyS15 Port série 15
serial:/dev/ttyS16 Port série 16
serial:/dev/ttyS17 Port série 17
serial:/dev/ttyS18 Port série 18
serial:/dev/ttyS19 Port série 19
serial:/dev/ttyS20 Port série 20
serial:/dev/ttyS21 Port série 21
serial:/dev/ttyS22 Port série 22
serial:/dev/ttyS23 Port série 23
serial:/dev/ttyS24 Port série 24
serial:/dev/ttyS25 Port série 25
serial:/dev/ttyS26 Port série 26
serial:/dev/ttyS27 Port série 27
serial:/dev/ttyS28 Port série 28
serial:/dev/ttyS29 Port série 29
serial:/dev/ttyS30 Port série 30
serial:/dev/ttyS31 Port série 31
serial:/dev/ttyS32 Port série 32
usb: Universal Serial Bus
usb:003,010 Universal Serial Bus
usb:003,003 Universal Serial Bus
usb:002,002 Universal Serial Bus
puis
$ gphoto2 --auto-detect
Modèle Port
----------------------------------------------------------
Kodak EZ200 usb:
Kodak EZ200 usb:003,010
jusqu'ici rien à dire
$ gphoto2 --summary
*** Erreur ***
Une erreur est intervenue dans la bibliothèque d'entrée-sortie ('Erreur en modifiant la configuration du port'): Impossible de relâcher l'interface 1 (Argument invalide).
*** Erreur (-37: 'Erreur en modifiant la configuration du port') ***
Pour obtenir les messages de débogage, merci d'utiliser l'option --debug.
Ces messages peuvent aider à trouver une solution à votre problème.
Si vous avez l'intention d'envoyer un message d'erreur ou de débogage à la
liste de distribution des développeurs gPhoto <gphoto-devel@lists.sourceforge.net>,
merci de lancer gphoto2 comme suit :
env LANG=C gphoto2 --debug --summary
Please make sure there is sufficient quoting around the arguments.
Je ne comprends pas cette erreur E37.
Voici un debug
$ env LANG=C gphoto2 --debug --summary
0.000015 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000593 main(2): gphoto2 2.1.6
0.000874 main(2): gphoto2 has been compiled with the following options:
0.001254 main(2): + gcc (C compiler used)
0.001540 main(2): + no popt (for handling command-line parameters)
0.001838 main(2): + exif (for displaying EXIF information)
0.002129 main(2): + cdk (for accessing configuration options)
0.002423 main(2): + no aa (for displaying live previews)
0.002714 main(2): + jpeg (for displaying live previews in JPEG format)
0.003015 main(2): + readline (for easy navigation in the shell)
0.003317 main(2): libgphoto2 2.1.6
0.003599 main(2): libgphoto2 has been compiled with the following options:
0.003904 main(2): + gcc (C compiler used)
0.004182 main(2): + EXIF (for special handling of EXIF files)
0.004474 main(2): + no ltdl (working around buggy libltdl, eh? :-)
0.004771 main(2): + /proc/meminfo (adapts cache size to memory available)
0.005078 main(2): libgphoto2_port 0.5.1
0.009381 main(2): libgphoto2_port has been compiled with the following options:
0.009690 main(2): + gcc (C compiler used)
0.009968 main(2): + USB (for USB cameras)
0.010244 main(2): + serial (for serial cameras)
0.010527 main(2): + no resmgr (serial port access and locking)
0.010821 main(2): + no baudboy (serial port locking)
0.011108 main(2): + no ttylock (serial port locking)
0.011394 main(2): + no lockdev (serial port locking)
0.011682 main(2): + no ltdl (working around buggy libltdl, eh? :-)
0.012006 gphoto2-camera(2): Initializing camera...
0.012327 gphoto2-port-usb(1): Looking for USB device (vendor 0x40a, product 0x300)... found.
0.012651 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep ffffffff, outep ffffffff, intep ffffffff, class ff, subclass 00
0.013018 gphoto2-camera(2): Loading '/usr/lib/gphoto2/2.1.6/libgphoto2_ez200.so'...
0.013603 gphoto2-port(2): Opening USB port...
0.014065 gphoto2-port(0): Could not query kernel driver of device.
0.014429 ez200/library.c(2): Initializing Kodak EZ200
0.014798 gphoto2-port(2): Setting settings...
0.015114 gphoto2-port-usb(2): releasing the iface for config failed.
0.015566 gphoto2-port(0): Could not set config 1/1 (Device or resource busy)
0.015910 gphoto2-port(2): Closing port...
0.016205 gphoto2-port(0): Could not release interface 1 (Invalid argument).
0.016587 context(0): An error occurred in the io-library ('Error updating the port settings'): Could not release interface 1 (Invalid argument).
*** Error ***
An error occurred in the io-library ('Error updating the port settings'): Could not release interface 1 (Invalid argument).
*** Error (-37: 'Error updating the port settings') ***
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 --summary
Please make sure there is sufficient quoting around the arguments.
0.019495 gp-camera(2): Freeing camera...
0.019812 gphoto2-port(2): Freeing port...
0.020095 gphoto2-port(2): Closing port...
0.020395 gphoto2-port(0): Could not release interface 1 (Invalid argument).
0.020773 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
0.021110 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
0.021429 gphoto2-filesystem(2): Internally deleting all folders from '/'...
Pour compléter :
Kubuntu
2.6.15-28-386
Merci d'avance de vos conseils et suggestions en particulier pour cette ligne qui semble être le point de départ de mes petites misères...
gphoto2-port(0): Could not query kernel driver of device
Poste le Wednesday 11 April 2007 18:24:33