Stop the cursor from jumping to the corner of the screen on a Lenovo Yoga laptop
Tyler Smith

Tyler Smith @tylerlwsmith

About: I'm a software developer who writes about Laravel, JavaScript, Rails, Linux, Docker, WordPress and the tech industry. Follow me on Twitter @tylerlwsmith

Location:
Sacramento, California
Joined:
Apr 17, 2018

Stop the cursor from jumping to the corner of the screen on a Lenovo Yoga laptop

Publish Date: Oct 16 '24
22 33

I was using Windows 11 on my Lenovo Yoga today, and suddenly my cursor started jumping to the top left corner of my screen. This was happening every few seconds, and it even happened when I wasn't touching the trackpad or screen.

I did the following troubleshooting steps to try to resolve the issue, all of which were unsuccessful:

  1. I restarted the computer.
  2. I cleaned the sides of the trackpad with a toothpick in case something was stuck.
  3. I adjusted the mouse pointer speed in the mouse settings.
  4. I performed a clean boot.
  5. I updated the drivers and BIOS by using Lenovo System Update several times.
  6. I disabled the trackpad in Windows Settings.
  7. I disabled the touchscreen using Device Manager and plugged in a mouse.
  8. I disabled every mouse listed in Device Manager.
  9. I attempted to update the drivers for the mouse, touchscreen, and trackpad.
  10. I turned off Bluetooth incase a wireless mouse was somehow connected.
  11. I hit my computer hard many times.
  12. I created a Pop!_OS bootable USB and booted into it to ensure that it wasn't a Windows setting that was causing this.

Even when I booted into Linux, I was still experiencing my cursor jumping around the screen to the top left corner. Curiously however, the cursor didn't jump around when I was in the system BIOS. This meant that it probably wasn't strictly a hardware issue.

The culprit

The culprit was not the touchpad, touchscreen, or mouse: it was the "Pen."

I found this curious because my Lenovo Yoga did not come with a Pen, nor have I ever used one with this laptop. But disabling the pen fixes the issue.

Disabling the pen on Windows

To disable the pen on Windows, open the start menu, type "Device Manager," then select Device Manager to open it. Inside Device Manager, open Human Interface Devices, right-click HID-compliant pen, then select Disable device.

It may take a few attempts to do this successfully while the cursor is jumping around, but once you disable the pen it should stop the cursor jumping immediately. If you disable the pen and the cursor is still jumping around, then you unfortunately have a different problem.

Disabling the pen on Linux

To disable the pen on Linux, you'll need a package called xinput. I'll let you look up the instructions for installing that on your respective distro.

Once you've ensured that xinput is installed, run the following command to list the devices:

xinput list
Enter fullscreen mode Exit fullscreen mode

xinput should display a list like the one below:

⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SYNACFFE:00 06CB:CEFE Mouse               id=9    [slave  pointer  (2)]
⎜   ↳ SYNACFFE:00 06CB:CEFE Touchpad            id=10   [slave  pointer  (2)]
⎜   ↳ Wacom HID 5362 Pen stylus                 id=11   [slave  pointer  (2)]
⎜   ↳ Wacom HID 5362 Pen eraser                 id=16   [slave  pointer  (2)]
⎜   ↳ Wacom HID 5362 Finger touch               id=12   [slave  pointer  (2)]
⎜   ↳ Logitech USB Optical Mouse                id=8    [slave  pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
    ↳ Video Bus                                   id=6    [slave  keyboard (3)]
    ↳ Power Button                                id=7    [slave  keyboard (3)]
    ↳ Ideapad extra buttons                       id=13   [slave  keyboard (3)]
    ↳ sof-hda-dsp Headphone                       id=14   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard                id=15   [slave  keyboard (3)]
Enter fullscreen mode Exit fullscreen mode

Look for the entry named Wacom HID 5362 Pen stylus and grab its ID. You can disable the device by it's ID with the following command:

# "11" is the device ID for the pen that we found in the step above.

xinput disable 11
Enter fullscreen mode Exit fullscreen mode

You can run xinput list again to confirm that the pen device has been disabled:

xinput list

⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SYNACFFE:00 06CB:CEFE Mouse               id=9    [slave  pointer  (2)]
⎜   ↳ SYNACFFE:00 06CB:CEFE Touchpad            id=10   [slave  pointer  (2)]
⎜   ↳ Wacom HID 5362 Pen eraser                 id=16   [slave  pointer  (2)]
⎜   ↳ Logitech USB Optical Mouse                id=8    [slave  pointer  (2)]
⎜   ↳ Wacom HID 5362 Finger touch               id=12   [slave  pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
    ↳ Video Bus                                   id=6    [slave  keyboard (3)]
    ↳ Power Button                                id=7    [slave  keyboard (3)]
    ↳ Ideapad extra buttons                       id=13   [slave  keyboard (3)]
    ↳ sof-hda-dsp Headphone                       id=14   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard                id=15   [slave  keyboard (3)]
∼ Wacom HID 5362 Pen stylus  
Enter fullscreen mode Exit fullscreen mode

Once you disable the pen, it should stop the cursor jumping immediately. If you disable the pen and the cursor is still jumping around, then you unfortunately have a different problem.


I hope you found this helpful. I'm frustrated that I'm experiencing this issue: in the year and a half I've owned this machine I've probably only used it less than 100 hours. If I had purchased the machine for digital art I'd be furious. Thankfully I'm terrible at art, so I can continue using this machine without missing the pen functionality.

Comments 33 total

  • Crissy Birdsong
    Crissy BirdsongOct 17, 2024

    This worked like a gem - thank you!

    • Tyler Smith
      Tyler SmithOct 19, 2024

      Whoa, you found this the day after this article was published too! I'm glad this was able to fix your problem 🙂

  • Mohammed Elmusrati
    Mohammed ElmusratiNov 3, 2024

    Thank you very much for sharing, I have the same problem, but I want to use the screen pen. I use the computer for remote teaching and disabling the pen is not an option. Jumping cursor is very annoying during the lecture. I tried many options even factory reset, but nothing works. Disabling the pen means we disabled the touch screen. This means that most probably there is a physical problem in the screen touch sensitive layers. If the computer is still under warranty, I recommend to send it for fixing, maybe changing the whole screen.

    • Tyler Smith
      Tyler SmithNov 5, 2024

      It seems like a hardware problem. You might want to contact Lenovo.

  • Colby
    ColbyNov 8, 2024

    Just had this exact same issue and this article solved it

    I tried the tried and true method of unplugging the mouse, disabling touchpad, and touchscreen, and was about to try a bios update when 5 minutes of searching found this article for the win

    • Tyler Smith
      Tyler SmithNov 9, 2024

      I'm glad this helped. There are a lot more people viewing this article than I expected: this seems to be a common hardware defect.

      • Lacey Poole
        Lacey PooleDec 25, 2024

        omg thank you KING!! it was only doing this when i was trying to play the sims 4 😭 which made it impossible. but this fixed my issue! i thought a fuzz was on the touch screen causing it to do this haha

  • larry lee
    larry leeNov 14, 2024

    Thanks Tyler! Curious how you discovered the resolution.

    Great work!

    • Tyler Smith
      Tyler SmithNov 14, 2024

      I sunk a whole day into this because I needed the laptop to work. I eventually realized that I should try to debug on Linux instead of Windows. People who use Linux and post on the Linux forums tend to be power users.

      Some Linux forum post led me towards the xinput command, which is how I discovered that there was a "pen stylus" input in the first place. When I disabled that, the problem went away, then I just had to figure out how to do the same thing back on Windows.

  • Lauraccount Sinnott
    Lauraccount SinnottNov 23, 2024

    Thank you SO MUCH! This seems to be working!!!!

  • Lauraccount Sinnott
    Lauraccount SinnottNov 23, 2024

    thank you SO much this solved it!! You saved me from ripping my hair out of my head!!!!! I was the same as Colby below - was about to try a bios update but this solved it.

  • Flying Froggy
    Flying FroggyDec 14, 2024

    This helped! I signed up this website just to say THANK YOU!! It seems the problem started in October when a bunch of driver updates pushed through. Seems Lenovo hasn't found an official solution.

  • Jake Allen
    Jake AllenDec 18, 2024

    Oh my god you are a life saver!!! This was the fix!!!

  • Cybis Z
    Cybis ZDec 20, 2024

    THANK YOU!

    I signed up to dev.to just to say that. I love my Lenovo Yoga. I use it for my university studies, but I noticed the mouse cursor behaving erratically while the computer was doing something intensive. I thought it was a glitch with the trackpad. I recently bought a mouse so that I could play some games during the Christmas break, and found everything to be totally unplayable with the mouse cursor jumping around so erratically.

    Disabling the pen worked perfect! Of course, I will still need the pen - I keep all my course notes in OneNote - but at least I can disable it now when need be.

    From my own research, it sounds like this has been an ongoing issue with Lenovo Yoga series laptops for several years now (I see one post from 2018 complaining of the same issue). It's a shame they won't address the issue. I hope it's only a software issue and not a hardware one.

    Anyway, thank you for making games playable!

    • Tyler Smith
      Tyler SmithDec 20, 2024

      I'm glad this was helpful. I sure wish that Lenovo would fix it.

    • erin
      erinJan 7, 2025

      signed up just to say thank you as well :)

  • Savannah Weingart
    Savannah WeingartDec 22, 2024

    I made an account here to say thank you. I’ve been at it for 3 days trying to figure this out.

  • OG Talks
    OG TalksDec 25, 2024

    Thankyou soo much Smith, you are the best

  • erin
    erinJan 7, 2025

    THANK YOU. I was going crazy.
    Issue solved

    • Tyler Smith
      Tyler SmithJan 9, 2025

      I'm glad this was able to make your computer usable again!

  • Levi
    LeviJan 17, 2025

    I'm a Sys Admin and we have deployed dozens of Lenovo Yoga 7 (AMD) laptops across my work environment.

    I had about half my end users complain about a mouse glitch where the mouse just randomly jumps to the top corner of the screen. Sometimes it does it several times a day, sometimes it doesn't do it at all.

    I narrowed it down to the default HID drivers that Windows installs when you first plug in a mouse, keyboard or ANY Human Interface Device (including Bluetooth devices like the pen).
    Removing or disabling these drivers from Device Manager WON'T fix it. Windows will simply re-install the HID drivers again when you reboot and you will end up with multiple HID (Human interface device) drivers for the same device.

    Long story short, use a keyboard or mouse that has dedicated drivers and install those drivers, not devices that depend on the awful HID drivers that Windows uses by default. For the Pen that comes with you Yoga, make SURE you install the drivers for it from Lenovo, don't let Windows use the default HID drivers for the Pen.

    This is how I fixed it for my end users:
    Where I work, we use Logitech Unifying Software for our keyboards and mice. Most of my End Users also use an external screen / docking station with their Yoga 7 laptops as well.
    Instead of allowing Windows to default install a keyboard or mouse with "HID drivers", I used the Logitech Unifying Software to install these devices.
    How you do this is go to Logitech's website and find the "Logitech Unifying Software", download and install it. The install is about 4MB.
    Once installed, you Click "Advanced", this button will be on the first window that pops up once the software is installed. If you have a Logitech Unifying receiver plugged into your laptop, it will show you all the Logitech devices that are currently installed. Go ahead and click the "check for updates" button and wait a few seconds. if you have any kind of internet, the software will update itself in about 5 seconds.
    Warning: before doing the next step make sure your touch pad is working or have a spare USB mouse just in case.
    "Un-Pair" all your devices and re-pair them so they get a fresh update. you will likely lose your mouse (if you are using a wireless Logitech mouse) so make sure your touch pad is working as you will need a non-Logitech device to do the "re-Pairing".
    You will need to flip the power switch off and then back on during the pairing process.
    Once done, all the end users I did this for reported no more mouse glitch.

    • Tyler Smith
      Tyler SmithJan 18, 2025

      This is a super thorough write up. This is gonna help some people for sure!

    • Phillip Norder
      Phillip NorderFeb 18, 2025

      will that work for non-Logitech?

  • Kel Drago
    Kel DragoJan 19, 2025

    Ive been having this issue with a brand new lenovo yoga and this fixed my problem! THANKS!! ive been looking all over the web and nothing was helping! THANK YOUUUUUU!!!!

  • Dustin
    DustinFeb 13, 2025

    Thank you so much! I spent so long on things that didn't work. I'm a little upset though because I paid extra for the pen that I cant use now.

    • Tyler Smith
      Tyler SmithFeb 13, 2025

      I'm glad that this helped, but that's super frustrating. I'm really sorry about that.

  • Phillip Norder
    Phillip NorderFeb 18, 2025

    I also signed up to say thanks because the support is maddening for this issue so it is nice to feel like I'm not alone and that this is really a problem. Lenovo does not or just barely supports their product. This happened to me right OOB. I tried fixing it for too long so my return period ended before reaching out to Lenovo who wanted me to send them my device to fix. So wait, I get a defective device and then you are going to leave me high and dry for 3 weeks needing it for business??? So they told me to drive to a MicroCenter to perform repair. So I drive 45 minutes each way only for them to say, "we won't fix it, it's a software issue" I reached back out to Lenovo and after an hour and a half of telling Steve from Shanghai that he wasn't listening to me, didn't know what he was talking about, and continuing to tell him to connect me with a rep stateside, I reached someone who remotely cared and partially helped.

    His advice was simple yet not complete.

    -roll back the Wacom driver to version 7.?.?

    The roll back didn't work. So you have to uninstall the device and then reinstall the old driver after start up.

    I haven't yet set my drivers to not automatically update so if you do that, it will keep coming back to which I just go to my device driver daily and just uninstall. I just lose the touchscreen, so, meh!?! for now.

    I just feel like there should be a better fix than to have to turn off all your driver updates. Is there anyway of making an individual one stay static?

    • Tyler Smith
      Tyler SmithFeb 19, 2025

      It's a frustrating situation. I'm hoping that someone will figure this out eventually

  • Carol K
    Carol KFeb 19, 2025

    Signed up just to say thank you! Issue that had been driving me crazy now solved!

  • blue
    blueMar 1, 2025

    THANK YOU SO MUCH OH MY GOSH YOU SAVED MY LIFEEEEEEEE I HAD TO MAKE AN ACCOUNT JUST TO TELL YOU

Add comment