Re: cerryview sd card problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux