Contenu | Rechercher | Menus

Annonce

DVD, clés USB et t-shirts Ubuntu-fr disponibles sur la boutique En Vente Libre

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Hier à 17:14

Karpon

[Résolu] Camera - microscope avec guvcview

Bonjour,

Les réponses datent sur ma recherche.
Je possède un microscope usb (sans marque précise), et ça fonctionne très bien sur ma machine de bureau.
Par contre, impossible de voir qqchose sur mes portables, ils ont pourtant exactement la même configuration (xubuntu 20.04) et les mêmes codecs, j'ai bien vérifié. La fenêtre écran reste noire, un peu comme si l'appareil n'était pas connecté.
Comme l'appareil doit être connecté avant de lancer guvcview, je prends bien soin d’effectuer la manœuvre dans le bon ordre.
Là, je dois louper qqchose...
Merci !

Dernière modification par Karpon (Hier à 20:52)


Machine assemblée perso - xubuntu 20.04 -  Xfce 4.14
Carte-mère : MSI H110 PRO D - Ram DDR3 16 G° - CPU Intel S1151
Carte graphique : NVIDIA Corporation - GeForce 210/PCIe/SSE2 - Vers 3.3.3 NVIDIA 340.108

Hors ligne

#2 Hier à 17:29

xubu1957

Re : [Résolu] Camera - microscope avec guvcview

Bonjour,

Toujours pour ce bidule ?


Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 20.04 LTS - Lenovo T410 -18.04.1 LTS Toshiba Satellite A300  Membre de Linux-Azur

En ligne

#3 Hier à 19:35

Karpon

Re : [Résolu] Camera - microscope avec guvcview

Bonjour,

Eh oui, encore ce bidule...
Qui a fonctionné sur au moins un de mes portables, en fait, je n'ai jamais eu besoin depuis la version xubuntu20, et comme ça fonctionne normalement sur ma machine de bureau, je ne me suis pas posé de questions...
Par contre, je savais que j'avais déjà posté sur ce sujet, je ne comprends pas pourquoi ce n'est pas apparu dans ma recherche avant demande d'aide...
Je me rends compte que je ne sais pas me servir de la recherche rapide, ça ne marche jamais. Il faudra que j'apprenne...


Machine assemblée perso - xubuntu 20.04 -  Xfce 4.14
Carte-mère : MSI H110 PRO D - Ram DDR3 16 G° - CPU Intel S1151
Carte graphique : NVIDIA Corporation - GeForce 210/PCIe/SSE2 - Vers 3.3.3 NVIDIA 340.108

Hors ligne

#4 Hier à 19:43

xubu1957

Re : [Résolu] Camera - microscope avec guvcview

En lançant en commande :

guvcview

ressort-il un message ?


Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 20.04 LTS - Lenovo T410 -18.04.1 LTS Toshiba Satellite A300  Membre de Linux-Azur

En ligne

#5 Hier à 21:04

Karpon

Re : [Résolu] Camera - microscope avec guvcview

Bon, ça fonctionne.
A toutes fins utiles, je donne le cheminement :
Premier portable : je branche, je lance gucvview et ... ça marche....
Deuxième portable : je branche, je lance gucvview et ... ça ne marche pas + qu'avant....
En ligne de commande, même topo...
Là, je me dis que, finalement, sur mon premier portable, j'ai fait une MàJ après les essais, donc...
Illico presto, je fais aussi une MàJ sur mon second portable, et ça marche.
Au cas où cela serait utile, je joins ci-dessous les retours de console (second portable, donc)

Avant MàJ :

:~$ guvcview
GUVCVIEW: version 2.0.6
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
ALSA lib pcm_dsnoop.c:641:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

Après MàJ :
:

~$ guvcview
GUVCVIEW: version 2.0.6
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
ALSA lib pcm_dsnoop.c:641:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
GUVCVIEW: (Invalid range) [MAX <= MIN] for control id: 0x009a0902 
GUVCVIEW: (Invalid range) [MAX <= MIN] for control id: 0x009a0908 
GUVCVIEW: (Invalid range) [MAX <= MIN] for control id: 0x009a0909 
GUVCVIEW: (Invalid range) [MAX <= MIN] for control id: 0x009a090d 

(guvcview:1483): GLib-GObject-WARNING **: 20:45:35.006: invalid (NULL) pointer instance

(guvcview:1483): GLib-GObject-CRITICAL **: 20:45:35.006: g_signal_handlers_block_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(guvcview:1483): Gtk-CRITICAL **: 20:45:35.006: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed

(guvcview:1483): GLib-GObject-WARNING **: 20:45:35.007: invalid (NULL) pointer instance

(guvcview:1483): GLib-GObject-CRITICAL **: 20:45:35.007: g_signal_handlers_unblock_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(guvcview:1483): GLib-GObject-WARNING **: 20:45:35.007: invalid (NULL) pointer instance

(guvcview:1483): GLib-GObject-CRITICAL **: 20:45:35.008: g_signal_handlers_block_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

Vu que je ne sais pas vraiment interpréter, je donne pour info....

Edit :

Sauf qu'il ne faut jamais crier victoire trop vite : aujourd'hui, sur un de mes portables, ça ne fonctionne plus....
Assez curieux quand même ce logiciel...
(je n'ai pas encore ré-essayé sur l'autre portable)

Dernière modification par Karpon (Aujourd'hui à 13:45)


Machine assemblée perso - xubuntu 20.04 -  Xfce 4.14
Carte-mère : MSI H110 PRO D - Ram DDR3 16 G° - CPU Intel S1151
Carte graphique : NVIDIA Corporation - GeForce 210/PCIe/SSE2 - Vers 3.3.3 NVIDIA 340.108

Hors ligne

#6 Aujourd'hui à 17:27

Karpon

Re : [Résolu] Camera - microscope avec guvcview

Bonjour,

Sans vouloir ennuyer, je relance le truc.
Sur mes deux portables, ça ne fonctionne pas directement : il faut brancher la sonde, allumer ou redémarrer la machine, lancer guvcview une fois sa session ouverte, après, ça colle... Et ça, sur les 2 portables. Le lancement en console donne les copies d'écran ci-dessus.
En cas de vrai besoin, on peut donc s'en tirer, pas vraiment pratique quand même !

Sur la machine de bureau, c'est plus simple : même la session ouverte, je branche la sonde, je lance guvcview et ça marche.
A tout hasard, j'ai lancé l'application depuis la console, sur cette machine de bureau, et j'obtiens ceci :

:~$ guvcview
GUVCVIEW: version 2.0.6
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
GUVCVIEW: (Invalid range) [MAX <= MIN] for control id: 0x009a0902 
GUVCVIEW: (Invalid range) [MAX <= MIN] for control id: 0x009a0908 
GUVCVIEW: (Invalid range) [MAX <= MIN] for control id: 0x009a0909 
GUVCVIEW: (Invalid range) [MAX <= MIN] for control id: 0x009a090d 

(guvcview:15764): GLib-GObject-WARNING **: 17:05:35.624: invalid (NULL) pointer instance

(guvcview:15764): GLib-GObject-CRITICAL **: 17:05:35.624: g_signal_handlers_block_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(guvcview:15764): Gtk-CRITICAL **: 17:05:35.624: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed

(guvcview:15764): GLib-GObject-WARNING **: 17:05:35.624: invalid (NULL) pointer instance

(guvcview:15764): GLib-GObject-CRITICAL **: 17:05:35.624: g_signal_handlers_unblock_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(guvcview:15764): GLib-GObject-WARNING **: 17:05:35.624: invalid (NULL) pointer instance

(guvcview:15764): GLib-GObject-CRITICAL **: 17:05:35.624: g_signal_handlers_block_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(guvcview:15764): Gtk-CRITICAL **: 17:05:35.624: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed

(guvcview:15764): GLib-GObject-WARNING **: 17:05:35.624: invalid (NULL) pointer instance

(guvcview:15764): GLib-GObject-CRITICAL **: 17:05:35.624: g_signal_handlers_unblock_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(guvcview:15764): GLib-GObject-WARNING **: 17:05:35.624: invalid (NULL) pointer instance

(guvcview:15764): GLib-GObject-CRITICAL **: 17:05:35.625: g_signal_handlers_block_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(guvcview:15764): Gtk-CRITICAL **: 17:05:35.625: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed

(guvcview:15764): GLib-GObject-WARNING **: 17:05:35.625: invalid (NULL) pointer instance

(guvcview:15764): GLib-GObject-CRITICAL **: 17:05:35.625: g_signal_handlers_unblock_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(guvcview:15764): GLib-GObject-WARNING **: 17:05:35.625: invalid (NULL) pointer instance

(guvcview:15764): GLib-GObject-CRITICAL **: 17:05:35.625: g_signal_handlers_block_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(guvcview:15764): Gtk-CRITICAL **: 17:05:35.625: gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed

(guvcview:15764): GLib-GObject-WARNING **: 17:05:35.625: invalid (NULL) pointer instance

(guvcview:15764): GLib-GObject-CRITICAL **: 17:05:35.625: g_signal_handlers_unblock_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
******:~$ 

Indiscutablement, il y a des parentés avec les copies précédentes...
Voilà pour les dernières constatations...


Machine assemblée perso - xubuntu 20.04 -  Xfce 4.14
Carte-mère : MSI H110 PRO D - Ram DDR3 16 G° - CPU Intel S1151
Carte graphique : NVIDIA Corporation - GeForce 210/PCIe/SSE2 - Vers 3.3.3 NVIDIA 340.108

Hors ligne

#7 Aujourd'hui à 17:29

xubu1957

Re : [Résolu] Camera - microscope avec guvcview

Bonjour,

Montre aussi d'éventuels paquets cassés :

dpkg -l | grep -v ^ii

Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 20.04 LTS - Lenovo T410 -18.04.1 LTS Toshiba Satellite A300  Membre de Linux-Azur

En ligne