I am having issues trying to use a Sony a5100 as a Webcam on LinuxMint 19 with Gphoto2. What am I missing? Please help me to find a solution, I attach here all the debugging files: TIA Fernando
1) GENERAL fernando@fernando-HP-650-Notebook-PC:~$ gphoto2 --debug 0.000182 main (2): INCLUDERE SEMPRE LE RIGHE SEGUENTI QUANDO SI SPEDISCONO MESSAGGI DI DEBUG ALLA MAILING LIST: 0.000217 main (2): gphoto2 2.5.15 0.000231 main (2): gphoto2 è stato compilato con le seguente opzioni: 0.000264 main (2): + gcc (C compiler used) 0.000296 main (2): + popt (mandatory, for handling command-line parameters) 0.000323 main (2): + exif (for displaying EXIF information) 0.000340 main (2): + cdk (for accessing configuration options) 0.000358 main (2): + aa (for displaying live previews) 0.000375 main (2): + jpeg (for displaying live previews in JPEG format) 0.000385 main (2): + readline (for easy navigation in the shell) 0.000395 main (2): libgphoto2 2.5.16 0.000404 main (2): libgphoto2 è stato compilato con le seguente opzioni: 0.000410 main (2): + all camlibs 0.000415 main (2): + gcc (C compiler used) 0.000425 main (2): + ltdl (for portable loading of camlibs) 0.000432 main (2): + EXIF (for special handling of EXIF files) 0.000441 main (2): libgphoto2_port 0.12.0 0.000449 main (2): libgphoto2_port è stato compilato con le seguente opzioni: 0.000459 main (2): + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi 0.000467 main (2): + gcc (C compiler used) 0.000475 main (2): + ltdl (for portable loading of iolibs) 0.000482 main (2): + USB (libusb1, for USB cameras) 0.000490 main (2): + serial (for serial cameras) 0.000497 main (2): + no resmgr (serial port access and locking) 0.000505 main (2): + no ttylock (serial port locking) 0.000512 main (2): + no lockdev (serial port locking) 0.000520 main (2): CAMLIBS env var not set, using compile-time default instead 0.000528 main (2): IOLIBS env var not set, using compile-time default instead 0.000536 main (2): invoked with following arguments: 0.000544 main (2): --debug 0.000577 load_settings (2): Creating gphoto config directory ('/home/fernando/.gphoto') 0.000676 load_settings (2): Loading settings from file '/home/fernando/.gphoto/settings'. 0.000839 gp_camera_free (2): Freeing camera... 0.000850 gp_port_free (2): Freeing port... 0.000859 gp_filesystem_reset (2): resetting filesystem 0.000867 gp_filesystem_lru_clear (2): Clearing fscache LRU list... 0.000875 gp_filesystem_lru_clear (2): fscache LRU list already empty 0.000883 delete_all_folders (2): Internally deleting all folders from '/'... 0.000891 lookup_folder (2): Lookup folder '/'... 0.000899 lookup_folder (2): Found! / is 0x55d7b6e577c0 0.000907 recurse_delete_folder (2): Recurse delete folder 0x55d7b6e577c0// fernando@fernando-HP-650-Notebook-PC:~$ ^C fernando@fernando-HP-650-Notebook-PC:~$ 2) CAMERA SONY ALPHA 5100 (set as Pc controlled) fernando@fernando-HP-650-Notebook-PC:~$ gphoto2 --abilities Capacità della fotocamera : Sony Alpha-A5100 (Control) Supporto porta seriale : no Supporto USB : sì Scelte di cattura : : Immagine : Anteprima : Trigger Capture Supporto per la configurazione : sì Elimina file selezionati su fotocamera : sì Elimina tutti i file su fotocamera : no Supporto per l'anteprima dei file: sì Supporto caricamento file : sì fernando@fernando-HP-650-Notebook-PC:~$ ^C 3) DEBUGGING fernando@fernando-HP-650-Notebook-PC:~$ env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --list-config *** Error *** An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Device or resource busy). Make sure no other program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device. *** Error (-53: 'Could not claim the USB device') *** fernando@fernando-HP-650-Notebook-PC:~$ ^C AND, KILLING OTHER PROCESSES: fernando@fernando-HP-650-Notebook-PC:~$ sudo killall gvfs-gphoto2-volume-monitor[sudo] password di fernando: gvfs-gphoto2-volume-monitor: nessun processo trovato fernando@fernando-HP-650-Notebook-PC:~$ gphoto2 --capture-movie Cattura di fotogrammi di anteprima come filmato in 'movie.mjpg'. Premere Ctrl-C per interrompere. *** Errore *** An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Dispositivo o risorsa occupata). Make sure no other program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device. ERRORE: Errore nella cattura del filmato... In uscita. Cattura filmato completata (0 fotogrammi) fernando@fernando-HP-650-Notebook-PC:~$ AND, REPEATING THE SETTING FOR CREATING A VIDEO DEVICEFROM CAMERA (CAMERA COONECTED) fernando@fernando-HP-650-Notebook-PC:~$ gphoto2 --stdout --capture-movie | gst-launch-1.0 fdsrc ! decodebin3 name=dec ! queue ! videoconvert ! v4l2sink device=/dev/video1 Cattura di fotogrammi di anteprima come filmato in 'stdout'. Premere Ctrl-C per interrompere. *** Errore *** An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Dispositivo o risorsa occupata). Make sure no other program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device. ERRORE: Errore nella cattura del filmato... In uscita. Cattura filmato completata (0 fotogrammi) Impostazione della pipeline a PAUSED ... ERRORE: la pipeline non vuole mettersi in pausa. ERRORE: dall'elemento /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0: Il device «/dev/video1» non è un dispositivo di uscita. Informazioni di debug aggiuntive: v4l2_calls.c(639): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0: Capabilities: 0x4a00000 Impostazione della pipeline a NULL ... Esecuzione di free sulla pipeline... fernando@fernando-HP-650-Notebook-PC:~$
_______________________________________________ Gphoto-devel mailing list Gphoto-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gphoto-devel