RE: [PATCH v3 00/11] usbip: features to USB over WebSocket

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

> why couldn't you do this in userspace by using simple tcp over http
> or ssh or anything what would you like to use?  It would work out of
> box without any changes in kernel.

> simple tcp over http

Sorry. I don't know what it is. 
I think WebSocket is a popular protocol encapsulates packets in HTTP.

> ssh

Blocked by firewall or proxy in most cases.

I may misunderstand your question but I'd like to explain the series.

The goal are
A) USB/IP in WebSocket
Kind of IoT with USB/IP described in cover letter.
B) Providing APIs for application protocol
Allows to introduce application protocols to USB/IP. 

The contents:

1) Patch 01/11-03/11: relating export

As in cover letter, it's worth to connect device inside firewall to 
service outside.
I think export was planned because the packet has been defined in 
header.
03/11 touches kernel to fix an existing critical section. By new connect 
command, unbind is executed in program. So the critical section is easy 
to happen relatively in normal operation.

2) Patch 04/11-10/12: relating userspace API for application protocol

Allows to substitute a) connection establishment, b) PDUs exchange and 
c) URBs exchange.
04/11-06/11 are for c). The reason why not to use usbfs or libusb is in 
previous e-mail.
07/11 and 08/11 provide API in utility for a) and b). Route for c) is 
merged in b).
09/11 exposes core functions of utilities. 10/11 fixes lazy qualifying 
in original code for the functions.

3) Patche 11/11: a WebSocket implementation

WebSocket version of utilities. It might be a test bed for the APIs.

The most part of the series are for APIs in userspace to utilities. 
Changes to kernel modules are 04/11 (discussed in previous e-mail) and 
03/11 (described above). 

I hope that it answers your questions.

Thanks,

n.iwata
//
��.n��������+%������w��{.n�����{���)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux