FS#59698 - [linux] Wireless mouse movements have stopped working
Attached to Project:
Arch Linux
Opened by Moacir Candido (guerra405) - Friday, 17 August 2018, 22:27 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 13 September 2018, 01:53 GMT
Opened by Moacir Candido (guerra405) - Friday, 17 August 2018, 22:27 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 13 September 2018, 01:53 GMT
|
Details
Description:
After upgrading to version 4.18.1-arch wireless mouse movements have stopped working, both wireless and bluetooth, works only click and scroll. Wired mouse keep running. I tested with a lot types of mouses. Additional info: * package version(s) * config and/or log files etc. linux 4.18.1-arch Steps to reproduce: Just try move wireless mouse. |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Thursday, 13 September 2018, 01:53 GMT
Reason for closing: Fixed
Additional comments about closing: linux 4.18.6.arch1-1
Thursday, 13 September 2018, 01:53 GMT
Reason for closing: Fixed
Additional comments about closing: linux 4.18.6.arch1-1
Using a Wireless Xiaomi Mi Mouse:
[ 122.295608] usb 1-1.3: new full-speed USB device number 5 using ehci-pci
[ 122.397842] usb 1-1.3: New USB device found, idVendor=2717, idProduct=003b, bcdDevice= 0.01
[ 122.397849] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 122.397854] usb 1-1.3: Product: MI Wireless Mouse
[ 122.397857] usb 1-1.3: Manufacturer: MI Dongle
[ 122.403300] input: MI Dongle MI Wireless Mouse as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:2717:003B.000C/input/input46
[ 122.459627] hid-generic 0003:2717:003B.000C: input,hidraw0: USB HID v1.11 Keyboard [MI Dongle MI Wireless Mouse] on usb-0000:00:1d.0-1.3/input0
[ 122.463003] input: MI Dongle MI Wireless Mouse Mouse as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:2717:003B.000D/input/input47
[ 122.463398] input: MI Dongle MI Wireless Mouse Mouse as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:2717:003B.000D/input/input48
[ 122.463617] input: MI Dongle MI Wireless Mouse Consumer Control as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:2717:003B.000D/input/input49
[ 122.519810] hid-generic 0003:2717:003B.000D: input,hidraw1: USB HID v1.11 Mouse [MI Dongle MI Wireless Mouse] on usb-0000:00:1d.0-1.3/input1
[ 122.523162] input: MI Dongle MI Wireless Mouse Consumer Control as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3/1-1.3:1.2/0003:2717:003B.000E/input/input50
[ 122.579336] input: MI Dongle MI Wireless Mouse Keyboard as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3/1-1.3:1.2/0003:2717:003B.000E/input/input51
[ 122.579719] hid-generic 0003:2717:003B.000E: input,hiddev0,hidraw2: USB HID v1.11 Keyboard [MI Dongle MI Wireless Mouse] on usb-0000:00:1d.0-1.3/input2
[ 122.581766] hid-generic 0003:2717:003B.000F: hiddev1,hidraw3: USB HID v1.10 Device [MI Dongle MI Wireless Mouse] on usb-0000:00:1d.0-1.3/input3
Using a Wireless Maxprint Mouse n' Keyboard:
[ 347.649745] usb 1-1.3: new low-speed USB device number 6 using ehci-pci
[ 347.843176] usb 1-1.3: New USB device found, idVendor=0e8f, idProduct=00a5, bcdDevice= 3.11
[ 347.843184] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 347.843188] usb 1-1.3: Product: 2.4G RX
[ 347.843192] usb 1-1.3: Manufacturer: DaKai
[ 347.847622] input: DaKai 2.4G RX as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:0E8F:00A5.0010/input/input52
[ 347.903747] hid-generic 0003:0E8F:00A5.0010: input,hidraw0: USB HID v1.10 Keyboard [DaKai 2.4G RX] on usb-0000:00:1d.0-1.3/input0
[ 347.910927] input: DaKai 2.4G RX Mouse as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:0E8F:00A5.0011/input/input53
[ 347.911383] input: DaKai 2.4G RX System Control as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:0E8F:00A5.0011/input/input54
[ 347.966874] input: DaKai 2.4G RX Consumer Control as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:0E8F:00A5.0011/input/input55
[ 347.967176] input: DaKai 2.4G RX as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:0E8F:00A5.0011/input/input56
[ 347.967667] hid-generic 0003:0E8F:00A5.0011: input,hiddev0,hidraw1: USB HID v1.10 Mouse [DaKai 2.4G RX] on usb-0000:00:1d.0-1.3/input1
Using a Wired Generic USB Mouse:
[ 504.566340] usb 1-1.3: new low-speed USB device number 7 using ehci-pci
[ 504.667335] usb 1-1.3: New USB device found, idVendor=0101, idProduct=0007, bcdDevice= 1.00
[ 504.667342] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 504.667346] usb 1-1.3: Product: USB OPTICAL MOUSE
[ 504.671257] input: USB OPTICAL MOUSE as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:0101:0007.0012/input/input58
[ 504.671680] hid-generic 0003:0101:0007.0012: input,hidraw0: USB HID v1.11 Mouse [USB OPTICAL MOUSE ] on usb-0000:00:1d.0-1.3/input0
I have instaled xf86-input-mouse and tried install xf86-input-evdev but without success because not works.
FS#59699). I've also filed a bug upstream https://bugs.archlinux.org/task/59698In /usr/lib/udev/rules.d/70-mouse.rules before line
ENV{ID_INPUT_MOUSE}=="", GOTO="mouse_end"
add
ATTRS{name}=="MiMouse Mouse", ENV{ID_INPUT_MOUSE}="1"
and then switch off the mouse, run
# systemctl restart bluetooth
(or restart the system) switch on the mouse, it should work.
Attribute name="MiMouse Mouse" I've got from
# udevadm info -a -n /dev/input/event19
and device name "/dev/input/event19" from
# evtest
I've attached the bluetooth journalctl output for working (4.17.11-6-ck) and broken (4.18.3.arch1-1).
4.18_bluetooth_not_working (14.1 KiB)
https://bugzilla.kernel.org/show_bug.cgi?id=200847
https://bugzilla.kernel.org/show_bug.cgi?id=200849
------------------------------------------------------------------------------
Found a temporary fix (with MiMouse in my case):
In /usr/lib/udev/rules.d/70-mouse.rules before line
ENV{ID_INPUT_MOUSE}=="", GOTO="mouse_end"
add
ATTRS{name}=="MiMouse Mouse", ENV{ID_INPUT_MOUSE}="1"
and then switch off the mouse, run
# systemctl restart bluetooth
(or restart the system) switch on the mouse, it should work.
------------------------------------------------------------------------------
You can use for any wireless mouse, to do this just connect your wireless mouse usb or bluetootn, run dmesg and locate the last line that have "hid-generic" and copy the name between [ ] e.g. [MI Dongle MI Wireless Mouse] then fallow the steps above adding ATTRS{name}=="MI Dongle MI Wireless Mouse Mouse", ENV{ID_INPUT_MOUSE}="1" in the file /usr/lib/udev/rules.d/70-mouse.rules before the line ENV{ID_INPUT_MOUSE}=="", GOTO="mouse_end". Remember, you need add "Mouse" after your mouse ID e.g. "MI Dongle MI Wireless Mouse Mouse".
You can add how many wireless mouses you want.
E.g. For Xiaomi Mi Mouse usb and bluetooth connections:
ACTION=="remove", GOTO="mouse_end"
KERNEL!="event*", GOTO="mouse_end"
ATTRS{name}=="MiMouse Mouse", ENV{ID_INPUT_MOUSE}="1"
ATTRS{name}=="MI Dongle MI Wireless Mouse Mouse", ENV{ID_INPUT_MOUSE}="1"
ENV{ID_INPUT_MOUSE}=="", GOTO="mouse_end"
Thank's to Vyacheslav Konovalov (vyachkonovalov).
https://git.archlinux.org/linux.git/commit/?h=v4.18.6-arch1&id=20acb01da9443e3ca814bb5d17f01b3fea754010