Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I find out which application has the camera open on an iMac (Running Leopard)? The green light is on indicating the camera is in use as well as photo booth can't connect to the camera. The only other apps running are Safari and Finder (as best as I can tell), neither of which seem to be using the camera.

If this was Windows, I'd use Process Explorer, what can I do on a Mac to see who has a particular device open?

EDIT: using the suggestion of NSD, I nearly have a solution with

    lsof | grep "USBVDC"

That shows all the apps trying to use the camera, but not the one that actually owns it. Probably close enough.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

My best guess would be that iChat Agent was running in the background.

If not, then

lsof | grep -i "iSight"

would be the only thing I can think of that might possibly reveal this info from an end user's perspective, but I don't have an iSight to test.

share|improve this answer
1  
lsof does not show anything related to an iSight used or not. –  Chealion Nov 22 '09 at 5:50
    
Not surprising. –  Hasaan Chop Nov 22 '09 at 7:24
3  
I'm one step closer, I found a way to find the apps that want to use the built-in USB iSight camera using your suggestion. lsof | grep -i "USBVDC". Nearly, if not every app, will use the library /System/Library/QuickTime/QuickTimeUSBVDCDigitizer.component/Contents/MacOS/Quic‌​kTimeUSBVDCDigitizer to get to the camera. –  Tony Lee Nov 25 '09 at 0:40
    
A QuickTime component is a little more involved than a library, but you're right; good catch. –  Hasaan Chop Nov 25 '09 at 1:34

In 2014, VDC works as an lsof search term for this:

$ lsof | grep VDC
FaceTime  1097 user  txt      REG                1,4    405264    2934 /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/Resources/VDC.plugin/Contents/MacOS/VDC
share|improve this answer

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.