[tlinux-users:08601] Re: SD TypA Controller

Chris Debenham <[email protected]> Wed, 15 Aug 2007 10:19:03 +1000
Newsgroups gmane.linux.hardware.toshiba
Message-ID <1187137143.27930.3.camel@localhost>
Sadly, that SD controller is not working with sdhci.
There was some work in getting it going, but nothing successful so far.

Chris

On Tue, 2007-08-14 at 09:43 +0800, WL wrote:
> hi Manuel,
> 
> I'm interested in getting this to work on my Tecra M1. What commands
> do I change if the lspci -vv output is as follows?
> 
> 02:0d.0 System peripheral: Toshiba America Info Systems SD TypA
> Controller (rev 03) 
>         Subsystem: Toshiba America Info Systems Unknown device 0001
>         Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B-
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium
> >TAbort- <TAbort- <MAbort- >SERR- <PERR- 
>         Interrupt: pin A routed to IRQ 255
>         Region 0: Memory at dfd06800 (32-bit, non-prefetchable)
> [disabled] [size=512]
>         Capabilities: [80] Power Management version 2
>                 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1
> +,D2+,D3hot+,D3cold+) 
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> 
> I would have tried replacing the argument of "-s" to "02:0d.0". But
> there are 2 IDs in your script: 0a:04.2 and 0a:04.3. Which other
> device do I need to setpci? 
> 
> Regards,
> WL
> 
> On 8/13/07, Manuel Aguilar <[email protected]> wrote:
>         I had it working a while ago with a coupe of tweaks I found on
>         the web:
>         You might have to change the device ids according to what you
>         find with lspci. 
>         Besides the script below, I have used separately the tifm
>         series of modules, which is still a work in progress. They
>         should be included in any recent kernel. 
>         
>         Cheers,
>         Manuel.
>         
>         #!/bin/bash
>         #
>         # Script to enable SD interface of the TI PCXxx12 interface.
>         #
>         
>         # Remove SDHCI and MMC modules, if they are installed.
>                modprobe -r sdhci
>                modprobe -r mmc_block 
>         # Change what interface is enabled.
>                setpci -s 0a:04.3 86.b=90
>                setpci -s 0a:04.2 4c.b=02 # FlashMedia SD disable
>                setpci -s 0a:04.3 04.b=06 # SDHCI Mem+ BusMaster+
>                setpci -s 0a:04.3 88.b=01 # SDHCI DMA enable
>         # Load the SD and MMC modules again.
>                modprobe sdhci || exit 1
>                modprobe mmc_block || exit 1
>                exit 0
>         
>         
>         
>         On 8/13/07, atul jain <[email protected]> wrote:
>                 Hi Kiyoshi,
>                 
>                              Can you provide more details like
>                 
>                 which GNU/linux distribution are you  using?
>                 
>                 What is  your toshiba  model number?
>                 
>                 
>                 
>                 
>                 On 8/13/07, Kiyoshi Egami < [email protected]>
>                 wrote:
>                 >
>                 > Has anyone figured out a way to use the Toshiba SD
>                 controller under Linux?
>                 >
>                 _________________________________________________________________
>                 > Recharge--play some free games. Win cool prizes
>                 too! 
>                 >
>                 http://club.live.com/home.aspx?icid=CLUB_wlmailtextlink
>                 >
>                 
>                 
>                 --
>                 Cheers
>                 Atul
>                 
>         
>         
> 
-- 
Rainy Days And Automatic Weapons Always Get Me Down.
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBGwkZ3envI4bc00fURAsieAJsGRL5+OFgAu1xf/jKj5ODNy5i9FgCfYiws
y8YN2pyjwjN4mGqwlZQhqOM=
=pzhu
-----END PGP SIGNATURE-----