intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Adrian Hunter <adrian.hunter@intel.com>
To: "Westerberg, Mika" <mika.westerberg@intel.com>,
	Giacomo Comes <comes@naic.edu>
Cc: intel-gfx@lists.freedesktop.org,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: Re: cerryview sd card problem
Date: Thu, 29 Sep 2016 09:46:40 +0300	[thread overview]
Message-ID: <ae22a44a-402c-01ab-bdfa-ada9be604870@intel.com> (raw)
In-Reply-To: <20160929063006.GE1218@lahna.fi.intel.com>

On 29/09/16 09:30, Westerberg, Mika wrote:
> On Wed, Sep 28, 2016 at 05:50:00PM -0400, Giacomo Comes wrote:
>> On Mon, Sep 26, 2016 at 12:52:11PM +0300, Westerberg, Mika wrote:
>>> On Mon, Sep 26, 2016 at 11:57:04AM +0300, Jani Nikula wrote:
>>>> On Wed, 21 Sep 2016, Giacomo Comes <comes@naic.edu> wrote:
>>>>> Hi,
>>>>> I hope this is the appropriate place to ask what follows.
>>>>> If not please point me to the right place.
>>>>>
>>>>> I have a couple of cerryview systems
>>>>> (Acer Aspire R11 and Intel compute stick STK1AW32SC) on which
>>>>> I run linux (openSUSE 42.1) with a 4.7 kernel.
>>>>>
>>>>> I have a problem though with the sd card reader:
>>>>> in normal condition the kernel does not see the card reader.
>>>>> The modules pinctrl-cherryview.ko and sdhci-pci.ko are both 
>>>>> loaded but the sd device is missing.
>>>>>
>>>>> Following the suggestion found here:
>>>>> https://bugzilla.opensuse.org/show_bug.cgi?id=954532#c24
>>>>> I "fixed" the problem by adding the module pinctrl-cherryview
>>>>> in the initrd.
>>>>>
>>>>> I was wondering if the necessity to put pinctrl-cherryview in
>>>>> the initrd is due to a bug in the kernel driver or it is a distro
>>>>> issue.
>>>>
>>>> Hi Giacomo, intel-gfx is about Intel *graphics*. We are mostly clueless
>>>> about SD cards here. ;)
>>>>
>>>> Mika, Andy, could you point Giacomo to the right place please?
>>>
>>> If the SD-card card detection is implemented as a GPIO, the GPIO/pinctrl
>>> driver needs to be there before the SD-card driver is able to detect a
>>> card being inserted.
>>
>> Ok, then it is the distro that have to take care about that.
>> For the time being I'll manually force pinctrl-cherryview in the initrd.
>> However, while the Acer Aspire R11 sd card reader works, the
>> one in the compute stick STK1AW32SC doesn't.
>> Every time I insert a sd card I see this message in the journal:
>>   mmc1: error -84 whilst initialising SD card
>> Tested with kernel 4.8rc7.
>> Where can I get help about that?
> 
> Please provide full dmesg. I've CC'd Adrian who knows lot about the
> SC-card driver.
> 

Also enabling CONFIG_MMC_DEBUG in the kernel config will give a lot more
information.

Have different SD cards been tried? Does it work if the SD card is already
inserted at boot?

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2016-09-29  6:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-21 20:43 cerryview sd card problem Giacomo Comes
2016-09-26  8:57 ` Jani Nikula
2016-09-26  9:52   ` Westerberg, Mika
2016-09-28 21:50     ` Giacomo Comes
2016-09-29  6:30       ` Westerberg, Mika
2016-09-29  6:46         ` Adrian Hunter [this message]
2016-09-29 15:37           ` Giacomo Comes
2016-09-30  8:30             ` Adrian Hunter

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=ae22a44a-402c-01ab-bdfa-ada9be604870@intel.com \
    --to=adrian.hunter@intel.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=comes@naic.edu \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=mika.westerberg@intel.com \
    /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).