Difference between revisions of "SD Card slot"

From ThinkWiki
Jump to: navigation, search
m (Models featuring this Technology)
(switched categorization)
 
(8 intermediate revisions by 5 users not shown)
Line 17: Line 17:
 
* [[Ricoh R5C843]]
 
* [[Ricoh R5C843]]
 
* [[Ricoh R5C847]]
 
* [[Ricoh R5C847]]
 +
... and probably others
  
 
lspci reports it as a Ricoh device with PCI ID  
 
lspci reports it as a Ricoh device with PCI ID  
* 1180:0822 (X Series, Z60m, Z60t)
+
* 1180:0822 (X Series, T61, Z60m, Z60t)
 
* 1180:0841 (Z Series)
 
* 1180:0841 (Z Series)
 +
* 1180:e822
 
* 1180:e823 ({{X220}})
 
* 1180:e823 ({{X220}})
 +
* 1180:e823 rev 4 ({{X230}})
  
 
=== Linux support ===
 
=== 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.
 
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 where coded by the [http://mmc.drzeus.cx/wiki/Linux/Drivers/sdhci SDHCi project] supporting these and other SD controller chips, making them work with SDHC cards as well. The driver 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]]".
+
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 ====
 
==== Problems with Standby / Hibernate ====
Line 33: Line 36:
  
 
  SUSPEND_MODULES="$SUSPEND_MODULES sdhci"
 
  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 ===
 
=== Windows support ===
Line 55: Line 66:
  
 
=== Models featuring this Technology ===
 
=== Models featuring this Technology ===
* ThinkPad {{T410}}, {{T410i}}, {{T510}}, {{T510i}}
+
* ThinkPad {{T410}}, {{T410i}}, {{T430}}, {{T510}}, {{T510i}}
 +
* ThinkPad {{W500}}, {{T61}}, {{T61p}}
 
* ThinkPad {{X40}}, {{X41}}, {{X41_Tablet}}
 
* ThinkPad {{X40}}, {{X41}}, {{X41_Tablet}}
 
* ThinkPad {{X60}}, {{X60s}}, {{X60_Tablet}}, {{X61}}, {{X61s}}, {{X61_Tablet}}, {{X201}}, {{X201i}}, {{X220}}
 
* ThinkPad {{X60}}, {{X60s}}, {{X60_Tablet}}, {{X61}}, {{X61s}}, {{X61_Tablet}}, {{X201}}, {{X201i}}, {{X220}}
Line 69: Line 81:
 
* [[ThinkPad Advanced Dock]]
 
* [[ThinkPad Advanced Dock]]
 
* ThinkPad {{X200}}
 
* ThinkPad {{X200}}
[[Category:Components]]
+
 
 +
[[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

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