adb: fix for SuperSpeed devices
authorBjørn Mork <bjorn@mork.no>
Tue, 19 Nov 2019 13:37:24 +0000 (14:37 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 22 Dec 2019 23:31:29 +0000 (00:31 +0100)
commit6351205d7354117a9336fe4150ad264eb93f72e7
tree2761a055e09f84eaddc79e3b05d42f51b6636b6a
parentd2e87c780089a74b6c0ad84e21f73021fb5ec27a
adb: fix for SuperSpeed devices

The USB descriptor parsing in adb fails to detect SuperSpeed devices
because of the SuperSpeed Endpoint Companion Descriptor.  This
cherry-picks the upstream fix for the problem.

Unfortunately there never were a release with this fix before the
conversion to C++, so upgrading to a newer version isn't an option.

This makes adb work with SuperSpeed devices like the Sierra Wireless
EM7565.  Tested and verified.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
(cherry picked from commit d034a1f4577108a465e8347d11a51dc0e5a29298)
package/utils/adb/Makefile
package/utils/adb/patches/001-create_Makefile.patch
package/utils/adb/patches/020-cherry-picked-superspeed-fix.patch [new file with mode: 0644]