Logitech 罗技Anywhere 鼠标 MX (无线 鼠标, USB)

输入/输出 罗技 (Logitech), 鼠标, USB, 无线

Logitech 罗技Anywhere 鼠标 MX (无线 鼠标, USB)
4 投票, 平均: 4.5 出最多 54 投票, 平均: 4.5 出最多 54 投票, 平均: 4.5 出最多 54 投票, 平均: 4.5 出最多 54 投票, 平均: 4.5 出最多 5
  ( 4.5 4 等级)

Logitech 罗技Anywhere 鼠标 MX 
Minimum: ¥ 197.18 
Maximum: ¥ 260.61  
更新: 09/11/2016 15:47


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.

确定硬件配置 (1 结果)

这种硬件组件在以下系统配置下使用的Linux用户。这些结果通过收集我们的 扫描工具:
Debian GNU/Linux 8.5 (jessie) 3.16.0-4-686-pae “用户提供了以下的评价为这个硬件设置:” 5 出最多 5“用户提供了以下的评价为这个硬件设置:” 5 出最多 5“用户提供了以下的评价为这个硬件设置:” 5 出最多 5“用户提供了以下的评价为这个硬件设置:” 5 出最多 5“用户提供了以下的评价为这个硬件设置:” 5 出最多 5 01/08/2016


scroll left scroll right


请使用注释部分提出更正的文章,以及相关的摘录 lspci -nnv, lsusb -v, lshw, dmesg ... 此外,使用一节的经验与此硬件组件或搜索该硬件的其他业主配置帮助交流。
Submitting comment...