I am using devcon to check enumerated USB devices and their status on windows, I get the following output when running for example "devcon status usb*":
USB\VID_0557&PID_2213&MI_00\7&2A125440&0&0000
Name: USB Input Device
Driver is running.
USB\VID_0557&PID_2213&MI_01\7&2A125440&0&0001
Name: USB Input Device
Driver is running.
2 matching device(s) found.
I am looking for a way to do this on Linux (Ubuntu) and MAC, and be able to see if device is enabled, disabled, has a problem etc, all this I can do with devcon for windows.
I know there's lsusb for linux but I couldn't see how I can get the status from the list (I tried -v -t etc). For mac I understand there's system_profiler, will this show me the status also?
Thanks, Michal
modprobe
orrmmod
. If it's on libusb, you can't "disable driver".