In the course of adapting the USBIP tools to our project, I added a few features: * Specify USBIP TCP/IP port number for 'usbip' and 'usbipd' * Request that 'usbipd' write its process id to a file I did some minor cleaning along the way: some checkpatch, later to repair alignments broken while adding new options. Finally, the "log" option was not properly accepted by 'usbip'. This is based off linux-next commit 1e712b0818569846d6b926ecb6bf32b3dea73609 (which is tag next-20130816) Original thread at these urls: http://markmail.org/thread/6re24e7r443kn2nj http://www.mail-archive.com/linux-usb@xxxxxxxxxxxxxxx/msg23959.html Changes from v1 -> v2: * Use "-t" / "--tcp-port" instead of "-p" / "--port"; the 'usbip' command already has a "-p" option for the usbip port in use. * Make sure that 'usbipd' records its PID *after* daemonizing. * Drop first three patches from v1 (they're already accepted). Anthony Foiani (4): staging: usbip: add "-P" / "--pid" option to save usbipd process id staging: usbip: set usbipd server port via "-t" / "--tcp-port" option. staging: usbip: properly handle "-l" / "--log" option staging: usbip: fix up alignment in long options list drivers/staging/usbip/userspace/src/usbip.c | 15 ++++-- .../staging/usbip/userspace/src/usbip_network.c | 30 ++++++++++++ .../staging/usbip/userspace/src/usbip_network.h | 5 +- drivers/staging/usbip/userspace/src/usbipd.c | 57 +++++++++++++++++++--- 4 files changed, 94 insertions(+), 13 deletions(-) -- 1.8.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html