How to Use USB Redirector for Linux in USB Server Mode.

Installing USB Redirector for Linux in USB server mode.

To install USB Redirector for Linux in USB server mode on your computer, you should extract an installation package and execute the following command:

./ install-server

If you faced any problems during the installation, please read our installation troubleshooting guide.

When installation has completed, usbsrvd daemon should be running in your system. To share or unshare USB devices use usbsrv command-line utility. To connect USB devices on remote side, use usbclnt command-line utility. It is also installed in your system. All further operations are executed with the help of these utilities.

usbsrv syntax:

usbsrv <command>

where <command> is one of the following:

-s, -share <device>

Share USB device.

-t, -unshare <device>

Unshare USB device.

-addexclude <device>

Add specified device to exclusion list.

-remexclude <device>

Remove specified device from exclusion list.

-l, -list

Show a list of all USB devices currently present on USB server.

-i, -info

Show current USB server state.


Show a list of connected USB clients.

-n, -settcpport <port>

Change TCP port number which is used to accept incoming connections.


Switch to auto-sharing mode.


Switch to manual-sharing mode.

<device> is <deviceid> | -vid <vendorid> -pid <productid> -usbport <port>


Specific number of USB device in device list.


USB device Vendor ID.


USB device Product ID.


USB port number as displayed by -list command.

How to get a list of USB devices:

To get a list of USB devices on your USB server, you should execute:

usbsrv -l

Each USB device has its own status:

plugged - USB device is plugged into the computer.

not plugged - USB device is shared, but not currently plugged into the USB port.

initializing - USB device is in the pre-sharing mode.

shared - USB device is shared and available for connection by clients.

in use by - USB device is shared and connected to the remote client.

in exclusion list - USB device is in the exclusion list and can not be shared.

Sharing a USB device:

As an example, we will share a Flash Disk USB / USB Mass Storage Device that was listed by usbsrv -l command above. To do this, you should execute:

usbsrv -share -vid 0ea0 -pid 2168 -usbport 1-4

Please note! If you plug this device into another USB port, it's number will be changed.

To share USB device by device id: (1) Flash Disk USB / USB Mass Storage Device you can execute:

usbsrv -share 1

USB device will be shared until you execute -unshare command. If USB device is shared, it will remain shared even after reboot. Shared devices are not accessible on the local system.

Stop sharing a USB device:

To unshare a USB Human Interface - Mouse Device, listed on the screenshot above, you have to execute:

usbsrv -unshare -vid 1241 -pid 1166 -port 2-1

To unshare USB device by device id: (18) USB Human Interface - Mouse Device you can execute:

usbsrv -unshare 18

Changing a TCP port on which USB Redirector accepts incoming connections:

By default USB Redirector accepts incoming connections from clients on the 32032 TCP port. To change the port number you can execute:

usbsrv -n <new TCP port number>

Home | Products | Downloads | Purchase | Support | About | Contacts Us