Eyal Ilsar eff5c09208 diag: transport: Add support for USB connection to host PC
Add the option to connect to a host PC connected via a USB cable.
Configure the USB via the following command line option:
-g <gadget device name[#serial number]>
The device name is typically /dev/ffs_diag.
Note that this is based on a user space erected driver using configfs and
requires a gadget and diag function file system nodes to be setup a priori.

Signed-off-by: Eyal Ilsar <eilsar@codeaurora.org>
[bjorn: Moved to usb.c, replaced transport wrapper]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-01-23 16:36:08 -08:00
2018-01-23 16:35:24 -08:00
2018-01-23 16:35:24 -08:00
2017-02-16 02:21:16 -08:00
2018-01-08 15:59:30 -08:00
2017-02-16 02:21:16 -08:00
2018-01-08 15:59:30 -08:00
2016-11-27 23:29:26 -08:00
2016-11-30 22:50:15 -08:00
2018-01-08 15:59:30 -08:00
Description
No description provided
BSD-3-Clause 268 KiB
Languages
C 99.3%
Makefile 0.7%