Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Permanently Disable ptpcamerad

I know ptpcamera is an agent of sorts for image capture, that automatically runs when it detects a device that is capable of transferring pictures.


Is there a way to disable this feature permanently?


Any help would be appreciated because this is very frustrating OS behavior.


Thanks in advance!


PS: I took the text from the same questions posted earlier in 2017 but I could not reply to the same question and therefore reposted the question.

MacBook Pro (2021)

Posted on Mar 11, 2023 12:07 AM

Reply
17 replies

Mar 13, 2023 12:05 AM in response to enjoylife1788

I encountered the same problem on Ventura, Initially i tried disabling the launch agent for ptpcamerad:

Ended up disabling it with SIP disabled (https://developer.apple.com/documentation/security/disabling_and_enabling_system_integrity_protection):

sudo launchctl unload /System/Library/LaunchAgents/com.apple.ptpcamerad.plist
sudo launchctl disable gui/501/com.apple.ptpcamerad


You can then check with launchctl dumpstate that the service is disabled:

disabled services = {
       "com.github.macadmins.Nudge" => enabled
       "com.druva.inSyncUpgrade" => enabled
       "com.apple.ManagedClientAgent.enrollagent" => disabled
       "com.apple.Siri.agent" => enabled
       "com.microsoft.update.agent" => enabled
       "com.apple.FolderActionsDispatcher" => disabled
        "com.apple.ptpcamerad" => disabled
       "com.apple.appleseed.seedusaged.postinstall" => disabled
       "com.apple.ScriptMenuApp" => disabled
   }


The only problem i encounter is that when i'm enabling SIP again, the service restarts. To keep it disabled, i have to keep SIP disabled which is not recommended.


Still searching for a proper way to disable this launch agent...




Mar 11, 2023 2:12 AM in response to enjoylife1788

Download the Application Etrecheck directly from the Developer.


This is a Diagnostic Tool that makes no changes to the computer.


It makes a coherent and readable inventory of both the Hardware and Software used on the computer 


The application is free or paid from added features. 


The Report will Not Reveal Any Personal Information. 


Post back the Full Report - copy and paste - >>>> using the Additional Text Icon ( 3rd Icon to last ) <<<<


Mar 11, 2023 1:54 AM in response to enjoylife1788

PTP Webcam is a plugin for macOS X that allows a DSLR to be used as a webcam for video conferencing, streaming, or recording. A DSLR will typically provide a superior image compared to built-in webcams in laptops or standalone monitors, and even dedicated web cameras.


macOS X - this would imply it is used in OS X 10.12 Sierra and older versions of OS X


Uninstalling PTP Webcam


delete these files and reboot to uninstall:


/Library/CoreMediaIO/Plug-ins/DAL/PTPWebcamDALPlugin.plugin

/Library/LaunchDaemons/org.ptpwebcam.PtpWebcamAssistant.plist

/Library/LaunchAgents/org.ptpwebcam.PtpWebcamAgent.plist

Mar 13, 2023 3:16 AM in response to mihnea64

I just don't get it why Apple makes few things so painfully difficult to do. And Yes disabling SIP perpetually is not the answer.


Also, Surprisingly, I read on some other page that you should open photos after connecting the android phone and it should be able to resolve it which happened for me by fluke. I was successfully able to connect my android with OpenMTP. I dont know if it will keep working in the future but for now it is working.

Mar 13, 2023 3:18 AM in response to etresoft

I know that you could use Android as an external webcam earlier and that is what is happening now also. The problem is not that it is advertising as a camera over USB. The problem is that ptpcamerad is blocking the other connections to the phone which should not happen and is definitely a bug.


The same problem has happened with Sony cameras also which people used to use as external webcams before MacOS 13. But after MacOS Ventura, Sony cameras too cant be used as external webcams. They are botched too after working for years.

Permanently Disable ptpcamerad

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.