USB/IP Server

by Cameron Gutman


Tools

free



This app shares USB devices from an Android device to a PC via USB/IP. With this server running, you can share many USB devices from your Android device to a PC running the USB/IP software. Not all USB devices are supported by this app. Notably, devices that use isochronous transfers (usually video and audio capture devices) are not supported. If you find that your device is not supported, send me an e-mail and Ill see if I can do something about it.This app uses native Android USB host APIs, so it does not require root. However, this app is not for the faint of heart because it requires some PC-side setup can be complex for inexperienced users.With the apps USB/IP service running, you will be able to list USB devices connected to your Android device from your PC using the usbip utility. When you try to attach to them from your PC, the USB permission dialog will be displayed on your Android device. After you accept the permission dialog, the device will attach to your PC.Per the USB/IP specification, this app listens for TCP connections on port 3240. While the service is running, it will hold a partial wakelock and Wi-Fi lock to prevent the device from sleeping or disconnecting while serving USB devices on the network.This app is compatible with Linuxs USB/IP driver in the latest kernel and the current Windows USB/IP driver. Ive found that this app tends to work better with the Windows driver. Particularly, it seems mass storage and MTP are broken on Linux but work fine on Windows. USB input devices have worked equally well on both platforms in my testing.Some USB input devices arent exposed by Android at all, particularly external mice and keyboards Ive tested. These cannot be shared.Tested devices:T-Flight Hotas X (flight stick) - working on Windows and LinuxXbox 360 Wireless Receiver - working on Windows and LinuxMTP device (Android phone) - working on Windows but not LinuxCorsair Flash Voyager (flash drive) - working on Windows but not LinuxiPhone - broken on Linux and WindowsUSB mouse - does not appear in device listUSB keyboard - does not appear in device list