On Mon, Jan 09, 2017 at 11:29:24AM +0100, Aleksander Morgado wrote: > On Mon, Jan 9, 2017 at 11:07 AM, Greg KH <g...@kroah.com> wrote: > > On Mon, Jan 09, 2017 at 09:40:59AM +0000, Kenneth Rohde Christiansen wrote: > >> Web USB can only grab devices which has special Web USB headers. It can not > >> grab any USB device. > >> > >> https://wicg.github.io/webusb/#webusb-descriptors > > > > Ah, fun :( > > > > So, we can add a quirk into the kernel cdc-acm driver to never bind to a > > device that has the wusb platform capability descriptor, which will > > prevent you from having to disconnect the driver from the device (and > > the permissions issues involved in that.) > > > > Would that help out? > > > > And just do the same thing in modem manager, never grab a device with > > this descriptor, and let the browser/webusb handle the control of the > > device if it so desires. > > Not sure anything would be required in ModemManager if the kernel > already skips the binding to cdc-acm; i.e. ModemManager won't do > anything unless the TTY is exposed.
Great, that was easy then! So, who is going to send in the kernel patch for this? :) thanks, greg k-h _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel