public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pierre Ossman <drzeus-list@drzeus.cx>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org, sdhci-devel@list.drzeus.cx
Subject: Re: [Sdhci-devel] sdhci needs card to be present when loading module.
Date: Sat, 13 May 2006 17:25:57 +0200	[thread overview]
Message-ID: <4465FA85.1000605@drzeus.cx> (raw)
In-Reply-To: <20060512232940.GA30610@kroah.com>

Greg KH wrote:
> In the 2.6.17-rc4 kernel (and 2.6.17-rc1), on my laptop, if you load the
> sdhci driver with no SD card in the slot, it never seems to be able to
> detect the insertion of a new card later on.
> 
> However, if I load the module with a card present.  Removing it and then
> plugging it (or another one) in later seems to work just fine.
> 
> Is this expected?
> 

No, this is a bug (hardware probably as I cannot find anything in the
specs that can even be remotely related). The chances of getting any
help from the manufacturer are slim at best. I've already contacted all
the major ones and requested erratas, but so far not a single reply.

> Any kernel log messages I can provide to help with this?

Not really, no. Since I assume this controller works fine in Windows,
I'm guessing it needs a very particular init sequence. It might have
something to do with the ios calls that are made when the slot is empty.

If you have the time, you could try adding some code that will make the
driver ignore ios calls until a card is inserted.

Rgds
Pierre


  reply	other threads:[~2006-05-13 15:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-12 23:29 sdhci needs card to be present when loading module Greg KH
2006-05-13 15:25 ` Pierre Ossman [this message]
2006-05-13 15:33 ` [Sdhci-devel] " Marcel Holtmann

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=4465FA85.1000605@drzeus.cx \
    --to=drzeus-list@drzeus.cx \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sdhci-devel@list.drzeus.cx \
    /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