HI,Matsu

Thank you very much .
I just used dd command to test SD before and can mount it after add
"kmod-nls-cp437"

I have a stupid question need you help again .
I use the kernel module gpiommc/spi_gpio_old/mmc_spi/mmc_block .
I see following explain from Linux kernel /Documentation/gpiommc.txt
As i understand these module provide the function that enable the SPI
mode of SDIO.
My question is how to use this to enable/configure the 1-bit and 4-bit
mode of SDIO ?
So If my sdio card doesn't support SPI mode of SDIO , it will doesn't
woks .  right ?


gpio_data_in                    = The SPI data-IN GPIO pin number.
gpio_data_out                   = The SPI data-OUT GPIO pin number.
gpio_clock                      = The SPI Clock GPIO pin number.
gpio_chipselect                 = The SPI Chipselect GPIO pin number.

-----------------my command------------
echo 1 > gpio_data_in
echo 2 > gpio_data_out
echo 3 > gpio_clock
echo 4 > gpio_chipselect


2012/2/23 Kentaro Matsuyama <kentaro.matsuy...@gmail.com>:
> hello peter
>
>> I change the gpio with hardware engineer's help and SDIO(based on
>> gpio, not the GL827L) works currently .
>> But i can't mount it .
>> I can see  following message when i plug an SD card .
>>
>> [  243.860000] mmc1: host does not support reading read-only switch.
>> assuming write-enable.
>> [  243.870000] mmc1: new SDHC card on SPI
>> [  243.880000] mmcblk0: mmc1:0000 SD08G 7.42 GiB
>> [  243.940000]  mmcblk0: p1
>
> wow, great! Is that hardware hack? so now you can use SDIO device like
> wifi sdio card?
> that's very interesting...
>
>> mount -t vfat /dev/mmcblk0 /mnt
>> mount: mounting /dev/mmcblk0 on /mnt failed: No such device
>
> sorry, i forget to write "kmod-nls-cp437" in last email. I think
> that's why you can't mount.
>
> Good luck!
> matsu
>
> 2012/2/23 peter.meng <mengsans...@gmail.com>:
>> HI,Matsu
>>
>> I change the gpio with hardware engineer's help and SDIO(based on
>> gpio, not the GL827L) works currently .
>> But i can't mount it .
>> I can see  following message when i plug an SD card .
>>
>> [  243.860000] mmc1: host does not support reading read-only switch.
>> assuming write-enable.
>> [  243.870000] mmc1: new SDHC card on SPI
>> [  243.880000] mmcblk0: mmc1:0000 SD08G 7.42 GiB
>> [  243.940000]  mmcblk0: p1
>>
>>
>>  ls -l /dev/mmcblk*
>> /dev/mmcblk0    /dev/mmcblk0p1
>>
>> mount /dev/mmcblk0 /mnt
>> mount: mounting /dev/mmcblk0 on /mnt failed: Invalid argument
>> mount /dev/mmcblk0p1  /mnt
>> mount: mounting /dev/mmcblk0p1 on /mnt failed: Invalid argument
>> mount -t vfat /dev/mmcblk0 /mnt
>> mount: mounting /dev/mmcblk0 on /mnt failed: No such device
>>
>>
>> Thanks and Regards
>> Peter Meng
>>
>>
>> On Thu, Feb 23, 2012 at 12:15 AM, Kentaro Matsuyama
>> <kentaro.matsuy...@gmail.com> wrote:
>>> Hi peter!
>>>
>>> sorry, I have not tried to connect SDIO device but I remember someone said
>>> SD slot of rspro is not usable with any other device except SD storage 
>>> card...
>>>
>>> Here is SD slot part of lsusb messages and it looks it's not sdio
>>> interface anymore. no?
>>>
>>> ---
>>> Bus 001 Device 002: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS
>>> Flash Card Reader
>>> Device Descriptor:
>>>  bLength                18
>>>  bDescriptorType         1
>>>  bcdUSB               2.00
>>>  bDeviceClass            0 (Defined at Interface level)
>>>  bDeviceSubClass         0
>>>  bDeviceProtocol         0
>>>  bMaxPacketSize0        64
>>>  idVendor           0x05e3 Genesys Logic, Inc.
>>>  idProduct          0x0723 GL827L SD/MMC/MS Flash Card Reader
>>>  bcdDevice           94.51
>>>  iManufacturer           3 Generic
>>>  iProduct                4 USB Storage
>>>  iSerial                 2 000000009451
>>>  bNumConfigurations      1
>>>  Configuration Descriptor:
>>>    bLength                 9
>>>    bDescriptorType         2
>>>    wTotalLength           32
>>>    bNumInterfaces          1
>>>    bConfigurationValue     1
>>>    iConfiguration          0
>>>    bmAttributes         0x80
>>>      (Bus Powered)
>>>    MaxPower              500mA
>>>    Interface Descriptor:
>>>      bLength                 9
>>>      bDescriptorType         4
>>>      bInterfaceNumber        0
>>>      bAlternateSetting       0
>>>      bNumEndpoints           2
>>>      bInterfaceClass         8 Mass Storage
>>>      bInterfaceSubClass      6 SCSI
>>>      bInterfaceProtocol     80 Bulk-Only
>>>      iInterface              0
>>>      Endpoint Descriptor:
>>>        bLength                 7
>>>        bDescriptorType         5
>>>        bEndpointAddress     0x81  EP 1 IN
>>>        bmAttributes            2
>>>          Transfer Type            Bulk
>>>          Synch Type               None
>>>          Usage Type               Data
>>>        wMaxPacketSize     0x0200  1x 512 bytes
>>>        bInterval               0
>>>      Endpoint Descriptor:
>>>        bLength                 7
>>>        bDescriptorType         5
>>>        bEndpointAddress     0x02  EP 2 OUT
>>>        bmAttributes            2
>>>          Transfer Type            Bulk
>>>          Synch Type               None
>>>          Usage Type               Data
>>>        wMaxPacketSize     0x0200  1x 512 bytes
>>>        bInterval               0
>>> Device Qualifier (for other device speed):
>>>  bLength                10
>>>  bDescriptorType         6
>>>  bcdUSB               2.00
>>>  bDeviceClass            0 (Defined at Interface level)
>>>  bDeviceSubClass         0
>>>  bDeviceProtocol         0
>>>  bMaxPacketSize0        64
>>>  bNumConfigurations      1
>>> Device Status:     0x0000
>>>  (Bus Powered)
>>> ---
>>>
>>> Regards,
>>> matsu
>>>
>>> 2012/2/22 peter.meng <mengsans...@gmail.com>:
>>>> HI,Matsu
>>>>
>>>> Thank you .
>>>> I want to know whether i can connect a SDIO device (not SD card, such
>>>> as wifi based on sdio) after install following modules .
>>>>
>>>>
>>>> Thanks a lot
>>>> Best Regards
>>>> Peter Meng
>>>>
>>>> On Wed, Feb 22, 2012 at 8:27 PM, Kentaro Matsuyama
>>>> <kentaro.matsuy...@gmail.com> wrote:
>>>>> hi peter!
>>>>>
>>>>> I have several rspro board.
>>>>> You need to install below kernel modules related with usb2. because
>>>>> rspro board has converter
>>>>> device from mmc to usb, i guess.
>>>>>
>>>>> kmod-nls-iso8859-1
>>>>> kmod-nls-utf8
>>>>> kmod-fs-vfat
>>>>> kmod-usb2
>>>>> kmod-usb-storage
>>>>>
>>>>> Regards
>>>>> matsu
>>>>>
>>>>> 2012/2/22 peter.meng <mengsans...@gmail.com>:
>>>>>> HI,
>>>>>>
>>>>>> I just got a Linux StarterKit  board  that compile it with Ubiquiti
>>>>>> RouterStation Pro on openwrt .
>>>>>> I met the issue that can't access my SD card , dmesg didn't show mmc
>>>>>> message too when plug SD card .
>>>>>>
>>>>>> lsmod | grep mmc
>>>>>> gpiommc                 3712  0
>>>>>> spi_gpio_old            2929  1 gpiommc
>>>>>> mmc_spi                 9264  0
>>>>>> mmc_block              7440  0
>>>>>>
>>>>>> Anybody can give me the suggestion on this ?
>>>>>>
>>>>>>
>>>>>>
>>>>>> Best Regards .
>>>>>> Peter Meng
>>>>>> mengsans...@gmail.com
>>>>>> _______________________________________________
>>>>>> openwrt-devel mailing list
>>>>>> openwrt-devel@lists.openwrt.org
>>>>>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>>>>> _______________________________________________
>>>>> openwrt-devel mailing list
>>>>> openwrt-devel@lists.openwrt.org
>>>>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>>>> _______________________________________________
>>>> openwrt-devel mailing list
>>>> openwrt-devel@lists.openwrt.org
>>>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>>> _______________________________________________
>>> openwrt-devel mailing list
>>> openwrt-devel@lists.openwrt.org
>>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>>
>>
>>
>> --
>> Best Regards .
>> Peter Meng
>> mengsans...@gmail.com
>> _______________________________________________
>> openwrt-devel mailing list
>> openwrt-devel@lists.openwrt.org
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel



-- 
Best Regards .
Peter Meng
mengsans...@gmail.com
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to