[tlinux-users:07949] Re: Internal SD Card in Kernel 2.6.17.4

"Manuel Aguilar" <[email protected]>
Newsgroups gmane.linux.hardware.toshiba
Message-ID <[email protected]>
Hey Mikkel,
Your script helped a lot. I didn't have to move from the comfort of my
2.6.16 kernel. I just had to replace some ids that are different on my
laptop, and then I just ran the script et voila! =)

Thanks a lot.

Now the only issue that makes this laptop from rocking in linux is SOUND.
Anybody aware of this issue on recent models ?
cheers,
Manuel.

On 7/15/06, Mikkel L. Ellertson <[email protected]> wrote:
>
> Renato S. Yamane wrote:
> >
> > You need set pci. Try this:
> >
> > # lspci
> > 05:06.3 Mass storage controller: Texas Instruments PCIxx21 Integrated
> > FlashMedia Controller
> >
> > Use this numbers (05:06.3) shown by lspci. Maybe this numbers is
> > diferent in your hardware, so don't use the same number that me (05:06.3
> ).
> >
> > # setpci -s 05:06.3 4c.b=02
> >
> > Change only the number shown in YOUR lcpi (05:06.3).
> >
> > Now, load mmc_block and mount your SD Card Device.
> >
> If you have a S105 with the PCIxx12 instead of the PCIxx21, then you
> would get something like:
>
> 04:06.2 Mass storage controller: Texas Instruments Unknown device 803b
> I have to try out just using the 4c.b=02, as I am using something a
> bit more complicated, but for the PCIxx12, that would be
>
> setpci -s 04:06.2 4c.b=02
>
> Note that it is one subdevice lower then the PCIxx21.
>
> xx:xx.0 Cardbus bridge
> xx:xx.1 Firewire
> xx:xx.2 MM card reader
> xx:xx.3 SD card reader
>
> Here is the script I use.
>
> #!/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 04:06.3 86.b=90
>         setpci -s 04:06.2 4c.b=02 # FlashMedia SD disable
>         setpci -s 04:06.3 04.b=06 # SDHCI Mem+ BusMaster+
>         setpci -s 04:06.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
>
> Mikkel
> --
>
>   Do not meddle in the affairs of dragons,
> for thou art crunchy and taste good with Ketchup!
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.