All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Stern <stern@rowland.harvard.edu>
To: Hylke Hellinga <hylke.hellinga@gmail.com>
Cc: linux-usb@vger.kernel.org
Subject: Re: ASMedia Technology Inc. ASM1143 USB 3.1 Host Controller causing random full speed USB resets
Date: Wed, 14 Jul 2021 14:05:12 -0400	[thread overview]
Message-ID: <20210714180512.GF380727@rowland.harvard.edu> (raw)
In-Reply-To: <CABUoX8uUhW4bdUZ6Roo=jEn=3UwUq2QVAMPcnyg8rbLzua09=w@mail.gmail.com>

On Wed, Jul 14, 2021 at 07:39:51PM +0200, Hylke Hellinga wrote:
> Yes, I did.
> 
> I've connected both the mouse, keyboard and headset to the pc and it would
> function normally. I know it has to do with the switch itself. But I have
> no idea how to fix it.

When you connect the mouse directly to the PC, does it still run at full 
speed or does it go up to high speed?

> The switch works fine under windows and macos, and it is even advertised to
> work under linux. But you never know with amazon products whether that is
> actually the case.

Do you have any other Linux computers you can try the switch with?  Or 
USB ports on your computer connected to a different host controller?

> I don't have a different usb switch I can test. I've tried different input
> usb cables as well. The usb cable coming from the switch going into my
> computer is pretty long.

Well, maybe a shorter cable would help.  But basically, I have no idea 
how to fix it either.  A possible workaround would be to make the usbhid 
driver ignore all the errors coming from the mouse instead of resetting 
it, but such a change would not be generally acceptable for the kernel.

It ought to be possible to get the equivalent of a usbmon trace under 
Windows or Mac OS, using Wireshark.  That would at least show if the 
same errors occur in those settings, and if they do, how the operating 
systems deal with them.

To track down the problem any further would require a more detailed 
knowledge of the USB support in Windows or Mac OS (which I don't have) 
and/or some rather expensive USB bus analyzer hardware.  It would be 
cheaper and quicker just to get a different brand of switch.  :-(

Alan Stern

  parent reply	other threads:[~2021-07-14 18:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-13 18:19 ASMedia Technology Inc. ASM1143 USB 3.1 Host Controller causing random full speed USB resets Hylke Hellinga
2021-07-13 18:42 ` Alan Stern
     [not found]   ` <CABUoX8sNbLuG0FB2_VtH14KhuBoRFB19a2V3cpgzdNDqiVUULA@mail.gmail.com>
     [not found]     ` <CABUoX8sT_=8aUdzhphwJXnRN2m_cKuJrDi1MtOrkaCTThT0wmA@mail.gmail.com>
2021-07-13 20:30       ` Hylke Hellinga
2021-07-14 14:54         ` Alan Stern
     [not found]           ` <CABUoX8uUhW4bdUZ6Roo=jEn=3UwUq2QVAMPcnyg8rbLzua09=w@mail.gmail.com>
2021-07-14 18:05             ` Alan Stern [this message]
     [not found]               ` <CABUoX8vWDRtr4hiVOEkT48=doG8xbAVD65Hve0QByLJpV0JsqQ@mail.gmail.com>
2021-07-14 18:19                 ` Hylke Hellinga
2021-07-14 19:02                   ` Hylke Hellinga
2021-07-14 19:52                     ` Alan Stern
2021-07-14 17:48 Hylke Hellinga

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=20210714180512.GF380727@rowland.harvard.edu \
    --to=stern@rowland.harvard.edu \
    --cc=hylke.hellinga@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.