All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Nilo Roberto C Paim" <nilopaim@gmail.com>
To: <video4linux-list@redhat.com>
Subject: ENC: How to detect USB camera disconnection?
Date: Thu, 20 Aug 2009 13:54:26 -0300	[thread overview]
Message-ID: <004a01ca21b6$e3cabe80$ab603b80$@com> (raw)

Hi, all.

 

I've a Vimicro USB cam that I'm constantly pooling for taking snapshots
using an application made by me. How can I programmatically detect when the
cam is disconnected?

 

It seems to me that V4L "thinks" that the cam is still there, even with the
cable disconnected.

 

Any hints?

 

--- >  I'd forgot to say: the driver I'm using is gspca, last version. Works
like a charm. My problem is related to cable's cam disconnected.

 

 

Nilo Roberto C Paim

nilopaim@gmail.com

TinyCOBOL - Equipe de Desenvolvimento 

Porto Alegre - RS - Brasil

 

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

             reply	other threads:[~2009-08-20 16:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-20 16:54 Nilo Roberto C Paim [this message]
2009-08-21  8:39 ` How to detect USB camera disconnection? Jean-Francois Moine

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='004a01ca21b6$e3cabe80$ab603b80$@com' \
    --to=nilopaim@gmail.com \
    --cc=video4linux-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.