Hi Linuxdev,
Thanks very much for your response.
I have taken your advice and did the log tail:
$sudo tail -f /var/log/kern.log
I noticed the following:
[ 182.031888] usb 1-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Dec 22 11:06:39 tegra-ubuntu kernel:
[ 182.031933] usb 1-3.3: Product: USB Roboclaw 2x7A
Dec 22 11:06:39 tegra-ubuntu kernel:
[ 182.043704] usb 1-3.3: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
Dec 22 11:06:39 tegra-ubuntu kernel:
[ 182.051648] usb 1-3.3: can’t set config #1, error -32
Dec 22 11:06:53 tegra-ubuntu kernel:
[ 195.475727] usb 1-3.3: USB disconnect, device number 6
Dec 22 11:06:53 tegra-ubuntu kernel:
[ 195.645942] usb 1-3.3: new full-speed USB device number 7 using tegra-xhci
Dec 22 11:06:53 tegra-ubuntu kernel:
[ 195.646413] usb 1-3.3: Device not responding to set address.
Dec 22 11:06:53 tegra-ubuntu kernel:
[ 195.867054] usb 1-3.3: New USB device found, idVendor=03eb, idProduct=2404
Dec 22 11:06:53 tegra-ubuntu kernel:
[ 195.867070] usb 1-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Dec 22 11:06:53 tegra-ubuntu kernel:
[ 195.867078] usb 1-3.3: Product: USB Roboclaw 2x7A
Dec 22 11:06:53 tegra-ubuntu kernel:
[ 195.867522] usb 1-3.3: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
Dec 22 11:06:53 tegra-ubuntu kernel:
[ 195.870341] usb 1-3.3: can’t set config #1, error -32
This has led me to make some experiments and in fact I realized that all the devices on my USB hub were crashing and not the actual Linux. I have made a test with another USB hub 2.0 with external power supply and this time the keyboard and mouse kept working and only the Motor Shield didn’t.
In the end I bought a new USB 3.0 Hub and finally everything has worked!
I am not sure why exactly it was crashing all the other USB devices with the old USB, perhaps it was consumption all the power to itself.
Thanks again.