SyntaxFix
Write A Post
Hire A Developer
Questions
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.
sudo lsof | grep (your device name here)