ENC: How to detect USB camera disconnection?
- Date: Thu, 20 Aug 2009 13:54:26 -0300
- From: "Nilo Roberto C Paim" <nilopaim@xxxxxxxxx>
- Subject: ENC: How to detect USB camera disconnection?
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
--- > 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
TinyCOBOL - Equipe de Desenvolvimento
Porto Alegre - RS - Brasil
video4linux-list mailing list