https://bugzilla.kernel.org/show_bug.cgi?id=212045 --- Comment #5 from Tomasz Grobelny (tomasz@xxxxxxxxxxxx) --- The files that functionfs exposes are ep0 (for reading, events), ep1 (for writing, direction: to host) and ep2 (for reading, direction: to gadget). Not sure how and why they are named in dmesg. You can find the gadget configuration here: https://github.com/tomasz-grobelny/AACS/blob/master/AAServer/src/descriptors.cpp - line 75 and 84: .bEndpointAddress = 1 | USB_DIR_IN, .bEndpointAddress = 2 | USB_DIR_OUT, The code that fails/hangs is readWraper function here: https://github.com/tomasz-grobelny/AACS/blob/master/AAServer/src/AaCommunicator.cpp:493 select succeeds for ep2 and the read blocks. Exactly same function works ok for ep0 for all 3 hosts that I tested on and the code works fully ok for 2 out of 3 hosts that I tested on. I also know that in principle the 3rd host also should work because it works with other devices. Maybe lack of ep2 in the logs is something interesting? -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.