Commit graph

18 commits

Author SHA1 Message Date
Mike Lockwood
ac3d757b81 Revert "adb: Use new libusbhost library for USB support on Linux host."
This reverts commit d7249c45f6.
2010-06-14 14:44:23 -07:00
Mike Lockwood
c31463d244 Revert "adb: remove unnecessary include"
This reverts commit e380c27e9f.
2010-06-14 14:44:13 -07:00
Mike Lockwood
27e95c1daf Revert "adb: Adjust usb_linux.c for changes in libusbhost API."
This reverts commit 36b99e4cac.
2010-06-14 14:43:50 -07:00
Mike Lockwood
bd6e87693f Revert "adb: avoid potential race conditions in detecting device disconnects"
This reverts commit a78012adc8.
2010-06-14 14:43:30 -07:00
Mike Lockwood
a78012adc8 adb: avoid potential race conditions in detecting device disconnects
I am hoping this will fix b/2767449 and b/2752393

Change-Id: I230310d37f50eb2a2e1bad31e374427fd44393a5
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-06-14 12:11:31 -07:00
Mike Lockwood
36b99e4cac adb: Adjust usb_linux.c for changes in libusbhost API.
Change-Id: Ie63e4455460100b579fa87120e63c913dc5f16ad
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-05-25 08:20:42 -04:00
Mike Lockwood
e380c27e9f adb: remove unnecessary include
Change-Id: I3bcba4c93834d0ac08bded0f2e3c74984f1f3f54
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-05-12 08:53:27 -04:00
Mike Lockwood
d7249c45f6 adb: Use new libusbhost library for USB support on Linux host.
Change-Id: I341e3be0a3eed48b6c5b6559fdbd0e956e2d8fb9
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-05-10 12:10:02 -04:00
Mike Lockwood
fe582b5d32 adb: Add five second timeout for USB writes on Linux host.
This helps us recover when things go wrong during automated testing.

Change-Id: I006dbfaff7f70d51398ff12fbddcaee751453b78
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-08 22:10:52 -05:00
Mike Lockwood
07e8f7e875 adb: Fix problems detecting adb in more complicated USB configurations.
Change-Id: Ib5b13960a1c75efc97abeca46204c85bba905c71
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-01-17 00:52:27 -05:00
Mike Lockwood
d70dc73d8d adb: Fix infinite loop in Linux host device discovery.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-11 11:29:40 -04:00
Mike Lockwood
0927bf9690 adb: On Linux, detect USB devices for which adb does not have permissions to communicate with.
adb devices will now list devices without adequate file system permissions in /dev/bus/usb as:

List of devices attached
????????????	no permissions

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-08 12:44:35 -04:00
Xavier Ducrohet
de6f62a609 Add support for Samsung and Motorola devices.
Also update the linux code. Some devices have more complex USB descriptors
which can't be parsed with the simple assumption of just skipping the
endpoint descriptors.
2009-07-24 14:42:27 -07:00
Mike Lockwood
3d9b265b7d adb: Use correct language ID when retrieving USB serial number.
Fixes http://code.google.com/p/android/issues/detail?id=2609

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-08 10:28:38 -04:00
The Android Open Source Project
dd7bc3319d auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
The Android Open Source Project
e54eebbf1a auto import from //depot/cupcake/@135843 2009-03-03 18:29:04 -08:00
The Android Open Source Project
13f797da7f auto import from //branches/cupcake/...@130745 2009-02-10 15:44:07 -08:00
The Android Open Source Project
4f6e8d7a00 Initial Contribution 2008-10-21 07:00:00 -07:00