
Software requirements:
----------------------

	- libusb 1.0 (http://libusb.wiki.sourceforge.net/).
	- Your kernel needs to have usbfs configured in and usbfs needs to be
		mounted.

Installation and usage
----------------------

Just copy usbrdp binary (named ftusbrdpd) to your /usr/local/bin directory and
run in your terminal:

$ sudo ftusbrdpd

This will run program in daemon mode, all error messages will be written to
syslog (/var/log/messages file).

If you would like it to run in debug mode, so that you could see messages in
your terminal, you can also run:

$ sudo ftusbrdpd -d

To terminate program in this mode press Ctrl+C.

If you would like ftusbrdpd to run at system startup add the following lines 
to /etc/rc.local:

	if [ -x PATH_TO_ftusbrdpd ]; then
		PATH_TO_ftusbrdpd
	fi

Blacklist and whitelist
-----------------------

You may use the following options to include or exclude some devices from being 
shared:
	-I <list> to add devices to whitelist
	-X <list> to add devices to blacklist
You cannot use both options at the same time.
If you use whitelist this means that only listed devices will be shared.
If you use blacklist - all devices but those in the list will be shared.
Device IDs in the list are comma-separated. Each device ID may be given in 
the following formats:
	1) VID:PID:REVISION
	2) VID:PID (For any revision)
	3) VID (for all PIDs and revisions)
	4) ":" - for all devices.
Examples:
	Share only Ligitech USB mice:
		./ftusbrdp -d -I "046d:c045"
	Share all but any Logitech USB device:
		./ftusbrdp -d -X "046d"

If none of the options specified - all devices will be shared.
