36
7
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.
now it's "FaceTime" – LI Daobing – 2018-02-24T08:29:23.927
1
lsof
does not show anything related to an iSight used or not. – Chealion – 2009-11-22T05:50:21.910Not surprising. – Hasaan Chop – 2009-11-22T07:24:07.930
3I'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/QuickTimeUSBVDCDigitizer to get to the camera. – Tony Lee – 2009-11-25T00:40:22.387
A QuickTime component is a little more involved than a library, but you're right; good catch. – Hasaan Chop – 2009-11-25T01:34:23.790