<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 9, 2017 at 11:39 AM, Greg KH <span dir="ltr"><<a href="mailto:greg@kroah.com" target="_blank">greg@kroah.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Jan 09, 2017 at 11:29:24AM +0100, Aleksander Morgado wrote:<br>
> On Mon, Jan 9, 2017 at 11:07 AM, Greg KH <<a href="mailto:greg@kroah.com">greg@kroah.com</a>> wrote:<br>
> > On Mon, Jan 09, 2017 at 09:40:59AM +0000, Kenneth Rohde Christiansen wrote:<br>
> >> Web USB can only grab devices which has special Web USB headers. It can not<br>
> >> grab any USB device.<br>
> >><br>
> >> <a href="https://wicg.github.io/webusb/#webusb-descriptors" rel="noreferrer" target="_blank">https://wicg.github.io/webusb/<wbr>#webusb-descriptors</a><br>
> ><br>
> > Ah, fun :(<br>
> ><br>
> > So, we can add a quirk into the kernel cdc-acm driver to never bind to a<br>
> > device that has the wusb platform capability descriptor, which will<br>
> > prevent you from having to disconnect the driver from the device (and<br>
> > the permissions issues involved in that.)<br>
> ><br>
> > Would that help out?<br>
> ><br>
> > And just do the same thing in modem manager, never grab a device with<br>
> > this descriptor, and let the browser/webusb handle the control of the<br>
> > device if it so desires.<br>
><br>
> Not sure anything would be required in ModemManager if the kernel<br>
> already skips the binding to cdc-acm; i.e. ModemManager won't do<br>
> anything unless the TTY is exposed.<br>
<br>
</span>Great, that was easy then!<br>
<br>
So, who is going to send in the kernel patch for this? :)<br></blockquote><div><br></div><div>To be sure we don't miss anything, let's give the folks in California a chance to give their input.</div><div><br></div><div>In any case, WebUSB looks very cool and looks like a starting point for finally getting an easy way (a bit like BLE vs Bluetooth) for average users connecting USB devices in a secure and cross-platform compliant way to the web.</div><div><br></div><div>br</div><div>Lars</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
thanks,<br>
<br>
greg k-h<br>
</blockquote></div><br></div></div>