Thinkpad linux 读卡器驱动
2014-10-02 21:57
381 查看
转自: http://www.thinkwiki.org/wiki/SD_Card_slot
In addition to SD Cards, SD Card slots can also accept the older MMC (MultiMedia Card).
Wikipedia article on SD Cards
Wikipedia article on MMC Cards
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)
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
"Got data interrupt" error messages
If you see error messages like
after inserting an SD card, try re-loading the sdhci module with a parameter
T61.
[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 NOTEThinkpad 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.
Models featuring this technology
ThinkPad Advanced Dock
ThinkPad
X200
SD Card slot
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).
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 onX41 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_moduleto unload the module before standby:
SUSPEND_MODULES="$SUSPEND_MODULES sdhci"
"Got data interrupt" error messages
If you see error messages likemmc0: 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 NOTEThinkpad 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
ThinkPadT410,
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 DockThinkPad
X200
相关文章推荐
- RT5350 安装 读卡器驱动
- 笔记本自带读卡器linux驱动
- 如何把自己的驱动编译进内核或模块
- linux spi子系统 驱动分析续
- NAPI 技术在 Linux 网络驱动上的应用和完善
- Event-Driven XML Programming Guide--事件驱动解析XML
- 设备驱动模型
- ESXi5安装vib格式驱动
- ARM-Linux驱动--MTD驱动分析(一)
- 基于BranchTraceStore机制的CPU执行分支追踪工具 —— CpuWhere [修正版 仅驱动]
- Linux设备驱动remap_pfn_range() 和remap_page_range()
- x4412开发板&ibox卡片电脑项目实战11-linux驱动的调试方法
- 消息驱动:Spring Cloud Stream
- windows CE上的扫描仪驱动开发!
- 信号驱动io
- Linux驱动:内核延时测试
- Linux驱动框架----hwmon
- android 驱动
- 驱动开发的一些总结
- 驱动arm板上的usb摄像头并验证