Logitech M330 on Ubuntu 18.04?

I'm trying to get the M330 mouse running but it doesn't do anything.
I've tried the Solaar app but it says "no Logitech receiver found".
Though it's recognized in the system as "ID 046d:c52f Logitech, Inc. Unifying Receiver".
I also tried ltunify but it says that it's missing hid-logitech-dj.

Any idea how to get the mouse running?


Solution 1:

same happened to me. What was missing is "hid-logitech-dj" that is found on linux-modules-extra headers. I just ran

sudo apt-get install linux-modules-extra-$(uname -r)

And rebooted and everything worked fine. If it doesn't work try reinstalling headers also:

sudo apt-get install linux-headers-$(uname -r)

Hope it helps