[Bug 212045] New: dwc2 gadget mode read call blocks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=212045

            Bug ID: 212045
           Summary: dwc2 gadget mode read call blocks
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.9
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: USB
          Assignee: drivers_usb@xxxxxxxxxxxxxxxxxxxxxx
          Reporter: tomasz@xxxxxxxxxxxx
        Regression: No

When implementing USB gadget on Odroid N2 I write descriptors for two endpoints
so I get ep0, ep1 and ep2 files. I open those files and try to read from ep0
and ep2. While ep0 more or less works, for ep2 I get weird behaviour: the
select() call returns 1 indicating that there is data to read and then read()
call blocks. It happens even if I set the file descriptor to O_NONBLOCK. Here
is the kernel log: https://pastebin.pl/view/aaa2d7f0

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux