Welcome! Log In Create A New Profile


USB kernel filtering module/driver

Posted by Zahar 
USB kernel filtering module/driver
March 02, 2019 03:02PM
Currently I'm trying to write Linux kernel module which should filter all kinds of USB devices. It should filter devices by their ids, just be vendor id and device id.

What should I do to filter them. Should I unload other drivers/modules, or how to load my module before all USB drivers. The question is what should I do in order to filter USB devices.
Now my tmp code can handle USB mass storage devices and just show when they are connected /disconnect.

Your Email:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 11 plus 8?