-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
@dogtopus
Description
I want to have an IN EP and an OUT EP under the same interface, but when I write
MyDevice_::MyDevice (void): PluggableUSBModule(2, 1, epType) { epType[0] = EP_TYPE_INTERRUPT_IN; epType[1] = EP_TYPE_INTERRUPT_OUT; PluggableUSB().plug(this); }
for example (epType has size of 2), the pluggedInterface and pluggedEndpoint are all set to 0, and the OS fails to detect my interface (not showing up on lsusb -vd VID:PID
).
Using numEps = 1
and numIfs = 1
the OS detects my interface but I know it will not work properly.
EDIT: Possibly related: #4005