Logo Canada

Register | Login 

Logitech Anywhere Mouse MX (Wireless Mouse, USB)

I/O Logitech, Mouse, USB, Wireless

Logitech Anywhere Mouse MX (Wireless Mouse, USB)
Linux compatibility: Only the Linux compatibility is rated on this page, not the general quality of the product. If you use this product with Linux, please rate it and share your experience in the comment area of this page (bottom) to support other Linux users.
4 votes, average: 4.5 out of 54 votes, average: 4.5 out of 54 votes, average: 4.5 out of 54 votes, average: 4.5 out of 54 votes, average: 4.5 out of 5
  ( 4.5 with 4 ratings)


Price trend
Logitech Anywhere Mouse MX 
Minimum: CDN$ 39.99 
Maximum: CDN$ 169.12  
Updated: 09/11/2016 15:46

Review of Linux Compatibility

The Logitech Anywhere Mouse MX is a wireless mouse that is connected to the PC via connecting the included Logitech Unifying Receiver to an USB port.

Bus 004 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver

The mouse is supported by Linux, however, there is a bug in the Kernel module hid_logitech_dj that can cause problems of the mouse together with some kernel versions (e.g. Kernel 3.7.2, Ubuntu 12.04, Ubuntu 12.10, Fedora 18).

If the mouse is fully supported the following output can be found in the log files of the Linux system:

usb 2-1.2: Manufacturer: Logitech
logitech-djreceiver 0003:046D:C52B.000D: hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1d.0-1.2/input2
input: Logitech Unifying Device. Wireless PID:1017 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.2/0003:046D:C52B.000D/input/input21
logitech-djdevice 0003:046D:C52B.000E: input,hidraw1: USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:1017] on usb-0000:00:1d.0-1.2:1

If a buggy kernel module is used the following error message is found instead:

usb 3-2: Product: USB Receiver
usb 3-2: Manufacturer: Logitech
logitech-djreceiver 0003:046D:C52B.0009: hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-2/input2
logitech-djreceiver 0003:046D:C52B.0009: logi_dj_probe:logi_dj_recv_query_paired_devices error:-32
logitech-djreceiver: probe of 0003:046D:C52B.0009 failed with error -32

As a remedy the following script can be used which automatically loads the kernel module hid_logitech_dj. The script should be created under the file name /usr/bin/mousefix


# loop up to 10 times trying to fix the mouse insertion
for i in {1..10}

  # exit the script if there was no mouse error
  if [ `dmesg | grep "logitech-djreceiver" | tail -1 | grep -c "failed with error -32"` -eq 0 ]; then
    echo "No logitech receiver error...exiting" ;
    exit 0 ;
    # try to reload the mouse driver
    echo `date`" Error detected, trying reload of logitech hid driver" ;
    rmmod hid_logitech_dj ;
    modprobe hid_logitech_dj ;
    sleep 1 ;

In order to make the script /usr/bin/mousefix executable, the file mode has to be changed:

chmod +x /usr/bin/mousefix

To have the script started automatically each time the Logitech Anywhere Mouse MX is plugged in, a udev rule will be used. For this reason, the file /etc/udev/rules.d/10-local.rules with the followin content is necessary:

SUBSYSTEMS=="usb", DRIVERS=="usb", ATTRS{manufacturer}=="Logitech", ATTRS{product}=="USB Receiver", ACTION=="add", RUN+="/usr/bin/mousefix"

Special Buttons

It is possible to bind the special buttons of the mouse to certain actions. This can be achieved by a combination of the tools xev and xbinkeys. The tools can be installed under Ubuntu with the following command:

sudo apt-get install xev xbindkeys

The configuration of the button events is carried out by the file “~/.xbindkeysrc”, e.g.:

"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
   m:0x0 + b:8

"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
  m:0x0 + b:9

which binds the key combinations Alt+”Arrow left” and Alt+”Arrow right” to the buttons 8 and 9, respectively.

Identified Hardware Configurations (1 Result)

This hardware component was used by Linux users under the following system configurations. These results were collected by our LHG Scan Tool:
Scan Date
Debian GNU/Linux 8.5 (jessie) 3.16.0-4-686-pae The user provided the following rating for this hardware: 5 out of 5The user provided the following rating for this hardware: 5 out of 5The user provided the following rating for this hardware: 5 out of 5The user provided the following rating for this hardware: 5 out of 5The user provided the following rating for this hardware: 5 out of 5 01/08/2016

Similar Linux Hardware

scroll left scroll right


One response to “Logitech Anywhere Mouse MX (Wireless Mouse, USB)”

  • hanzukun says:

    In Linux Mint 17 (kernel 3.13) it works perfectly. The special buttons (button 8 and 9) are already bound to Alt_L Left and Right, respectively. A recommended product!

Start new Discussion

Please use the comment section to submit corrections to the article as well as relevant excerpts of lspci, lsusb, lshw, dmesg e.t.c. Furthermore, use the section for the exchange of experiences with this hardware component or search for configuration help from other owners of this hardware.

Email address will not be published.

Rate Linux compatibility

Use the following HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Allowed file types: txt, jpg, png, gif, maximum file size: 2MB.