From: "Garrett D'Amore" <garrett@damore.org>
To: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: Robert Hancock <hancockrwd@gmail.com>,
pierre@ossman.eu, sdhci-devel@lists.ossman.eu,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [Sdhci-devel] SDHCI driver runnining in aspire one, allows to write to R/O SD cards
Date: Mon, 27 Apr 2009 11:12:13 -0700 [thread overview]
Message-ID: <49F5F57D.3010700@damore.org> (raw)
In-Reply-To: <1240759276.10972.0.camel@maxim-laptop>
As an extra data point, my sdhost driver in OpenSolaris works fine on
the AA1.. it does see that the cards are locked, and refuses to allow
them to be mounted read/write.
This leads me to believe that the original linux problem is one of two
things:
* either a bug in the linux code, or
* busted circuit/hardware on a specific unit (i.e. a damaged unit)
I believe that if the Linux code was buggy here, the problem would be
reproducible on all platforms, not just the AA1. So my inclination,
barring independent confirmation, is that most likely there are one ore
more defective units out there.
Note that the AA1 also has buggy BIOS -- OpenSolaris can't "see" the
cards (registers aren't properly initialized) unless they are present
when the unit first powers up.
-- Garrett
Maxim Levitsky wrote:
> On Fri, 2009-04-24 at 01:10 +0300, Maxim Levitsky wrote:
>
>> On Mon, 2009-04-20 at 17:42 -0600, Robert Hancock wrote:
>>
>>> Maxim Levitsky wrote:
>>>
>>>> Hi,
>>>>
>>>> I am an owner of aspire one, and it has a card reader.
>>>> when I take a sd card, and pull down the protection tab, it still allows
>>>> to write to the card (I tested with my main notebook that indeed, it did
>>>> write there).
>>>>
>>>> My main notebook, acer aspire 5720, doesn't have this problem.
>>>> Kernel version in use is 2.6.28 vanilla, but this did happen in former
>>>> version as well.
>>>>
>>>>
>>>> Attached lspci, on acer one.
>>>>
>>> Do you know if it worked in any kernel version or OS? It's known that
>>> some SD card readers are too cheap to actually implement the
>>> write-protect detection.
>>>
>> I'll test in windows, but in linux it never did work.
>>
>> Best regards,
>> Maxim Levitsky
>>
>>
> Yep, works fine in windows.
> Tested with and without lock tab.
>
>
> Best regards,
> Maxim Levitsky
>
> _______________________________________________
> sdhci-devel mailing list
> sdhci-devel@lists.ossman.eu
> http://list.drzeus.cx/mailman/listinfo/sdhci-devel
>
next prev parent reply other threads:[~2009-04-27 18:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-20 9:29 SDHCI driver runnining in aspire one, allows to write to R/O SD cards Maxim Levitsky
2009-04-20 23:42 ` Robert Hancock
2009-04-23 22:10 ` Maxim Levitsky
2009-04-26 15:21 ` Maxim Levitsky
2009-04-27 18:12 ` Garrett D'Amore [this message]
2009-04-27 19:07 ` [Sdhci-devel] " Maxim Levitsky
2009-04-27 22:13 ` Garrett D'Amore
2009-05-03 19:29 ` Pierre Ossman
2009-05-03 20:42 ` Garrett D'Amore
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=49F5F57D.3010700@damore.org \
--to=garrett@damore.org \
--cc=hancockrwd@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maximlevitsky@gmail.com \
--cc=pierre@ossman.eu \
--cc=sdhci-devel@lists.ossman.eu \
/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).