I’m writing about a bug of the USBHostMouse packet in the mbed suite. I sent an email to the support of mbed and the autoresponse suggest to post it here
After trying a program with the library, I discovered that any event from mouse isn’t captured, although the mouse is correctly recognized on the attachment. I insert here the output:
“Mouse started
[USB_INFO: /src/USBHost/USBHost/USBHost.cpp:174]New device connected: 20003b34 [hub: 0 - port: 1]
[USB_INFO: /src/USBHost/USBHostHID/USBHostMouse.cpp:77]New Mouse device: VID:062a PID:4106 [dev: 20003b34 - intf: 0]
[USB_INFO: /src/USBHost/USBHost/USBHost.cpp:497]Device disconnected [20003b34 - Mouse - hub: 0 - port: 1]
Mouse disconnected
[USB_INFO: /src/USBHost/USBHost/USBHost.cpp:174]New device connected: 20003b34 [hub: 0 - port: 1]
[USB_INFO: /src/USBHost/USBHostHID/USBHostMouse.cpp:77]New Mouse device: VID:062a PID:4106 [dev: 20003b34 - intf: 0]”
The VendorID and the ModelID are the ones of the mouse. I inserted a print instruction in the event routine that isn’t executed ever. Please let me know what information are needed to debug it.
I would like also to know if there is any library available for the management of the usb MSD, such as a pendrive.
Thank you in advance
Marco M.