USB Device sometimes not recognized
Using an STM32F373, I setup a USB DEVICE virtual port class. The connection does work but it takes disconnecting/reconnecting the USB cable once or twice before it gets detected successfully as a serial port/usb device on my linux box. I use lsusb to see which USB devices are found, and when the connection intialy fails, I get the following message in 'dmesg':
"new full-speed USB device number 48 using xhci_hcd
usb 3-1: config index 0 descriptor too short (expected 67, got 9)
usb 3-1: config 1 has 0 interfaces, different from the descriptor's value: 2
usb 3-1: New USB device found, idVendor=0000, idProduct=0001, bcdDevice= 2.00
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-1: Product: my Module
usb 3-1: Manufacturer: STMicroelectronics
usb 3-1: SerialNumber: 2077345D5646
If I disconnect the USB cable and reconnect it it usually works.
Any ideas on what I should look at to fix this issue?
Thank you,
