Hello, João Gama.
- Disconnect all external USB devices and reboot the Surface.
- In the Device Manager, disconnect and reconnect the "problematic" devices.
- Reinstall the drivers for the Surface: https://www.microsoft.com/en-us/download/details.aspx?id=103505 and reboot the Surface.
Write about the results here.