Re: [OpenWrt-Devel] Ask a question related SDIO on Linux StarterKit with Ubiquiti RouterStation Pro on openwrt

2012-02-25 Thread Kentaro Matsuyama
hi peter!

i see, which means you use gpio pins "J33" of rspro, right?

And i saw your other email about asking of luci interface.
http://luci.subsignal.org/trac
here is toppage of luci and there is informations
which describe how to create luci-pages and luci API.
If you have more question about luci, you should join luci-devlist
and ask there. i belive someone would answer your question.

matsu

2012/2/24 peter.meng :
> HI,Matsu
>
> Sorry for miss-describe before .
> I just use gpio that implement mmc based on spi (spi bitbang gpio) ,
> this means i not use the GL827L .
> I want to used this method to connect a wifi card since my sdio
> controler doesn't ready currently .
>
> Thanks and Regards
> Peter Meng
>
> 2012/2/24 Kentaro Matsuyama :
>> Hello peter!
>>
>>> I just used dd command to test SD before and can mount it after add
>>> "kmod-nls-cp437"
>> Congratulation! If you don't mind, can you tell me how exactly to work SDIO?
>>
>>> 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 ?
>> umm... I have no idea.
>> Which card do you use? is that wifi sdio card?
>>
>> matsu
>>
>> (2012年02月24日 18:37), peter.meng wrote:
>>> 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/24 peter.meng :
>>> 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 :
 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.86] mmc1: host does not support reading read-only switch.
> assuming write-enable.
> [  243.87] mmc1: new SDHC card on SPI
> [  243.88] mmcblk0: mmc1: SD08G 7.42 GiB
> [  243.94]  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 :
> 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.86] mmc1: host does not support reading read-only switch.
> assuming write-enable.
> [  243.87] m

Re: [OpenWrt-Devel] Ask a question related SDIO on Linux StarterKit with Ubiquiti RouterStation Pro on openwrt

2012-02-24 Thread peter.meng
HI,Matsu

Sorry for miss-describe before .
I just use gpio that implement mmc based on spi (spi bitbang gpio) ,
this means i not use the GL827L .
I want to used this method to connect a wifi card since my sdio
controler doesn't ready currently .

Thanks and Regards
Peter Meng

2012/2/24 Kentaro Matsuyama :
> Hello peter!
>
>> I just used dd command to test SD before and can mount it after add
>> "kmod-nls-cp437"
> Congratulation! If you don't mind, can you tell me how exactly to work SDIO?
>
>> 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 ?
> umm... I have no idea.
> Which card do you use? is that wifi sdio card?
>
> matsu
>
> (2012年02月24日 18:37), peter.meng wrote:
>> 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/24 peter.meng :
>> 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 :
>>> 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.86] mmc1: host does not support reading read-only switch.
 assuming write-enable.
 [  243.87] mmc1: new SDHC card on SPI
 [  243.88] mmcblk0: mmc1: SD08G 7.42 GiB
 [  243.94]  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 :
 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.86] mmc1: host does not support reading read-only switch.
 assuming write-enable.
 [  243.87] mmc1: new SDHC card on SPI
 [  243.88] mmcblk0: mmc1: SD08G 7.42 GiB
 [  243.94]  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, F

Re: [OpenWrt-Devel] Ask a question related SDIO on Linux StarterKit with Ubiquiti RouterStation Pro on openwrt

2012-02-24 Thread Kentaro Matsuyama
Hello peter!

> I just used dd command to test SD before and can mount it after add
> "kmod-nls-cp437"
Congratulation! If you don't mind, can you tell me how exactly to work SDIO?

> 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 ?
umm... I have no idea.
Which card do you use? is that wifi sdio card?

matsu

(2012年02月24日 18:37), peter.meng wrote:
> 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/24 peter.meng :
> 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 :
>> 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.86] mmc1: host does not support reading read-only switch.
>>> assuming write-enable.
>>> [  243.87] mmc1: new SDHC card on SPI
>>> [  243.88] mmcblk0: mmc1: SD08G 7.42 GiB
>>> [  243.94]  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 :
>>> 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.86] mmc1: host does not support reading read-only switch.
>>> assuming write-enable.
>>> [  243.87] mmc1: new SDHC card on SPI
>>> [  243.88] mmcblk0: mmc1: SD08G 7.42 GiB
>>> [  243.94]  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
>>>  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 Car

Re: [OpenWrt-Devel] Ask a question related SDIO on Linux StarterKit with Ubiquiti RouterStation Pro on openwrt

2012-02-24 Thread peter.meng
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 :
> 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.86] mmc1: host does not support reading read-only switch.
>> assuming write-enable.
>> [  243.87] mmc1: new SDHC card on SPI
>> [  243.88] mmcblk0: mmc1: SD08G 7.42 GiB
>> [  243.94]  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 :
>> 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.86] mmc1: host does not support reading read-only switch.
>> assuming write-enable.
>> [  243.87] mmc1: new SDHC card on SPI
>> [  243.88] mmcblk0: mmc1: SD08G 7.42 GiB
>> [  243.94]  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
>>  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 9451
>>>  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            Bu

Re: [OpenWrt-Devel] Ask a question related SDIO on Linux StarterKit with Ubiquiti RouterStation Pro on openwrt

2012-02-23 Thread Kentaro Matsuyama
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.86] mmc1: host does not support reading read-only switch.
> assuming write-enable.
> [  243.87] mmc1: new SDHC card on SPI
> [  243.88] mmcblk0: mmc1: SD08G 7.42 GiB
> [  243.94]  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 :
> 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.86] mmc1: host does not support reading read-only switch.
> assuming write-enable.
> [  243.87] mmc1: new SDHC card on SPI
> [  243.88] mmcblk0: mmc1: SD08G 7.42 GiB
> [  243.94]  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
>  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:
>>  bLength18
>>  bDescriptorType 1
>>  bcdUSB   2.00
>>  bDeviceClass0 (Defined at Interface level)
>>  bDeviceSubClass 0
>>  bDeviceProtocol 0
>>  bMaxPacketSize064
>>  idVendor   0x05e3 Genesys Logic, Inc.
>>  idProduct  0x0723 GL827L SD/MMC/MS Flash Card Reader
>>  bcdDevice   94.51
>>  iManufacturer   3 Generic
>>  iProduct4 USB Storage
>>  iSerial 2 9451
>>  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
>>  bInterfaceNumber0
>>  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
>>bmAttributes2
>>  Transfer TypeBulk
>>  Synch Type   None
>>  Usage Type   Data
>>wMaxPacketSize 0x0200  1x 512 bytes
>>bInterval   0
>>  Endpoint Descriptor:
>>bLength 7
>>bDescriptorType 5
>>bEndpointAddress 0x02  EP 2 OUT
>>bmAttributes2
>>  Transfer TypeBulk
>>  Synch Type   None
>>  Usage Type   Data
>>wMaxPacketSize 0x0200  1x 512 bytes
>>bInterval   0
>> Device Qualifier (for other device speed):
>>  bLength10
>>  bDescriptorType 6
>>  bcdUSB   2.00
>>  bDeviceClass0 (Defined at Interface level)
>>  bDeviceSubClass 0
>>  bDeviceProtocol 0
>>  bMaxPacketSize064
>>  bNumConfigurations  1
>> Device Status: 0x
>>  (Bus Powered)
>> ---
>>
>> Regards,
>> matsu
>>
>> 2012/2/22 peter.meng :
>>> 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
>>>  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
 

Re: [OpenWrt-Devel] Ask a question related SDIO on Linux StarterKit with Ubiquiti RouterStation Pro on openwrt

2012-02-23 Thread peter.meng
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.86] mmc1: host does not support reading read-only switch.
assuming write-enable.
[  243.87] mmc1: new SDHC card on SPI
[  243.88] mmcblk0: mmc1: SD08G 7.42 GiB
[  243.94]  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
 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 9451
>  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:     0x
>  (Bus Powered)
> ---
>
> Regards,
> matsu
>
> 2012/2/22 peter.meng :
>> 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
>>  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 :
 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 lis

Re: [OpenWrt-Devel] Ask a question related SDIO on Linux StarterKit with Ubiquiti RouterStation Pro on openwrt

2012-02-22 Thread peter.meng
Thanks Matsu .

On Thu, Feb 23, 2012 at 12:15 AM, Kentaro Matsuyama
 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 9451
>  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:     0x
>  (Bus Powered)
> ---
>
> Regards,
> matsu
>
> 2012/2/22 peter.meng :
>> 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
>>  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 :
 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


Re: [OpenWrt-Devel] Ask a question related SDIO on Linux StarterKit with Ubiquiti RouterStation Pro on openwrt

2012-02-22 Thread Kentaro Matsuyama
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:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize064
  idVendor   0x05e3 Genesys Logic, Inc.
  idProduct  0x0723 GL827L SD/MMC/MS Flash Card Reader
  bcdDevice   94.51
  iManufacturer   3 Generic
  iProduct4 USB Storage
  iSerial 2 9451
  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
  bInterfaceNumber0
  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
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02  EP 2 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
Device Qualifier (for other device speed):
  bLength10
  bDescriptorType 6
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize064
  bNumConfigurations  1
Device Status: 0x
  (Bus Powered)
---

Regards,
matsu

2012/2/22 peter.meng :
> 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
>  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 :
>>> 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


Re: [OpenWrt-Devel] Ask a question related SDIO on Linux StarterKit with Ubiquiti RouterStation Pro on openwrt

2012-02-22 Thread peter.meng
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
 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 :
>> 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


Re: [OpenWrt-Devel] Ask a question related SDIO on Linux StarterKit with Ubiquiti RouterStation Pro on openwrt

2012-02-22 Thread Kentaro Matsuyama
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 :
> 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


Re: [OpenWrt-Devel] Ask a question related SDIO on Linux StarterKit with Ubiquiti RouterStation Pro on openwrt

2012-02-22 Thread John Crispin
On 22/02/12 11:37, peter.meng wrote:
> [  874.31] mmc_spi spi32766.0: setup: unsupported mode bits 4


i would start by trying to figure out what the error above means


good luck ;)

John

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Ask a question related SDIO on Linux StarterKit with Ubiquiti RouterStation Pro on openwrt

2012-02-22 Thread peter.meng
HI,John

I used following command to active it but  still get some error as following .
Could you give some suggestion ?

mkdir /config/gpiommc/mmc/
echo 1 > gpio_data_in
echo 3 > gpio_data_out
echo 4 > gpio_clock
echo 7 > gpio_chipselect
echo 0 > gpio_chipselect_activelow
echo 1 > spi_mode
echo 1 > spi_delay
echo 400 > max_bus_speed
echo 1 > register

 output message by dmesg 
[  874.27] mmc_spi spi32766.0: ASSUMING 3.2-3.4 V slot power
[  874.27] mmc_spi spi32766.0: SD/MMC host mmc0, no DMA, no WP, no poweroff
[  874.28] gpio-mmc: MMC-Card "mmc" attached to GPIO pins di=1,
do=3, clk=4, cs=7
[  874.29] mmc0: mmc_rescan_try_freq: trying to init card at 40 Hz
[  874.31] mmc_spi spi32766.0: setup: unsupported mode bits 4
[  874.31] mmc_spi spi32766.0: can't change chip-select polarity
[  874.35] mmc0: mmc_rescan_try_freq: trying to init card at 40 Hz
[  874.38] mmc_spi spi32766.0: setup: unsupported mode bits 4
[  874.38] mmc_spi spi32766.0: can't change chip-select polarity
 874.31] mmc_spi spi32766.0: mmc_spi: power on (21)
[  874.31] mmc_spi spi32766.0: setup: unsupported mode bits 4
[  874.31] mmc_spi spi32766.0: can't change chip-select polarity
[  874.32] mmc_spi spi32766.0: spi_bitbang_setup, 2500 nsec/bit
[  874.32] mmc_spi spi32766.0: setup mode 0, 8 bits/w, 40 Hz max --> 0
[  874.32] mmc_spi spi32766.0: mmc_spi:  clock to 40 Hz, 0
[  874.34] mmc0: starting CMD52 arg 0c00 flags 0195
[  874.34] mmc_spi spi32766.0:   mmc_spi: CMD52, resp R2/R5
[  874.34] mmc_spi spi32766.0: spi_bitbang_setup, 2500 nsec/bit
[  874.34] mmc_spi spi32766.0: setup mode 0, 8 bits/w, 40 Hz max --> 0
[  874.34] mmc0: req done (CMD52): -145:    
[  874.34] mmc0: starting CMD52 arg 8c08 flags 0195
[  874.34] mmc_spi spi32766.0:   mmc_spi: CMD52, resp R2/R5
[  874.34] mmc_spi spi32766.0: spi_bitbang_setup, 2500 nsec/bit
[  874.34] mmc_spi spi32766.0: setup mode 0, 8 bits/w, 40 Hz max --> 0
[  874.34] mmc0: req done (CMD52): -145:    
[  874.34] mmc0: starting CMD0 arg  flags 00c0
[  874.34] mmc_spi spi32766.0:   mmc_spi: CMD0, resp R1
[  874.34] mmc_spi spi32766.0: spi_bitbang_setup, 2500 nsec/bit
[  874.34] mmc_spi spi32766.0: setup mode 0, 8 bits/w, 40 Hz max --> 0
[  874.34] mmc0: req done (CMD0): -145:    
[  874.34] mmc0: starting CMD8 arg 01aa flags 02f5
[  874.34] mmc_spi spi32766.0:   mmc_spi: CMD8, resp R3/R4/R7
[  874.34] mmc_spi spi32766.0: spi_bitbang_setup, 2500 nsec/bit
[  874.34] mmc_spi spi32766.0: setup mode 0, 8 bits/w, 40 Hz max --> 0
[  874.34] mmc0: req done (CMD8): -145:    
[  874.34] mmc0: starting CMD5 arg  flags 02e1
[  874.34] mmc_spi spi32766.0:   mmc_spi: CMD5, resp R3/R4/R7
[  874.34] mmc_spi spi32766.0: spi_bitbang_setup, 2500 nsec/bit
[  874.34] mmc_spi spi32766.0: setup mode 0, 8 bits/w, 40 Hz max --> 0
[  874.34] mmc0: req failed (CMD5): -145, retrying...
[  874.34] mmc_spi spi32766.0:   mmc_spi: CMD5, resp R3/R4/R7
[  874.34] mmc_spi spi32766.0: spi_bitbang_setup, 2500 nsec/bit
[  874.34] mmc_spi spi32766.0: setup mode 0, 8 bits/w, 40 Hz max --> 0
[  874.34] mmc0: req failed (CMD5): -145, retrying...
[  874.34] mmc_spi spi32766.0:   mmc_spi: CMD5, resp R3/R4/R7
[  874.34] mmc_spi spi32766.0: spi_bitbang_setup, 2500 nsec/bit
[  874.34] mmc_spi spi32766.0: setup mode 0, 8 bits/w, 40 Hz max --> 0
[  874.34] mmc0: req failed (CMD5): -145, retrying...
[  874.34] mmc_spi spi32766.0:   mmc_spi: CMD5, resp R3/R4/R7
[  874.34] mmc_spi spi32766.0: spi_bitbang_setup, 2500 nsec/bit
[  874.34] mmc_spi spi32766.0: setup mode 0, 8 bits/w, 40 Hz max --> 0
[  874.34] mmc0: req done (CMD5): -145:    
[  874.34] mmc0: starting CMD55 arg  flags 00f5
[  874.34] mmc_spi spi32766.0:   mmc_spi: CMD55, resp R1
[  874.35] mmc_spi spi32766.0: spi_bitbang_setup, 2500 nsec/bit
[  874.35] mmc_spi spi32766.0: setup mode 0, 8 bits/w, 40 Hz max --> 0
[  874.35] mmc0: req done (CMD55): -145:    
[  874.35] mmc0: starting CMD55 arg  flags 00f5
[  874.35] mmc_spi spi32766.0:   mmc_spi: CMD55, resp R1
[  874.35] mmc_spi spi32766.0: spi_bitbang_setup, 2500 nsec/bit
[  874.35] mmc_spi spi32766.0: setup mode 0, 8 bits/w, 40 Hz max --> 0
[  874.35] mmc0: req done (CMD55): -145:    
[  874.35] mmc0: starting CMD55 arg  flags 00f5
[  874.35] mmc_spi spi32766.0:   mmc_spi: CMD55, resp R1
[  874.35] mmc_spi spi32766.0: spi_bitbang_setup, 2500 nsec/bit
[  874.35] mmc_spi spi32766.0: setup mode 0, 8 b

Re: [OpenWrt-Devel] Ask a question related SDIO on Linux StarterKit with Ubiquiti RouterStation Pro on openwrt

2012-02-21 Thread John Crispin
On 21/02/12 20:18, peter.meng wrote:
> 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_old2929  1 gpiommc
> mmc_spi 9264  0
> mmc_block  7440  0
> 
> Anybody can give me the suggestion on this ?
> 
> 

gpiommc has 0 users ... inserting the module is not enough, you need to
also register it in the platform code i guess

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel