From: Bruno Haible <bruno@clisp.org>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Greg KH <gregkh@linuxfoundation.org>,
Lars Melin <larsm17@gmail.com>, Oliver Neukum <oneukum@suse.com>,
linux-usb@vger.kernel.org
Subject: Re: "SilverStone TS16" external SSD enclosing needs an UAS quirk
Date: Wed, 17 Jan 2024 16:56:46 +0100 [thread overview]
Message-ID: <3172447.D8ZAKjAxdT@nimes> (raw)
In-Reply-To: <21712025-0b46-4afb-9161-5d1f1afb502a@rowland.harvard.edu>
Alan Stern wrote:
> > > Slowing down all RTL9120 already in the market with this quirk is in my
> > > humble opinion not a realistic solutio.
> >
> > What else do you propose, for those of us who buy this hardware (€ 50,
> > it wasn't a cheap one), connect it directly to a computer (through the
> > vendor-provided cable, to an USB-C 3.2 Gen.2 connector, as in my case),
> > and then experience 1-2 crashes per day under Linux?
>
> The proposal is that you keep on doing what you've been doing: Set the
> UAS quirk. Then your system will work, and others who don't have the
> same problem will get to keep the advantage of quicker transfers with
> the uas driver.
There's obviously a speed vs. reliability tradeoff here.
On the speed side: Do you know the speed difference between an external
SSD with uas driver vs. an external SSD with usb-storage driver?
On the reliability side: It makes the difference between a usable and
an unusable computer. I don't understand why you seem to prefer that
I have, by default, a fast but unusable computer rather than a reliable,
even if speed-limited, computer. Isn't it the opposite throughout the
industry? (For example, the CPU clock is not overclocked _by_default_.
An admin can overclock it, but the default is to be reliable.)
You say "Set the UAS quirk", as if it was something completely immediate
to do.
- As a tech-savvy person (and former Linux kernel developer), it took
me 3 days of investigations, web searches, and reading of kernel
command-line documentation, in order to get at the solution.
- For a non-tech-savvy person, it's basically impossible to arrive
at the solution you propose. They would have summarized their experience
as "Linux is not made for the desktop, let me choose another OS".
Isn't there a more intelligent solution to this problem? For example, the
uas_eh_abort_handler could, instead of just logging the problem, tell a
system daemon that the configuration of the particular device is problematic,
and that system daemon would change the grub.cfg (or some other file that
stores kernel command-line parameters), so that the quirk gets activated
automatically at the next reboot.
Bruno
next prev parent reply other threads:[~2024-01-17 15:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-15 23:35 "SilverStone TS16" external SSD enclosing needs an UAS quirk Bruno Haible
2024-01-16 14:13 ` Greg KH
2024-01-17 6:25 ` Lars Melin
2024-01-17 7:59 ` Bruno Haible
2024-01-17 14:11 ` [PATCH] uas: Disable UAS driver for Realtek RTL9210 M.2 NVME Adapters Bruno Haible
2024-01-17 14:53 ` "SilverStone TS16" external SSD enclosing needs an UAS quirk Alan Stern
2024-01-17 15:56 ` Bruno Haible [this message]
2024-01-17 18:39 ` Alan Stern
2024-01-17 16:41 ` Lars Melin
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=3172447.D8ZAKjAxdT@nimes \
--to=bruno@clisp.org \
--cc=gregkh@linuxfoundation.org \
--cc=larsm17@gmail.com \
--cc=linux-usb@vger.kernel.org \
--cc=oneukum@suse.com \
--cc=stern@rowland.harvard.edu \
/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