Microsoft 2.4GHz Wireless Mouse/Keyboard freezes requiring removal/reinsertion of USB dongle

Open
#4,479 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
c, linux

Research direction

No source file, test, or kernel entry point is identified. Start by reproducing the freeze on the Raspberry Pi 4B with the listed OS and kernel, then inspect the supplied dmesg USB disconnect and re-enumeration messages; done means identifying a reproducible cause and a verified fix or clear kernel-level diagnosis.

Written by the indexing model from the issue text.

Description

Describe the bug
My Microsoft 2.4GHz wireless mouse/keyboard becomes unresponsive requiring the USB dongle to be quickly removed and re-inserted into the Pi4B

To reproduce
Reproduces at random

Expected behaviour
After successful boot, the USB transceiver/dongle operating the mouse and keyboard should not require occasional eject/reinsertion

Actual behaviour
Dongle becomes completely unresponsive

System
Copy and paste the results of the raspinfo command in to this section. Alternatively, copy and paste a pastebin link, or add answers to the following questions:

  • Which model of Raspberry Pi? Raspberry Pi 4 Model B Rev 1.2
  • Which OS and version (cat /etc/rpi-issue)? Raspberry Pi reference 2020-12-02
  • Which firmware version (vcgencmd version)? version 7d9a298cda813f747b51fe17e1e417e7bf5ca94d
  • Which kernel version (uname -a) 5.10.17-v7l+ #1421 SMP Thu May 27 14:00:13 BST 2021 armv7l GNU/Linux

Logs
From DMSEG, possibly relevant section:

[ 17.040971] Bluetooth: RFCOMM ver 1.11
[ 3935.304095] v3d fec00000.v3d: MMU error from client L2T (0) at 0x56e1000, pte invalid
[ 4895.887330] bcm2835-codec bcm2835-codec: bcm2835_codec_buf_prepare data will not fit into plane (1536 < 783360)
[ 4895.888956] bcm2835-codec bcm2835-codec: bcm2835_codec_buf_prepare data will not fit into plane (1536 < 783360)
[146744.801190] usb 1-1.1: USB disconnect, device number 3
[149297.751549] usb 1-1.1: new full-speed USB device number 4 using xhci_hcd
[149297.890193] usb 1-1.1: New USB device found, idVendor=045e, idProduct=0745, bcdDevice= 6.56
[149297.890213] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[149297.890229] usb 1-1.1: Product: Microsoft\u00ae 2.4GHz Transceiver v8.0
[149297.890244] usb 1-1.1: Manufacturer: Microsoft
[149297.900372] input: Microsoft Microsoft\u00ae 2.4GHz Transceiver v8.0 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:045E:0745.0004/input/input6
[149297.961972] hid-generic 0003:045E:0745.0004: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Microsoft\u00ae 2.4GHz Transceiver v8.0] on usb-0000:01:00.0-1.1/input0
[149297.978158] input: Microsoft Microsoft\u00ae 2.4GHz Transceiver v8.0 Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:045E:0745.0005/input/input7
[149297.978693] input: Microsoft Microsoft\u00ae 2.4GHz Transceiver v8.0 Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:045E:0745.0005/input/input8
[149298.041534] hid-generic 0003:045E:0745.0005: input,hidraw1: USB HID v1.11 Mouse [Microsoft Microsoft\u00ae 2.4GHz Transceiver v8.0] on usb-0000:01:00.0-1.1/input1
[149298.052656] input: Microsoft Microsoft\u00ae 2.4GHz Transceiver v8.0 Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.2/0003:045E:0745.0006/input/input9
[149298.121539] input: Microsoft Microsoft\u00ae 2.4GHz Transceiver v8.0 System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.2/0003:045E:0745.0006/input/input11
[149298.122092] hid-generic 0003:045E:0745.0006: input,hiddev96,hidraw2: USB HID v1.11 Device [Microsoft Microsoft\u00ae 2.4GHz Transceiver v8.0] on usb-0000:01:00.0-1.1/input2
[150249.610354] usb 1-1.1: USB disconnect, device number 4
[150252.486466] usb 1-1.1: new full-speed USB device number 5 using xhci_hcd
[150252.625583] usb 1-1.1: New USB device found, idVendor=045e, idProduct=0745, bcdDevice= 6.56
[150252.625599] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[150252.625612] usb 1-1.1: Product: Microsoft\u00ae 2.4GHz Transceiver v8.0
[150252.625624] usb 1-1.1: Manufacturer: Microsoft
[150252.635563] input: Microsoft Microsoft\u00ae 2.4GHz Transceiver v8.0 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:045E:0745.0007/input/input12
[150252.697279] hid-generic 0003:045E:0745.0007: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Microsoft\u00ae 2.4GHz Transceiver v8.0] on usb-0000:01:00.0-1.1/input0
[150252.713337] input: Microsoft Microsoft\u00ae 2.4GHz Transceiver v8.0 Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:045E:0745.0008/input/input13
[150252.713931] input: Microsoft Microsoft\u00ae 2.4GHz Transceiver v8.0 Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:045E:0745.0008/input/input14
[150252.777003] hid-generic 0003:045E:0745.0008: input,hidraw1: USB HID v1.11 Mouse [Microsoft Microsoft\u00ae 2.4GHz Transceiver v8.0] on usb-0000:01:00.0-1.1/input1
[150252.790369] input: Microsoft Microsoft\u00ae 2.4GHz Transceiver v8.0 Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.2/0003:045E:0745.0009/input/input15
[150252.856921] input: Microsoft Microsoft\u00ae 2.4GHz Transceiver v8.0 System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.2/0003:045E:0745.0009/input/input17
[150252.857387] hid-generic 0003:045E:0745.0009: input,hiddev96,hidraw2: USB HID v1.11 Device [Microsoft Microsoft\u00ae 2.4GHz Transceiver v8.0] on usb-0000:01:00.0-1.1/input2
[150611.313290] usb 1-1.1: USB disconnect, device number 5

Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.