Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1551257

Re: [PATCH] Allow userspace control of runtime disabling/enabling of driver probing

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] Allow userspace control of runtime disabling/enabling of driver probing
Date 2017-01-04 21:50 +0100
Message-ID <sW0Fs-1jk-29@gated-at.bofh.it> (permalink)
References (1 earlier) <sVQd4-2M8-33@gated-at.bofh.it> <sVYki-8gW-35@gated-at.bofh.it> <sVYDE-8nf-25@gated-at.bofh.it> <sVZJo-Ez-17@gated-at.bofh.it> <sW02K-12y-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jan 04, 2017 at 02:01:00PM -0600, Matthew Garrett wrote:
> On Wed, Jan 4, 2017 at 1:47 PM, Greg Kroah-Hartman
> <gregkh@linuxfoundation.org> 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.

Are you sure you don't have the configuration information as well?  That
should tell you...

And for network devices, they are almost all just vendor/product ids,
not many use the class protocol.

thanks,

greg k-h

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Kees Cook <keescook@chromium.org> - 2017-01-04 00:00 +0100
  Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing "Rafael J. Wysocki" <rafael@kernel.org> - 2017-01-04 00:40 +0100
    Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Kees Cook <keescook@chromium.org> - 2017-01-04 00:50 +0100
      Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing "Rafael J. Wysocki" <rafael@kernel.org> - 2017-01-04 02:50 +0100
  Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-01-04 10:40 +0100
    Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Matthew Garrett <mjg59@coreos.com> - 2017-01-04 19:20 +0100
      Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Matthew Garrett <mjg59@coreos.com> - 2017-01-04 19:40 +0100
        Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-01-04 20:50 +0100
          Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Matthew Garrett <mjg59@coreos.com> - 2017-01-04 21:10 +0100
            Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-01-04 21:50 +0100
              Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Matthew Garrett <mjg59@coreos.com> - 2017-01-04 23:00 +0100
                Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Matthew Garrett <mjg59@coreos.com> - 2017-01-04 23:40 +0100
      Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-01-04 20:50 +0100
        Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Matthew Garrett <mjg59@coreos.com> - 2017-01-04 21:10 +0100
          Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Tomeu Vizoso <tomeu.vizoso@collabora.com> - 2017-01-05 09:20 +0100

csiph-web