Skip to main content
EVaaj
Associate
November 15, 2018
Solved

FIXED: Why does PC always inform that my usb device is in low power state.

  • November 15, 2018
  • 1 reply
  • 1588 views

I have used STM32Cube_FW_L4_V1.13.0 to create a customHid device but i can't get it working correctly with PC. I get the descriptors etc. but PC always says the device is in low power state. Any ideas what might be wrong?

Information from PC:

[Port3] : USB Input Device

Is Port User Connectable:     yes

Is Port Debug Capable:      no

Companion Port Number:      16

Companion Hub Symbolic Link Name: USB#ROOT_HUB30#4&11118949&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}

Protocols Supported:

 USB 1.1:             yes

 USB 2.0:             yes

 USB 3.0:             no

    ---===>Device Information<===---

String Descriptor for index 2 not available while device is in low power state.

ConnectionStatus:          

Current Config Value:       0x01 -> Device Bus Speed: Full (is not SuperSpeed or higher capable)

Device Address:          0x1B

Open Pipes:              2

etc.

    This topic has been closed for replies.
    Best answer by EVaaj

    I got this working. I had wrong value in USBD_CUSTOM_HID_REPORT_DESC_SIZE.

    1 reply

    EVaaj
    EVaajAuthorBest answer
    Associate
    November 15, 2018

    I got this working. I had wrong value in USBD_CUSTOM_HID_REPORT_DESC_SIZE.