Difference between revisions of "SD Card slot"
(switched categorization) |
|||
(59 intermediate revisions by 25 users not shown) | |||
Line 1: | Line 1: | ||
+ | {| width="100%" | ||
+ | <div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;"> | ||
+ | The SD Card slot (Secure Digital) is found on select ThinkPads and Docking stations. | ||
+ | In addition to SD Cards, SD Card slots can also accept the older MMC (MultiMedia Card). | ||
+ | </div> | ||
+ | |} | ||
+ | __NOTOC__ | ||
+ | * [[Wikipedia:Secure Digital card|Wikipedia article on SD Cards]] | ||
+ | * [[Wikipedia:Multimedia Card|Wikipedia article on MMC Cards]] | ||
+ | |||
+ | ==PCI-based SD Card slot== | ||
+ | This implementation is called "SD Card with IO support", and supports in addition to regular SD memory cards also special SDIO cards (e.g. Bluetooth, WiFi, etc). | ||
+ | |||
+ | Implemented by chips: | ||
+ | * [[Ricoh R5C822]] | ||
+ | * [[Ricoh R5C843]] | ||
+ | * [[Ricoh R5C847]] | ||
+ | ... and probably others | ||
+ | |||
+ | lspci reports it as a Ricoh device with PCI ID | ||
+ | * 1180:0822 (X Series, T61, Z60m, Z60t) | ||
+ | * 1180:0841 (Z Series) | ||
+ | * 1180:e822 | ||
+ | * 1180:e823 ({{X220}}) | ||
+ | * 1180:e823 rev 4 ({{X230}}) | ||
+ | |||
+ | === Linux support === | ||
+ | You can read/write large SDHC cards since Linux kernel version 2.6.22, this has been tested on {{X41_Tablet}}, {{X41}} and {{X40}} with 16 GB SDHC (FAT32), 4 GB (non-HC, FAT32) and 2 GB (non-HC, FAT16) cards. However there have been some old reports that you can't, delete, create, resize or format partitions, there seems to be no problems with this on 2.6.24. These problem will not exist if you use an USB connected SDHC card reader instead of the internal one, so you can always use the cards. | ||
+ | |||
+ | The driver was coded by the SDHCi project supporting these and other SD controller chips, making them work with SDHC cards as well. The driver (modules <tt>sdhci</tt> and <tt>sdhci_pci</tt>) has been reported to work on ThinkPad {{X40}}, {{X41}}, {{Z60m}}, {{Z60t}}, {{X60}} and {{X61}} models, and has been available in mainline kernel since 2.6.17-rc1. See also "[[How to get the internal SD card working]]". | ||
+ | |||
+ | ==== Problems with Standby / Hibernate ==== | ||
+ | |||
+ | Add the follwing line to the {{cmdroot|/etc/pm/config.d/00sleep_module}} to unload the module before standby: | ||
+ | |||
+ | SUSPEND_MODULES="$SUSPEND_MODULES sdhci" | ||
+ | |||
+ | ==== "Got data interrupt" error messages ==== | ||
+ | |||
+ | If you see error messages like | ||
+ | |||
+ | mmc0: Got data interrupt 0x00200000 even though no data operation was in progress. | ||
+ | |||
+ | after inserting an SD card, try re-loading the sdhci module with a parameter {{bootparm|debug_quirks|0x40}}. Solved the problem on a {{T61}}. | ||
+ | |||
+ | === Windows support === | ||
+ | The Microsoft hotfix 934428 is available here [http://support.microsoft.com/kb/934428] it adds SDHC (SD High Capacity) support to Windows XP SP2 systems. | ||
+ | |||
+ | 02-01-2009 NOTE for SDHC cards using Windows 2003 Server and Vista. IBM/Lenovo nor Microsoft supports this KB934428 with 2003 Server and the update.exe halts with OS version mis-match error when executed on 2003 or Vista despite the fact the sff*.sys driver files are perfectly compatible. | ||
+ | Manual extraction and installation of the driver file still fails to properly mount and read 4GB+ SD cards despite indicators and messages of successful installation. | ||
+ | Solution requires obtaining sdhcinst.dll from 2003 install media or copying from the %systemroot%\system32 directory into the %systemroot%\system32\drivers directory before manually installing driver files and pointing to the ..\SP2QFE\ic\sdbus.inf file. A copy of sdhcinst.dll copied from a KB934428 patched XP workstaiton is identical to all 2003 Server versions and Vista since Microsoft clings to a universal drivers model. | ||
+ | The KB934428 doesn't include the sdhcinst.dll file. | ||
+ | Follow this link to lenovo forums for longer but just as simple explanation. | ||
+ | |||
+ | [http://lnv.lithium.com/lnv/board/message?board.id=Special_Interest_Windows&thread.id=2106] | ||
+ | [OT] This solution has also been successfully tested on systems from different manufacturers and with non Richo card readers. | ||
+ | |||
+ | 14-04-2010 NOTE | ||
+ | Thinkpad Z61p SD-reader can accept SDHC cards up to 32GB in Windows (XP,Vista,7)<br/> | ||
+ | with updated Texas Instruments Media Card Reader Driver [http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=321957&prodSeriesId=1847703&prodNameId=1847704&swEnvOID=1093&swLang=2&mode=2&taskId=135&swItem=ob-70996-1] and by modifying registry:<br/> | ||
+ | HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\tifm21\Parameters<br/> | ||
+ | Original Key Value: SDParam = 17 (Decimal)<br/> | ||
+ | New Key Value: SDParam = 16<br/> | ||
+ | After the hack, reboot the computer. Some users have also reported SDParam = 1 to work.<br/> | ||
+ | |||
+ | === Models featuring this Technology === | ||
+ | * ThinkPad {{T410}}, {{T410i}}, {{T430}}, {{T510}}, {{T510i}} | ||
+ | * ThinkPad {{W500}}, {{T61}}, {{T61p}} | ||
+ | * ThinkPad {{X40}}, {{X41}}, {{X41_Tablet}} | ||
+ | * ThinkPad {{X60}}, {{X60s}}, {{X60_Tablet}}, {{X61}}, {{X61s}}, {{X61_Tablet}}, {{X201}}, {{X201i}}, {{X220}} | ||
+ | * ThinkPad {{Z60m}}, {{Z60t}}, {{Z61p}} | ||
+ | |||
+ | == USB-based SD Card slot == | ||
+ | This implementation only supports SD Memory cards. | ||
+ | |||
+ | === Linux support === | ||
+ | Should be supported by the Linux USB Storage drivers (usb-storage). | ||
+ | |||
+ | === Models featuring this technology === | ||
+ | * [[ThinkPad Advanced Dock]] | ||
+ | * ThinkPad {{X200}} | ||
+ | |||
+ | [[Category:Ports, Connectors and Slots]] |
Latest revision as of 15:05, 15 November 2020
The SD Card slot (Secure Digital) is found on select ThinkPads and Docking stations.
In addition to SD Cards, SD Card slots can also accept the older MMC (MultiMedia Card).
PCI-based SD Card slot
This implementation is called "SD Card with IO support", and supports in addition to regular SD memory cards also special SDIO cards (e.g. Bluetooth, WiFi, etc).
Implemented by chips:
... and probably others
lspci reports it as a Ricoh device with PCI ID
- 1180:0822 (X Series, T61, Z60m, Z60t)
- 1180:0841 (Z Series)
- 1180:e822
- 1180:e823 (X220)
- 1180:e823 rev 4 (X230)
Linux support
You can read/write large SDHC cards since Linux kernel version 2.6.22, this has been tested on X41 Tablet, X41 and X40 with 16 GB SDHC (FAT32), 4 GB (non-HC, FAT32) and 2 GB (non-HC, FAT16) cards. However there have been some old reports that you can't, delete, create, resize or format partitions, there seems to be no problems with this on 2.6.24. These problem will not exist if you use an USB connected SDHC card reader instead of the internal one, so you can always use the cards.
The driver was coded by the SDHCi project supporting these and other SD controller chips, making them work with SDHC cards as well. The driver (modules sdhci and sdhci_pci) has been reported to work on ThinkPad X40, X41, Z60m, Z60t, X60 and X61 models, and has been available in mainline kernel since 2.6.17-rc1. See also "How to get the internal SD card working".
Problems with Standby / Hibernate
Add the follwing line to the # /etc/pm/config.d/00sleep_module
to unload the module before standby:
SUSPEND_MODULES="$SUSPEND_MODULES sdhci"
"Got data interrupt" error messages
If you see error messages like
mmc0: Got data interrupt 0x00200000 even though no data operation was in progress.
after inserting an SD card, try re-loading the sdhci module with a parameter debug_quirks=0x40
. Solved the problem on a T61.
Windows support
The Microsoft hotfix 934428 is available here [1] it adds SDHC (SD High Capacity) support to Windows XP SP2 systems.
02-01-2009 NOTE for SDHC cards using Windows 2003 Server and Vista. IBM/Lenovo nor Microsoft supports this KB934428 with 2003 Server and the update.exe halts with OS version mis-match error when executed on 2003 or Vista despite the fact the sff*.sys driver files are perfectly compatible. Manual extraction and installation of the driver file still fails to properly mount and read 4GB+ SD cards despite indicators and messages of successful installation. Solution requires obtaining sdhcinst.dll from 2003 install media or copying from the %systemroot%\system32 directory into the %systemroot%\system32\drivers directory before manually installing driver files and pointing to the ..\SP2QFE\ic\sdbus.inf file. A copy of sdhcinst.dll copied from a KB934428 patched XP workstaiton is identical to all 2003 Server versions and Vista since Microsoft clings to a universal drivers model. The KB934428 doesn't include the sdhcinst.dll file. Follow this link to lenovo forums for longer but just as simple explanation.
[2] [OT] This solution has also been successfully tested on systems from different manufacturers and with non Richo card readers.
14-04-2010 NOTE
Thinkpad Z61p SD-reader can accept SDHC cards up to 32GB in Windows (XP,Vista,7)
with updated Texas Instruments Media Card Reader Driver [3] and by modifying registry:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\tifm21\Parameters
Original Key Value: SDParam = 17 (Decimal)
New Key Value: SDParam = 16
After the hack, reboot the computer. Some users have also reported SDParam = 1 to work.
Models featuring this Technology
- ThinkPad T410, T410i, T430, T510, T510i
- ThinkPad W500, T61, T61p
- ThinkPad X40, X41, X41 Tablet
- ThinkPad X60, X60s, X60 Tablet, X61, X61s, X61 Tablet, X201, X201i, X220
- ThinkPad Z60m, Z60t, Z61p
USB-based SD Card slot
This implementation only supports SD Memory cards.
Linux support
Should be supported by the Linux USB Storage drivers (usb-storage).
Models featuring this technology
- ThinkPad Advanced Dock
- ThinkPad X200