[Bug 264563] devel/android-tools-adb causes USB issues with "sideload"

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 09 Jun 2022 05:20:01 UTC

            Bug ID: 264563
           Summary: devel/android-tools-adb causes USB issues with
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: usb
          Assignee: usb@FreeBSD.org
          Reporter: nc@FreeBSD.org

I am attempting to update the devel/android-tools-adb port and ran into a
possible USB bug with the kernel which affects adb.

Branch: https://github.com/neelchauhan/freebsd-android-tools/tree/fbsd-31.0.3p1

Relevant lines:
(ReadFdExactly call)
(adb_read call)
(adb_read definition, this calls read())

It seems that when using a USB file via read() calls, read() returns 0 even
when asked to return 8 bytes. In the second file, it seems the device gets

Description is here:

This issue also happens with the port (older version), but does not happen on
Linux or macOS.

You are receiving this mail because:
You are the assignee for the bug.