public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* ENC: How to detect USB camera disconnection?
@ 2009-08-20 16:54 Nilo Roberto C Paim
  2009-08-21  8:39 ` Jean-Francois Moine
  0 siblings, 1 reply; 2+ messages in thread
From: Nilo Roberto C Paim @ 2009-08-20 16:54 UTC (permalink / raw)
  To: video4linux-list

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-21  8:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-20 16:54 ENC: How to detect USB camera disconnection? Nilo Roberto C Paim
2009-08-21  8:39 ` Jean-Francois Moine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox