Re: [PATCH] Allow userspace control of runtime disabling/enabling of driver probing
From: Matthew Garrett
Date: Wed Jan 04 2017 - 15:02:15 EST
On Wed, Jan 4, 2017 at 1:47 PM, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> You know the device type and vendor/product id before you authorize it,
> you should be able to do this type of detection otherwise it seems
> pretty pointless :)
You know the vendor and product ID, which doesn't tell you whether one
of the endpoints is a network device or a keyboard. You need to know
that.