How to Use USB Redirector for Linux in USB Client Mode

Installing USB Redirector for Linux in USB client mode

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

./installer.sh install-client



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

If installation completed successfully, the daemon named usbsrvd will be running in your system, it does the actual redirection. You need to use usbclnt command-line utility for connecting/disconnecting USB devices, it is also installed in your system. All further operations are executed with the help of this utility

usbclnt command-line syntax

usbclnt <command>

Where <command> is one of the following:

-a, -addserver <address:port>

Add USB server to configuration.

-r, -remserver <address:port> | <serverid>

Remove remote usb server from configuration and disconnect all USB devices from that server.

-c, -connect <server> <device> | <serverid> - <deviceid>

Connect a specified device from a specified server. Server should be added to your configuration first.

-u, -disconnect <server> <device> | <serverid> - <deviceid>

Disconnect a specified device from a specified server.

-addexclude <server> <device> | <serverid> - <deviceid>

Add specified device to exclusion list.

-remexclude <server> <device> | <serverid> - <deviceid>

Remove specified device from exclusion list.

-autoconnecton <server> [<device>] | <serverid> [-<deviceid>]

Enable automatic connection of a single device or all devices on the specified server.

-autoconnectoff <server> [<device>] | <serverid> [-<deviceid>]

Disable automatic connection of a single device or all devices on the specified server.

-l, -list

List all USB servers currently presented in configuration and their USB devices.

-i, -info

Show information about USB Client.

<device > is -vid <vendorid > -pid <productid > -usbport <port >:

-vid

USB device Vendor ID.

-pid

USB device Product ID.

-usbport

USB port number as displayed by -list command.

<server> is -server <address:port>

-server

Remote usb server address and port.

<deviceid> is specific number of USB device in device list.

<serverid> is specific number of USB server in device list.

How to get the list of USB Server with USB devices:

To get the list of USB Servers with USB devices you need to execute:


usbclnt -l




Each USB Server has its own status:

connected - USB client is connected to remote USB Server.

disconnected - USB client can not connect to remote USB Server.

version conflict - incorrect version of USB Server on the remote computer.


Each USB device has its own status:

available for connection - remote USB device is available for connection.

not available - remote USB device is not available for connection.

connected - remote USB device is connected to this computer.

in exclusion list - remote USB device is in exclusion list and can not be connected.

Add USB Server

To add USB server into configuration you have to execute:


usbclnt -addserver 192.168.1.2:32032



Connect a device by server id and device id:

To connect (19) FM1083 FORTEMEDIA / Composite USB Device from (1) USB Server at 192.168.1.2 you have to execute:


usbclnt -connect 1-19




Connect a device by hardware id:

To connect FM1083 FORTEMEDIA / Composite USB Device from USB Server at 192.168.1.2 you have to execute:


usbclnt -connect -server 192.168.1.2:32032 -vid 138c -pid 0001 -usbport 2-2




Disconnect USB device

To disconnect (19) FM1083 FORTEMEDIA / Composite USB Device from (1) USB Server at 192.168.1.2 you have to execute:


usbclnt -disconnect 1-19




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