linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alan Stern <stern@rowland.harvard.edu>
To: Hans de Goede <hdegoede@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-usb@vger.kernel.org
Subject: Re: How to set USB_PORT_QUIRK_OLD_SCHEME on an usb-port ?
Date: Fri, 2 Oct 2020 21:26:26 -0400	[thread overview]
Message-ID: <20201003012626.GA306891@rowland.harvard.edu> (raw)
In-Reply-To: <c021bb2b-47d9-c3b2-807b-342bdb71064c@redhat.com>

On Fri, Oct 02, 2020 at 10:12:33PM +0200, Hans de Goede wrote:
> I guess that this means that it is best to just learn to live
> with the somewhat long enumeration time with the new scheme in
> this somewhat specific case, that is fine with me.

There may be a way around it.  For instance, a shell script (invoked by 
udev when the hub is registered) that checks in sysfs to see whether the 
hub is of the appropriate kind, and if it is, sets the OLD_SCHEME quirk 
for the right port.

Alan Stern

  reply	other threads:[~2020-10-03  1:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-05 11:37 How to set USB_PORT_QUIRK_OLD_SCHEME on an usb-port ? Hans de Goede
2020-09-06  2:22 ` Alan Stern
2020-09-10 13:58   ` Hans de Goede
2020-09-10 15:41     ` Alan Stern
2020-09-17 17:27       ` Hans de Goede
2020-09-17 20:09         ` Alan Stern
2020-10-02 20:10           ` Hans de Goede
2020-10-02 20:12             ` Hans de Goede
2020-10-03  1:26               ` Alan Stern [this message]
2020-10-03  7:52             ` Greg Kroah-Hartman
2020-10-03 11:09               ` Hans de Goede

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=20201003012626.GA306891@rowland.harvard.edu \
    --to=stern@rowland.harvard.edu \
    --cc=gregkh@linuxfoundation.org \
    --cc=hdegoede@redhat.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 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).