Skip to content

Instantly share code, notes, and snippets.

@drienkop
Last active April 11, 2026 08:36
Show Gist options
  • Select an option

  • Save drienkop/8a369c47445ffd2cace7dc22cd73b003 to your computer and use it in GitHub Desktop.

Select an option

Save drienkop/8a369c47445ffd2cace7dc22cd73b003 to your computer and use it in GitHub Desktop.
Re-pair USB receiver for Logitech M590 in Ubuntu

Logitech M590 USB Receiver Fix (Linux)

Quick fix for when the Logitech USB receiver stops working but Bluetooth still works.

Tested with:

  • Logitech M590
  • Logitech Unifying Receiver

🧠 Symptoms

  • Bluetooth works, USB receiver does not
  • Receiver shows in lsusb
  • Mouse appears in logs but does not move
  • No input events in evtest
  • Solaar pairing fails or does nothing

⚡ Quick Fix (most common solution)

Reset Logitech HID drivers:

sudo modprobe -r hid_logitech_dj hid_logitech_hidpp
sudo modprobe hid_logitech_dj

Then re-pair:

solaar pair

🖱️ Re-pair steps

  1. Open Solaar:
solaar
  1. Select the USB receiver

  2. Run pairing:

solaar pair
  1. On the mouse:
    • Turn OFF → ON
    • Hold Easy-Switch button until LED blinks

🔁 If it still doesn’t work

  • Unplug USB receiver
  • Run the reset commands again
  • Plug receiver back in
  • Retry pairing immediately

🧪 Optional checks

lsusb
dmesg | tail -n 50
sudo evtest

🧯 What this fixes

  • Frozen Logitech receiver state
  • Broken pairing handshake
  • “Detected but no input” issue
  • HID++ driver stuck state

💡 Summary

If USB stops working:

sudo modprobe -r hid_logitech_dj hid_logitech_hidpp
sudo modprobe hid_logitech_dj
solaar pair
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment