Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PUSB: Possible to initialize multiple EPs under a single interface? #6859

Closed
Labels
Component: USB DeviceOpposed to USB Host. Related to the USB subsystem (SerialUSB, HID, ...) Type: Bug
@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: USB DeviceOpposed to USB Host. Related to the USB subsystem (SerialUSB, HID, ...) Type: Bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /