All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Ball <cjb@laptop.org>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: linux-mmc@vger.kernel.org
Subject: Re: how to unbind current mmc driver to bind mmc-test driver?
Date: Thu, 26 May 2011 00:11:32 +0100	[thread overview]
Message-ID: <20110525231132.GA30458@void.printf.net> (raw)
In-Reply-To: <alpine.DEB.2.00.1105251346490.12045@localhost6.localdomain6>

Hi Robert,

On Wed, May 25, 2011 at 01:58:13PM -0400, Robert P. J. Day wrote:
> 
>   ever willing to embarrass myself in public, i'm going to ask how to
> load and invoke the mmc_test driver on my ubuntu laptop, which is
> currently running my hand-rolled super-recent, 2.6.39+ kernel.
> 
>   i'm following along in the script here:
> 
> http://www.spinics.net/lists/linux-mmc/msg05835.html
> 
> and it seems pretty straightforward -- i interpret all of that as that
> one needs first to find the driver that is currently bound to the
> device (mmc-block?), unbind it, then bind to the mmc test driver.
> that seems easy enough except that this loop in the script:
> 
> ...
> 
> is clearly looking for the *current* driver but, on my system, there
> is none.  on this laptop, the MMC card slot appears to be managed by
> the SCSI driver and USB storage, so there is no symlink there; hence,
> the script fails in the next check:

You don't actually have a drivers/mmc device, then -- a controller
somewhere is making your SD slot look like a mass storage device,
in hardware.  The drivers/mmc stack is for devices that aren't
being mediated in this way.

-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

  reply	other threads:[~2011-05-25 23:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-25 17:58 how to unbind current mmc driver to bind mmc-test driver? Robert P. J. Day
2011-05-25 23:11 ` Chris Ball [this message]
2011-05-25 23:14   ` Robert P. J. Day
2011-05-25 23:35   ` Robert P. J. Day
2011-05-25 23:44     ` Chris Ball

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=20110525231132.GA30458@void.printf.net \
    --to=cjb@laptop.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=rpjday@crashcourse.ca \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.