I am trying to find this topic in the history but without luck.
The hardware is a brand new Jetson TK1 with pre-installed L4T on it. I found the mouse point freezes once in a while especially when the board is loading a webpage or reading a file. I tried different mouse (Microsoft, Logitech), I plugged the mouse directly on the USB 3.0 port or the OTG port with an adapter cable. No luck.
I downloaded the newest 2.2.1 JetPack released on 2016/07/13 with L4T 21.5, I spent sometime installed it on the board. And the mouse is still freezing the way.
Eventually I won’t use Ubuntu for my final system, but I am wondering if someone is having the similar issue with a solution.
I don’t know for sure what the cause is, but there were issues in the original R19.2 (what JTK1 ships with) where interaction with some parts of the display (mouse over event) was finding bugs in the software beneath it (handler of mouseover events, though I don’t remember which software that was). So far as I know this was fixed though, and the R21.x and newer did not have that problem (which is what the newer JetPacks have).
What you may want to do is install “htop” package (or you could just use “top”, but htop is nicer) and see if something starts churning away at CPU use when this happens. Doing so from the GUI should work so long as it is just the mouse driver which is failing. If not, then use a remote machine and ssh in…if networking fails too, you’re best off with using the serial console (which is immune to all those issues). And if it is possible and the freeze is momentary (thus allowing typing soon after freeze event), or if you have a serial console active, check the “dmesg | tail -n 100” output and see if something sticks out; similarly, you can watch the tail of “/var/log/Xorg.0.log”. dmesg should tell you about things the kernel sees, Xorg.0.log should tell you about things X11 sees.
Just to be sure about suspend and power saving is not getting in the way, I recommend going here and setting for max performance at all times…pay particular attention to USB auto-suspend on this URL:
[url]http://elinux.org/Jetson/Performance[/url]
…see if this changes the error.
Start: The mouse freezes after 3 seconds inactive, as long as the mouse keeps moving, it won’t freeze (looks like something went suspend after mouse inactive for exactly ONLY 3 seconds, this is NOT happening with keyboard…)
You are probably running into the init script which sets up power save triggers. rc.local would work, but then a later event would alter your settings. Try this:
sudo update-rc.d -f ondemand remove
…once this is done whatever changes you make in rc.local should stick.