Hacking devices attached

Are there any commands to analyze if my laptop has any physical hacking device attached. Something like OMG cable.