[tlinux-users:07901] Toshiba A105 SD card reader.
"Mikkel L. Ellertson" <[email protected]>
| Newsgroups | gmane.linux.hardware.toshiba |
|---|---|
| Message-ID | <[email protected]> |
I just updated to kernel 2.6.17, and I have managed to get the SD card reader working. It is not as nice as it could be, but it does work. I adapter what someone else had working for the PCIxx21 and modified it for the PCIxx12 in the Toshiba. Here is what I did. modprobe -r mmc_block modprobe -r sdhci 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 modprobe sdhci modprobe mmc_block The SD card shows up as /dev/mmcblk0 and you will want to mount /dev/mmcblk0p1 for most cards. mmcblk0 is the entire card, and mmcblk0p1 is the FAT16 partition on the card I am using. Depending on where you run the commands, you may not need the two modprobe -r commands, but they will not hurt. You only need to run the sequence of commands once per boot, as the reader stays in the proper mode when you change cards. Be warned, if you copy a large amount of data to the card, and then unmount it, it may take a while to write all the data to the card. Mikkel -- Do not meddle in the affairs of dragons, for thou art crunchy and taste good with Ketchup!