cancel
Showing results for 
Search instead for 
Did you mean: 

I only see one USB device (a mouse that doesn't do anything) in the USBX example

FHars
Associate II

All I get if I plug the USB in is:

[43551.770841] usb 1-3.1.4: new full-speed USB device number 42 using xhci_hcd
[43551.887707] usb 1-3.1.4: New USB device found, idVendor=0483, idProduct=5710, bcdDevice= 2.00
[43551.887710] usb 1-3.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[43551.887711] usb 1-3.1.4: Product: STM32 USB Device
[43551.887712] usb 1-3.1.4: Manufacturer: STMicroelectronics
[43551.887713] usb 1-3.1.4: SerialNumber: 000000000001
[43551.960983] input: STMicroelectronics STM32 USB Device as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:05:00.1/usb1/1-3/1-3.1/1-3.1.4/1-3.1.4:1.0/0003:0483:5710.001B/input/input40
[43551.961128] hid-generic 0003:0483:5710.001B: input,hidraw10: USB HID v1.11 Mouse [STMicroelectronics STM32 USB Device] on usb-0000:05:00.1-3.1.4/input0

I rechecked all the CubeMX settings. they look OK, any Ideas?

4 REPLIES 4
FHars
Associate II

I see all the devices if I plug it into a Windows laptop, so does the example implement a compliant USB device, or just a bare minimum that triggers a happy path on a windows host?

Anguel
Senior

On Windows I see the CDC + HID devices as shown in the slides, however I don't see any HID data when I connect to the USB Serial Device via Putty.

FHars
Associate II

The serial should just echo back what you type in there.

Lubos KOUDELKA
ST Employee

During testing with Linux host I observed issue just on CDC side, solution described here

https://community.st.com/s/question/0D53W00000wXLDWSA4/usb-composite-device-hid-cdc-acm-example-on-linux