microsoft / microsoft/mu_basecore

[Feature]: Improve USB descriptor robustness

Open
#489 1 comment 0 reactions 0 assignees View on GitHub
state:backlog state:needs-owner state:needs-triage type:feature-request urgency:low
Dominant language
C
Stars
290
Forks
187
Avg merge
1d 7h
Merged PRs (30d)
37

Description

### Feature Overview

Commit 714d41b, stopped USB enumeration in the case a malformed descriptor is found. This change was made because access exceptions occurred in some cases when attempting to communicate with the downstream device because the driver has invalid interface descriptor structures associated with the device.

The change has been found to regress end-user functionality of some USB devices.

### Solution Overview

An exact solution is not being proposed at the moment. This feature request tracks a more robust solution that may still allow broader device compatibility while preventing the subsequent access violation issues the original change intended to solve.

### Alternatives Considered

_No response_

### Urgency

Low

### Are you going to implement the feature request?

Someone else needs to implement the feature

### Do you need maintainer feedback?

No maintainer feedback needed

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reviewing commit 714d41b and the two closed pull requests, 493 and 494, to understand the current descriptor handling and prior attempted solutions. The issue names no source file or test; done means establishing and implementing a robust approach that preserves compatibility with affected USB devices while preventing the access violations described.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.