This is a note to let you know that I've just added the patch titled Subject: USB: usbtmc: fix timeout increase to my gregkh-2.6 tree. Its filename is usb-usbtmc-fix-timeout-increase.patch This tree can be found at http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/ >From imrehg@xxxxxxxxx Fri Oct 9 10:32:19 2009 From: Gergely Imreh <imrehg@xxxxxxxxx> Date: Tue, 15 Sep 2009 16:03:31 +0800 Subject: USB: usbtmc: fix timeout increase To: Greg KH <greg@xxxxxxxxx> Cc: "linux-usb@xxxxxxxxxxxxxxx" <linux-usb@xxxxxxxxxxxxxxx> Message-ID: <371b60070909150103t2e2058f5ua819ab3300d47144@xxxxxxxxxxxxxx> From: Gergely Imreh <imrehg@xxxxxxxxx> The current 10ms timeout is too short for some normal USBTMC device operation, increase it to a value which was tested with previously affected Tektronix oscilloscopes. Signed-off-by: Gergely Imreh <imrehg@xxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx> --- drivers/usb/class/usbtmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/usb/class/usbtmc.c +++ b/drivers/usb/class/usbtmc.c @@ -39,7 +39,7 @@ #define USBTMC_SIZE_IOBUFFER 2048 /* Default USB timeout (in milliseconds) */ -#define USBTMC_TIMEOUT 10 +#define USBTMC_TIMEOUT 5000 /* * Maximum number of read cycles to empty bulk in endpoint during CLEAR and -- 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