How to detect USB camera disconnection?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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@xxxxxxxxx

TinyCOBOL - Equipe de Desenvolvimento 

Porto Alegre - RS - Brasil

 

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

[Linux Media]     [Older V4L]     [Linux DVB]     [Video Disk Recorder]     [Linux Kernel]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [SSH]     [DVB Maintainers]     [Linux USB]     [Yosemite Information]

Add to Google Powered by Linux