• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Are you having HotKey issues? Click here for tips and tricks.
HP Recommended
HP TouchSmart 520-1140t CTO Desktop PC

My Hp wireless mouse had functioned normally, now drifts after Ubuntu upgrade. My wireless keyboard works fine. I tried switching to a simple wired mouse but it behaves the same way.

2 REPLIES 2
HP Recommended

Hi @BJW2001,

 

Welcome to HP Support Community.

 

Thank you for posting your query, I will be glad to help you.

 

The issue you're experiencing with your mouse cursor drifting after upgrading to Ubuntu 24.04 LTS could be caused by various factors, such as driver compatibility issues, hardware settings, or interference. Here’s a step-by-step guide to troubleshoot and resolve the problem.

 

Check Mouse Settings in Ubuntu

  • Open Settings and go to Mouse & Touchpad.
  • Ensure the Pointer Speed and Acceleration Profile settings are appropriate for your usage. Experiment with different settings to see if it resolves the issue.

Update Ubuntu and Drivers

  • Run the following commands to ensure your system and drivers are up-to-date:

sudo apt update && sudo apt upgrade -y sudo apt install xserver-xorg-input-libinput
 

  • Reboot your computer:

sudo reboot
 

Identify Connected Input Devices

  • Run this command to list connected input devices:

xinput list
 

  • Look for your mouse and note its ID. Then, check the properties:

xinput list-props <ID>
 

  • Ensure there are no unusual settings (e.g., high sensitivity or acceleration). You can adjust settings using:

xinput set-prop <ID> "Device Accel Constant Deceleration" 2.5

 

Test for Hardware Interference

  • Move the mouse closer to the receiver and ensure there are no metal objects, other electronic devices, or USB 3.0 devices nearby, as these can interfere with wireless signals.
  • Try connecting the wireless receiver to a different USB port, preferably one on the back panel of the PC.
Raj_05
HP Support Community Moderator
HP Recommended

Switch to Another Driver

  • The default driver for input devices in Ubuntu is libinput. If the problem persists, you can try switching to the evdev driver:

sudo apt install xserver-xorg-input-evdev
 

  • Create or modify a configuration file:

sudo nano /etc/X11/xorg.conf.d/20-evdev.conf
 

  • Add the following content:

Section "InputClass"
   Identifier "evdev pointer catchall"
   MatchIsPointer "on"
   Driver "evdev"
EndSection
 

  • Save and restart your system.

Check for Kernel Issues

  • Run the following command to check for errors related to input devices in the kernel logs:

dmesg | grep -i mouse
 

  • If there are errors, you may need to report them to the Ubuntu community or look for a kernel patch.

Try a Live USB Session

  • Boot your system from a live Ubuntu USB to determine if the issue persists. If it does not occur, it may indicate a configuration or software issue on your installed system.

Check for Physical Issues

  • Inspect the mouse for dust or debris that could interfere with the sensor.
  • If using a mouse pad, ensure it’s clean and compatible with the mouse sensor.

 

I hope this helps.

 

Take care and have a good day.

 

Please click “Accepted Solution” if you feel my post solved your issue, it will help others find the solution. Click the “Kudos/Thumbs Up" on the bottom right to say “Thanks” for helping!

 

Alden4

HP Support 

Raj_05
HP Support Community Moderator
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.