27 Sep, 2015
2 commits
-
For ctrl out test, it needs length > vary, so in order to run it with
default parameters, we do this change.Acked-by: Michal Nazarewicz
Cc: Michal Nazarewicz
Signed-off-by: Peter Chen
Signed-off-by: Felipe Balbi -
The 'length' is the transfer length, not the packet size, so
change the help text.Acked-by: Michal Nazarewicz
Cc: Michal Nazarewicz
Signed-off-by: Peter Chen
Signed-off-by: Felipe Balbi
09 Feb, 2013
1 commit
-
Commit 8a424bf40d772fedacc91862ecc86f10541fabb3 (tools/usb: remove last USBFS
user) removed 'usbfs' files from the source but retained mentions of 'usbfs'
all over the place, most importantly in the misleading error messages printed
in case USB device files are not there. Remove all the mentions of 'usbfs'
for good now!Signed-off-by: Sergei Shtylyov
Signed-off-by: Greg Kroah-Hartman
12 Jan, 2013
1 commit
-
Basically remove unneeded code. Since that 'continue' is at the end
of the for() there's no need for it.Signed-off-by: Sasha Levin
Acked-by: Felipe Balbi
Signed-off-by: Greg Kroah-Hartman
11 Sep, 2012
1 commit
-
In commit fb28d58b ("USB: remove CONFIG_USB_DEVICEFS") USBFS got
removed. Since it is gone we can stop using it in testusb and try udev
nodes right away.Signed-off-by: Sebastian Andrzej Siewior
Signed-off-by: Greg Kroah-Hartman
14 Jun, 2012
1 commit
-
The testusb.c tool has support for looping forever implemented, which
may be useful for stress test, yet it is not exposed to the user, so
even though the code is there, it cannot be used. This commit adds
"l" to the set of options handled by the application which enables
the feature.Also, I collate help information for each command line option to make
it easier to use for novice.Signed-off-by: Du Changbin
Acked-by: Michal Nazarewicz
Signed-off-by: Greg Kroah-Hartman
15 May, 2012
1 commit
-
As real device-nodes managed by udev whose nodes lived in /dev/bus/usb
are mostly used today, let testusb tool use that directory as one default
path make tool be more convenient to use.Signed-off-by: Du Changbin
Signed-off-by: Greg Kroah-Hartman
24 Jan, 2012
1 commit
-
The m.nazarewicz@samsung.com email address is no longer valid,
so this commit replaces it with mina86@mina86.com which is
employer-agnostic and thus should be valid for foreseeable
feature.Signed-off-by: Michal Nazarewicz
Signed-off-by: Felipe Balbi
21 May, 2010
2 commits
-
The FunctionFS gadget may provide the source/sink interface
not as the first interface (with id == 0) but some different
interface hence a code to find the interface number is
required.(Note that you will still configure the gadget to report
idProduct == 0xa4a4 (an "echo 0xa4a4
>/sys/module/g_ffs/parameters/usb_product" should suffice) or
configure host to handle 0x0525:0xa4ac devices using the
usbtest driver.)Signed-off-by: Michal Nazarewicz
Cc: Kyungmin Park
Cc: Marek Szyprowski
Signed-off-by: Greg Kroah-Hartman -
The testusb program just issues ioctls to perform the tests
implemented by the kernel driver. It can generate a variety
of transfer patterns; you should make sure to test both regular
streaming and mixes of transfer sizes (including short transfers).For more information on how this can be used and on USB testing
refer to .Signed-off-by: Michal Nazarewicz
Cc: Kyungmin Park
Cc: Marek Szyprowski
Signed-off-by: Greg Kroah-Hartman