Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1174798
| From | Jeremy White <jwhite@codeweavers.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [RFC PATCH 0/1] RFC - Implement a usbredir kernel module |
| Date | 2015-07-01 00:10 +0200 |
| Message-ID | <pHbT4-6y3-13@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
The following patch proposes a new kernel module to provide an alternate protocol for transporting USB devices over a TCP/IP connection. This flows from a few conversations on the Spice devel mailing list.[1][2] I am relying heavily on the opinion of Hans de Goede, who believes that the usbredir protocol is superior to that used by the existing usbip kernel module[3]. The basic approach in this module is the same as usbip (virtual hcd driver) but it attempts to support a configurable number of devices and hubs, rather than just one hub and the limit of 8 devices. This version of the code should be sufficient to review my general approach, but it is known to be incomplete. I have successfully mounted and operated a thumb drive across the interface. Hopefully it is enough to warrant advice and comments; feedback is greatly appreciated. Anyone wishing to test this will also need a related set of usbredir patches, recently sent to the spice-devel mailing list.[4] Roughly half of the code (all of the code that fails checkpatch <grin>) was copied, essentially unchanged, from the usbredir project. I felt that diffability was more important than checkpatch; I stand ready to be corrected. After review, I plan to build a fairly extensive set of unit tests (see the new usbredirtestserver in [3]), and would hope to submit a complete module later in the summer. Cheers, Jeremy [1] http://lists.freedesktop.org/archives/spice-devel/2014-August/017145.html [2] http://lists.freedesktop.org/archives/spice-devel/2015-April/019451.html [3] http://lists.freedesktop.org/archives/spice-devel/2014-August/017174.html [4] http://lists.freedesktop.org/archives/spice-devel/2015-June/020595.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[RFC PATCH 0/1] RFC - Implement a usbredir kernel module Jeremy White <jwhite@codeweavers.com> - 2015-07-01 00:10 +0200
Re: [Spice-devel] [RFC PATCH 1/1] Add a usbredir kernel module to remotely connect USB devices over IP. "Daniel P. Berrange" <berrange@redhat.com> - 2015-07-01 11:10 +0200
Re: [Spice-devel] [RFC PATCH 1/1] Add a usbredir kernel module to remotely connect USB devices over IP. Oliver Neukum <oneukum@suse.com> - 2015-07-02 10:50 +0200
Re: [RFC PATCH 1/1] Add a usbredir kernel module to remotely connect USB devices over IP. Jeremy White <jwhite@codeweavers.com> - 2015-07-07 18:50 +0200
csiph-web