cancel
Showing results for 
Search instead for 
Did you mean: 

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

EVaaj
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions
EVaaj
Associate

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

View solution in original post

1 REPLY 1
EVaaj
Associate

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