Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a c270 Logitech webcam and I just noticed, that the LED is on, indicating that the webcam is recording. However there is no application (I would be aware of) using the webcam. So how do I find out how and what activated it?

System is ubuntu 12.04 with the 3.4 rc 4 kernel

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

You can use lsof to track back what is accessing a file. I, personally, have a homebrew app that uses lsof and an underlying API to let me know when something opens my webcam.

share|improve this answer
    
Thank you for the hint. However lsof /dev/video0 does not return anything as normal user and returns "lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/clemens/.gvfs Output information may be incomplete." when run as root –  miceterminator Jun 19 '12 at 0:38
1  
I also checked the usb data in wireshark, but there was no visible data transfer from the camera. Still very strange that the LED is on. –  miceterminator Jun 19 '12 at 0:48
    
when I open the webcam in skype it shows up in wireshark as well as in lsof. So this could just have been a glitch in the driver/module. Still gave me quite a shock. –  miceterminator Jun 19 '12 at 1:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.