Skip to content

Strip down proxied device interface altsettings based on UDC capabilities #24

@xairy

Description

@xairy

As encountered in #23 (comment), the UDC might not provide enough capabilities (e.g. max packet size) to emulate the proxied device. Failing to proxy the device would be the expected behavior in this case.

However, we could also dynamically edit the device descriptor exposed to the host to remove interface altsettings that cannot be supported by the UDC. This will sever the proxied device functionality available to the host, but this might good enough for certain use cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions