summaryrefslogtreecommitdiffstats
path: root/fastboot/usb.h
Commit message (Collapse)AuthorAgeFilesLines
* resolved conflicts for merge of 13081c69 to masterScott Anderson2012-05-011-0/+1
|\ | | | | | | Change-Id: I631e466fc53e9b0f4a39f24f959b4ae9b626bdda
| * fastboot: Add ability to specify device pathScott Anderson2012-04-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For manufacturing and testing, there is a need to talk to whatever device is connected to a given port on the host. This change modifies fastboot's "-s" option to take either a serial number or a device path. The device paths of the connected devices can be listed using "fastboot -l devices" whose output will resemble: 016B75D60A00600D usb:2-5 fastboot AD3C12020173 usb:1-4.3 fastboot The second column lists the device paths. If the -l option is not given, the output from "fastboot devices" will be the same as it used to be (i.e. the paths will not be printed). Finally, note that the format of the device paths are platform dependent. The example above is from Linux. On OS-X, the paths will be "usb:" followed by hex digits. For Windows, the device paths will be printed as "????????????" and the -s option will not be able to select a device until someone implements the underlying functionality in usb_windows.c. Change-Id: I1f01b8f47acd32edb0ac18db107316a2c923bbde Signed-off-by: Scott Anderson <saa@android.com>
* | Remove trailing whitespacesAnatol Pomazau2012-02-281-5/+5
|/ | | | Change-Id: I6f83333a6ee0fbc562a12bb9555c43a44c98768e
* Make fastboot say "no permissions" for non-writable devices.Elliott Hughes2009-10-061-0/+2
| | | | | | | | | | | | | | Without this patch, "adb devices" will say "no permissions" when it sees a device it can't write to, but "fastboot devices" will silently ignore it. This is confusing to n00bs, especially since it doesn't seem to be widely known that a device's USB id might be different in the bootloader (meaning two udev rules are needed). It can also be confusing if you're sshed in, when you can't access the device because you won't be in the "plugdev" group, but "fastboot devices" won't make this clear. I'm not sure about the Mac OS and Windows changes. AIUI, devices are always writable on those platforms, but I don't use either, so I can't test this. This patch shouldn't alter the behavior on either of those platforms.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+64
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-64/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+64