on, the interface is much different than this patch.
Signed-off-by: Nobuo Iwata
---
Version information
v3)
Updated based on linux-next 2017-08-28.
Removed unnecessary modification to store_detach().
Added description about difference from alternate solution in change log.
Corrected spelling in c
Version information
v2)
Gathered usbip_vhci_driver_close() for errors under an exit label.
Signed-off-by: Nobuo Iwata
---
drivers/usb/usbip/vhci_sysfs.c | 8 ++--
tools/usb/usbip/src/usbip_attach.c | 33 +-
2 files changed, 25 insertions(+), 16 deletions(-)
duce additional operations for userspace tool.
When number of free ports becomes more than USBIP_VHCI_HC_PORTS *
VHCI_FREE_HCS(2), a free controller other than the first one will be
unregistered. It will be invoked by 'detach' operation and other error
situations which ports are releas
rt, nports: ports across the controllers.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_driver.c | 396 ++-
tools/usb/usbip/libsrc/vhci_driver.h | 45 +--
tools/usb/usbip/src/usbip_attach.c | 12 +-
tools/usb/usbip/src/usbip_port.c | 13 +-
tools/usb
to include num_controllers value.
# Fixed checkpatch errors and warnings.
v2)
# Added static to some functions and variables not called from other
files.
*** BLURB HERE ***
Nobuo Iwata (2):
usbip: vhci extension: modifications to userspace
usbip: vhci extension: dynamic extension
driv
to
connect device.
To avoid mixed usage of 'export', 'importable' is used for devices to
be attached with 'import' request.
The word 'imported' has already been used in output of port operation.
It is consistent to this patch.
Signed-off-by: Nobuo Iwata
start daemon
= = =
2) # usbip list --local
3) # usbip connect--- export a device -->
= = =
4) # usbip disconnect --- un-export a device --->
Bind and unbind are done in connect and disconnect internally.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_dr
x27;client' are
ambiguous in several place. To avoid confusion, 'device-side' and
'application-side' are written together with 'server' and 'client'.
'export' was used in the counter side of 'import' request. This patch
organizes
t a device -->
= = =
4) # usbip disconnect --- un-export a device --->
Bind and unbind are done in connect and disconnect internally.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/Makefile.am | 2 +-
tools/usb/usbip/README | 81 -
tools/usb/usbip/doc/usbip.
ct --- un-export a device --->
Bind and unbind are done in connect and disconnect internally.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/usbip_host_common.c | 6 ++
tools/usb/usbip/libsrc/usbip_host_common.h | 8
tools/usb/usbip/src/usbip.h| 3 +++
too
.
They become empty struct. Other empty struct, 'op_devlist_request',
defined.
This patch also includes string translation of the status codes.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/usbip_network.c | 26 +-
tools/usb/usbip/src/usbip_network.h | 8
1) # usbipa ... start daemon
= = =
2) # usbip list --local
3) # usbip connect--- export a device -->
= = =
4) # usbip disconnect --- un-export a device --->
Bind and unbind are done in connect and disconnect internally.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src
usbip list --local
3) # usbip connect--- export a device -->
= = =
4) # usbip disconnect --- un-export a device --->
Bind and unbind are done in connect and disconnect internally.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_driver.c | 96 ++
;='.
# Fixed inappropriate version definition in
tools/.../websocket/configure.ac.
# Remved unnecessary COPYING and AUTHORS fil from tools/.../websocket/.
# Added -version-info to libraries in tools/.../src.
v2)
# Formatted patches from linux-next.
# Fixed change log word wrapping.
# Removed SSL pat
evice side daemon
procedure. There's no effect by the defferring. It is moved to right
after accept() to affect it both device and application side. In the
client operation, it's already in right after connect().
In send_reply_devlist(), driver->ndevs is used insted of counting lis
2) # usbip list --local
3) # usbip connect--- export a device -->
= = =
4) # usbip disconnect --- un-export a device --->
Bind and unbind are done in connect and disconnect internally.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/Makefile.am| 2 +-
tools/usb/
nt errno New errno Condition
EINVAL same as leftspecified port numbre is in invalid
range
EAGAIN same as leftplatform_get_drvdata() failed
EINVAL same as leftspecified socket fd is not valid
EINVAL EBUSY specified port status is not free
Signed
onal operations for userspace tool.
When number of free ports becomes more than USBIP_VHCI_HC_PORTS *
VHCI_FREE_HCS(2), a free controller other than the first one will be
unregistered. It will be invoked by 'detach' operation and other error
situations which ports are released.
S
rt, nports: ports across the controllers.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_driver.c | 398 +++
tools/usb/usbip/libsrc/vhci_driver.h | 45 +--
tools/usb/usbip/src/usbip_attach.c | 8 +-
tools/usb/usbip/src/usbip_port.c | 13 +-
tools/usb
some functions and variables not called from other
files.
*** BLURB HERE ***
Nobuo Iwata (2):
usbip: vhci extension: modifications to userspace
usbip: vhci extension: dynamic extension
drivers/usb/usbip/Kconfig| 17 +-
drivers/usb/usbip/vhci.h |
n/VHCI |
+--+ +--+
1) usbipa ... start daemon
= = =
2) usbip list --local
3) usbip connect --- export a device -->
= = =
4) usbip disconnect --- un-export a device --->
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_driver.c | 19 +++
tools/usb/usbip/libsrc/v
x27;client' are
ambiguous in several place. To avoid confusion, 'device-side' and
'application-side' are written together with 'server' and 'client'.
'export' was used in the counter side of 'import' request. This patch
organizes
+--+
1) usbipa ... start daemon
= = =
2) usbip list --local
3) usbip connect --- export a device -->
= = =
4) usbip disconnect --- un-export a device --->
Signed-off-by: Nobuo Iwata
--
to
connect device.
To avoid mixed usage of 'export', 'importable' is used for devices to
be attached with 'import' request.
The word 'imported' has already been used in output of port operation.
It is consistent to this patch.
Signed-off-by: Nobuo Iwata
daemon
= = =
2) usbip list --local
3) usbip connect --- export a device -->
= = =
4) usbip disconnect --- un-export a device --->
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_driver.c | 99
tools/usb/usbip/libsrc/vhci_driver.h | 6 +
device -->
= = =
4) usbip disconnect --- un-export a device --->
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/Makefile.am | 3 +-
tools/usb/usbip/src/usbip.c | 9 +-
tools/usb/usbip/src/usbip.h | 5 +-
tools/usb/usbip/src/usbip_con
usbip list --local
3) usbip connect --- export a device -->
= = =
4) usbip disconnect --- un-export a device --->
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/Makefile.am| 2 +-
tools/usb/usbip/src/usbip.c| 6 +
tools/usb/usbip/src/usbip.h|
ved to right
after accept() to affect it both device and application side. In the
client operation, it's already in right after connect().
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/Makefile.am | 2 +-
tools/usb/usbip/src/usbipd.c | 246 --
tool
Modification to export and un-export response in
tools/usb/usbip/src/usbip_network.h. It just changes return code type
from int to uint32_t as same as other responses.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/usbip_network.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
from tools/.../websocket/.
# Added -version-info to libraries in tools/.../src.
v2)
# Formatted patches from linux-next.
# Fixed change log word wrapping.
# Removed SSL patches.
# Fixed a bug that vendor and product names are not shown by 'usbws
list -l' because usbip_names_init() was not called in
| application/VHCI |
+--+ +--+
1) usbipa ... start daemon
= = =
2) usbip list --local
3) usbip connect --- export a device -->
= = =
4) usbip disconnect --- un-export a device --->
Bind and unbind are done in connect and disconnect internally.
Signed-off-by: N
Refactoring to attach and detatch operation. Common parts to new
application(vhci)-side daemon are moved to libsrc/vhci_driver.c.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_driver.c | 99
tools/usb/usbip/libsrc/vhci_driver.h | 6 +-
tools/usb
Correction to wording inconsistency around import and export in
usbip_list.c.
Please, see also cover letter about wording.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/usbip_list.c | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/tools/usb
hine. Now, 'server'
and 'client' run in different machine than before.
So, to avoid confusion, words 'device side (machine)' and 'application
side (machine)' are used instead of 'client' and 'server' as needed.
Please, see also diagrams in
New disconnect operation.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/Makefile.am| 2 +-
tools/usb/usbip/src/usbip.c| 6 +
tools/usb/usbip/src/usbip.h| 2 +
tools/usb/usbip/src/usbip_disconnect.c | 215 +
4 files changed, 224
New application(vhci)-side daemon.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_driver.c | 19 +++
tools/usb/usbip/libsrc/vhci_driver.h | 1 +
tools/usb/usbip/src/Makefile.am | 7 +-
tools/usb/usbip/src/usbipd.c | 12 +-
tools/usb/usbip/src/usbipd_app.c
. In the client operation, it's in right
after connect(). So, in daemon, it is moved to right after accept() to
affect it both device and application side.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/Makefile.am | 2 +-
tools/usb/usbip/src/usbipd.c
New connect operation.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/Makefile.am | 3 +-
tools/usb/usbip/src/usbip.c | 9 +-
tools/usb/usbip/src/usbip.h | 5 +-
tools/usb/usbip/src/usbip_connect.c | 228
4 files changed, 242 insertions
Modification to export and un-export response in
tools/usb/usbip/src/usbip_network.h. It just changes return code type
from int to uint32_t as same as other responses.
Added export and un-export request/response to
Documentation/usb/usbip_protocol.txt.
Signed-off-by: Nobuo Iwata
usbip_get_device() method in usbip_host_driver_ops was not used. It is
modified as a function to find an exported device for new operations
'connect' and 'disconnect'.
bind and unbind function are exported for the new operations.
Signed-off-by: Nobuo Iwata
---
to
'='.
# Fixed inappropriate version definition in
tools/.../websocket/configure.ac.
# Remved unnecessary COPYING and AUTHORS fil from tools/.../websocket/.
# Added -version-info to libraries in tools/.../src.
v2)
# Formatted patches from linux-next.
# Fixed change log word wrapping.
# Rem
A pointer was passed to vdev_to_vhci() before NULL check.
In vdev_to_vhci(), there's a dereference by the pointer.
This patch moves vdev_to_vhci() after NULL check of the pointer.
Signed-off-by: Nobuo Iwata
---
drivers/usb/usbip/vhci_hcd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion
rt, nports: ports across the controllers.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_driver.c | 398 +++
tools/usb/usbip/libsrc/vhci_driver.h | 45 +--
tools/usb/usbip/src/usbip_attach.c | 8 +-
tools/usb/usbip/src/usbip_port.c | 13 +-
tools/usb
. In the client operation, it's in right
after connect(). So, in daemon, it is moved to right after accept() to
affect it both device and application side.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/doc/usbipd.8 | 1 -
tools/usb/usbip/src/Makefile.am | 2 +-
tools/usb/usbi
New application(vhci)-side daemon.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_driver.c | 19 +++
tools/usb/usbip/libsrc/vhci_driver.h | 1 +
tools/usb/usbip/src/Makefile.am | 7 +-
tools/usb/usbip/src/usbipd.c | 12 +-
tools/usb/usbip/src/usbipd_app.c
dded -version-info to libraries in tools/.../src.
v2)
# Formatted patches from linux-next.
# Fixed change log word wrapping.
# Removed SSL patches.
# Fixed a bug that vendor and product names are not shown by 'usbws
list -l' because usbip_names_init() was not called in libusbip.la.
Tha
Correction to wording inconsistency around import and export in
usbip_list.c.
Please, see also cover letter about wording.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/usbip_list.c | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/tools/usb
s object and attribute name for old tools compatibility.
# Changed nports status format not to include num_controllers value.
# Fixed checkpatch errors and warnings.
v2)
# Added static to some functions and variables not called from other
files.
*** BLURB HERE ***
Nobuo Iwata (2):
usbi
l problem because of number of USB port restriction. With the
patch set, the value of socket descriptor can exceed FD_SETSIZE(1024
usually) if the rlimit is changed.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/usbipd.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/tools/usb/
usbip_get_device() method in usbip_host_driver_ops was not used. It is
modified as a function to find an exported device for new operations
'connect' and 'disconnect'.
bind and unbind function are exported for the new operations.
Signed-off-by: Nobuo Iwata
---
to
hine. Now, 'server'
and 'client' run in different machine than before.
So, to avoid confusion, words 'device side (machine)' and 'application
side (machine)' are used instead of 'client' and 'server' as needed.
Please, see also diagrams in
released.
Signed-off-by: Nobuo Iwata
---
drivers/usb/usbip/Kconfig | 17 ++-
drivers/usb/usbip/vhci.h | 36 -
drivers/usb/usbip/vhci_hcd.c | 250 -
drivers/usb/usbip/vhci_rx.c| 10 +-
drivers/usb/usbip/vhci_sysfs.c | 49 ---
drivers/usb
New disconnect operation.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/Makefile.am| 2 +-
tools/usb/usbip/src/usbip.c| 6 +
tools/usb/usbip/src/usbip.h| 2 +
tools/usb/usbip/src/usbip_disconnect.c | 215 +
4 files changed, 224
Modification to export and un-export response in
tools/usb/usbip/src/usbip_network.h. It just changes return code type
from int to uint32_t as same as other responses.
Added export and un-export request/response to
Documentation/usb/usbip_protocol.txt.
Signed-off-by: Nobuo Iwata
New connect operation.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/Makefile.am | 3 +-
tools/usb/usbip/src/usbip.c | 9 +-
tools/usb/usbip/src/usbip.h | 5 +-
tools/usb/usbip/src/usbip_connect.c | 228
4 files changed, 242 insertions
Refactoring to attach and detatch operation. Common parts to new
application(vhci)-side daemon are moved to libsrc/vhci_driver.c.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_driver.c | 99
tools/usb/usbip/libsrc/vhci_driver.h | 6 +-
tools/usb
released.
Signed-off-by: Nobuo Iwata
---
drivers/usb/usbip/Kconfig | 17 ++-
drivers/usb/usbip/vhci.h | 36 -
drivers/usb/usbip/vhci_hcd.c | 251 -
drivers/usb/usbip/vhci_rx.c| 10 +-
drivers/usb/usbip/vhci_sysfs.c | 49 ---
drivers/usb
rt, nports: ports across the controllers.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_driver.c | 398 +++
tools/usb/usbip/libsrc/vhci_driver.h | 45 +--
tools/usb/usbip/src/usbip_attach.c | 8 +-
tools/usb/usbip/src/usbip_port.c | 13 +-
tools/usb
s so there's no compatibility issue in this change.
Signed-off-by: Nobuo Iwata
---
drivers/usb/usbip/Kconfig | 21 +++
drivers/usb/usbip/vhci.h | 54 --
drivers/usb/usbip/vhci_hcd.c | 285 ---
drivers/usb/usbip/vhci_
s.
v2)
# Added static to some functions and variables not called from other
files.
*** BLURB HERE ***
Nobuo Iwata (3):
usbip: vhci extension: modifications to vhci driver
usbip: vhci extension: modifications to userspace
usbip: vhci extension: dynamic extension
drivers/usb/usbip
hine. Now, 'server'
and 'client' run in different machine than before.
So, to avoid confusion, words 'device side (machine)' and 'application
side (machine)' are used instead of 'client' and 'server' as needed.
Please, see also diagrams in
Correction to wording inconsistency around import and export in
usbip_list.c.
Please, see also cover letter about wording.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/usbip_list.c | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/tools/usb
New application(vhci)-side daemon.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_driver.c | 19 +++
tools/usb/usbip/libsrc/vhci_driver.h | 1 +
tools/usb/usbip/src/Makefile.am | 7 +-
tools/usb/usbip/src/usbipd.c | 12 +-
tools/usb/usbip/src/usbipd_app.c
Refactoring to attach and detatch operation. Common parts to new
application(vhci)-side daemon are moved to libsrc/vhci_driver.c.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_driver.c | 99
tools/usb/usbip/libsrc/vhci_driver.h | 6 +-
tools/usb
New disconnect operation.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/Makefile.am| 2 +-
tools/usb/usbip/src/usbip.c| 6 +
tools/usb/usbip/src/usbip.h| 2 +
tools/usb/usbip/src/usbip_disconnect.c | 215 +
4 files changed, 224
. In the client operation, it's in right
after connect(). So, in daemon, it is moved to right after accept() to
affect it both device and application side.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/doc/usbipd.8 | 1 -
tools/usb/usbip/src/Makefile.am | 2 +-
tools/usb/usbi
Modification to export and un-export response in
tools/usb/usbip/src/usbip_network.h. It just changes return code type
from int to uint32_t as same as other responses.
Added export and un-export request/response to
Documentation/usb/usbip_protocol.txt.
Signed-off-by: Nobuo Iwata
New connect operation.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/Makefile.am | 3 +-
tools/usb/usbip/src/usbip.c | 9 +-
tools/usb/usbip/src/usbip.h | 5 +-
tools/usb/usbip/src/usbip_connect.c | 228
4 files changed, 242 insertions
d patches from linux-next.
# Fixed change log word wrapping.
# Removed SSL patches.
# Fixed a bug that vendor and product names are not shown by 'usbws
list -l' because usbip_names_init() was not called in libusbip.la.
Thank you,
Nobuo Iwata
//
*** BLURB HERE ***
Nobuo Iwata (9):
u
usbip_get_device() method in usbip_host_driver_ops was not used. It is
modified as a function to find an exported device for new operations
'connect' and 'disconnect'.
bind and unbind function are exported for the new operations.
Signed-off-by: Nobuo Iwata
---
to
New application(vhci)-side daemon.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_driver.c | 19 +++
tools/usb/usbip/libsrc/vhci_driver.h | 1 +
tools/usb/usbip/src/Makefile.am | 7 +-
tools/usb/usbip/src/usbipd.c | 12 +-
tools/usb/usbip/src/usbipd_app.c
hine. Now, 'server'
and 'client' run in different machine than before.
So, to avoid confusion, words 'device side (machine)' and 'application
side (machine)' are used instead of 'client' and 'server' as needed.
Please, see also diagrams in
New connect operation.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/Makefile.am | 3 +-
tools/usb/usbip/src/usbip.c | 9 +-
tools/usb/usbip/src/usbip.h | 5 +-
tools/usb/usbip/src/usbip_connect.c | 228
4 files changed, 242 insertions
usbip_get_device() method in usbip_host_driver_ops was not used. It is
modified as a function to find an exported device for new operations
'connect' and 'disconnect'.
bind and unbind function are exported for the new operations.
Signed-off-by: Nobuo Iwata
---
to
. In the client operation, it's in right
after connect(). So, in daemon, it is moved to right after accept() to
affect it both device and application side.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/doc/usbipd.8 | 1 -
tools/usb/usbip/src/Makefile.am | 2 +-
tools/usb/usbi
Modification to export and un-export response in
tools/usb/usbip/src/usbip_network.h. It just changes return code type
from int to uint32_t as same as other responses.
Added export and un-export request/response to
Documentation/usb/usbip_protocol.txt.
Signed-off-by: Nobuo Iwata
New disconnect operation.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/Makefile.am| 2 +-
tools/usb/usbip/src/usbip.c| 6 +
tools/usb/usbip/src/usbip.h| 2 +
tools/usb/usbip/src/usbip_disconnect.c | 215 +
4 files changed, 224
Refactoring to attach and detatch operation. Common parts to new
application(vhci)-side daemon are moved to libsrc/vhci_driver.c.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_driver.c | 99
tools/usb/usbip/libsrc/vhci_driver.h | 6 +-
tools/usb
Correction to wording inconsistency around import and export in
usbip_list.c.
Please, see also cover letter about wording.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/usbip_list.c | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/tools/usb
ng.
# Removed SSL patches.
# Fixed a bug that vendor and product names are not shown by 'usbws
list -l' because usbip_names_init() was not called in libusbip.la.
Thank you,
Nobuo Iwata
//
*** BLURB HERE ***
Nobuo Iwata (9):
usbip: exporting devices: modifications to network hea
s so there's no compatibility issue in this change.
Signed-off-by: Nobuo Iwata
---
drivers/usb/usbip/Kconfig | 21 +++
drivers/usb/usbip/vhci.h | 54 --
drivers/usb/usbip/vhci_hcd.c | 285 ---
drivers/usb/usbip/vhci_
rt, nports: ports across the controllers.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_driver.c | 398 +++
tools/usb/usbip/libsrc/vhci_driver.h | 45 +--
tools/usb/usbip/src/usbip_attach.c | 8 +-
tools/usb/usbip/src/usbip_port.c | 13 +-
tools/usb
released.
Signed-off-by: Nobuo Iwata
---
drivers/usb/usbip/Kconfig | 17 ++-
drivers/usb/usbip/vhci.h | 36 -
drivers/usb/usbip/vhci_hcd.c | 251 -
drivers/usb/usbip/vhci_rx.c| 10 +-
drivers/usb/usbip/vhci_sysfs.c | 49 ---
drivers/usb
nd attribute name for old tools compatibility.
# Changed nports status format not to include num_controllers value.
# Fixed checkpatch errors and warnings.
v2)
# Added static to some functions and variables not called from other
files.
*** BLURB HERE ***
Nobuo Iwata (3):
usbip: vhci extensi
ocket/.
# Added -version-info to libraries in tools/.../src.
v2)
# Formatted patches from linux-next.
# Fixed change log word wrapping.
# Removed SSL patches.
# Fixed a bug that vendor and product names are not shown by 'usbws
list -l' because usbip_names_init() was not called in libus
Refactoring to the daemon.
usbipd_dev.c is device-side specific code extracted from usbipd.c.
usbipd.c is left as common parts for both device(stub)-side and
application(vhci)-side daemon.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/Makefile.am | 2 +-
tools/usb/usbip/src/usbipd.c
Modification to export and un-export response in
tools/usb/usbip/src/usbip_network.h. It just changes return code type
from int to uint32_t as same as other responses.
Added export and un-export request/response to
Documentation/usb/usbip_protocol.txt.
Signed-off-by: Nobuo Iwata
usbip_host_find_device() is created based on usbip_host_get_device().
usbip_host_get_device() was not used yet.
bind and unbind function are exported for new operations.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/usbip_host_common.c | 6 ++
tools/usb/usbip/libsrc
New connect operation.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/Makefile.am | 3 +-
tools/usb/usbip/src/usbip.c | 9 +-
tools/usb/usbip/src/usbip.h | 5 +-
tools/usb/usbip/src/usbip_connect.c | 228
4 files changed, 242 insertions
Refactoring to attach and detatch operation. Common parts to new
application(vhci)-side daemon are moved to libsrc/vhci_driver.c.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_driver.c | 99
tools/usb/usbip/libsrc/vhci_driver.h | 6 +-
tools/usb
New disconnect operation.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/Makefile.am| 2 +-
tools/usb/usbip/src/usbip.c| 6 +
tools/usb/usbip/src/usbip.h| 2 +
tools/usb/usbip/src/usbip_disconnect.c | 215 +
4 files changed, 224
hine. Now, 'server'
and 'client' run in different machine than before.
So, to avoid confusion, words 'device side (machine)' and 'application
side (machine)' are used instead of 'client' and 'server'.
Please, see also diagrams in the cover let
Correction to wording inconsistency around import and export in
usbip_list.c.
Please, see also cover letter about wording.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/src/usbip_list.c | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/tools/usb
New application(vhci)-side daemon.
Signed-off-by: Nobuo Iwata
---
tools/usb/usbip/libsrc/vhci_driver.c | 19 +++
tools/usb/usbip/libsrc/vhci_driver.h | 1 +
tools/usb/usbip/src/Makefile.am | 7 +-
tools/usb/usbip/src/usbipd.c | 12 +-
tools/usb/usbip/src/usbipd_app.c
modification.
Signed-off-by: Nobuo Iwata
---
drivers/usb/usbip/stub_tx.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/usbip/stub_tx.c b/drivers/usb/usbip/stub_tx.c
index dbcabc9..dc223af 100644
--- a/drivers/usb/usbip/stub_tx.c
+++ b/drivers/usb/usbip/stub_tx.c
/input/input22
(*) skipped with this patch in completion
(**) released in 2-3
A. version info
v2)
# Changed log level of ignore message from info to debug.
# Updated log capture in changelog with the log level modification.
Signed-off-by: Nobuo Iwata
---
drivers/usb/usbip/stub_tx.c | 6 +-
1
version info
v2)
# Merged 1/2 event handler itself and 2/2 user programs because of auto
build fail at 1/2 casued unmodified user programs in 1/2.
Signed-off-by: Nobuo Iwata
---
drivers/usb/usbip/stub_dev.c | 3 +-
drivers/usb/usbip/usbip_common.c | 7 ++
drivers/usb/usbip/usbip_c
_eh]
This series of patches put event threads of stub and vhci driver as one
workqueue.
AFTER) only one event threads in each vhci and stub side.
$ ps aux | grep usbip
root 10457 0.0 0.0 0 0 ?S< 17:47 0:00
[usbip_event]
*** BLURB HERE ***
Nobuo Iwata
Modifications to code using usbip_event.c
Initialization and termination of workqueue are added to init and exit
routine of usbip_core respectively.
Signed-off-by: Nobuo Iwata
---
drivers/usb/usbip/stub_dev.c | 3 +--
drivers/usb/usbip/usbip_common.c | 7 +++
2 files changed, 8
bus/dev 005/002
AFTER) Most vendor string will be converted.
Imported USB devices
Port 00: at Low Speed(1.5Mbps)
Hewlett-Packard : unknown product (03f0:0224)
3-1 -> usbip://10.0.2.15:3240/5-1
-> remote bus/dev 005/002
Signed-off-by: Nobuo Iwata
1 - 100 of 189 matches
Mail list logo