From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
To: "Christian Löhle" <CLoehle@hyperstone.com>
Cc: "linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>
Subject: Re: mmc-utils: ioctl connection timed out with SD cards
Date: Tue, 25 Apr 2023 14:41:36 +0200 [thread overview]
Message-ID: <ZEfKgCK5TzjhKJOh@sakura.greysector.net> (raw)
In-Reply-To: <0dc45f7ba447445e946d8f71e63f3f3e@hyperstone.com>
Hi, Christian.
On Tuesday, 04 April 2023 at 19:32, Christian Löhle wrote:
> The problem is the harcoded 0x0001 as RCA, sdcards have whatever the
> vendor thinks is right.
> I can send a fix for that tomorrow, but generally mmc-utils isn't much
> useful for SD cards, most mmc-utils features are eMMC-only features
> anyway.
> Softreset works as expected, for byte-addressed we can use grouped wp.
> I was thinking about adding TMP_WRITE_PROTECT for both, maybe unlock, too.
> And also adapt erase.
> Apart from that do you have any features that you can think of?
Not really. I'm not familiar with SD card internals or MMC internals,
for that matter. I think you've already done more than I expected after
my rather naive e-mail, so thank you very much. If mmc-utils can be
fixed to give meaningful error messages when someone tries to use them
on SD cards after being confused by the device naming of the kernel like
myself then I'm happy with that.
> SD just doesn't have that many features that are used outside of
> normal IO operation.
I see. Thanks for the insight.
Best regards,
Dominik
--
Fedora https://getfedora.org | RPM Fusion http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
prev parent reply other threads:[~2023-04-25 12:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-03 17:51 mmc-utils: ioctl connection timed out with SD cards Dominik 'Rathann' Mierzejewski
2023-04-03 20:11 ` Christian Löhle
2023-04-04 6:14 ` Christian Löhle
2023-04-04 9:29 ` Dominik 'Rathann' Mierzejewski
2023-04-04 10:08 ` Dominik 'Rathann' Mierzejewski
2023-04-04 11:40 ` Christian Löhle
2023-04-04 17:18 ` Christian Löhle
2023-04-04 17:32 ` Christian Löhle
2023-04-25 12:41 ` Dominik 'Rathann' Mierzejewski [this message]
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=ZEfKgCK5TzjhKJOh@sakura.greysector.net \
--to=dominik@greysector.net \
--cc=CLoehle@hyperstone.com \
--cc=linux-mmc@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