Look at the lsof command (list open files) — it can tell you which processes are holding what open. Sometimes it’s tricky but often something as simple as sudo lsof | grep (your device name here)
could do it for you.
Look at the lsof command (list open files) — it can tell you which processes are holding what open. Sometimes it’s tricky but often something as simple as sudo lsof | grep (your device name here)
could do it for you.