From: "Nilo Roberto C Paim" <nilopaim@gmail.com>
To: <video4linux-list@redhat.com>
Subject: How to detect USB camera disconnection?
Date: Thu, 20 Aug 2009 11:51:42 -0300 [thread overview]
Message-ID: <002601ca21a5$c0cc10c0$42643240$@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?
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
next reply other threads:[~2009-08-20 14:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-20 14:51 Nilo Roberto C Paim [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-08-20 16:54 ENC: How to detect USB camera disconnection? Nilo Roberto C Paim
2009-08-21 8:39 ` 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='002601ca21a5$c0cc10c0$42643240$@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.