-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mouse starts moving on its own #286
Comments
|
This happens randomly enough that I can't pinpoint it to anything more specific. UHK is connected to the same port as always and after reconnecting can work fine for days. It always starts drifting towards the upper right corner so at least that is consistent. |
Firmware 8.8.1 has been out for 2 months, it was bundled with Agent since its release, and nobody has reported such issues yet, so it's a this issue seems to be specific to your installation. Can you reproduce this issue with another computer? |
Also, please give a try to the recently released firmware 8.9.0. It contains a memory corruption fix that might be related. |
The corruption is not related (at least not that one) - official firmware does not write the adaptive led at all.
|
@mondalaci upper right corner sounds weird. It corresponds to |
No, this shouldn't be an issue. I still believe it's an installation specific issue of some sort. |
Yes, I can use either mouse or the mouse keys on UHK to move the cursor, but it will still keep climbing towards the upper right corner.
It moves pretty slowly, definitely slower than my normal mouse key speed on UHK, or maybe at most at the initial speed before acceleration. If I have to guess it would move at something like a couple of pixels per second, slow and smooth.
Have not tried this, will do if it happens again.
Yes.
Yes, works fine.
It's an early batch one, no mods done. Using the bundled cables. I updated to 8.9.0 and latest Agent, will report back if this happens again. |
Interesting. So usb interfaces are working properly and there is clearly nothing deadlocked in the firmware. Indeed looks like an installation specific issue. I assume that your mouse bindings are on mouse (or other non-base) layer, which pretty much rules out hardware issues too. Yet, this seems to be happening on 8.8.1 only (and maybe 8.9.0 too). If 8.9.0 proves to be problematic, it would be a good idea to try 8.7.x firmware again - to rule out actual changes in the environment. |
I'm closing this issue because nobody has reported it, and it must be installation specific. We will follow up regardless and keep us updated, @laxu. |
I can confirm that this is an actual issue. I was able to reproduce it, although very sporadically and randomly, and just got an email report about it. We'll do our best to fix it. @kareltucek I assume that the calculation of mouse speed is slightly messed up. It must be a small error that adds up over time. Can you look into it? |
Sure! |
Just to be sure, can you confirm the above observations? (I.e., that it is a slow smooth movement towards upper right corner.) |
Yes, exactly the behavior I experienced. |
If I am not mistaken, then:
If I am correct, then we might be dealing either with a memory corruption, or a garbled I2C communication. One hypothesis is that I would appreciate some help with testing uhk-fw-8.10.1-mouse_crashunt.tar.gz (It might make sense even to just leave a few keyboards running nonstop):
*When saying "tilde", I mean the top left key of your left keyboard half, whatever it actually is. |
:( I'm sorry. I can't help you now. I'll be away a few days for holidays. |
Just got this once again, first time in several months. I tried reconnecting left keyboard half but that definitely does not change the situation. I use the mouse functionality on the keyboard pretty rarely so I would not tie it directly to that either. It always seems to climb towards the upper right corner. |
Thanks for report! It would be great if you could also flash the above firmware and gather the mentioned codes from led display next time it happens, since you seem to be the one most capable of reproducing the problem. (The firmware is vanilla 8.10.1 with addition of just a few debugging conditions. It will not restrict your use of uhk in any way, apart from showing stuff on the LED display time to time.) As far as my testing goes - I have had no luck reproducing the problem so far. |
I flashed the debug firmware and will report back if I can get this issue again. It seems most likely to happen coming out of sleep. |
Ok I got the bug again, after waking computer from sleep. WIndows 10 v2004. Ryzen 3700X, X570, keyboard connected to a USB hub. Bug has happened connected directly too. Holding tilde shows "204" or "Z04" in the LCD. Otherwise it has just shown the current key layout name. Debug shows 200 after keyboard USB cable has been reconnected. If I disconnect the left keyboard half, the cursor starts moving faster towards the upper right corner. When the left keyboard half is connected again, the cursor movement slows back down. This happens whether it is connected with the cable or via the pins. |
Thanks! That means that the values actually come from |
@laxu Can you still reproduce this with the newest firmware version? I can recall a fix or two that might have fixed it. |
We haven't got any reports about this for a year. Closing this issue and will reopen if needed. |
Hey there, I regularly run into this issue with the UHK trackpoint. After using it the mouse sometimes continues to move in a certain direction. The easiest to get "out of it" is by using a real mouse and shaking it around, which often helps... Still, can this issue be solved on the UHK side? Is there some debug output you'd like to have from me when this happens, such as xev or udev/libinput logs - if so, can you tell me what commands I should run? Thanks |
I have had this happen twice now with the 8.8.1 firmware. Suddenly mouse starts drifting diagonally towards upper right corner and using my actual mouse or trying to use the mouse commands on the UHK don't fix it. Only fix seems to be unplugging the UHK and plugging it back in.
Right before I wrote this the keyboard hard worked without issue the whole day then suddenly started moving on its own.
UHK is hooked directly to motherboard USB port, same I have always used.
The text was updated successfully, but these errors were encountered: