-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
area: USBUniversal Serial BusUniversal Serial BusbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug
Description
Describe the bug
Device uses USB HID class. It used to register to host and send HID data over USB without issues.
However, with Zephyr revision 19de7ec (Nordic NCS 812f5d5) device is not recognized after boot. You need to unplug and replug it to make USB HID work.
Sequence of USB callbacks that I receive:
- Device boot (cable connected from start)
USB_DC_CONNECTED,
USB_DC_SUSPEND,
USB_DC_RESUME,
USB_DC_RESET,
USB_DC_RESET,
USB_DC_RESET,
USB_DC_RESET,
USB_DC_CONFIGURED.
- Device is started, but not recognized by host.
- Unplug
USB_DC_SUSPEND,
USB_DC_DISCONNECTED,
- Replug
USB_DC_CONNECTED,
USB_DC_SUSPEND,
USB_DC_RESUME,
USB_DC_RESET,
USB_DC_RESET,
USB_DC_RESET,
USB_DC_RESET,
USB_DC_CONFIGURED.
- Now the device is found by USB host and reports can be sent.
Impact
Showstopper. Device should be operational right after boot.
Metadata
Metadata
Assignees
Labels
area: USBUniversal Serial BusUniversal Serial BusbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug