Re: [PATCH] usbip: tools: add in man page how to load the client's module

From: Shuah Khan
Date: Thu Jun 18 2020 - 13:11:38 EST


On 6/17/20 6:08 PM, Antonio Borneo wrote:
While the man page usbipd.8 already informs the user on which
kernel module has to be used on server side, the man page usbip.8
does not provide any equivalent information on client side.
Also, it could be hard for a newby to identify the proper usbip
client kernel module, due to the name "vhci-hcd" that has no
immediate assonance with usbip.

Add in usbip.8 the command to add the module vhci-hcd, similarly
as it's already present in usbipd.8 for usbip-host.

Signed-off-by: Antonio Borneo <borneo.antonio@xxxxxxxxx>
---
tools/usb/usbip/doc/usbip.8 | 2 ++
1 file changed, 2 insertions(+)

diff --git a/tools/usb/usbip/doc/usbip.8 b/tools/usb/usbip/doc/usbip.8
index a6097be25d28..81313f4913b4 100644
--- a/tools/usb/usbip/doc/usbip.8
+++ b/tools/usb/usbip/doc/usbip.8
@@ -85,6 +85,8 @@ List local USB devices.
client:# usbip list --remote=server
- List exportable usb devices on the server.

While you are making changes, please change the above to the
following. This is more accurate.

List devices exported by remote=server

+ client:# modprobe vhci-hcd
+

client:# usbip attach --remote=server --busid=1-2
- Connect the remote USB device.


thanks,
-- Shuah