I want to disable usb devices based on vendor id in Linux environment. I want to allow only specific USB devices, based on vendor id.
You can make a udev rule that disables devices by default, but enables certain ones by vendor ID. Make a file
And then rules to enable the devices you want to allow (you can use
See "Locking down Linux using UDEV" for more information.