linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alan Stern <stern@rowland.harvard.edu>
To: Ajay Garg <ajaygargnsit@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-usb@vger.kernel.org
Subject: Re: Mouse stops working at random intervals in latest kernel
Date: Wed, 17 Nov 2021 10:40:36 -0500	[thread overview]
Message-ID: <20211117154036.GC172151@rowland.harvard.edu> (raw)
In-Reply-To: <CAHP4M8V4ow_JUj9gjcrZoyFtnTcqngHqiD2da-v-w4VZ2WL1hg@mail.gmail.com>

On Wed, Nov 17, 2021 at 08:52:47AM +0530, Ajay Garg wrote:
> Looping in linux-usb list members.
> Pasting the original content again, to avoid top-posting visual headaches :)
> 
> 
> Hello everyone,
> 
> I have been seeing following errors at random times.
> When this happens, the (wireless-)mouse stops working. The USB-dongle
> has to be removed, and re-inserted again to get the mouse working
> again.
> 
> This has not happened before, only observing it since last 2-3 days.
> Kernel is mainline at 8ab774587903771821b59471cc723bba6d893942.
> 
> Anyone seeing similar issue?
> 
> 
> ###########################
> Nov 16 18:15:19 host-x86-64 kernel: [ 5005.107017] usb 2-1.2: reset
> full-speed USB device number 11 using ehci-pci
> Nov 16 18:15:19 host-x86-64 kernel: [ 5005.186745] usb 2-1.2: device
> descriptor read/64, error -32
> Nov 16 18:15:20 host-x86-64 kernel: [ 5005.374638] usb 2-1.2: device
> descriptor read/64, error -32
> Nov 16 18:15:20 host-x86-64 kernel: [ 5005.562650] usb 2-1.2: reset
> full-speed USB device number 11 using ehci-pci
> Nov 16 18:15:20 host-x86-64 kernel: [ 5005.642638] usb 2-1.2: device
> descriptor read/64, error -32
> Nov 16 18:15:20 host-x86-64 kernel: [ 5005.830670] usb 2-1.2: device
> descriptor read/64, error -32
> Nov 16 18:15:20 host-x86-64 kernel: [ 5006.018544] usb 2-1.2: reset
> full-speed USB device number 11 using ehci-pci
> Nov 16 18:15:21 host-x86-64 kernel: [ 5006.434527] usb 2-1.2: device
> not accepting address 11, error -32
> Nov 16 18:15:21 host-x86-64 kernel: [ 5006.514531] usb 2-1.2: reset
> full-speed USB device number 11 using ehci-pci
> Nov 16 18:15:21 host-x86-64 kernel: [ 5006.930613] usb 2-1.2: device
> not accepting address 11, error -32
> Nov 16 18:15:21 host-x86-64 kernel: [ 5006.931546] usb 2-1.2: USB
> disconnect, device number 11
> Nov 16 18:15:21 host-x86-64 upowerd[1241]: treating change event as
> add on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2
> Nov 16 18:15:21 host-x86-64 kernel: [ 5007.102858] usb 2-1.2: new
> full-speed USB device number 12 using ehci-pci
> Nov 16 18:15:21 host-x86-64 libvirtd[855]: internal error: Missing
> udev property 'ID_VENDOR_ID' on '2-1.2'
> Nov 16 18:15:21 host-x86-64 kernel: [ 5007.182555] usb 2-1.2: device
> descriptor read/64, error -32
> Nov 16 18:15:22 host-x86-64 kernel: [ 5007.370518] usb 2-1.2: device
> descriptor read/64, error -32
> Nov 16 18:15:22 host-x86-64 kernel: [ 5007.558677] usb 2-1.2: new
> full-speed USB device number 13 using ehci-pci
> Nov 16 18:15:22 host-x86-64 kernel: [ 5007.638657] usb 2-1.2: device
> descriptor read/64, error -32
> Nov 16 18:15:22 host-x86-64 kernel: [ 5007.826664] usb 2-1.2: device
> descriptor read/64, error -32
> Nov 16 18:15:22 host-x86-64 kernel: [ 5007.935063] usb 2-1-port2:
> attempt power cycle
> Nov 16 18:15:23 host-x86-64 kernel: [ 5008.538604] usb 2-1.2: new
> full-speed USB device number 14 using ehci-pci
> Nov 16 18:15:23 host-x86-64 kernel: [ 5008.956553] usb 2-1.2: device
> not accepting address 14, error -32
> Nov 16 18:15:23 host-x86-64 kernel: [ 5009.034629] usb 2-1.2: new
> full-speed USB device number 15 using ehci-pci
> Nov 16 18:15:24 host-x86-64 kernel: [ 5009.450570] usb 2-1.2: device
> not accepting address 15, error -32
> Nov 16 18:15:24 host-x86-64 kernel: [ 5009.450881] usb 2-1-port2:
> unable to enumerate USB device
> #######################################

Going just by your description and the log contents, it sounds like the 
wireless dongle's firmware is crashing.  Or possibly something has gone 
wrong with the motherboard's on-board "rate-matching" hub.

To rule out software issues, you could try running an earlier kernel 
version.  If that doesn't show any problems then you may want to perform 
a git bisection.

As far as I know there have been no recent changes to ehci-hcd or 
ehci-pci that could cause this to happen.

Alan Stern

  reply	other threads:[~2021-11-17 15:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-16 13:45 Mouse stops working at random intervals in latest kernel Ajay Garg
2021-11-17  3:22 ` Ajay Garg
2021-11-17 15:40   ` Alan Stern [this message]
2021-11-18 12:46     ` Ajay Garg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211117154036.GC172151@rowland.harvard.edu \
    --to=stern@rowland.harvard.edu \
    --cc=ajaygargnsit@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).